/* Custom styles for project enhancements */

/* Align all radio buttons to the right side of their container */
input[type="radio"]{
    float: right;
    margin-left: 0.5rem;
    margin-top: 0.15rem;
}

/* Ensure form label and input flows are readable when radios float */
label{ display: block; }

/* Small utility to force radio alignment in flex containers */
.radio-right{ display: flex; align-items: center; justify-content: space-between; }

/* Font resizer widget */
:root{ --root-font-size: 16px; }
html{ font-size: var(--root-font-size); }
.font-resizer{
    position: fixed;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.9);
    border: 1px solid #e5e7eb;
    padding: 0.25rem;
    border-radius: 0.5rem;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    z-index: 60;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}
.font-resizer button{
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    padding: 0.35rem 0.45rem;
    color: #111827;
}
.font-resizer button:focus{ outline: 2px solid #3b82f6; outline-offset: 2px; }
.dark .font-resizer{ background: rgba(17,24,39,0.9); color: #fff; border-color: #374151; }

/* Small labels inside widget */
.font-resizer .label{ font-size: 0.75rem; text-align:center; display:block; }

/* Section title uniform style */
.section-title{
    font-size: 1.125rem; /* text-lg */
    font-weight: 700; /* font-bold */
    color: #111827; /* text-gray-900 */
    margin-bottom: 1rem; /* mb-4 */
}
.dark .section-title{ color: #fff; }

/* Required field asterisk appended to label (added via JS) */
.required-asterisk{ color: #e11d48; margin-left: 0.25rem; }

/* Ticket floating action button */
.ticket-fab{
    position: fixed;
    left: 1rem;
    bottom: 1rem;
    width: 3rem;
    height: 3rem;
    background: #2563eb;
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(37,99,235,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 60;
    transition: background 0.2s, transform 0.2s;
}
.ticket-fab:hover{ background: #1d4ed8; transform: scale(1.1); }
.ticket-fab:focus{ outline: 2px solid #93c5fd; outline-offset: 2px; }
.dark .ticket-fab{ background: #3b82f6; box-shadow: 0 4px 14px rgba(59,130,246,0.4); }
.dark .ticket-fab:hover{ background: #2563eb; }

/* PV theme palette (based on PPV brochure) */
:root{
    --pv-yellow-100: #fff8d6;
    --pv-yellow-300: #ffd85a;
    --pv-yellow-500: #ffc107;
    --pv-yellow-600: #f2b705;
    --pv-yellow-700: #dd9f00;
    --pv-ink: #1d1b16;
}

.theme-pv{
    background: linear-gradient(180deg, #fffef8 0%, var(--pv-yellow-100) 100%);
}

.pv-accent{
    color: var(--pv-yellow-700);
}

.pv-btn{
    background: var(--pv-yellow-500);
    color: var(--pv-ink);
    border: 1px solid var(--pv-yellow-600);
    transition: background 0.2s ease, transform 0.2s ease;
}

.pv-btn:hover{
    background: var(--pv-yellow-600);
    transform: translateY(-1px);
}

.pv-badge{
    background: var(--pv-yellow-100);
    color: var(--pv-ink);
    border: 1px solid var(--pv-yellow-300);
}
