/* login-fragment.css */

/* 1. Shell Isolation: Hides app-shell header/footer when login is active */
.is-login-active .shell-header-wrapper, 
.is-login-active .shell-nav-bar { display: none !important; }
.is-login-active .shell-body { padding-bottom: 0 !important; background: #f4f7f9; }

/* 2. Main Layout */
.login-container {
    width: 100%; max-width: 420px; margin: 20px auto;
    background: #FFFFFF; border-radius: 24px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
    overflow: hidden; display: flex; flex-direction: column;
}

.myvetha-header {
    background-image: linear-gradient(135deg, #1f78d6 0%, #0A66C2 100%);
    color: white; padding: 3.5rem 1.5rem 3rem; text-align: center;
    border-radius: 24px 24px 0 0; border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.myvetha-login-logo {
    width: 95px; height: 95px; margin: 0 auto 1.2rem;
    background: url('/icons/image2.png') no-repeat center/contain;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
}

.myvetha-login-app-name { font-size: 2.4rem; font-weight: 700; margin: 0; }
.myvetha-login-tagline { font-size: 0.85rem; opacity: 0.85; letter-spacing: 2px; text-transform: uppercase; }

/* 3. Inputs & Primary Buttons */
.myvetha-login-content { padding: 2.5rem 2rem; }
.welcome-text { font-size: 1.5rem; font-weight: 600; color: #0A66C2; text-align: center; margin-bottom: 2rem; }

.myvetha-form-group { margin-bottom: 1.5rem; position: relative; }
.myvetha-form-group label { display: block; margin-bottom: 8px; font-weight: 600; color: #333; font-size: 0.9rem; }
.input-icon { position: absolute; left: 1rem; top: 2.8rem; color: #666; font-size: 1.1rem; z-index: 5; }

input {
    width: 100%; box-sizing: border-box; padding: 1rem 1rem 1rem 3rem;
    border: 1.5px solid #E0E0E0; border-radius: 12px; font-size: 1rem; transition: 0.3s;
}
input:focus { outline: none; border-color: #0A66C2; box-shadow: 0 0 0 4px rgba(10, 102, 194, 0.08); }

.myvetha-primary-btn {
    width: 100%; padding: 1rem; border: none; border-radius: 12px;
    background-image: linear-gradient(to bottom, #4f92d4 0%, #0A66C2 100%);
    color: white; font-weight: 600; cursor: pointer; display: flex; 
    align-items: center; justify-content: center; gap: 10px; transition: 0.3s;
}

.myvetha-primary-btn.resend-variant {
    background-image: linear-gradient(to bottom, #64748b 0%, #334155 100%);
}

/* 4. Separator & Social Icons with Hover Effects */
.social-separator {
    display: flex; align-items: center; 
    margin: 3.5rem 0 2rem; 
    color: #94a3b8; font-size: 0.875rem; width: 100%;
}
.social-separator::before, .social-separator::after {
    content: ''; flex: 1; height: 1px; background-color: #e2e8f0;
}
.social-separator span { padding: 0 15px; font-weight: 700; white-space: nowrap; }

.myvetha-social-icons { display: flex; justify-content: center; gap: 1.25rem; margin-bottom: 1.5rem; }
.myvetha-social-icon {
    width: 3.5rem; height: 3.5rem; border-radius: 50%; display: flex; 
    justify-content: center; align-items: center; font-size: 1.25rem; color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08); transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer; text-decoration: none;
}
.myvetha-social-icon:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    filter: brightness(1.1);
}
.facebook { background-image: linear-gradient(135deg, #4f73b9 0%, #3b5998 100%); }
.google { background-image: linear-gradient(135deg, #e36a61 0%, #db4437 100%); }
.linkedin { background-image: linear-gradient(135deg, #2c7edd 0%, #0A66C2 100%); }

/* 5. Professional Notes Card */
.myvetha-demo-info {
    margin-top: 30px; padding: 20px; background: #f8fafc;
    border: 1px solid #e2e8f0; border-radius: 16px;
}
.myvetha-demo-info h4 { margin: 0 0 12px 0; color: #0A66C2; font-size: 0.95rem; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.myvetha-demo-info h4::before { content: '\f05a'; font-family: 'Font Awesome 6 Free'; font-weight: 900; }
.myvetha-demo-info ul { margin: 0; padding-left: 18px; list-style-type: none; }
.myvetha-demo-info li { font-size: 0.85rem; color: #64748b; margin-bottom: 8px; position: relative; }
.myvetha-demo-info li::before { content: "•"; color: #0A66C2; font-weight: bold; position: absolute; left: -15px; }

.login-otp-timer-box { font-size: 0.8rem; color: #64748b; margin-top: 10px; font-weight: 600; text-align: center; }
#otpTimer { color: #dc3545; }
.auto-hint { text-align: center; color: #94a3b8; font-size: 0.8rem; padding: 10px; }
.login-legal-footer { padding: 20px; text-align: center; color: #94a3b8; font-size: 0.8rem; border-top: 1px solid #f0f0f0; }
.hidden { display: none !important; }