/* ── Shared public-facing styles ─────────────────────────────────────────────
 * Single source of truth for brand tokens and base typography on public pages.
 * Included by: booking.php, index.php, cancel.php, intake-form.php
 * Edit only this file to update the public brand appearance.
 */

:root {
    --primary:      #4A90D9;
    --primary-dark: #357ABD;
    --secondary:    #6C757D;
    --success:      #28A745;
    --danger:       #DC3545;
    --warning:      #FFC107;
    --light:        #F8F9FA;
    --dark:         #343A40;
    --border:       #DEE2E6;
    --shadow:       0 2px 10px rgba(0,0,0,.08);
    --radius:       12px;
    --font-base:    'Inter', system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

body {
    font-family: var(--font-base);
    background: #f5f7fa;
    color: #333;
    margin: 0;
    padding: 0;
    min-height: 100vh;
}

a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .6rem 1.2rem;
    border: none;
    border-radius: 8px;
    font-size: .95rem;
    font-weight: 500;
    cursor: pointer;
    transition: background .2s, transform .1s;
}
.btn-primary   { background: var(--primary); color: #fff; }
.btn-primary:hover   { background: var(--primary-dark); }
.btn-secondary { background: var(--secondary); color: #fff; }
.btn-danger    { background: var(--danger); color: #fff; }
.btn:active    { transform: scale(.98); }

/* Cards */
.card {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 1.5rem;
}

/* Forms */
.form-group { margin-bottom: 1rem; }
.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: .4rem;
    font-size: .9rem;
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: .6rem .8rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: .95rem;
    transition: border-color .2s, box-shadow .2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(74,144,217,.15);
}

/* Alerts */
.alert {
    padding: .8rem 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    font-size: .9rem;
}
.alert-success { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.alert-danger  { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }
.alert-warning { background: #fff3cd; color: #856404; border: 1px solid #ffc107; }

/* Public page container */
.public-container {
    max-width: 600px;
    margin: 2rem auto;
    padding: 0 1rem;
}

/* Logo */
.public-logo {
    max-height: 60px;
    object-fit: contain;
}
