.login-wrapper {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

.login-wrapper::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    top: -200px;
    right: -200px;
}

.login-wrapper::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    bottom: -150px;
    left: -150px;
}

.login-box {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1;
}

.login-info-side {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    padding: 4rem 3rem;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.school-logo-section {
    text-align: center;
    margin-bottom: 3rem;
}

.school-logo-login {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 1rem;
    background: white;
    padding: 10px;
    border-radius: 20px;
}

.school-name-login {
    font-family: 'Fredoka', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1.4;
    margin: 0;
}

.welcome-text {
    margin-bottom: 3rem;
}

.welcome-text h2 {
    font-family: 'Fredoka', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.welcome-text p {
    font-size: 1.1rem;
    opacity: 0.9;
    line-height: 1.6;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1rem;
    font-weight: 500;
}

.feature-item i {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

.login-form-side {
    padding: 4rem 3rem;
    display: flex;
    align-items: center;
}

.form-content {
    width: 100%;
}

.form-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.whatsapp-badge {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    margin-bottom: 1rem;
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
}

.form-header h4 {
    font-family: 'Fredoka', sans-serif;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.form-label {
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

.phone-input-wrapper {
    position: relative;
    display: flex;
    gap: 0.5rem;
}

.country-code {
    background: #f3f4f6;
    border: 2px solid #e5e7eb;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    font-weight: 600;
    color: #6b7280;
    display: flex;
    align-items: center;
}

.phone-input {
    flex: 1;
    padding: 0.75rem 1.25rem;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.phone-input:focus {
    outline: none;
    border-color: #25D366;
    box-shadow: 0 0 0 4px rgba(37, 211, 102, 0.1);
}

.btn-whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
    padding: 0.9rem 2rem;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.btn-whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    color: white;
}

.otp-sent-badge {
    background: #d1fae5;
    border: 2px solid #6ee7b7;
    padding: 1rem 1.25rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.otp-sent-badge i {
    font-size: 1.5rem;
    color: #059669;
}

.otp-sent-badge strong {
    color: #065f46;
    display: block;
    margin-bottom: 0.25rem;
}

.otp-sent-badge p {
    color: #047857;
    font-size: 0.9rem;
}

.btn-edit {
    background: white;
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 8px;
    color: #059669;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-left: auto;
}

.btn-edit:hover {
    background: #f0fdf4;
    transform: scale(1.1);
}

.otp-input {
    padding: 1rem 1.25rem;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 1.8rem;
    text-align: center;
    letter-spacing: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.otp-input:focus {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

.resend-section {
    text-align: center;
    margin-top: 1rem;
    color: #6b7280;
    font-size: 0.9rem;
}

.btn-resend {
    background: none;
    border: none;
    color: #6366f1;
    font-weight: 600;
    cursor: pointer;
    padding: 0;
    text-decoration: underline;
}

.btn-resend:hover {
    color: #4f46e5;
}

.btn-verify {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: white;
    padding: 0.9rem 2rem;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.btn-verify:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.4);
    color: white;
}

.security-note {
    text-align: center;
    margin-top: 2rem;
    color: #9ca3af;
    font-size: 0.85rem;
}

@media (max-width: 991px) {
    .login-info-side {
        padding: 3rem 2rem;
        text-align: center;
    }
    
    .welcome-text h2 {
        font-size: 2rem;
    }
    
    .features-list {
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    .login-form-side {
        padding: 3rem 2rem;
    }
}

@media (max-width: 576px) {
    .login-form-side {
        padding: 2rem 1.5rem;
    }
    
    .phone-input-wrapper {
        flex-direction: column;
    }
    
    .country-code {
        width: 100%;
        justify-content: center;
    }
}
