/**
 * Info Components
 * 
 * Reusable CSS classes for information display components
 * Replaces inline styles scattered across PHP files
 */

/* ========================================
   INFO NOTICE BOXES
   ======================================== */

.info-notice {
    background: var(--bg-card-green);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-sm);
    padding: var(--space-lg);
    margin-bottom: var(--space-xl);
}

.info-notice__text {
    font-size: var(--font-size-base);
    text-align: center;
    line-height: 1.7;
    color: var(--color-text-muted);
    margin: 0;
}

/* ========================================
   FORM FIELD INDICATORS
   ======================================== */

/* Required field asterisk */
.required-indicator {
    color: var(--color-error);
    font-weight: var(--font-weight-semibold);
    margin-left: 0.25em;
}

/* Optional field label */
.optional-label {
    color: var(--color-text-light);
    font-style: italic;
    font-weight: var(--font-weight-normal);
}

/* ========================================
   EMAIL LINKS
   ======================================== */

.email-link {
    color: var(--color-link);
    font-weight: var(--font-weight-semibold);
    text-decoration: none;
    transition: all var(--transition-base);
}

.email-link:hover {
    text-decoration: underline;
    color: var(--color-link-hover);
}

/* ========================================
   VENUE ADDRESS
   ======================================== */

.venue-address {
    margin-top: var(--space-sm);
    font-size: var(--font-size-sm);
    opacity: 0.9;
}

/* ========================================
   HELP TOOLTIP
   ======================================== */

.help-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: var(--radius-round);
    background: var(--brand-rose);
    color: var(--bg-white);
    font-size: 13px;
    font-weight: var(--font-weight-semibold);
    cursor: help;
    position: relative;
    font-family: var(--font-sans);
    flex-shrink: 0;
}

.help-tooltip {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    bottom: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-ink-90);
    color: var(--bg-white);
    padding: var(--space-md);
    border-radius: var(--radius-sm);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-normal);
    white-space: normal;
    width: 260px;
    text-align: center;
    z-index: var(--z-tooltip);
    transition: opacity var(--transition-base), visibility var(--transition-base);
    line-height: 1.4;
    box-shadow: var(--shadow-tooltip);
}

.help-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: var(--color-ink-90);
}

/* Desktop: show on hover */
@media (hover: hover) and (pointer: fine) {
    .help-icon:hover .help-tooltip {
        visibility: visible;
        opacity: 1;
    }
}

/* Mobile: toggle on click */
@media (hover: none) or (pointer: coarse) {
    .help-icon.active .help-tooltip {
        visibility: visible;
        opacity: 1;
    }
}

/* ========================================
   GRID UTILITIES
   ======================================== */

.grid-full-width {
    grid-column: 1 / -1;
}

/* ========================================
   LOGIN TITLE WITH HELP
   ======================================== */

.login-title {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-weight: var(--font-weight-semibold);
    color: var(--color-ink);
    margin-bottom: var(--space-lg);
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
}

/* ========================================
   SCRIPT TYPOGRAPHY
   ======================================== */

.script {
    font-family: var(--font-script);
    font-size: clamp(2.5rem, 5vw, 3rem);
    color: var(--brand-rose);
    display: block;
    margin-bottom: var(--space-lg);
    line-height: 1;
}

/* ========================================
   SUBTITLE WITH DECORATIVE DOTS
   ======================================== */

.subtitle {
    font-family: var(--font-serif);
    color: var(--color-ink);
    margin-bottom: var(--space-xl);
    font-size: 1.15rem;
    font-weight: var(--font-weight-semibold);
    letter-spacing: 1px;
    position: relative;
    padding-bottom: var(--space-lg);
}

.subtitle p {
    margin: 6px 0;
}

.subtitle p:first-child {
    font-size: 1.25rem;
    color: var(--brand-rose);
    font-weight: var(--font-weight-medium);
    letter-spacing: 0.5px;
}

.subtitle p:last-child {
    color: var(--brand-olive);
    font-style: italic;
    font-size: 1.05rem;
}

.subtitle::after {
    content: '• • •';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    letter-spacing: 0.5rem;
    color: var(--brand-rose);
    font-size: 0.9rem;
    opacity: 0.8;
}

/* ========================================
   EMPTY STATE TEXT
   ======================================== */

.empty {
    color: var(--color-text-light);
    font-style: italic;
}
