/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    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;
    overflow-x: hidden;
    overflow-y: auto;
}

/* Container */
.container {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: linear-gradient(135deg, #e3f2fd 0%, #f5f5f5 50%, #e8eaf6 100%);
}

/* Header */
.header {
    position: relative;
    z-index: 10;
    padding: 12px 48px;
    flex-shrink: 0;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-image {
    height: 48px;
    width: auto;
}

/* Main content */
.main-content {
    position: relative;
    z-index: 10;
    display: flex;
    max-width: 1400px;
    margin: 0 auto;
    padding: 24px 48px;
    gap: 60px;
    align-items: center;
    flex: 1;
}

/* Left column */
.left-column {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.intro-content {
    color: #263238;
    padding: 24px;
    border-radius: 12px;
}

.intro-title {
    font-size: 38px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #1976d2;
    line-height: 1.2;
}

.intro-description {
    font-size: 18px;
    line-height: 1.5;
    color: #546e7a;
    margin-bottom: 28px;
}

.features {
    display: grid;
    gap: 18px;
}

.feature-item {
    padding-left: 0;
}

.feature-item h3 {
    font-size: 18px;
    font-weight: 600;
    color: #263238;
    margin-bottom: 6px;
}

.feature-item p {
    font-size: 14px;
    color: #546e7a;
    line-height: 1.5;
}

/* Right column */
.right-column {
    flex: 0 0 460px;
}

/* Login box */
.login-box {
    background: white;
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    padding: 36px;
    border-top: 4px solid #1976d2;
}

.login-title {
    font-size: 28px;
    font-weight: 600;
    color: #263238;
    text-align: center;
    margin-bottom: 32px;
}

/* Alert - Soft style */
.alert-soft {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: #e8f5e9;
    color: #2e7d32;
    border-radius: 8px;
    margin-bottom: 24px;
    font-size: 15px;
    border: 1px solid #c8e6c9;
    animation: slideDown 0.4s ease-out;
}

.alert-soft::before {
    content: "✓";
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: #4caf50;
    color: white;
    border-radius: 50%;
    font-size: 14px;
    font-weight: bold;
    flex-shrink: 0;
}

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

/* SSO Buttons */
.sso-buttons {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.sso-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 24px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.sso-button.primary {
    background: #1976d2;
    color: white;
}

.sso-button.primary:hover {
    background: #1565c0;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(25, 118, 210, 0.3);
}

.button-icon {
    width: 20px;
    height: 20px;
}

/* Login footer */
.login-footer {
    margin-top: 28px;
    text-align: center;
}

.login-footer p {
    color: #546e7a;
    font-size: 14px;
}

.link {
    color: #1976d2;
    text-decoration: none;
    font-weight: 500;
}

.link:hover {
    text-decoration: underline;
}

/* Footer */
.footer {
    position: relative;
    z-index: 10;
    padding: 20px 48px;
    flex-shrink: 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.copyright {
    color: #546e7a;
    font-size: 14px;
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-link {
    color: #1976d2;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #1565c0;
    text-decoration: underline;
}

/* Responsive design */
@media (max-width: 1024px) {
    .main-content {
        flex-direction: column;
        gap: 40px;
    }

    .right-column {
        flex: 0 0 auto;
        width: 100%;
        max-width: 480px;
    }

    .intro-title {
        font-size: 32px;
    }
}

@media (max-width: 768px) {
    .header,
    .main-content,
    .footer {
        padding: 24px;
    }

    .intro-title {
        font-size: 28px;
    }

    .intro-description {
        font-size: 16px;
    }

    .login-box {
        padding: 32px 24px;
    }

    .login-title {
        font-size: 24px;
    }

    .footer-content {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}
