/* ===================================
   MANOVASTRA - REPUBLIC DAY 2026 THEME
   Login/Register Authentication Page Styling
   ==================================== */

/* ===================================
   KEYFRAME ANIMATIONS
   ==================================== */

/* Login Icon Pulse with Patriotic Glow */
@keyframes iconPulse {
    0%, 100% {
        box-shadow: 
            0 0 20px rgba(255, 153, 51, 0.3),
            0 0 40px rgba(255, 153, 51, 0.2);
    }
    50% {
        box-shadow: 
            0 0 30px rgba(255, 153, 51, 0.5),
            0 0 50px rgba(19, 136, 7, 0.3),
            0 0 70px rgba(255, 153, 51, 0.2);
    }
}

/* Slide-In Error Message */
@keyframes slideInError {
    0% {
        transform: translateY(-10px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Ashoka Chakra Rotation */
@keyframes rotateChakra {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* Float Decoration */
@keyframes floatDecoration {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* Button Glow Effect */
@keyframes buttonGlow {
    0%, 100% {
        box-shadow: 
            0 8px 20px rgba(19, 136, 7, 0.3),
            0 8px 20px rgba(255, 153, 51, 0.2);
    }
    50% {
        box-shadow: 
            0 12px 30px rgba(255, 153, 51, 0.4),
            0 12px 30px rgba(19, 136, 7, 0.3);
    }
}

/* Resend Icon Rotate */
@keyframes resendIconRotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Tricolor Flow */
@keyframes tricolorFlow {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Trust Badge Hover */
@keyframes badgeHover {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-5px);
    }
}

/* Shimmer Effect */
@keyframes shimmer {
    0% {
        background-position: -200% center;
    }
    100% {
        background-position: 200% center;
    }
}

/* ===================================
   1. LOGIN PAGE BODY
   ==================================== */

.login-page {
    font-family: 'Poppins', sans-serif;
    min-height: 100vh;
    background: #f7f9fc;
    position: relative;
    overflow-x: hidden;
}

/* Subtle Tricolor Gradient Overlay */
.login-page::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(255, 153, 51, 0.03) 0%,
        rgba(255, 255, 255, 0) 50%,
        rgba(19, 136, 7, 0.03) 100%
    );
    pointer-events: none;
    z-index: 0;
}

/* ===================================
   2. LOGIN SECTION
   ==================================== */

.login-section {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 40px 0;
    position: relative;
    z-index: 1;
}

/* ===================================
   3. LOGIN CARD
   ==================================== */

.login-card {
    background: #FFFFFF;
    border-radius: 16px;
    padding: 40px 35px;
    box-shadow: 
        0 10px 40px rgba(0, 0, 0, 0.1),
        0 0 30px rgba(255, 153, 51, 0.05),
        0 0 40px rgba(19, 136, 7, 0.03);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

/* Tricolor Top Border Stripe */
.login-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(
        90deg,
        #FF9933 0%,
        #FF9933 33%,
        #FFFFFF 33%,
        #FFFFFF 66%,
        #138807 66%,
        #138807 100%
    );
    background-size: 300% 100%;
    animation: tricolorFlow 8s ease infinite;
    z-index: 2;
}

/* Subtle Ashoka Chakra Watermark */
.login-card::after {
    content: '☸';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 400px;
    color: rgba(255, 153, 51, 0.03);
    animation: rotateChakra 90s linear infinite;
    pointer-events: none;
    z-index: 0;
}

.login-card > * {
    position: relative;
    z-index: 1;
}

/* ===================================
   4. LOGIN CARD HEADER
   ==================================== */

.login-card-header {
    text-align: center;
    margin-bottom: 30px;
}

/* ===================================
   5. LOGIN ICON
   ==================================== */

.login-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 120px;
    height: 120px;
    background: linear-gradient(
        135deg,
        rgba(255, 153, 51, 0.1),
        rgba(255, 255, 255, 0.5),
        rgba(19, 136, 7, 0.1)
    );
    border-radius: 50%;
    margin-bottom: 20px;
    animation: iconPulse 3s ease-in-out infinite;
    border: 3px solid transparent;
    background-clip: padding-box;
    position: relative;
}

.login-icon::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    background: linear-gradient(
        135deg,
        #FF9933,
        #FFFFFF,
        #138807
    );
    background-size: 200% 200%;
    animation: tricolorFlow 6s ease infinite;
    z-index: -1;
}

.login-icon i {
    font-size: 80px;
    background: linear-gradient(
        135deg,
        #FF9933 0%,
        #FFD700 50%,
        #138807 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===================================
   6. LOGIN TITLE
   ==================================== */

.login-title {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 700;
    color: #000080;
    margin: 15px 0 10px;
    letter-spacing: -0.5px;
    position: relative;
    padding-bottom: 12px;
}

/* Tricolor Gradient Underline */
.login-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(
        90deg,
        #FF9933 0%,
        #FFFFFF 50%,
        #138807 100%
    );
    border-radius: 2px;
}

/* ===================================
   7. LOGIN SUBTITLE
   ==================================== */

.login-subtitle {
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 25px;
}

/* ===================================
   8. LOGIN FORM
   ==================================== */

.login-form {
    width: 100%;
    margin-bottom: 20px;
}

/* ===================================
   9. FORM GROUP LOGIN
   ==================================== */

.form-group-login {
    margin-bottom: 20px;
    position: relative;
}

/* ===================================
   10. FORM LABEL LOGIN
   ==================================== */

.form-label-login {
    font-size: 14px;
    font-weight: 600;
    color: #000080;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-label-login i {
    color: #FF9933;
    font-size: 16px;
}

/* ===================================
   11. FORM CONTROL LOGIN
   ==================================== */

.form-control-login {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 15px;
    color: #333;
    background: #FFFFFF;
    transition: all 0.3s ease;
}

.form-control-login::placeholder {
    color: #9ca3af;
}

.form-control-login:focus {
    border-color: #FF9933;
    box-shadow: 
        0 0 0 4px rgba(255, 153, 51, 0.1),
        0 0 0 8px rgba(19, 136, 7, 0.05);
    outline: none;
}

.form-control-login:hover {
    border-color: #FFB366;
}

/* ===================================
   12. ERROR MESSAGE
   ==================================== */

.error-message {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #dc3545;
    font-size: 13px;
    margin-top: 8px;
    padding: 8px 12px;
    background: rgba(220, 53, 69, 0.1);
    border-radius: 6px;
    border-left: 3px solid #dc3545;
    animation: slideInError 0.3s ease-out;
}

.error-message i {
    font-size: 14px;
    color: #dc3545;
    flex-shrink: 0;
}

/* ===================================
   13. OTP TIMER
   ==================================== */

.otp-timer {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #48bb78;
    font-size: 13px;
    margin-top: 10px;
    padding: 8px 12px;
    background: rgba(72, 187, 120, 0.1);
    border-radius: 6px;
    border-left: 3px solid #48bb78;
}

.otp-timer::before {
    content: '✓';
    font-weight: 700;
    font-size: 16px;
}

/* ===================================
   14. BTN LOGIN PRIMARY
   ==================================== */

.btn-login-primary {
    width: 100%;
    padding: 14px 20px;
    background: linear-gradient(
        135deg,
        #138807 0%,
        #FF9933 100%
    );
    background-size: 200% 200%;
    color: #FFFFFF;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.btn-login-primary i {
    font-size: 1.2rem;
    color: #FFD700;
    transition: all 0.3s ease;
}

.btn-login-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-login-primary:hover::before {
    width: 500px;
    height: 500px;
}

.btn-login-primary:hover {
    background: linear-gradient(
        135deg,
        #FF9933 0%,
        #FFD700 100%
    );
    transform: translateY(-2px);
    animation: buttonGlow 2s ease-in-out infinite;
}

.btn-login-primary:hover i {
    color: #FFFFFF;
    transform: translateX(5px);
}

.btn-login-primary:active {
    transform: translateY(0);
}

/* ===================================
   15. BTN RESEND OTP
   ==================================== */

.btn-resend-otp {
    width: 100%;
    padding: 12px 20px;
    background: transparent;
    border: 2px solid #FF9933;
    color: #FF9933;
    font-size: 15px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 15px;
}

.btn-resend-otp i {
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.btn-resend-otp:hover {
    background: #FF9933;
    color: #FFFFFF;
    transform: scale(1.02);
    box-shadow: 0 6px 15px rgba(255, 153, 51, 0.3);
}

.btn-resend-otp:hover i {
    animation: resendIconRotate 0.6s ease-in-out;
}

/* ===================================
   16. SECURITY BADGE
   ==================================== */

.security-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
    padding: 12px 16px;
    background: rgba(19, 136, 7, 0.05);
    border-radius: 8px;
    font-size: 13px;
    color: #6b7280;
    border: 1px dashed rgba(19, 136, 7, 0.3);
}

.security-badge i {
    color: #138807;
    font-size: 16px;
}

/* ===================================
   17. NEW USER SECTION
   ==================================== */

.new-user-section {
    text-align: center;
    margin-top: 25px;
    padding: 20px;
    background: linear-gradient(
        135deg,
        rgba(255, 153, 51, 0.05) 0%,
        rgba(255, 255, 255, 0.3) 50%,
        rgba(19, 136, 7, 0.05) 100%
    );
    border-radius: 12px;
    border: 1px solid rgba(255, 153, 51, 0.1);
}

/* ===================================
   18. NEW USER TEXT
   ==================================== */

.new-user-text {
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 10px;
    font-weight: 500;
}

/* ===================================
   19. BTN CREATE ACCOUNT
   ==================================== */

.btn-create-account {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: #FFFFFF;
    border: 2px solid #138807;
    color: #138807;
    font-weight: 600;
    font-size: 15px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-create-account i {
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.btn-create-account:hover {
    background: #138807;
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(19, 136, 7, 0.3);
}

.btn-create-account:hover i {
    transform: scale(1.2);
}

/* ===================================
   20. TRUST BADGES LOGIN
   ==================================== */

.trust-badges-login {
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin-top: 30px;
    flex-wrap: wrap;
    gap: 15px;
}

/* ===================================
   21. TRUST BADGE LOGIN
   ==================================== */

.trust-badge-login {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px 20px;
    background: #FFFFFF;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    flex: 1;
    min-width: 120px;
}

.trust-badge-login:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 6px 20px rgba(0, 0, 0, 0.1),
        0 0 15px rgba(255, 153, 51, 0.1);
}

.trust-badge-login i {
    font-size: 24px;
    margin-bottom: 8px;
    transition: all 0.3s ease;
}

/* Tricolor Sequence for Trust Badge Icons */
.trust-badge-login:nth-child(1) i {
    color: #FF9933;
}

.trust-badge-login:nth-child(2) i {
    color: #138807;
}

.trust-badge-login:nth-child(3) i {
    color: #FFD700;
}

.trust-badge-login:hover i {
    transform: scale(1.2);
    filter: drop-shadow(0 0 8px currentColor);
}

.trust-badge-login span {
    font-size: 12px;
    color: #6b7280;
    font-weight: 500;
    text-align: center;
}

/* ===================================
   22. LOGIN FOOTER
   ==================================== */

.login-footer {
    background: #FFFFFF;
    padding: 30px 0;
    margin-top: 50px;
    position: relative;
    border-top: 3px solid transparent;
    border-image: linear-gradient(
        90deg,
        #FF9933 0%,
        #FFFFFF 50%,
        #138807 100%
    ) 1;
}

/* Tricolor Top Border Stripe */
.login-footer::before {
    content: '';
    position: absolute;
    top: -3px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(
        90deg,
        #FF9933 0%,
        #FF9933 33%,
        #FFFFFF 33%,
        #FFFFFF 66%,
        #138807 66%,
        #138807 100%
    );
}

/* ===================================
   23. FOOTER TEXT
   ==================================== */

.footer-text {
    font-size: 13px;
    color: #6b7280;
    text-align: center;
    margin-bottom: 15px;
}

.footer-text a {
    color: #FF9933;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
}

.footer-text a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #138807;
    transition: width 0.3s ease;
}

.footer-text a:hover {
    color: #138807;
}

.footer-text a:hover::after {
    width: 100%;
}

/* ===================================
   24. FOOTER LINKS LOGIN
   ==================================== */

.footer-links-login {
    list-style: none;
    display: flex;
    justify-content: center;
    padding: 0;
    margin: 15px 0;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-links-login li {
    position: relative;
}

.footer-links-login li:not(:last-child)::after {
    content: '•';
    position: absolute;
    right: -12px;
    color: #d1d5db;
}

.footer-links-login a {
    color: #6b7280;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.footer-links-login a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(
        90deg,
        #FF9933,
        #138807
    );
    transition: width 0.3s ease;
}

.footer-links-login a:hover {
    color: #FF9933;
}

.footer-links-login a:hover::after {
    width: 100%;
}

/* ===================================
   25. FOOTER COPYRIGHT
   ==================================== */

.footer-copyright {
    font-size: 12px;
    color: #9ca3af;
    text-align: center;
    margin-top: 10px;
}

.footer-copyright::before {
    content: '🇮🇳 ';
    margin-right: 5px;
}

/* ===================================
   26. BACKGROUND DECORATIONS
   ==================================== */

.bg-decoration {
    position: fixed;
    pointer-events: none;
    z-index: 0;
    opacity: 0.05;
}

/* Top-Left Decoration - Ashoka Chakra */
.bg-decoration-1 {
    top: -100px;
    left: -100px;
    width: 300px;
    height: 300px;
    background-image: radial-gradient(
        circle,
        #FF9933 0%,
        #FFD700 50%,
        transparent 70%
    );
    border-radius: 50%;
    animation: rotateChakra 60s linear infinite;
}

.bg-decoration-1::before {
    content: '☸';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 200px;
    color: #FF9933;
}

/* Bottom-Right Decoration - Tricolor Circles */
.bg-decoration-2 {
    bottom: -150px;
    right: -150px;
    width: 400px;
    height: 400px;
    animation: floatDecoration 8s ease-in-out infinite;
}

.bg-decoration-2::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: linear-gradient(
        135deg,
        rgba(255, 153, 51, 0.3),
        rgba(19, 136, 7, 0.3)
    );
}

.bg-decoration-2::after {
    content: '';
    position: absolute;
    top: 50px;
    left: 50px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(255, 215, 0, 0.4),
        transparent
    );
}

/* ===================================
   27. RESPONSIVE DESIGN
   ==================================== */

/* Large Desktop */
@media (min-width: 992px) {
    .login-card {
        padding: 50px 40px;
    }
    
    .login-title {
        font-size: 32px;
    }
}

/* Tablet */
@media (max-width: 991px) {
    .login-section {
        padding: 30px 0;
    }
    
    .login-card {
        padding: 35px 30px;
    }
    
    .login-title {
        font-size: 26px;
    }
    
    .login-icon {
        width: 100px;
        height: 100px;
    }
    
    .login-icon i {
        font-size: 70px;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .login-page::before {
        background: linear-gradient(
            180deg,
            rgba(255, 153, 51, 0.05) 0%,
            rgba(255, 255, 255, 0) 50%,
            rgba(19, 136, 7, 0.05) 100%
        );
    }
    
    .login-section {
        padding: 20px 0;
    }
    
    .login-card {
        padding: 30px 25px;
        border-radius: 12px;
    }
    
    .login-icon {
        width: 90px;
        height: 90px;
    }
    
    .login-icon i {
        font-size: 60px;
    }
    
    .login-title {
        font-size: 24px;
    }
    
    .login-subtitle {
        font-size: 13px;
    }
    
    .trust-badges-login {
        flex-direction: column;
        gap: 10px;
    }
    
    .trust-badge-login {
        width: 100%;
    }
    
    .bg-decoration-1 {
        width: 200px;
        height: 200px;
        top: -80px;
        left: -80px;
    }
    
    .bg-decoration-1::before {
        font-size: 120px;
    }
    
    .bg-decoration-2 {
        width: 250px;
        height: 250px;
        bottom: -100px;
        right: -100px;
    }
    
    .bg-decoration-2::before {
        width: 200px;
        height: 200px;
    }
    
    .bg-decoration-2::after {
        width: 120px;
        height: 120px;
    }
}

/* Small Mobile */
@media (max-width: 575px) {
    .login-card {
        padding: 25px 20px;
        margin: 0 10px;
    }
    
    .login-icon {
        width: 80px;
        height: 80px;
    }
    
    .login-icon i {
        font-size: 50px;
    }
    
    .login-title {
        font-size: 22px;
    }
    
    .btn-login-primary {
        padding: 12px 18px;
        font-size: 15px;
    }
    
    .btn-resend-otp {
        padding: 10px 16px;
        font-size: 14px;
    }
    
    .form-control-login {
        padding: 10px 12px;
        font-size: 14px;
    }
    
    .footer-links-login {
        flex-direction: column;
        gap: 10px;
    }
    
    .footer-links-login li:not(:last-child)::after {
        display: none;
    }
}

/* ===================================
   28. ACCESSIBILITY & FOCUS STATES
   ==================================== */

.form-control-login:focus,
.btn-login-primary:focus,
.btn-resend-otp:focus,
.btn-create-account:focus {
    outline: 3px solid #FF9933;
    outline-offset: 3px;
}

/* Touch-Friendly Sizing on Mobile */
@media (max-width: 767px) {
    .btn-login-primary,
    .btn-resend-otp,
    .btn-create-account {
        min-height: 44px;
    }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .login-card {
        border: 2px solid #000000;
    }
    
    .form-control-login {
        border-width: 3px;
    }
}

/* ===================================
   29. REDUCED MOTION
   ==================================== */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ===================================
   30. GPU ACCELERATION
   ==================================== */

.login-card,
.btn-login-primary,
.btn-create-account,
.trust-badge-login,
.bg-decoration {
    will-change: transform;
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

/* ===================================
   31. LOADING STATE
   ==================================== */

.btn-login-primary.loading,
.btn-resend-otp.loading {
    pointer-events: none;
    opacity: 0.7;
    position: relative;
}

.btn-login-primary.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 20px;
    width: 16px;
    height: 16px;
    border: 2px solid #FFFFFF;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    0% {
        transform: translateY(-50%) rotate(0deg);
    }
    100% {
        transform: translateY(-50%) rotate(360deg);
    }
}

/* ===================================
   32. INPUT VALIDATION STATES
   ==================================== */

/* Valid Input */
.form-control-login.is-valid {
    border-color: #138807;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23138807' viewBox='0 0 16 16'%3E%3Cpath d='M13.854 3.646a.5.5 0 0 1 0 .708l-7 7a.5.5 0 0 1-.708 0l-3.5-3.5a.5.5 0 1 1 .708-.708L6.5 10.293l6.646-6.647a.5.5 0 0 1 .708 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 40px;
}

.form-control-login.is-valid:focus {
    border-color: #138807;
    box-shadow: 
        0 0 0 4px rgba(19, 136, 7, 0.1),
        0 0 0 8px rgba(19, 136, 7, 0.05);
}

/* Invalid Input */
.form-control-login.is-invalid {
    border-color: #dc3545;
}

.form-control-login.is-invalid:focus {
    border-color: #dc3545;
    box-shadow: 
        0 0 0 4px rgba(220, 53, 69, 0.1),
        0 0 0 8px rgba(220, 53, 69, 0.05);
}

/* ===================================
   33. DISABLED STATE
   ==================================== */

.btn-login-primary:disabled,
.btn-resend-otp:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

/* ===================================
   34. PRINT STYLES
   ==================================== */

@media print {
    .bg-decoration,
    .trust-badges-login,
    .new-user-section,
    .login-footer {
        display: none !important;
    }
    
    .login-card {
        box-shadow: none !important;
        border: 1px solid #ddd !important;
    }
    
    * {
        animation: none !important;
        transition: none !important;
    }
}

/* ===================================
   35. DARK MODE SUPPORT (Optional)
   ==================================== */

@media (prefers-color-scheme: dark) {
    .login-page {
        background: #1a1a1a;
    }
    
    .login-card {
        background: #2c2c2c;
        color: #e5e7eb;
    }
    
    .login-title {
        color: #FFB366;
    }
    
    .form-label-login {
        color: #FFB366;
    }
    
    .form-control-login {
        background: #1a1a1a;
        border-color: #444;
        color: #e5e7eb;
    }
    
    .form-control-login:focus {
        background: #1a1a1a;
    }
    
    .new-user-section {
        background: rgba(255, 153, 51, 0.1);
    }
    
    .trust-badge-login {
        background: #1a1a1a;
    }
    
    .login-footer {
        background: #0d0d0d;
    }
}

/* ===================================
   END OF LOGIN PAGE STYLING
   Happy 77th Republic Day 2026! 🇮🇳
   Jai Hind!
   ==================================== */