* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Tahoma', 'Segoe UI', 'Vazirmatn', sans-serif;
}

body {
    background: linear-gradient(135deg, #00695c 0%, #00897b 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.auth-container {
    display: flex;
    max-width: 1000px;
    width: 100%;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    min-height: 600px;
}

.auth-card {
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
}

.auth-info {
    flex: 1;
    background: linear-gradient(135deg, #004d40 0%, #00695c 100%);
    color: white;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.auth-header {
    text-align: center;
    margin-bottom: 30px;
}

.logo {
    width: 80px;
    height: 80px;
    margin-bottom: 15px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #00695c;
}

.auth-header h1 {
    color: #00695c;
    font-size: 28px;
    margin-bottom: 10px;
}

.auth-header p {
    color: #666;
    font-size: 14px;
}

.auth-tabs {
    display: flex;
    background: #f5f5f5;
    border-radius: 10px;
    padding: 5px;
    margin-bottom: 30px;
}

.tab-btn {
    flex: 1;
    padding: 12px;
    border: none;
    background: none;
    font-size: 16px;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s;
}

.tab-btn.active {
    background: white;
    color: #00695c;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.alert {
	padding: 12px 16px;
	border-radius: 8px;
	margin-bottom: 20px;
	display: flex;
	align-items: center;
	gap: 10px;
	animation: fadeIn 0.3s ease;
}
.alert-error {
	background-color: #fee;
	border: 1px solid #fcc;
	color: #c00;
}
.alert-success{
	color: #00697D;
    background: #b5ffc2;
    border: 1px solid #e1dada;
    font-size: 13px;
    font-weight: bold;
    border-radius: 10px;
    margin-bottom: 10px;
    text-align: center;	
}

.alert i {
	font-size: 18px;
}
@media (max-width: 768px){
	.alert-error{
		font-size: 13px;
	}
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.auth-form {
    display: none;
    flex-direction: column;
    gap: 20px;
    flex: 1;
}

.auth-form.active {
    display: flex;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: relative;
}

.form-group label {
    font-weight: 600;
    color: #00695c;
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-group input {
    padding: 14px 45px 14px 14px;
    border: 2px solid #e0f2f1;
    border-radius: 10px;
    font-size: 16px;
    transition: all 0.3s;
    background: #f8f9fa;
	text-align: center !important;
}

.form-group input:focus {
    outline: none;
    border-color: #00695c;
    background: white;
    box-shadow: 0 0 0 3px rgba(0, 105, 92, 0.1);
}

.form-hint {
    font-size: 12px;
    color: #666;
    margin-top: 4px;
}

.password-toggle {
    position: absolute;
    left: 15px;
    top: 40px;
    cursor: pointer;
    color: #666;
    transition: color 0.3s;
}

.password-toggle:hover {
    color: #00695c;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
}

.checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.checkbox input {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.checkbox span {
    font-size: 14px;
    color: #666;
}

.forgot-password {
    color: #00695c;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.forgot-password:hover {
    color: #004d40;
    text-decoration: underline;
}

.btn-submit {
    padding: 16px;
    background: linear-gradient(135deg, #00695c 0%, #00897b 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.btn-submit:hover {
    background: linear-gradient(135deg, #004d40 0%, #00695c 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 105, 92, 0.3);
}

.form-footer {
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e0f2f1;
}

.form-footer p {
    color: #666;
    font-size: 14px;
}

.form-footer a {
    color: #00695c;
    text-decoration: none;
    font-weight: 600;
}

.form-footer a:hover {
    text-decoration: underline;
}

/* استایل‌های فرم کد تأیید */
.otp-header {
    text-align: center;
    margin-bottom: 30px;
}

.otp-header i {
    color: #00695c;
    margin-bottom: 15px;
}

.otp-header h2 {
    color: #00695c;
    margin-bottom: 10px;
}

.otp-header p {
    color: #666;
    font-size: 14px;
}

#mobileDisplay {
    font-weight: bold;
    color: #00695c;
}

.otp-inputs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 20px 0;
}

.otp-inputs input {
    width: 50px;
    height: 60px;
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    border: 2px solid #e0f2f1;
    border-radius: 10px;
    background: #f8f9fa;
    transition: all 0.3s;
}

.otp-inputs input:focus {
    border-color: #00695c;
    background: white;
    box-shadow: 0 0 0 3px rgba(0, 105, 92, 0.1);
}

.otp-timer {
    text-align: center;
    margin: 20px 0;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.otp-timer i {
    color: #ff9800;
}

#countdown {
    font-size: 18px;
    font-weight: bold;
    color: #ff9800;
    direction: ltr;
}

.btn-resend {
    width: 100%;
    padding: 12px;
    background: #f5f5f5;
    color: #666;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 10px;
}

.btn-resend:enabled {
    background: #e0f2f1;
    color: #00695c;
    border-color: #00695c;
    cursor: pointer;
}

.btn-resend:enabled:hover {
    background: #b2dfdb;
}

/* استایل‌های قسمت اطلاعات */
.auth-info h2 {
    font-size: 24px;
    margin-bottom: 30px;
    text-align: center;
}

.auth-info ul {
    list-style: none;
}

.auth-info li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 16px;
}

.auth-info li i {
    font-size: 20px;
    color: #80cbc4;
    width: 24px;
}

/* رسپانسیو */
@media (max-width: 768px) {
    .auth-container {
        flex-direction: column;
        min-height: auto;
    }
    
    .auth-info {
        order: 1;
        padding: 30px 20px;
    }
    
    .auth-card {
        padding: 30px 20px;
    }
    
    .otp-inputs input {
        width: 40px;
        height: 50px;
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .form-options {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .otp-inputs input {
        width: 35px;
        height: 45px;
        font-size: 18px;
    }
}