:root {
    --primary-bg: #000000;
    --secondary-bg: #111111;
    --form-bg: #1a1a1a;
    --text-color: #ffffff;
    --text-light: #cccccc;
    --border-color: #333333;
    --required-color: #f02d41;
    --button-bg: #f02d41;
    --button-text: #ffffff;
    --button-active-bg: #c91e2f;
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--secondary-bg);
    color: var(--text-color);
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.background-top {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 33vh; /* Roughly a third of the screen */
    background-color: var(--primary-bg);
    z-index: -1;
}

.background-bottom {
    position: fixed;
    top: 33vh;
    left: 0;
    width: 100%;
    height: 67vh;
    background-color: var(--secondary-bg);
    z-index: -1;
}

.logo-header {
    width: 100%;
    text-align: center;
    padding: 20px 0;
    color: white;
    font-size: 24px;
    font-weight: 600;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

.logo-icon {
    display: inline-block;
    width: 20px;
    height: 20px;
    background-color: white;
    margin-right: 8px;
    border-radius: 2px;
}

.form-container {
    background-color: var(--form-bg);
    width: 100%;
    max-width: 800px;
    border-radius: 4px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin-bottom: 40px;
}

.form-header {
    text-align: center;
    padding: 20px;
    border-bottom: 1px dashed #e0e0e0;
}

.form-header h2 {
    font-size: 18px;
    color: var(--text-color);
    font-weight: 700;
}

.registration-form {
    padding: 30px;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
}

label {
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-color);
}

.required {
    color: var(--required-color);
}

input[type="text"],
input[type="email"],
input[type="tel"],
select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 14px;
    color: var(--text-color);
    outline: none;
    transition: border-color 0.2s;
    background-color: var(--secondary-bg);
}

input:focus, select:focus {
    border-color: var(--required-color);
}

.disabled-input {
    background-color: #2a2a2a !important;
    color: #666 !important;
}

.select-wrapper {
    position: relative;
}

.select-wrapper::after {
    content: "▼";
    font-size: 10px;
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: var(--text-light);
}

select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.divider {
    height: 1px;
    background-color: var(--border-color);
    margin: 30px 0;
}

.consent-section {
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.5;
    margin-bottom: 30px;
}

.consent-section p {
    margin-bottom: 15px;
    color: var(--text-light);
    font-weight: 500;
}

.italic-text {
    font-style: italic;
    color: #999 !important;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    margin-top: 20px;
}

.checkbox-group input[type="checkbox"] {
    margin-top: 3px;
    margin-right: 10px;
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.checkbox-group label {
    font-weight: 500;
    font-size: 13px;
    color: var(--text-color);
    cursor: pointer;
}

.submit-btn {
    width: 100%;
    padding: 12px;
    background-color: var(--button-bg);
    color: var(--button-text);
    border: none;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
}

.submit-btn:not(:disabled):hover {
    background-color: var(--button-active-bg);
}

.submit-btn:disabled {
    cursor: not-allowed;
    opacity: 0.8;
}

.footer {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-bottom: 30px;
    font-size: 12px;
    color: var(--text-light);
    font-weight: 600;
}

.footer a {
    color: var(--required-color);
    text-decoration: none;
    margin-left: 10px;
    padding-left: 10px;
    border-left: 1px solid var(--border-color);
}

.footer a:hover {
    text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
        gap: 15px;
    }
    
    .form-container {
        margin: 0 15px 40px;
        width: auto;
    }
}
