/* TOS Acceptance Screen Styles */

.tos-screen {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: var(--bg-primary);
}

.tos-screen.hidden {
    display: none;
}

.tos-card {
    background: var(--bg-secondary);
    border-radius: 20px;
    padding: 40px 32px;
    max-width: 420px;
    width: 100%;
    text-align: center;
}

.tos-agency-name {
    font-size: 16px;
    color: var(--accent-green);
    font-weight: 600;
    margin-bottom: 20px;
    padding: 12px 20px;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 10px;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

/* Editable Unit Input Field */
.tos-unit-field {
    margin-bottom: 24px;
    text-align: left;
}

.tos-unit-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tos-unit-input {
    width: 100%;
    padding: 16px 20px;
    font-size: 20px;
    font-weight: 700;
    text-align: center;
    text-transform: uppercase;
    background: var(--bg-tertiary);
    border: 2px solid var(--border);
    border-radius: 12px;
    color: var(--accent-yellow);
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.tos-unit-input::placeholder {
    color: var(--text-secondary);
    font-weight: 400;
    text-transform: none;
}

.tos-unit-input:focus {
    border-color: var(--accent-yellow);
    box-shadow: 0 0 0 3px rgba(250, 204, 21, 0.2);
}

.tos-unit-input:not(:placeholder-shown) {
    background: rgba(250, 204, 21, 0.1);
    border-color: rgba(250, 204, 21, 0.3);
}

.tos-content {
    background: var(--bg-tertiary);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 28px;
    text-align: left;
}

.tos-text {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.tos-text a {
    color: var(--accent-blue);
    text-decoration: underline;
}

.tos-text a:hover {
    color: var(--accent-blue-hover);
}

.tos-subtext {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.tos-accept-btn {
    width: 100%;
    padding: 20px;
    background: var(--accent-green);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s, opacity 0.15s;
}

.tos-accept-btn:hover:not(:disabled) {
    background: #059669;
}

.tos-accept-btn:active:not(:disabled) {
    transform: scale(0.98);
}

.tos-accept-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}
