/* Login Page Specific Styles */
body {
    margin: 0;
    padding: 0;
    background-color: #f0f2f5;
    color: #2c3e50;
    font-family: 'Vazirmatn', sans-serif;
}

/* اطمینان از نمایش درست متن‌ها */
.acadev-login-wrapper,
.acadev-login-wrapper * {
    color: #2c3e50;
}

.acadev-login-wrapper input,
.acadev-login-wrapper select,
.acadev-login-wrapper textarea {
    color: #2c3e50 !important;
}

.acadev-login-wrapper label {
    color: #666 !important;
}

.acadev-login-wrapper .auth-title,
.acadev-login-wrapper .login-options-title {
    color: #2c3e50 !important;
}

.login-container {
    display: flex;
    min-height: 100vh;
    background-color: #f0f2f5;
}

.login-layout {
    display: flex;
    min-height: calc(100vh - 80px);
}

.login-main {
    flex: 1;
    padding: 0;
}

.login-left {
    flex: 1;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 60px 40px;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.login-left::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

.login-left-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.login-left h2 {
    font-size: 32px;
    margin-bottom: 20px;
}

.login-left p {
    font-size: 16px;
    opacity: 0.9;
    margin-bottom: 30px;
}

.illustration-container {
    margin-bottom: 40px;
    width: 100%;
    max-width: 400px;
}

.illustration {
    position: relative;
    width: 100%;
    height: 300px;
    margin: 0 auto;
}

.illustration-person {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 180px;
    z-index: 3;
}

.person-head {
    width: 60px;
    height: 60px;
    background: #fff;
    border-radius: 50%;
    margin: 0 auto 10px;
    position: relative;
}

.person-body {
    width: 100px;
    height: 120px;
    background: #fff;
    border-radius: 20px 20px 0 0;
    margin: 0 auto;
    position: relative;
    padding-top: 15px;
}

.laptop {
    width: 80px;
    height: 50px;
    background: #667eea;
    border-radius: 5px;
    margin: 0 auto;
    position: relative;
}

.laptop::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 35px;
    background: #764ba2;
    border-radius: 3px;
}

.illustration-card {
    position: absolute;
    width: 80px;
    height: 100px;
    background: rgba(255,255,255,0.9);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    z-index: 2;
}

.card-left {
    top: 20%;
    right: 10%;
    animation: float 3s ease-in-out infinite;
}

.card-right {
    top: 30%;
    left: 10%;
    animation: float 3s ease-in-out infinite 1.5s;
}

.card-lines {
    width: 100%;
    height: 100%;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.card-lines::before,
.card-lines::after {
    content: '';
    width: 100%;
    height: 8px;
    background: #667eea;
    border-radius: 4px;
}

.card-chart {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 10px;
    position: relative;
}

.illustration-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(255,255,255,0.1) 0%, transparent 70%);
    z-index: 1;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

.contact-info {
    margin-top: 40px;
    width: 100%;
    max-width: 400px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    justify-content: center;
}

.contact-item i {
    font-size: 20px;
}

.trust-logos {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
}

.trust-logo {
    background: rgba(255,255,255,0.2);
    padding: 15px 25px;
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.enamad-logo,
.samandehi-logo {
    font-size: 14px;
    font-weight: 600;
}

.login-right {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    background: #fff;
    color: #2c3e50;
}

.login-right * {
    color: inherit;
}

.auth-panel {
    width: 100%;
    max-width: 450px;
}

.auth-section {
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    color: #2c3e50;
}

.auth-title {
    font-size: 28px;
    color: #2c3e50 !important;
    margin-bottom: 30px;
    text-align: center;
    font-weight: 700;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

.form-group input,
.form-group select {
    padding: 14px 18px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 15px;
    font-family: 'Vazirmatn', sans-serif;
    transition: all 0.3s ease;
    background: #fff;
    color: #2c3e50;
    width: 100%;
    box-sizing: border-box;
}

.form-group input::placeholder {
    color: #999;
    opacity: 1;
}

.form-group input:-webkit-input-placeholder {
    color: #999;
}

.form-group input:-moz-placeholder {
    color: #999;
    opacity: 1;
}

.form-group input::-moz-placeholder {
    color: #999;
    opacity: 1;
}

.form-group input:-ms-input-placeholder {
    color: #999;
}

.form-group select {
    color: #2c3e50;
    background-color: #fff;
    cursor: pointer;
}

.form-group select option {
    color: #2c3e50;
    background-color: #fff;
    padding: 10px;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #667eea;
    background: #fff;
    color: #2c3e50;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
}

.checkbox-group {
    flex-direction: row;
    align-items: center;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 14px;
    color: #666;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.btn-auth {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border: none;
    padding: 16px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Vazirmatn', sans-serif;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.btn-auth:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
}

.btn-back {
    background: #f8f9fa;
    color: #667eea;
    border: 2px solid #e0e0e0;
    padding: 12px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Vazirmatn', sans-serif;
    margin-top: 10px;
}

.btn-back:hover {
    background: #e9ecef;
    border-color: #667eea;
}

.forgot-password-link {
    text-align: center;
    color: #667eea;
    text-decoration: none;
    font-size: 14px;
    margin-top: -10px;
}

.forgot-password-link:hover {
    text-decoration: underline;
}

.register-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 20px;
}

.register-option {
    background: #f8f9fa;
    border: 2px solid #e0e0e0;
    padding: 20px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    font-family: 'Vazirmatn', sans-serif;
}

.register-option:hover {
    border-color: #667eea;
    background: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.2);
}

.register-option i {
    font-size: 32px;
    color: #667eea;
    margin-bottom: 10px;
    display: block;
}

.register-option span {
    display: block;
    font-size: 14px;
    color: #2c3e50 !important;
    font-weight: 600;
}

.register-option {
    color: #2c3e50;
}

.login-options-section {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 2px solid #f0f0f0;
}

.login-options-title {
    font-size: 20px;
    color: #2c3e50;
    margin-bottom: 20px;
    text-align: center;
    font-weight: 600;
}

.login-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.login-option {
    background: #f8f9fa;
    border: 2px solid #e0e0e0;
    padding: 20px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    font-family: 'Vazirmatn', sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.login-option:hover {
    border-color: #667eea;
    background: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.2);
}

.login-option i {
    font-size: 32px;
    color: #667eea;
    margin-bottom: 10px;
    display: block;
}

.login-option span {
    font-size: 14px;
    color: #2c3e50 !important;
    font-weight: 600;
    display: block;
}

.login-option {
    color: #2c3e50 !important;
}

.login-option:hover span {
    color: #2c3e50 !important;
}

.login-header {
    background: #fff;
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.login-header .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.login-header .logo h1 {
    margin: 0;
    font-size: 24px;
    color: #667eea;
}

.login-header .logo a {
    text-decoration: none;
}

.login-footer {
    background: #2c3e50;
    color: #fff;
    padding: 40px 0;
    text-align: center;
}

.login-footer .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #667eea;
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: #667eea;
    transform: translateY(-3px);
}

.footer-copyright {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-copyright p {
    margin: 0;
    font-size: 14px;
    opacity: 0.8;
}

.login-main {
    flex: 1;
}

@media (max-width: 768px) {
    .login-container {
        flex-direction: column;
    }

    .login-left {
        padding: 30px 20px;
    }

    .login-right {
        padding: 30px 20px;
    }

    .register-options {
        grid-template-columns: 1fr;
    }
}

