﻿/* Make the login screen fill the viewport */
.login-fullheight {
    min-height: calc(100vh - 100px); /* subtract header height */
    display: flex;
    justify-content: center; /* vertical centering */
    align-items: center; /* horizontal centering */
    padding: 0 20px;
}

.access-container {
    max-width: 900px;
    margin: 40px auto;
    padding: 0 20px;
    text-align: center;
}

.page-title {
    font-family: "Georgia", serif;
    font-size: 36px;
    margin-bottom: 10px;
    margin-bottom: 5px;
}

.page-intro {
    font-size: 18px;
    margin-bottom: 40px;
    max-width: 600px;
    margin: 0 auto 40px auto;
    color: var(--text-muted);
}

.access-panels {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

.panel {
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 25px 30px;
    width: 350px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    text-align: left;
}

    .panel h2 {
        font-family: "Georgia", serif;
        margin-bottom: 20px;
    }

    .panel label {
        display: block;
        font-weight: 600;
        margin-bottom: 6px;
        color: var(--text);
    }

    .panel .text-input {
        margin-bottom: 20px;
    }

    .panel p {
        line-height: 1.6;
        color: var(--text);
    }

#pnlRequestConfirmation {
    text-align: center;
}

    #pnlRequestConfirmation h2 {
        color: var(--primary);
        margin-bottom: 1rem;
    }

#txtRelationship {
    resize: vertical;
    min-height: 80px;
    line-height: 1.4;
}

.text-input {
    width: 100%;
    padding: 10px;
    margin-bottom: 18px;
    border: 1px solid var(--border);
    border-radius: 6px;
    background: var(--bg);
    color: var(--text);
    font-size: 16px;
    box-sizing: border-box;
}

    .text-input:focus {
        outline: none;
        border-color: var(--primary);
        box-shadow: 0 0 0 2px rgba(0,0,0,0.05);
    }

.primary-btn,
.secondary-btn {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    border-radius: 6px;
    border: 1px solid rgba(0,0,0,0.15);
    cursor: pointer;
    font-weight: 600;
    transition: background 0.2s ease color 0.2s ease;
    color: #ffffff;
    font-weight: 600;
}

    .primary-btn:hover,
    .secondary-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 3px 6px rgba(0,0,0,0.15);
    }

.primary-btn {
    background: #2f4f7f;
}

    .primary-btn:hover {
        background: #243c61;
    }

.secondary-btn {
    background: #4b6b3c
}

    .secondary-btn:hover {
        background: #3a532e;
    }

.forgot-link {
    display: inline-block;
    margin-bottom: 15px;
    font-size: 14px;
    color: var(--primary);
    text-decoration: none;
}

    .forgot-link:hover {
        text-decoration: underline;
    }

.required {
    color: #b30000;
    font-weight: bold;
}

.error-text {
    display: block;
    margin-top: 15px;
    padding: 12px 14px;
    background: rgba(180, 0, 0, 0.08);
    border: 1px solid rgba(180, 0, 0, 0.25);
    color: #8a0000;
    font-size: 14px;
    border-radius: 6px;
    line-height: 1.4;
}

    .error-text::before {
        content: "⚠️ ";
        margin-right: 4px;
    }

.error-text:empty {
    display: none;
}