.login-options {
    margin-top: 2rem;
    text-align: center;
}

.login-divider {
    margin: 2rem 0;
    text-align: center;
    position: relative;
}

.login-divider::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #dee2e6;
}

.login-divider span {
    background: #fff;
    padding: 0 1rem;
    position: relative;
    color: #6c757d;
}

.btn-ndi-login {
    background-color: #0056b3;
    border-color: #0056b3;
    color: #fff;
    padding: 0.75rem 1.5rem;
    font-size: 1.1rem;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.2s ease-in-out;
}

.btn-ndi-login:hover {
    background-color: #004494;
    border-color: #004494;
    color: #fff;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.btn-ndi-login:active {
    transform: translateY(0);
    box-shadow: none;
}

.btn-ndi-login .ndi-logo {
    width: 28px;
    height: 28px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.btn-ndi-login:hover .ndi-logo {
    filter: brightness(0) invert(1) drop-shadow(0 1px 2px rgba(0,0,0,0.2));
}

.login-form-container {
    max-width: 400px;
    margin: 0 auto;
    padding: 2rem;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.ndi-branding {
    text-align: center;
    margin-bottom: 2rem;
    padding: 1rem;
    background: url('../images/ndibg.svg') no-repeat center center;
    background-size: contain;
}

.ndi-branding img.ndi-logo {
    max-width: 250px;
    height: auto;
    margin-bottom: 1rem;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.ndi-branding p {
    color: #6c757d;
    font-size: 0.9rem;
    margin: 0;
}

/* Responsive adjustments */
@media (max-width: 576px) {
    .login-form-container {
        padding: 1.5rem;
        margin: 0 1rem;
    }
    
    .btn-ndi-login {
        padding: 0.6rem 1.2rem;
        font-size: 1rem;
    }
    
    .ndi-branding img.ndi-logo {
        max-width: 180px;
    }
    
    .btn-ndi-login .ndi-logo {
        width: 24px;
        height: 24px;
    }
}

.ndi-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease-out;
}

.ndi-modal.show {
    display: flex !important;
    display: flex;
}

.ndi-modal-content {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 32px rgba(0, 0, 0, 0.15);
    width: 90%;
    max-width: 400px;
    position: relative;
    animation: modalFadeIn 0.3s ease-out;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.ndi-modal-header {
    padding: 20px 24px;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.ndi-modal-header h3 {
    margin: 0;
    color: #124143;
    font-size: 1.25rem;
    font-weight: 600;
}

.ndi-modal-close {
    background: none;
    border: none;
    font-size: 24px;
    color: #666;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    transition: color 0.2s;
}

.ndi-modal-close:hover {
    color: #124143;
}

.ndi-modal-body {
    padding: 24px;
    text-align: center;
}

.ndi-qr-container {
    margin-bottom: 24px;
}

#ndiQrCode {
    display: inline-block;
    padding: 16px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    margin-bottom: 16px;
}

#ndiQrCode img {
    display: block;
    margin: 0 auto;
}

.ndi-qr-text {
    color: #444;
    font-size: 0.95rem;
    margin: 0;
}

.ndi-status-container {
    padding: 16px;
    background: #f8f9fa;
    border-radius: 8px;
    margin-top: 16px;
}

.ndi-status-message {
    color: #124143;
    font-size: 0.95rem;
    margin-bottom: 12px;
}

.ndi-status-spinner {
    display: inline-block;
    width: 24px;
    height: 24px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #124143;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* Responsive adjustments */
@media (max-width: 480px) {
    .ndi-modal-content {
        width: 95%;
        margin: 10px;
    }

    .ndi-modal-header {
        padding: 16px 20px;
    }

    .ndi-modal-body {
        padding: 20px;
    }

    #ndiQrCode {
        padding: 12px;
    }
} 