/* Login Page Styles - Matching React Material-UI Design */

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
        'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
        sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.login-container {
    min-height: 100vh;
    width: 100vw;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f5f7fb;
    padding: 20px;
}

.login-card {
    background: #ffffff;
    padding: 32px;
    width: 100%;
    max-width: 450px;
    min-width: 280px;
    border-radius: 16px;
    box-shadow: 0px 11px 15px -7px rgba(0, 0, 0, 0.2),
                0px 24px 38px 3px rgba(0, 0, 0, 0.14),
                0px 9px 46px 8px rgba(0, 0, 0, 0.12);
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Logo Section */
.logo-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 16px;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 0;
}

.logo-wave {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

.logo-main {
    height: auto;
    max-height: 100px;
    width: auto;
    object-fit: contain;
}

/* Typography */
.login-title {
    font-size: 1.5rem;
    font-weight: 400;
    line-height: 1.334;
    letter-spacing: 0em;
    text-align: center;
    margin: 0 0 16px 0;
    color: rgba(0, 0, 0, 0.87);
}

.login-subtitle {
    font-size: 0.875rem;
    font-weight: 400;
    line-height: 1.43;
    letter-spacing: 0.01071em;
    text-align: center;
    margin: 0 0 24px 0;
    color: rgba(0, 0, 0, 0.6);
}

/* Error Message */
.error-message {
    color: #d32f2f;
    font-size: 0.875rem;
    font-weight: 400;
    line-height: 1.43;
    text-align: center;
    margin-bottom: 16px;
    padding: 8px;
    background-color: rgba(211, 47, 47, 0.08);
    border-radius: 4px;
    width: 100%;
}

/* Loading Indicator */
.loading-indicator {
    text-align: center;
    margin: 2rem 0;
    font-size: 18px;
    color: #666;
}

.loading-text {
    display: block;
}

/* Microsoft Login Button */
.microsoft-login-btn {
    width: 100%;
    margin-bottom: 16px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 16px;
    padding: 10px 22px;
    border: none;
    cursor: pointer;
    background: linear-gradient(90deg, #2a5ca8 0%, #4fa3e3 100%);
    color: #fff;
    text-decoration: none;
    transition: background 0.3s ease;
    position: relative;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.microsoft-login-btn:hover {
    background: linear-gradient(90deg, #1e4b8f 0%, #3d8bc0 100%);
    text-decoration: none;
    color: #fff;
}

.microsoft-login-btn:active {
    background: linear-gradient(90deg, #1a3d7a 0%, #3478a6 100%);
}

.microsoft-login-btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(42, 92, 168, 0.3);
}

/* Responsive Design */
@media (max-width: 600px) {
    .login-card {
        width: 90vw;
        padding: 24px;
    }
    
    .login-title {
        font-size: 1.25rem;
    }
    
    .logo-wave {
        width: 60px;
        height: 60px;
    }
    
    .logo-main {
        max-height: 80px;
    }
}

@media (min-width: 600px) and (max-width: 960px) {
    .login-card {
        max-width: 400px;
    }
}

