@charset "UTF-8";

:root {
    --primary-blue: #0056b3;
    --env-yellow: #ffff00;
    --border-color: #ccc;
}

body {
    font-family: Verdana, Arial, helvetica, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 20px;
    background-color: #f4f4f4;
    display: flex;
    justify-content: center;
}

.main-container {
    max-width: 600px;
    width: 100%;
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    text-align: center;
}

/* 1. Environment Banner */
.env-banner {
    background-color: var(--env-yellow);
    color: black;
    font-weight: bold;
    padding: 10px;
    border: 2px solid #000;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.header-img {
    max-width: 100%;
    height: auto;
    margin-bottom: 20px;
}

h1 {
    font-size: 1.5rem;
    color: var(--primary-blue);
    margin-bottom: 20px;
}

.intro-text {
    margin-bottom: 25px;
    color: #444;
}

/* 2. Links Section */
.info-box {
    background: #f9f9f9;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 25px;
    font-size: 0.95rem;
}

.info-box a {
    color: var(--primary-blue);
    word-break: break-all; /* Prevents overflow from long URLs */
}

/* 3. Acceptance Form */
.action-area {
    border-top: 1px solid #eee;
    padding-top: 25px;
    margin-top: 25px;
}

.checkbox-group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.btn-submit {
    background-color: var(--primary-blue);
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
    font-size: 1rem;
}

.btn-submit:hover { background-color: #004494; }

/* 4. Disclaimer Textarea */
.disclaimer-container {
    margin-top: 20px;
}

.disclaimer-label {
    display: block;
    font-weight: bold;
    margin-bottom: 8px;
}

textarea#txtDisclaimer {
    width: 100%;
    height: 150px;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    background-color: #fcfcfc;
    resize: none;
    font-family: inherit;
    box-sizing: border-box;
}

.legal-footer {
    margin-top: 30px;
    font-size: 0.85rem;
    color: #666;
    font-style: italic;
    border-top: 1px dashed #ccc;
    padding-top: 20px;
}

/* Mobile Adjustments */
@media (max-width: 480px) {
    .main-container { padding: 15px; }
    .checkbox-group { flex-direction: column; }
    .btn-submit { width: 100%; }
}