:root {
    --bg-black: rgba(0, 0, 0, 0.8);
    --text-white: #ffffff;
    --text-gray: #888888;
    --error-red: #fca5a5;
    --danger-red: #d84339;
    --btn-pink: #ff69b4;
    --border-light: rgba(255, 255, 255, 0.7);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body {
    background-color: #000;
    color: var(--text-white);
    overscroll-behavior-y: none;
    position: relative;
    min-height: 100vh;
}

.background-layer {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: url('assets/login_page_background.jpg');
    background-size: cover;
    background-position: center;
    z-index: -2;
}

.background-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: var(--bg-black);
    z-index: -1;
}

.main-scroll-container {
    padding: 30px 32px;
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo {
    width: 200px;
    height: auto;
    margin-bottom: 20px;
}

.hidden {
    display: none !important;
}

.error-text {
    color: var(--error-red);
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 16px;
}

.form-group {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.transparent-input {
    width: 100%;
    height: 50px;
    padding: 12px;
    background-color: transparent;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    color: var(--text-white);
    font-size: 16px;
    outline: none;
}

.transparent-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.date-picker-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 4px 8px 4px;
}

.date-picker-container label {
    font-size: 14px;
    font-weight: bold;
}

.date-input {
    background: transparent;
    color: white;
    border: none;
    font-size: 14px;
    font-weight: bold;
    outline: none;
    color-scheme: dark;
}

.btn-outline {
    width: 100%;
    height: 50px;
    background-color: transparent;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    color: var(--text-white);
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
}

.btn-outline:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-text {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 8px;
}

.divider {
    font-size: 14px;
    font-weight: bold;
    color: var(--text-gray);
    margin: 24px 0;
}

.verification-group {
    margin-bottom: 24px;
}

.verification-title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: -4px;
    text-align: center;
}

.btn-pink {
    width: 100%;
    height: 50px;
    background-color: var(--btn-pink);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    color: var(--text-white);
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
}

.btn-legal {
    width: 100%;
    min-height: 44px;
    background-color: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    color: var(--text-white);
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 16px;
    cursor: pointer;
}

.legal-text {
    font-size: 11px;
    color: var(--text-gray);
    text-align: center;
    line-height: 1.5;
    margin-bottom: 16px;
}

.disclaimer-text {
    font-size: 11px;
    font-weight: bold;
    color: var(--danger-red);
    text-align: center;
    line-height: 1.5;
    padding: 0 16px;
    margin-bottom: 32px;
}

/* Base Modal System */
.modal {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 100;
    padding: 20px;
}

.modal-content {
    background: #1c1c1e;
    padding: 24px;
    border-radius: 12px;
    width: 100%;
    max-width: 400px;
    border: 1px solid rgba(255,255,255,0.1);
}

/* Light Disclosure Overrides */
.disclosure-content {
    background: white !important;
    max-width: 90%;
    width: 600px;
    height: 80vh;
    display: flex;
    flex-direction: column;
    padding: 24px;
}

.disclosure-title {
    color: black;
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 16px;
    font-family: serif; 
}

.disclosure-scroll {
    flex: 1;
    overflow-y: auto;
    padding-right: 8px;
}

.disclosure-text {
    color: #A7C7E7;
    font-size: 18px;
    line-height: 1.4;
    font-family: serif;
    margin-bottom: 16px;
}

.disclosure-rows {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 16px 0;
}

.disclosure-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.row-icon {
    font-size: 24px;
    margin-top: 2px;
}

.row-text h3 {
    color: black;
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 4px;
    font-family: serif;
}

.row-text p {
    color: gray;
    font-size: 16px;
    line-height: 1.4;
    font-family: serif;
}

.disclosure-actions {
    display: flex;
    justify-content: flex-end;
    gap: 16px;
    margin-top: 16px;
    padding-top: 16px;
}

.btn-decline {
    background: transparent;
    border: none;
    color: #DC2626;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    padding: 12px 8px;
}

.btn-agree {
    background: black;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    padding: 12px 24px;
}

/* Toast */
.toast {
    position: fixed;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 16px 24px;
    border-radius: 25px;
    font-size: 16px;
    z-index: 300;
}