/* Custom styles for Intention Guest Portal */

:root {
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --primary-color: #667eea;
    --primary-dark: #764ba2;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* Login page styles */
.login-container {
    max-width: 400px;
    margin: 0 auto;
}

.login-container-wide {
    max-width: 480px;
}

.login-small-text {
    font-size: 0.85rem;
}

.login-button-text {
    font-size: 0.9rem;
}

/* Ticket purchase page: one wide column for the registration forms */
.ticket-purchase-container {
    max-width: 720px;
    margin: 0 auto;
}

.ticket-purchase-page {
    align-items: flex-start;
}

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

/* Custom button styles */
.btn-gradient {
    background: var(--primary-gradient);
    color: white;
    border: none;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
    color: white;
}

.btn-gradient:active {
    transform: translateY(0);
}

/* Main call-to-action: warm amber stands apart from the purple page background */
.btn-cta {
    background: linear-gradient(135deg, #fcd34d 0%, #f59e0b 100%);
    color: #1f2937;
    border: none;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.35);
    transition: transform 0.2s, box-shadow 0.2s, filter 0.2s;
    --bs-btn-focus-box-shadow: 0 0 0 0.25rem rgba(245, 158, 11, 0.5);
}

.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(245, 158, 11, 0.45);
    filter: brightness(1.04);
    color: #1f2937;
}

.btn-cta:active {
    transform: translateY(0);
    color: #1f2937;
}

/* Header styles */
.header-gradient {
    background: var(--primary-gradient);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Tool cards */
.tool-card {
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
}

.tool-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.tool-card h3 {
    color: var(--primary-color);
}

/* Food sensitivities grid: narrow radio columns, food names take the rest */
.food-sensitivity-table td,
.food-sensitivity-table thead th:not(:first-child) {
    width: 4.5rem;
}

.food-sensitivity-table th:first-child {
    min-width: 8rem;
}

/* Participant dashboard cards */
.dashboard-card-title {
    letter-spacing: 0.5px;
    font-size: 0.95rem;
}

.dashboard-text {
    font-size: 0.9rem;
}

.dashboard-note {
    font-size: 0.85rem;
}

/* Keeps a card's status line from collapsing while it's short */
.dashboard-status {
    min-height: 2rem;
}

/* Printing: use the whole page */
@media print {
    body {
        width: 100%;
        margin: 0;
        padding: 0;
        background: white;
    }

    .container-fluid {
        width: 100%;
        max-width: 100%;
        padding: 0 !important;
        margin: 0 !important;
    }
}

/* Dashboard: selling one's ticket is a last resort, so it's a small link, not a card */
.ticket-sale summary {
    cursor: pointer;
    text-decoration: underline;
}
