/* ============================================
   GSM Warranty Form - Complete CSS
   ============================================ */

/* --- Font --- */
.gsm_request,
.gsm_request *,
.gsm-popup,
.gsm-popup * {
    font-family: 'iranyekanx', Tahoma, sans-serif !important;
}

/* --- Form Inputs --- */
.gsm_request input[type="text"],
.gsm_request textarea, 
.gsm-popup input[type="text"] {
	box-sizing: border-box;
	font-size: 14px;
	padding: 12px 15px;
	width: 94%;
	border: 1px solid #ddd;
	border-radius: 8px;
	transition: border-color 0.3s ease;
}

.gsm_request input[type="text"]:focus,
.gsm_request textarea:focus,
.gsm-popup input[type="text"]:focus {
	border-color: #ff6b00;
	outline: none;
	box-shadow: 0 0 0 2px rgba(255, 107, 0, 0.15);
}

/* --- Labels --- */
.gsm_request label {
	display: block;
	font-weight: 600;
	margin-bottom: 5px;
	color: #333;
	font-size: 14px;
}

/* --- Buttons --- */
.gsm_request .submitserial,
.gsm_request .gsm-clear {
    cursor: pointer;
    border: none;
    font-weight: 600;
    font-size: 16px;
    padding: 12px 35px;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.gsm_request .submitserial {
    background-color: #ff6b00;
    color: #fff;
}

.gsm_request .submitserial:hover {
    background-color: #e55d00;
    box-shadow: 0 4px 12px rgba(255, 107, 0, 0.3);
}

.gsm_request .gsm-clear {
    background-color: #666;
    color: #fff;
    margin-right: 15px !important;
}

.gsm_request .gsm-clear:hover {
    background-color: #444;
}

/* --- Messages --- */
.gsm_request .req_msg {
	text-align: right;
	direction: rtl;
	padding: 20px 25px;
	border-radius: 12px;
	margin: 15px 0;
	line-height: 2.2;
	font-size: 15px;
	background: linear-gradient(135deg, #fdfdfd 0%, #f8f8f8 100%);
	border-right: 5px solid #ff6b00;
	box-shadow: 0 3px 15px rgba(0,0,0,0.08);
	color: #333;
}

.gsm_request .req_msg strong {
	color: #ff6b00;
	font-size: 16px;
}

/* --- Instruction Box --- */
.gsm-instruction {
    background-color: #fff3e6;
    border: 1px solid #ffcc99;
    border-radius: 8px;
    padding: 12px 18px;
    margin-bottom: 20px;
    color: #cc5500;
    font-size: 14px;
    line-height: 1.8;
    text-align: center;
}

/* --- Form Layout --- */
.gsm-form-block {
	width: 100%;
	margin: 15px 0;
	text-align: center;
}

#gsm-button {
    clear: both;
    margin: 25px 0;
    text-align: center;
}

/* --- Field Groups --- */
#RegisterNo-field, 
#OrderNo-field, 
#Transactions-field, 
#ClubNumber-field, 
#JobNo-field {
    display: none;
    width: 100%;
    margin: 15px auto;
    text-align: right;
}

#RegisterNo-field label,
#OrderNo-field label,
#Transactions-field label,
#ClubNumber-field label,
#JobNo-field label {
    display: block;
    text-align: right;
    margin-bottom: 8px;
}

#RegisterNo-field input,
#OrderNo-field input,
#Transactions-field input,
#ClubNumber-field input,
#JobNo-field input {
    display: inline-block !important;
    text-align: right;
    width: 300px;
    max-width: 90%;
}

#RegisterNo-field[style*="display: block"] input,
#RegisterNo-field[style*="display: block"] label,
#OrderNo-field[style*="display: block"] input,
#OrderNo-field[style*="display: block"] label,
#Transactions-field[style*="display: block"] input,
#Transactions-field[style*="display: block"] label,
#ClubNumber-field[style*="display: block"] input,
#ClubNumber-field[style*="display: block"] label,
#JobNo-field[style*="display: block"] input,
#JobNo-field[style*="display: block"] label {
    display: block !important;
    visibility: visible !important;
}

/* --- Radio/Checkbox Group --- */
.gsm-checkbox {
    display: none;
    margin: 15px 0;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
    border: 1px solid #eee;
}

.gsm-checkbox legend {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 15px !important;
    padding-bottom: 10px !important;
    color: #555;
}

.gsm-checkbox label {
    display: inline-block;
    margin: 5px 10px;
    cursor: pointer;
    font-weight: normal;
}

.gsm-checkbox input[type="radio"] {
    margin-left: 5px;
}

/* --- Popup (Results) --- */
.gsm-popup {
	display: none;
	background: #f9f9f9;
	border: 1px solid #ddd;
	border-radius: 8px;
	margin: 15px auto !important;
	padding: 20px;
	box-shadow: 0 2px 10px rgba(0,0,0,0.08);
	text-align: right;
	direction: rtl;
}

.gsm-popup p,
.gsm-popup div {
    text-align: right;
}

.gsm-popup input[type="text"] {
	width: 100%;
	margin: 10px 0;
}

.gsm-popup a {
    text-decoration: none;
    display: inline-block;
    padding: 10px 20px;
    background-color: #ff6b00;
    color: #fff;
    border-radius: 25px;
    margin: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.gsm-popup a:hover {
    background-color: #e55d00;
}

.gsm-popup .gsm-sms, 
.gsm-popup .gsm-email {
    padding: 10px 20px;
    cursor: pointer;
    border: 2px solid #ff6b00;
    background-color: #fff;
    color: #ff6b00;
    border-radius: 25px;
    margin: 8px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.gsm-popup .gsm-sms:hover, 
.gsm-popup .gsm-email:hover {
    background-color: #ff6b00;
    color: #fff;
}

.gsm-popup .gsm-sms:disabled, 
.gsm-popup .gsm-email:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.gsm-popup .gsm-popup-msg {
    margin: 15px 0 0;
    font-weight: bold;
    text-align: center;
}

/* --- Responsive --- */
@media screen and (min-width: 600px) {
	.gsm-form-block {
		width: 60%;
		margin: 15px auto;
	}
	
	.gsm-popup {
		width: 60%;
	}
}

@media only screen and (max-width: 600px) {
    .gsm-popup a, 
    .gsm-popup .gsm-sms, 
    .gsm-popup .gsm-email {
        display: block;
        width: 100%;
        margin: 5px 0;
        text-align: center;
    }
	
	.gsm_request .gsm-clear {
		margin-right: 0 !important;
		margin-top: 10px;
	}
	
	.gsm-checkbox label {
		display: block;
		margin: 8px 0;
	}
}