* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.login-container {
    width: 100%;
    max-width: 480px;
}

/* Logo Section */
.logo-section {
    text-align: center;
    margin-bottom: 40px;
}

.logo-section img {
    height: 140px;
    width: auto;
}

.logo-section h1 {
    font-size: 16px;
    color: #333;
    font-weight: 400;
    margin: 0;
}

/* Login Card */
.login-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    padding: 50px 40px;
    text-align: center;
}

/* Lock Icon */
.lock-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: white;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.3);
}

/* Heading */
.login-card h2 {
    font-size: 24px;
    color: #333;
    margin-bottom: 15px;
    font-weight: 600;
}

/* Description */
.login-description {
    color: #666;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 30px;
}

/* Session Expired Warning */
.session-expired-warning {
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-left: 4px solid #ef4444;
    color: #991b1b;
    padding: 12px 5px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    animation: slideDown 0.3s ease-out;
}

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

/* SSO Button - Azure AD Style */
.sso-button {
    width: 100%;
    padding: 14px 24px;
    background: white;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.sso-button:hover {
    background: #f9fafb;
    border-color: #667eea;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.2);
    transform: translateY(-1px);
}

.sso-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

/* Azure AD Logo */
.azure-logo {
    width: 20px;
    height: 20px;
    display: inline-flex;
}

.azure-logo svg {
    width: 100%;
    height: 100%;
}

/* Info Box */
.info-box {
    margin-top: 30px;
    padding: 20px;
    background: #f0f9ff;
    border-left: 4px solid #0284c7;
    border-radius: 6px;
    text-align: left;
}

.info-box h3 {
    font-size: 14px;
    color: #0c4a6e;
    margin-bottom: 10px;
    font-weight: 600;
}

.info-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.info-box li {
    font-size: 13px;
    color: #0c4a6e;
    padding: 5px 0;
    padding-left: 20px;
    position: relative;
}

.info-box li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #0284c7;
    font-weight: bold;
}

/* Footer */
.login-footer {
    margin-top: 30px;
    text-align: center;
    color: #6b7280;
    font-size: 13px;
}

.login-footer a {
    color: #667eea;
    text-decoration: none;
}

.login-footer a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 640px) {
    .login-card {
        padding: 40px 30px;
    }

    .logo-section img {
        height: 100px;
    }

    .lock-icon {
        width: 70px;
        height: 70px;
        font-size: 32px;
    }

    .login-card h2 {
        font-size: 20px;
    }

    .login-description {
        font-size: 14px;
    }

    .sso-button {
        padding: 12px 20px;
        font-size: 14px;
    }
}

/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.login-container {
    animation: fadeIn 0.5s ease-out;
}