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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #f8fafc;
    color: #374151;
    line-height: 1.5;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.header {
    background: white;
    padding: 12px 0;
    border-bottom: 1px solid #e5e7eb;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.header-content {
    max-width: 600px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo-container img {
    width: auto;
}

.main-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    margin-top: 150px;
}

.content-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    width: 100%;
    max-width: 600px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
}

.welcome-heading {
    background-color: #0e2050;
    color: #ffe600;
    padding: 12px;
    text-align: center;
    border-radius: 8px;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 16px;
}

.subtitle {
    font-size: 16px;
    color: #6b7280;
    text-align: center;
    margin-bottom: 20px;
}

.demo-warning {
    background-color: #fff3cd;
    color: #856404;
    border: 1px solid #ffeeba;
    padding: 12px;
    margin-bottom: 20px;
    border-radius: 6px;
    font-size: 14px;
    line-height: 1.4;
}

.demo-warning strong {
    color: #664308;
}

.demo-warning a {
    color: #0c63e4;
    text-decoration: underline;
}

.demo-warning code {
    background: #f3f4f6;
    padding: 2px 4px;
    border-radius: 3px;
    font-family: monospace;
    font-size: 13px;
}

.section-title {
    background-color: #0e2050;
    color: #ffe600;
    padding: 8px;
    text-align: center;
    border-radius: 6px;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
}

.action-list {
    list-style: none;
    margin-bottom: 24px;
}

.action-item {
    padding: 12px;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    margin-bottom: 8px;
    background: #f9fafb;
    transition: all 0.2s ease;
}

.action-item:hover {
    background: #f3f4f6;
    border-color: #3b82f6;
}

.action-link {
    text-decoration: none;
    color: #1d4ed8;
    font-weight: 500;
    font-size: 15px;
}

.action-link:hover {
    color: #1e40af;
}

.action-description {
    color: #6b7280;
    font-size: 13px;
    margin-top: 4px;
}

.info-button {
    background: #3b82f6;
    color: white;
    border: none;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 11px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-button:hover {
    background: #2563eb;
}

.resource-list {
    list-style: none;
    margin-left: 3%;
}

.resource-item {
    margin-bottom: 8px;
}

.resource-link {
    color: #1d4ed8;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
}

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

.footer {
    background: white;
    border-top: 1px solid #e5e7eb;
    padding: 16px 0;
    text-align: center;
}

.version-info {
    color: #6b7280;
    font-size: 13px;
    margin-bottom: 8px;
}

.contact-info {
    font-size: 11px;
    color: #374151;
}

.contact-info a {
    color: #1d4ed8;
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

.login-section {
    text-align: center;
    margin-bottom: 2rem;
}

.login-description {
    color: #666;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.sso-login-container {
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
}

.sso-login-button {
    display: flex;
    align-items: center;
    gap: 12px;
    background: white;
    border: 2px solid #dadce0;
    border-radius: 8px;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 500;
    color: #3c4043;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    min-width: 240px;
}

.sso-login-button:hover {
    background: #f8f9fa;
    border-color: #c1c7cd;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transform: translateY(-1px);
}

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

.sso-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4285f4;
    flex-shrink: 0;
}

.sso-login-button span {
    flex-grow: 1;
    text-align: center;
}

/* User info styles */
.user-info {
    color: white;
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Hide sections completely when not applicable */
.login-section {
    display: block;
}

.action-list {
    display: block;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.header-nav {
    display: flex;
    align-items: center;
    margin-left: auto;
    margin-right: 20px;
}

.header-nav a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    font-size: 20px;
    transition: color 0.3s ease;
    padding: 8px 12px;
}

.header-nav a:hover {
    text-decoration: underline;
    text-decoration-color: #ffd700;
    text-underline-offset: 5px;
}

.header-nav {
    color: #666;
}

.user-info {
    margin-left: auto;
}

.user-info span {
    color: #333;
    font-weight: 500;
    font-size: 14px;
}

/* Footer Updates */
.footer {
    background-color: #f8f9fa;
    padding: 20px 0;
    border-top: 1px solid #e9ecef;
    text-align: center;
    margin-top: auto;
}

.version-info {
    color: #666;
    font-size: 14px;
    margin-bottom: 8px;
    font-weight: 500;
}

.copyright-info {
    color: #666;
    font-size: 12px;
    font-weight: 400;
}

/* --- Responsive Design --- */

@media (max-width: 768px) {
    .main-container {
        margin-top: 80px;
    }

    .header-content {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 10px;
        padding: 10px 15px;
    }

    .logo-container {
        order: 1;
    }

    .header-nav {
        order: 2;
        margin-left: auto;
        margin-right: 0;
    }

    .user-info {
        order: 3;
        width: 100%;
        text-align: center;
        margin-top: 10px;
        margin-left: 0;
    }

    .header-nav a {
        font-size: 13px;
        padding: 6px 8px;
    }

        .content-card {
        margin: 10px;
        padding: 20px;
    }

    .welcome-heading {
        font-size: 20px;
        padding: 10px;
    }

    .subtitle {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .header-nav a {
        font-size: 12px;
        padding: 4px 6px;
    }

    .version-info {
        font-size: 13px;
    }

    .copyright-info {
        font-size: 11px;
    }
}

/* --- Responsive Design --- */
