/* ==============================
   EventTix — Base & Public Pages
   ============================== */

:root {
    --brand: #7046e8;
    --brand-dark: #5e35d2;
    --brand-light: #9670ff;
    --sidebar-bg: #19152f;
    --sidebar-hover: #30294b;
    --bg: #f6f5fc;
    --text: #24213a;
    --text-muted: #9994aa;
    --border: #eeecf4;
    --radius: 12px;
    --radius-lg: 18px;
    --shadow-sm: 0 4px 18px rgba(37, 32, 68, 0.05);
    --shadow-md: 0 8px 28px rgba(37, 32, 68, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background: var(--bg);
    color: var(--text);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

/* ---------- Navbar (public) ---------- */
.navbar {
    background: #fff;
    padding: 18px 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.brand {
    color: var(--brand);
    font-size: 25px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

/* ---------- Buttons ---------- */
.btn-purple {
    background: var(--brand);
    color: #fff;
    border: none;
    padding: 11px 22px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-purple:hover {
    background: var(--brand-dark);
    color: #fff;
}

.btn-outline {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border);
    padding: 10px 18px;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    font-size: 13px;
    transition: 0.2s;
}

.btn-outline:hover {
    background: #f7f5ff;
    border-color: var(--brand);
    color: var(--brand);
}

/* ---------- Auth Card ---------- */
.auth-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 15px;
}

.auth-card {
    width: 100%;
    max-width: 440px;
    background: #fff;
    padding: 38px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.auth-card .brand {
    font-size: 28px;
}

.auth-card h4 {
    font-weight: 700;
    margin-top: 20px;
    font-size: 20px;
}

.auth-card .subtitle {
    color: var(--text-muted);
    font-size: 13px;
    margin-top: 6px;
}

.form-group {
    margin-bottom: 16px;
}

.form-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 7px;
    color: var(--text);
}

.form-control {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 13px;
    font-family: inherit;
    outline: none;
    transition: 0.2s;
    background: #fdfcff;
}

.form-control:focus {
    border-color: var(--brand);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(112, 70, 232, 0.1);
}

/* ---------- Alert ---------- */
.alert {
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 13px;
    margin-bottom: 18px;
}

.alert-success {
    background: #e6f8ef;
    color: #168454;
}

.alert-danger {
    background: #ffebee;
    color: #c83f53;
}

.alert-warning {
    background: #fff4dc;
    color: #b47b15;
}

.alert-info {
    background: #e5f1ff;
    color: #2563eb;
}

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.fw-bold { font-weight: 700; }
.fw-semibold { font-weight: 600; }
.small { font-size: 12px; }
.mt-2 { margin-top: 8px; }
.mt-3 { margin-top: 14px; }
.mt-4 { margin-top: 22px; }
.mb-2 { margin-bottom: 8px; }
.mb-3 { margin-bottom: 14px; }
.mb-4 { margin-bottom: 22px; }
.w-100 { width: 100%; }