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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #002038;
}

.heading-text {
    color: #28557C;
    text-align: center;
    font-family: "Inter";
    font-size: 30px;
    font-style: normal;
    font-weight: 700;
    line-height: 38px;
}

/* Login Page Styles */
.login-page {
    min-height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    padding: 20px;
}

.login-header {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo {
    display: flex;
    justify-content: center;
}

    .logo img {
        width: 100%;
        max-width: 80px;
        height: auto;
    }

.login-container {
    background: white;
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    padding: 40px;
    width: 100%;
    max-width: 400px;
    display: flex;
    align-content: center;
    flex-direction: column;
    justify-content: center;
    gap: 1rem;
}

.login-header {
    text-align: center;
    margin-bottom: 30px;
}

    .login-header h1 {
        color: #333;
        font-size: 24px;
        font-weight: 600;
        margin-bottom: 8px;
    }

    .login-header p {
        color: #666;
        font-size: 14px;
    }

.external-providers {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

    .external-providers form {
        width: 100%;
    }

.btn-external {
    display: flex;
    padding: var(--spacing-lg, 12px) 18px;
    justify-content: center;
    align-items: center;
    gap: var(--spacing-sm, 6px);
    align-self: stretch;
    border-radius: var(--radius-md, 8px);
    background: var(--Colors-Background-bg-brand-solid, #002949);
    width: 100%;
    color: white;
    /* Text md/Semibold */
    font-family: "Inter";
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 24px;
    border: none;
}

    .btn-external:hover {
        cursor: pointer;
        border-radius: 8px;
        background: #00599E;
    }

/* Test User Login Form */
.dev-badge {
    display: inline-block;
    background: #fef3c7;
    color: #92400e;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 20px;
    margin-top: 10px;
}

.form-group {
    margin-bottom: 24px;
}

    .form-group label {
        display: block;
        font-size: 13px;
        font-weight: 600;
        color: #374151;
        margin-bottom: 8px;
    }

.form-control {
    width: 100%;
    padding: 14px 16px;
    background: #f9fafb;
    color: #111827;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-family: inherit;
    font-size: 15px;
    transition: all 0.15s ease;
}

    .form-control::placeholder {
        color: #9ca3af;
    }

    .form-control:focus {
        outline: none;
        background: white;
        border-color: #667eea;
        box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.12);
    }

.btn-submit {
    width: 100%;
    padding: 14px;
    margin-top: 8px;
    color: white;
    border: none;
    border-radius: 8px;
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

    .btn-submit:hover {
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
    }

    .btn-submit:active {
        transform: translateY(0);
    }

.back-link {
    margin-top: 20px;
    text-align: center;
}

    .back-link a {
        color: #667eea;
        font-size: 13px;
        text-decoration: none;
        font-weight: 500;
    }

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

/* Alerts */
.alert {
    padding: 12px 16px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-size: 13px;
}

    .alert p {
        margin: 0;
    }

.alert-warning {
    background: #fff4e6;
    color: #8a5700;
    border: 1px solid #ffd699;
}

.alert-danger {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

/* Logout Page Styles */
.logout-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.logout-container {
    background: white;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    padding: 40px;
    text-align: center;
}

    .logout-container h1 {
        color: #333;
        font-size: 24px;
        margin-bottom: 16px;
    }

    .logout-container p {
        color: #666;
    }

.btn-primary {
    padding: 12px 24px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

    .btn-primary:hover {
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
    }

/* Home Page Styles */
.home-page {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 20px;
}

.home-container {
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    padding: 48px;
    width: 100%;
    max-width: 500px;
}

.home-header {
    text-align: center;
    margin-bottom: 36px;
}

.icon-shield {
    color: #667eea;
    margin-bottom: 16px;
}

.home-header h1 {
    color: #333;
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 8px;
}

.home-header .subtitle {
    color: #666;
    font-size: 14px;
}

.user-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 32px;
}

.info-card {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

    .info-card .label {
        font-size: 12px;
        color: #666;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        font-weight: 500;
    }

    .info-card .value {
        font-size: 16px;
        color: #333;
        font-weight: 600;
    }

        .info-card .value.success {
            color: #10b981;
        }

.actions {
    display: flex;
    justify-content: center;
}

.btn-secondary {
    padding: 12px 32px;
    background: white;
    color: #667eea;
    border: 2px solid #667eea;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-block;
}

    .btn-secondary:hover {
        background: #667eea;
        color: white;
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
    }
