/* ============================================
   TVPM MICROSOFT AUTHENTICATION STYLES
   ============================================
   Styles for Microsoft sign-in button and auth UI
   ============================================ */

/* Microsoft Sign-In Button */
.ms-signin-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    
    width: 100%;
    padding: 16px 32px;
    
    background: linear-gradient(135deg, #1D5EA0 0%, #0D4580 100%);
    border: none;
    border-radius: 12px;
    
    font-family: var(--font-display, 'Neue Haas Grotesk Display', -apple-system, BlinkMacSystemFont, sans-serif);
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    text-decoration: none;
    letter-spacing: 0.02em;
    
    cursor: pointer;
    transition: all 0.3s ease;
    
    box-shadow: 
        0 4px 12px rgba(29, 94, 160, 0.25),
        0 2px 4px rgba(29, 94, 160, 0.15);
}

.ms-signin-button:hover {
    background: linear-gradient(135deg, #164A85 0%, #0A3665 100%);
    box-shadow: 
        0 8px 20px rgba(29, 94, 160, 0.35),
        0 4px 8px rgba(29, 94, 160, 0.2);
    transform: translateY(-2px);
}

.ms-signin-button:active {
    transform: translateY(0);
    box-shadow: 
        0 2px 6px rgba(29, 94, 160, 0.2),
        0 1px 2px rgba(29, 94, 160, 0.15);
}

.ms-signin-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

.ms-signin-button .ms-icon {
    width: 21px;
    height: 21px;
    flex-shrink: 0;
}

.ms-signin-button span {
    line-height: 1;
}

/* Loading State */
.ms-signin-button.loading {
    position: relative;
    color: transparent;
    pointer-events: none;
}

.ms-signin-button.loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    margin: -10px 0 0 -10px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top: 3px solid #ffffff;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

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

/* Mobile Responsive */
@media (max-width: 768px) {
    .ms-signin-button {
        font-size: 15px;
        padding: 14px 28px;
    }
}

/* Alternative: Standard Microsoft Style (Comment out TVPM style above to use this) */
/*
.ms-signin-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    
    width: 100%;
    padding: 14px 24px;
    
    background: #ffffff;
    border: 1px solid #8c8c8c;
    border-radius: 2px;
    
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: #5e5e5e;
    text-decoration: none;
    
    cursor: pointer;
    transition: all 0.15s ease;
    
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.ms-signin-button:hover {
    background: #f8f8f8;
    border-color: #5e5e5e;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    transform: translateY(-1px);
}
*/
