/* Global Styles and CSS Variables */

:root {
    /* Brand Color Palette */
    --color-primary: #FF7322;
    --color-primary-hover: #E66319;
    --color-bg-beige: #EFE9DF;
    --color-bg-light: #F3F4F6;
    --color-gray-dark: #52525B;
    
    /* Typography */
    --font-primary: 'Inter', sans-serif;
    --font-secondary: 'Playfair Display', serif;
}

/* Base Styles */
html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    color: #1A1A1A;
    background-color: #FFFFFF;
}

h1, h2, h3, .font-serif {
    font-family: var(--font-secondary);
}

/* 
  Custom Reusable Classes 
  You can use these in your HTML if you prefer them over Tailwind utilities.
*/
.text-brand { color: var(--color-primary); }
.bg-brand { background-color: var(--color-primary); }
.hover\:bg-brand-hover:hover { background-color: var(--color-primary-hover); }

.bg-beige { background-color: var(--color-bg-beige); }
.bg-light { background-color: var(--color-bg-light); }
.bg-dark-gray { background-color: var(--color-gray-dark); }

/* Custom Checkbox / Radio styling */
.custom-radio {
    appearance: none;
    background-color: #fff;
    margin: 0;
    font: inherit;
    color: currentColor;
    width: 1rem;
    height: 1rem;
    border: 1px solid #ccc;
    border-radius: 50%;
    display: grid;
    place-content: center;
}

.custom-radio::before {
    content: "";
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    transform: scale(0);
    transition: 120ms transform ease-in-out;
    box-shadow: inset 1em 1em var(--color-gray-dark);
}

.custom-radio:checked::before {
    transform: scale(1);
}

.custom-radio:checked {
    border-color: var(--color-gray-dark);
}

/* Connector Line */
.connector-line {
    position: relative;
    display: flex;
    align-items: center;
    width: 2.5rem;
}
.connector-line::after {
    content: '';
    position: absolute;
    width: 100%;
    border-top: 2px dotted #D4C3B3;
    z-index: 1;
}
.connector-dot {
    width: 6px;
    height: 6px;
    background-color: #D4C3B3;
    border-radius: 50%;
    z-index: 2;
    position: absolute;
}
.connector-dot.left {
    left: -3px;
}
.connector-dot.right {
    right: -3px;
}

/* Tab Active State */
.tab-active {
    background-color: #4A4A4A;
    color: white;
    border-color: #4A4A4A;
}
.tab-inactive {
    background-color: #EFE9DF;
    color: #52525B;
    border-color: #D4C3B3;
}

/* Option Box styling */
.option-box {
    border: 1px solid #E5E7EB;
    border-radius: 0.5rem;
    padding: 1rem;
    background-color: white;
    min-width: 240px;
}

/* Terms Document Styles */
.terms-document {
    color: #333333;
    font-size: 1.05rem;
    line-height: 1.65;
}
.terms-document p {
    margin-bottom: 1.5rem;
    text-align: justify;
}
.terms-document h2 {
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 1.15rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #1A1A1A;
}
.terms-document ul:not([class]) {
    list-style-type: disc;
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}
.terms-document ul:not([class]) li {
    margin-bottom: 0.75rem;
    padding-left: 0.5rem;
}
.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 2rem;
    margin-bottom: 1.5rem;
    color: #1A1A1A;
    text-decoration: none;
    transition: opacity 0.2s;
}
.back-link:hover {
    opacity: 0.8;
}
.back-link span {
    font-family: var(--font-secondary);
    font-size: 1.25rem;
}

/* Report Abuse Form Styles */
.form-input-bg {
    background-color: #F8F9FA;
}
.dashed-border-box {
    border: 1px dashed #9CA3AF;
}
