[id^="replit"] {
    display: none !important;
}

/* Hide number input spinners */
.no-spinner::-webkit-outer-spin-button,
.no-spinner::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.no-spinner {
    -moz-appearance: textfield;
}

/* Prevent double-tap zoom on custom keypad buttons */
#numKeypad button {
    touch-action: manipulation;
}

:root {
    --primary: #32633b;
    --primary-dark: #2a4c38;
    --primary-darker: #1b2e23;
    --primary-light: #b1fccc;
    --primary-bg: #f7f7f7;
    --accent: #239c62;
    --accent-light: #a7ffc7;
    --bg: #f7f7f7;
    --bg-card: #ffffff;
    --text: #1a2b3c;
    --text-secondary: #5a6f80;
    --text-muted: #8a9bac;
    --border: #d4e4ed;
    --border-light: #e8f0f5;
    --error: #dc3545;
    --error-bg: #fef2f2;
    --success: #10b981;
    --success-bg: #ecfdf5;
    --warning: #f59e0b;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
    --radius: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
}

.navbar {
    background: var(--bg-card);
    border-bottom: 1px solid var(--border-light);
    padding: 0 1.5rem;
    height: 60px;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--primary);
    text-decoration: none;
}

.nav-logo {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.nav-links {
    display: flex;
    gap: 0.25rem;
}

.nav-link {
    padding: 0.5rem 1rem;
    border-radius: var(--radius);
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.875rem;
    transition: all 0.15s;
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
}

.nav-link:hover {
    background: var(--primary-bg);
    color: var(--primary);
}

.nav-dropdown {
    position: relative;
}

.nav-dropdown-toggle {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.nav-dropdown-menu {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    background: #fff;
    border: 1px solid #e0eaf2;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 40, 80, 0.10), 0 2px 6px rgba(0, 0, 0, 0.05);
    min-width: 180px;
    overflow: hidden;
    z-index: 200;
    transition: opacity 0.15s ease, visibility 0.15s ease;
}

.nav-dropdown.open .nav-dropdown-menu {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}

.nav-dropdown-item {
    display: block;
    padding: 0.65rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #475569;
    text-decoration: none;
    transition: all 0.12s;
}

.nav-dropdown-item:hover {
    background: #f0f9ff;
    color: #0077b6;
}

.page-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.form-wrapper {
    max-width: 720px;
    margin: 0 auto;
}

.page-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.header-icon {
    width: 64px;
    height: 64px;
    background: var(--primary-bg);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--primary);
}

.page-title {
    font-family: 'Outfit', sans-serif;
    font-size: 2.25rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.75rem;
}

.page-subtitle {
    color: var(--text-secondary);
    font-size: 1.05rem;
    max-width: 480px;
    margin: 0 auto;
}

.card {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    overflow: visible;
    border: 1px solid var(--border-light);
}

.card-accent {
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.card-header {
    padding: 2rem 2rem 1rem;
}

.card-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.25rem;
}

.card-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.card-body {
    padding: 1rem 2rem 2rem;
}

.reg-summary-bar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0;
    background: var(--bg);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 0.6rem 1rem;
    margin-bottom: 1rem;
}

.reg-summary-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    min-width: 120px;
    padding: 0.25rem 0.75rem;
    text-align: center;
}

.reg-summary-label {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 0.15rem;
}

.reg-summary-value {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
}

.reg-summary-value.green {
    color: var(--success);
}

.reg-summary-value.red {
    color: var(--error);
}

.reg-summary-divider {
    width: 1px;
    height: 2rem;
    background: var(--border-light);
    flex-shrink: 0;
}

.form-section {
    margin-bottom: 0.5rem;
}

.section-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 1rem;
}

.section-number {
    width: 24px;
    height: 24px;
    background: var(--primary-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary);
}

.section-divider {
    border: none;
    height: 1px;
    background: var(--border-light);
    margin: 1.5rem 0;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

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

.form-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text);
}

.form-input,
.form-select {
    padding: 0.625rem 0.875rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 0.9rem;
    font-family: inherit;
    background: rgba(255, 255, 255, 0.5);
    color: var(--text);
    transition: all 0.15s;
    outline: none;
}

.form-input:focus,
.form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 119, 182, 0.1);
}

.form-input::placeholder {
    color: var(--text-muted);
}

.field-error {
    font-size: 0.8rem;
    color: var(--error);
    min-height: 0;
}

.alert {
    padding: 1rem;
    border-radius: var(--radius);
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
}

.alert-error {
    background: var(--error-bg);
    color: var(--error);
    border: 1px solid rgba(220, 53, 69, 0.2);
}

.alert-error svg {
    flex-shrink: 0;
    margin-top: 2px;
}

.upload-area {
    position: relative;
    border: 2px dashed var(--border);
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all 0.15s;
    overflow: hidden;
    margin-top: 0.5rem;
}

.upload-area:hover {
    border-color: var(--primary);
    background: var(--primary-bg);
}

.upload-input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
    width: 100%;
    height: 100%;
}

.upload-content,
.upload-success {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    gap: 0.25rem;
    color: var(--text-secondary);
    text-align: center;
}

.upload-success {
    color: var(--primary);
}

.upload-hint {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.terms-section {
    padding-top: 1rem;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 0.875rem;
    line-height: 1.5;
    color: var(--text);
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    flex-shrink: 0;
    accent-color: var(--primary);
}

.btn-submit {
    width: 100%;
    padding: 0.875rem;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    border: none;
    border-radius: var(--radius);
    font-size: 1.05rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.2s;
    margin-top: 10px;
}

.btn-submit:hover:not(:disabled) {
    box-shadow: 0 4px 15px rgba(0, 119, 182, 0.3);
    transform: translateY(-1px);
}

.btn-submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.spot-placeholder {
    text-align: center;
    padding: 2.5rem 1rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.spot-grid-wrapper {
    margin-top: 1rem;
}

.spot-grid-header {
    text-align: center;
    margin-bottom: 0.75rem;
}

.spot-grid-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text);
}

.spot-grid-subtitle {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.spot-legend {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    padding: 0.75rem 0;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.legend-box {
    width: 32px;
    height: 32px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
}

.legend-box.booked {
    background: #b0c4d8;
    color: #5a6f80;
}

.legend-box.available {
    background: var(--primary);
    color: white;
}

.legend-box.selected {
    background: var(--primary-darker);
    color: white;
}

.spot-grid {
    display: grid;
    grid-template-columns: repeat(8, 64px);
    gap: 5px;
    max-height: 500px;
    overflow-y: auto;
    padding: 0.5rem;
    justify-content: center;
}

.spot-btn {
    width: 64px;
    height: 64px;
    border: none;
    border-radius: var(--radius);
    font-size: 0.8rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.15s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.spot-btn.available {
    background: var(--primary);
    color: white;
}

.spot-btn.available:hover {
    background: var(--primary-dark);
}

.spot-btn.available:active {
    transform: scale(0.95);
}

.spot-btn.booked {
    background: #b0c4d8;
    color: #5a6f80;
    cursor: not-allowed;
}

.spot-btn.selected {
    background: var(--primary-darker);
    color: white;
    box-shadow: 0 0 0 3px var(--primary-darker), 0 0 0 5px white;
    transform: scale(1.05);
}

.spot-refresh-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1.25rem;
    background: #dc2626;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.spot-refresh-btn:hover {
    background: #b91c1c;
}

.spot-refresh-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.spot-refresh-btn .spin-icon {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.spot-selected-msg {
    text-align: center;
    padding: 0.75rem;
    margin-top: 0.75rem;
}

.spot-selected-msg strong {
    background: var(--primary-bg);
    color: var(--primary);
    padding: 0.5rem 1rem;
    border-radius: var(--radius);
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.selection-summary-container {
    background: var(--bg-secondary);
    border: 2px solid var(--primary);
    border-radius: var(--radius);
    padding: 1rem;
    margin-top: 1rem;
}

.selection-summary-header {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border);
}

.selection-summary-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.selection-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    background: var(--card-bg);
    border-radius: var(--radius);
    flex-wrap: wrap;
}

.selection-group-label {
    font-weight: 700;
    color: var(--primary);
    white-space: nowrap;
}

.selection-group-spots {
    font-weight: 600;
    color: var(--text);
}

.selection-remove-group {
    margin-left: auto;
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1.25rem;
    cursor: pointer;
    padding: 0 0.25rem;
    line-height: 1;
    font-weight: 700;
    transition: color 0.15s;
}

.selection-remove-group:hover {
    color: #e74c3c;
}

.success-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 120px);
}

.success-card {
    max-width: 420px;
    width: 100%;
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    box-shadow: var(--shadow-xl);
    text-align: center;
    border: 1px solid var(--border-light);
}

.success-icon {
    width: 96px;
    height: 96px;
    background: var(--success-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--success);
}

.success-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.75rem;
}

.success-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.success-info {
    background: var(--bg);
    border-radius: var(--radius);
    padding: 1rem;
    margin-bottom: 10px;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.info-item svg {
    flex-shrink: 0;
    color: var(--primary);
}

.admin-wrapper {
    max-width: 100%;
}

.admin-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.admin-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text);
}

.badge {
    display: inline-flex;
    align-items: center;
    padding: 0.375rem 0.75rem;
    background: var(--primary-bg);
    color: var(--primary);
    border-radius: 9999px;
    font-size: 0.8rem;
    font-weight: 600;
}

.empty-state {
    text-align: center;
    padding: 4rem 1rem;
    color: var(--text-muted);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.table-container {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    /**box-shadow: var(--shadow-md);**/
    overflow-x: auto;
    border: 1px solid var(--border-light);
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
}

.data-table thead {
    background: var(--bg);
}

.data-table th.col-sticky-right,
.data-table td.col-sticky-right {
    position: sticky;
    right: 0;
    z-index: 2;
    box-shadow: -3px 0 6px -2px rgba(0, 0, 0, 0.08);
}

.data-table th.col-sticky-right {
    background: var(--bg);
}

.data-table td.col-sticky-right {
    background: var(--bg-card);
}

.data-table th {
    padding: 0.75rem 1rem;
    text-align: left;
    font-weight: 600;
    color: var(--text-secondary);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.025em;
    white-space: nowrap;
    border-bottom: 1px solid var(--border);
}

.data-table td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--border-light);
    color: var(--text);
    white-space: nowrap;
}

.data-table tbody tr {
    transition: background 0.15s ease;
}

.data-table tbody tr:hover {
    background: var(--primary-bg);
}

.data-table tbody tr:hover td.col-sticky-right {
    background: var(--primary-bg);
}

.data-table tbody tr:last-child td {
    border-bottom: none;
}

.receipt-link {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.15s;
}

.receipt-link:hover {
    text-decoration: underline;
    color: var(--primary-dark);
}

.no-receipt {
    color: var(--text-muted);
    font-size: 0.8rem;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.625rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.status-badge.confirmed {
    background: var(--success-bg);
    color: var(--success);
}

.status-badge.pending {
    background: #fef3c7;
    color: var(--warning);
}

.nav-mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-secondary);
    padding: 0.5rem;
    border-radius: var(--radius);
}

.nav-mobile-toggle:hover {
    background: var(--primary-bg);
    color: var(--primary);
}

/* =========================================================
   AG2 EMPIRE — NAVBAR OVERRIDES
   ========================================================= */

.navbar {
    background: #fff;
    border-bottom: 1px solid #e8e8e3;
    height: 72px;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.07);
}

.nav-brand {
    color: #1a1a1a;
    gap: 0.7rem;
    align-items: center;
}

.nav-brand-wordmark {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.nav-brand-name {
    font-family: 'Barlow Condensed', 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 1.45rem;
    color: #234331;
    letter-spacing: 0.02em;
    line-height: 1;
    text-transform: uppercase;
}

.nav-brand-divider {
    width: 1.5px;
    height: 36px;
    background: #ccc;
    flex-shrink: 0;
    margin: 0 0.15rem;
}

.nav-brand-sub-wrap {
    display: flex;
    align-items: center;
}

.nav-brand-sub {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.65rem;
    font-weight: 600;
    color: #666;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    line-height: 1.4;
}

.nav-logo {
    height: 50px;
    width: auto;
}

.nav-link {
    color: #333;
    font-weight: 500;
}

.nav-link:hover {
    background: rgba(50, 99, 59, 0.07);
    color: #234331;
}

.nav-dropdown-menu {
    background: #fff;
    border-color: #e5e5e0;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.nav-dropdown-item {
    color: #333;
}

.nav-dropdown-item:hover {
    background: rgba(50, 99, 59, 0.07);
    color: #234331;
}

.nav-btn-register {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.55rem 1.35rem;
    background: #234331;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 0.82rem;
    font-weight: 700;
    font-family: 'DM Sans', sans-serif;
    letter-spacing: 0.06em;
    text-decoration: none;
    transition: all 0.18s;
    cursor: pointer;
}

.nav-btn-register:hover {
    background: #264d2e;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(50, 99, 59, 0.3);
}

/* =========================================================
   AG2 EMPIRE — HERO (LIGHT MODE)
   ========================================================= */

.ag2-hero {
    position: relative;
    background-color: #f7f7f7;
    background-image: url('/images/banner.png');
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    overflow: hidden;
    min-height: 600px;
}

.ag2-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right,
            rgb(211 211 211 / 97%) 0%,
            rgb(244 244 244 / 88%) 40%,
            rgb(235 240 236 / 30%) 65%,
            rgb(237 240 235 / 0%) 100%);
}

.ag2-hero-content {
    position: relative;
    z-index: 2;
    padding: 4rem 3vw 2.5rem 8%;
    /*max-width: 620px;*/
}

.ag2-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.5rem 1.1rem 0.5rem 0.9rem;
    background: #1a3d1a;
    border: none;
    border-radius: 999px;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
    box-shadow: 0 3px 14px rgba(50, 99, 59, 0.45);
}

.ag2-hero-badge svg {
    color: #a8f0b8;
    flex-shrink: 0;
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.45;
        transform: scale(0.75);
    }
}

.ag2-hero-title {
    font-family: 'Barlow Condensed', 'Outfit', sans-serif;
    font-size: 3.5rem;
    font-weight: 600;
    color: #234331;
    line-height: 0.95;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: -0.01em;
    text-shadow: none;
    font-style: italic;
}

.ag2-hero-title-accent {
    color: #ad0919;
    font-size: 5rem;
}

.ag2-hero-stars {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    color: #1a1a1a;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 0.4rem;
    font-style: italic;
}

.ag2-hero-tagline {
    color: #444;
    font-size: 1rem;
    margin-bottom: 2rem;
    font-weight: 400;
    font-style: italic;
}

.ag2-hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.ag2-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1.75rem;
    background: #1a3d1a;
    color: #fff;
    border: 1.5px solid #1a3d1a;
    border-radius: 6px;
    font-size: 0.88rem;
    font-weight: 700;
    font-family: 'DM Sans', sans-serif;
    letter-spacing: 0.05em;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 2px 8px rgba(26, 61, 26, 0.2);
}

.ag2-btn-primary:hover {
    background: #2d5c2d;
    border-color: #2d5c2d;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(26, 61, 26, 0.3);
}

.ag2-btn-locked {
    background: #aaa;
    border-color: #aaa;
    cursor: not-allowed;
    box-shadow: none;
    color: #fff;
    opacity: 0.7;
}

.ag2-btn-locked:hover {
    background: #aaa;
    border-color: #aaa;
    transform: none;
    box-shadow: none;
}

.ag2-btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1.75rem;
    background: transparent;
    color: #1a1a1a;
    border: 1.5px solid #1a1a1a;
    border-radius: 6px;
    font-size: 0.88rem;
    font-weight: 600;
    font-family: 'DM Sans', sans-serif;
    letter-spacing: 0.04em;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s;
}

.ag2-btn-outline:hover {
    background: rgba(0, 0, 0, 0.06);
    border-color: #111;
    color: #111;
}

/* =========================================================
   AG2 EMPIRE — FEATURES BAR (LIGHT MODE)
   ========================================================= */

.ag2-features-bar {
    background: #fff;
    border: 1px solid #e5e5e0;
    /*border-radius: 12px;*/
    padding: 0.2rem 2.5rem;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
    /*max-width: 910px;*/
    /*margin: -2.5rem auto 0;*/
    position: relative;
    z-index: 10;
}

.ag2-features-inner {
    max-width: 960px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.ag2-feature-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.7rem;
    flex: 1;
    text-align: left;
    padding: 0.25rem 0.5rem;
}

.ag2-feature-icon {
    width: 36px;
    height: 36px;
    background: transparent;
    border: none;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #234331;
    flex-shrink: 0;
}

.ag2-feature-label {
    font-size: 0.9rem;
    font-weight: 700;
    color: #2a2a2a;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    line-height: 1.4;
}

.ag2-feature-divider {
    width: 1px;
    height: 100px;
    background: #e0e0db;
    flex-shrink: 0;
    margin: 0 0.25rem;
}

/* =========================================================
   AG2 EMPIRE — COUNTDOWN (LIGHT MODE)
   ========================================================= */

.ag2-countdown-section {
    padding: 2rem 1rem 2rem;
    background: repeating-linear-gradient(22.5deg, transparent, transparent 2px, rgba(75, 85, 99, 0.06) 2px, rgba(75, 85, 99, 0.06) 3px, transparent 3px, transparent 8px), repeating-linear-gradient(67.5deg, transparent, transparent 2px, rgba(107, 114, 128, 0.05) 2px, rgba(107, 114, 128, 0.05) 3px, transparent 3px, transparent 8px), repeating-linear-gradient(112.5deg, transparent, transparent 2px, rgba(55, 65, 81, 0.04) 2px, rgba(55, 65, 81, 0.04) 3px, transparent 3px, transparent 8px), repeating-linear-gradient(157.5deg, transparent, transparent 2px, rgba(31, 41, 55, 0.03) 2px, rgba(31, 41, 55, 0.03) 3px, transparent 3px, transparent 8px) rgb(255, 255, 255);
    border-bottom: 1px solid #ebe8e8;
}

.ag2-countdown-card {
    background: #fff;
    border: 1px solid #e0e0da;
    border-left: 5px solid #ad0919;
    border-right: 5px solid #ad0919;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    max-width: 860px;
    margin: 0 auto;
    padding: 2rem 1.5rem 1.75rem;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 0;
    letter-spacing: 1px;
}

.ag2-countdown-fish {
    flex-shrink: 0;
    width: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.12;
    pointer-events: none;
}

.ag2-countdown-fish img {
    width: 100%;
    height: auto;
    filter: grayscale(100%);
}

.ag2-countdown-inner {
    flex: 1;
    text-align: center;
    padding: 0 0.5rem;
}

.ag2-countdown-label {
    color: #32633b;
    font-family: 'Barlow Condensed', 'Outfit', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.ag2-countdown-label::after {
    content: '';
    display: block;
    width: 40px;
    height: 2px;
    background: #32633b;
    margin: 0.4rem auto 0;
    border-radius: 2px;
    opacity: 0.5;
}

.ag2-countdown-timer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.ag2-countdown-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.ag2-countdown-value {
    font-family: 'Barlow Condensed', 'Outfit', sans-serif;
    font-size: 3.25rem;
    color: #fff;
    line-height: 1;
    background: #32633b;
    border: none;
    border-radius: 8px;
    min-width: 80px;
    padding: 0.6rem 0.5rem 0.5rem;
    display: block;
    letter-spacing: 0.05em;
    box-shadow: 0 3px 10px rgba(50, 99, 59, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.ag2-countdown-text {
    font-size: 0.6rem;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-weight: 700;
    font-family: 'DM Sans', sans-serif;
}

.ag2-countdown-sep {
    font-family: 'Barlow Condensed', 'Outfit', sans-serif;
    font-size: 2.75rem;
    font-weight: 900;
    color: #32633b;
    line-height: 1;
    padding: 0 0.1rem;
    margin-bottom: 1.5rem;
    opacity: 0.7;
}

.ag2-countdown-date {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    color: #555;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid #e0e0da;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    background: #f4f4f4;
    font-family: 'DM Sans', sans-serif;
    letter-spacing: 0.3px;
}

@media (max-width: 640px) {
    .ag2-countdown-fish {
        display: none;
    }

    .ag2-countdown-value {
        font-size: 2.25rem;
        min-width: 58px;
        padding: 0.5rem 0.35rem 0.4rem;
        border-radius: 6px;
    }

    .ag2-countdown-sep {
        font-size: 2rem;
        margin-bottom: 1.2rem;
    }

    .ag2-countdown-timer {
        gap: 0.3rem;
    }

    .ag2-countdown-label {
        font-size: 1rem;
        letter-spacing: 0.12em;
        margin-bottom: 1.1rem;
    }

    .ag2-countdown-date {
        font-size: 0.72rem;
        padding: 0.35rem 0.75rem;
    }
}

@media (max-width: 400px) {
    .ag2-countdown-value {
        font-size: 1.85rem;
        min-width: 48px;
        padding: 0.4rem 0.25rem;
    }

    .ag2-countdown-sep {
        font-size: 1.6rem;
        margin-bottom: 1rem;
    }

    .ag2-countdown-timer {
        gap: 0.2rem;
    }
}

/* =========================================================
   AG2 EMPIRE — LANDING BODY (LIGHT MODE)
   ========================================================= */

.ag2-landing-body {
    /*background: #f5f5f0;*/
    padding: 2rem 1rem 0;
}

.ag2-info-grid {
    max-width: 900px;
    margin: 0 auto 2.5rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.ag2-info-card {
    background: #fff;
    border: 1px solid #e5e5e0;
    border-radius: 10px;
    padding: 1.5rem 1.25rem;
    display: flex;
    flex-direction: column;
    transition: all 0.2s;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.ag2-info-card:hover {
    border-color: #1a3d1a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.ag2-info-icon {
    width: 44px;
    height: 44px;
    background: transparent;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 0 0.875rem;
    color: #1a3d1a;
}

.ag2-info-card-title {
    font-family: 'Outfit', sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.ag2-info-card-text {
    color: #555;
    font-size: 0.875rem;
    line-height: 1.6;
}

/* =========================================================
   AG2 EMPIRE — LOCATION (LIGHT MODE)
   ========================================================= */

.ag2-location-section {
    max-width: 900px;
    margin: 0 auto 2.5rem;
    background: #fff;
    border: 1px solid #e5e5e0;
    border-radius: 10px;
    padding: 1.75rem;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.ag2-section-header {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
    color: #1a3d1a;
}

.ag2-section-title {
    font-family: 'Barlow Condensed', 'Outfit', sans-serif;
    font-size: 1.25rem;
    font-weight: 800;
    color: #1a1a1a;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 0.15rem;
}

.ag2-section-sub {
    font-size: 0.82rem;
    color: #666;
}

.ag2-map-wrap {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e5e5e0;
    margin-bottom: 0.75rem;
}

.ag2-map-open-btn {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 10;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.875rem;
    background: #fff;
    color: #333;
    border-radius: 4px;
    font-size: 0.78rem;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: opacity 0.15s;
}

.ag2-map-open-btn:hover {
    opacity: 0.85;
}

.ag2-map-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1rem;
    background: #1a3d1a;
    color: #fff;
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 6px;
    transition: background 0.15s;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.ag2-map-link:hover {
    background: #2d5c2d;
}

/* =========================================================
   AG2 EMPIRE — REGISTRATION SECTION (LIGHT MODE)
   ========================================================= */

.ag2-reg-section {
    max-width: 900px;
    margin: 0 auto 2.5rem;
}

.ag2-reg-card {
    background: #fff;
    border: 1px solid #e5e5e0;
    border-radius: 10px;
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
    border-top: 5px solid #ad0919;
}

.ag2-reg-logo {
    flex-shrink: 0;
}

.ag2-reg-logo img {
    width: 100px;
    height: auto;
}

.ag2-reg-content {
    flex: 1;
}

.ag2-reg-title {
    font-family: 'Barlow Condensed', 'Outfit', sans-serif;
    font-size: 1.4rem;
    font-weight: 800;
    color: #1a1a1a;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 0.4rem;
}

.ag2-reg-desc {
    color: #555;
    font-size: 0.84rem;
    margin-bottom: 0.875rem;
    line-height: 1.5;
}

.ag2-reg-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.ag2-reg-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #333;
    font-size: 0.84rem;
}

.ag2-reg-list li svg {
    flex-shrink: 0;
    color: #1a3d1a;
}

.ag2-reg-action {
    flex-shrink: 0;
}

.ag2-reg-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;
    padding: 1rem 1.25rem;
    background: #1a3d1a;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 800;
    font-family: 'DM Sans', sans-serif;
    letter-spacing: 0.05em;
    text-decoration: none;
    text-align: center;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.2s;
    line-height: 1.3;
    min-width: 130px;
}

.ag2-reg-btn:hover {
    background: #2d5c2d;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(26, 61, 26, 0.25);
}

.ag2-reg-btn-locked {
    background: #e5e5e0;
    color: #888;
    cursor: not-allowed;
}

.ag2-reg-btn-locked:hover {
    background: #e5e5e0;
    transform: none;
    box-shadow: none;
}

/* =========================================================
   AG2 EMPIRE — QUICK LINKS (LIGHT MODE)
   ========================================================= */

.ag2-quick-links {
    max-width: 900px;
    margin: 0 auto 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.ag2-quick-card {
    background: #fff;
    border: 1px solid #e5e5e0;
    border-radius: 10px;
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.ag2-quick-card:hover {
    border-color: #1a3d1a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.ag2-quick-icon {
    width: 44px;
    height: 44px;
    background: #f0f0eb;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1a3d1a;
    flex-shrink: 0;
}

.ag2-quick-title {
    font-weight: 700;
    font-size: 0.9rem;
    color: #1a1a1a;
}

.ag2-quick-desc {
    font-size: 0.78rem;
    color: #888;
    margin-top: 0.15rem;
}

.ag2-quick-arrow {
    margin-left: auto;
    color: #1a3d1a;
    flex-shrink: 0;
}

/* =========================================================
   AG2 EMPIRE — WHATSAPP & FOOTER (LIGHT MODE)
   ========================================================= */

.ag2-whatsapp-wrap {
    max-width: 900px;
    margin: 0 auto;
    padding-bottom: 3rem;
}

.ag2-whatsapp-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    width: 100%;
    padding: 1.1rem;
    background: #1a3d1a;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 800;
    font-family: 'DM Sans', sans-serif;
    letter-spacing: 0.06em;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s;
    text-transform: uppercase;
}

.ag2-whatsapp-btn:hover {
    background: #2d5c2d;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(26, 61, 26, 0.25);
}

.ag2-footer {
    background: #1a1a18;
    border-top: 1px solid #2a2a28;
    text-align: center;
    padding: 2rem 1rem;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.8rem;
}

.ag2-footer-logo {
    width: 48px;
    height: auto;
    margin: 0 auto 0.75rem;
    display: block;
    opacity: 0.6;
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 68px;
        left: 0;
        right: 0;
        background: #ffffff;
        border-bottom: 1px solid #163216;
        flex-direction: column;
        padding: 0.5rem;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
        z-index: 99;
    }

    .nav-links.nav-open {
        display: flex;
    }

    .nav-dropdown-menu {
        position: static;
        box-shadow: none;
        border: none;
        border-radius: 0;
        background: #ffffff;
        min-width: unset;
    }

    .nav-dropdown-item {
        padding-left: 1.75rem;
    }

    .nav-mobile-toggle {
        display: flex;
        color: #234331;
    }

    .navbar {
        position: relative;
    }

    .ag2-hero {
        min-height: 75vh;
        align-items: flex-end;
    }

    .ag2-hero-title {
        font-size: 2.8rem;
    }

    .ag2-countdown-value {
        font-size: 2.5rem;
        min-width: 64px;
    }

    .ag2-info-grid {
        grid-template-columns: 1fr;
    }

    .ag2-reg-card {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }

    .ag2-reg-list li {
        justify-content: center;
    }

    .ag2-quick-links {
        grid-template-columns: 1fr;
    }

    .ag2-features-inner {
        flex-wrap: wrap;
        /*justify-content: center;*/
    }

    .ag2-feature-divider {
        display: none;
    }

    .ag2-feature-item {
        flex: 0 0 40%;
    }

    .ag2-hero-content {
        padding-bottom: 5rem;
        padding-left: 3vw;
    }

    .ag2-features-bar {
        padding: 1rem 1rem;
        margin: -2.5rem 1rem 0;
        border-radius: 12px;
    }

    .ag2-countdown-card {
        padding: 2rem 0rem 1.75rem;
    }

    .ag2-hero-title-accent {
        font-size: 3.5rem;
    }
}

@media (max-width: 640px) {
    .form-grid {
        grid-template-columns: 1fr;
    }

    .page-title {
        font-size: 1.75rem;
    }

    .card-header,
    .card-body {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }

    .spot-grid {
        grid-template-columns: repeat(5, 57px);
    }

    .spot-btn {
        width: 57px;
        height: 57px;
        font-size: 0.7rem;
    }
}

.login-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 60px);
    padding: 2rem;
    background: linear-gradient(135deg, #ffe4e4 0%, #fafffb 30%, #f8fcfa 60%, #ecfff1 100%);
}

.login-card {
    background: var(--bg-card);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 77, 130, 0.08), 0 8px 16px rgba(0, 0, 0, 0.04);
    padding: 2.75rem 2.5rem;
    width: 100%;
    max-width: 420px;
    border: 1px solid rgba(226, 232, 240, 0.6);
}

.login-header {
    text-align: center;
    margin-bottom: 2rem;
}

.login-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: linear-gradient(135deg, #00b642, #234331);
    color: #fff;
    margin-bottom: 1.25rem;
    box-shadow: 0 4px 12px rgb(0 182 87 / 25%);
}

.login-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.25rem;
}

.login-subtitle {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.login-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.7rem 1.25rem;
    font-size: 0.95rem;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 119, 182, 0.2);
    transition: all 0.2s ease;
}

.login-btn:hover {
    box-shadow: 0 4px 16px rgba(0, 119, 182, 0.3);
    transform: translateY(-1px);
}

.admin-header-actions {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    flex-wrap: wrap;
}

.btn-outline-sm {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.45rem 0.9rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    background: var(--bg-card);
    transition: all 0.2s;
    cursor: pointer;
}

.btn-outline-sm:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-bg);
}

.btn-danger-sm {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.4rem 0.8rem;
    border: 1px solid var(--error);
    border-radius: var(--radius);
    color: var(--error);
    font-size: 0.8rem;
    font-weight: 500;
    background: transparent;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-danger-sm:hover {
    background: var(--error);
    color: white;
}

.chart-container {
    position: relative;
    height: 300px;
    width: 100%;
}

.text-muted {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.alert-success {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1rem;
    border-radius: 10px;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #065f46;
    font-size: 0.88rem;
    margin-bottom: 1.5rem;
}

.tournament-card .card-body {
    padding-top: 0.5rem;
}

.add-zone-grid {
    grid-template-columns: 1fr 1fr auto;
}

.pond-card .data-table {
    font-size: 0.85rem;
}

.pond-card .data-table th,
.pond-card .data-table td {
    padding: 0.5rem 0.75rem;
}

.btn-export {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 1rem;
    background: #f8fafc;
    color: #475569;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.15s ease;
}

.btn-export:hover {
    background: #f1f5f9;
    border-color: var(--primary);
    color: var(--primary);
}

.btn-edit-sm {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.4rem 0.85rem;
    background: #f8fafc;
    color: #475569;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-size: 0.78rem;
    font-weight: 500;
    cursor: pointer;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    min-height: 36px;
    transition: background 0.2s, border-color 0.2s;
}

.btn-edit-sm:hover {
    background: var(--primary-light);
    border-color: var(--primary);
    color: var(--primary);
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    padding: 1rem;
    padding-bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
    box-sizing: border-box;
}

.modal-dialog {
    background: #ffffff;
    border-radius: 16px;
    width: 100%;
    max-width: 520px;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.04);
    position: relative;
    z-index: 100000;
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid #f1f5f9;
    flex-shrink: 0;
}

.modal-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: #0f172a;
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.4rem;
    color: var(--text-muted);
    cursor: pointer;
    padding: 0;
    line-height: 1;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: all 0.15s;
}

.modal-close:hover {
    color: var(--text-primary);
    background: #f1f5f9;
}

.modal-body {
    padding: 1.5rem;
    overflow-y: auto;
    flex: 1;
    min-height: 0;
    -webkit-overflow-scrolling: touch;
}

.modal-body .form-group {
    margin-bottom: 1rem;
}

.modal-body .form-input,
.modal-body .form-select {
    width: 100%;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    color: #1e293b;
    box-sizing: border-box;
    border-radius: 8px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.modal-body .form-input:focus,
.modal-body .form-select:focus {
    border-color: #0ea5e9;
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
    outline: none;
}

.modal-body .form-label {
    color: #374151;
    font-weight: 600;
    font-size: 0.82rem;
    margin-bottom: 0.35rem;
    display: block;
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    border-top: 1px solid #f1f5f9;
    flex-shrink: 0;
}

.btn-secondary {
    padding: 0.5rem 1.25rem;
    background: #f8fafc;
    color: #475569;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.84rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-secondary:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

.btn-primary {
    padding: 0.5rem 1.25rem;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 0.84rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    transition: background 0.2s;
}

.btn-primary:hover {
    background: var(--primary-dark);
    box-shadow: 0 2px 8px rgba(0, 119, 182, 0.25);
}

.alert-error {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
    border-radius: 10px;
    padding: 0.75rem 1rem;
    font-size: 0.85rem;
    margin-top: 0.5rem;
}

.pond-layout-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 1rem;
    align-items: start;
}

@media (max-width: 900px) {
    .pond-layout-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 0.75rem !important;
    }

    .pond-layout-grid>div {
        width: 100% !important;
        min-width: 0 !important;
    }

    .pond-layout-grid .table-container {
        overflow-x: auto;
    }

    .add-zone-grid {
        grid-template-columns: 1fr;
    }

    .admin-header-actions {
        flex-direction: row;
        gap: 0.5rem;
    }

    .login-card {
        padding: 1.75rem;
    }

    .modal-dialog {
        max-width: 100%;
    }
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.spinner {
    animation: spin 0.8s linear infinite;
}

.btn-page {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2rem;
    height: 2rem;
    padding: 0 0.5rem;
    border: 1px solid var(--border);
    border-radius: 6px;
    background: var(--white);
    color: var(--text-primary);
    font-size: 0.85rem;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s;
}

.btn-page:hover:not(.disabled):not(.active) {
    background: var(--bg-light);
    border-color: var(--primary);
}

.btn-page.active {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
    font-weight: 600;
}

.btn-page.disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.reg-page {
    min-height: 100vh;
    background: linear-gradient(135deg, #fff1f1 0%, #fafffb 30%, #f8fcfa 60%, #ecfff1 100%);
}

.reg-header {
    padding: 2rem 1rem 0;
    text-align: center;
}

.reg-header-inner {
    max-width: 680px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.reg-header-logo {
    height: 56px;
    margin-bottom: 0.75rem;
}

.reg-header-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 0.125rem;
    letter-spacing: -0.01em;
}

.reg-header-subtitle {
    color: var(--text-muted);
    font-size: 0.92rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.reg-body {
    padding: 0 1rem 3rem;
}

.reg-container {
    max-width: 680px;
    margin: 0 auto;
}

.reg-bank-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0, 77, 120, 0.08);
    border: 1px solid rgba(0, 119, 182, 0.08);
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.reg-bank-card-inner {
    display: flex;
    align-items: center;
    padding: 1.5rem;
    gap: 1.5rem;
}

.reg-bank-left {
    flex: 1;
}

.reg-bank-label {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    margin-bottom: 0.625rem;
}

.reg-bank-name {
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--text);
}

.reg-bank-institution {
    font-weight: 600;
    color: var(--primary);
    font-size: 0.88rem;
    margin-top: 0.125rem;
}

.reg-bank-account {
    font-size: 1.25rem;
    font-weight: 800;
    font-family: 'Outfit', sans-serif;
    color: var(--text);
    letter-spacing: 1.5px;
    margin-top: 0.5rem;
}

.reg-bank-copy {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    margin-top: 0.75rem;
    padding: 0.4rem 0.875rem;
    background: var(--primary-bg);
    color: var(--primary);
    border: 1px solid transparent;
    border-radius: 8px;
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.15s;
}

.reg-bank-copy:hover {
    background: var(--primary);
    color: white;
}

.reg-bank-divider {
    width: 1px;
    align-self: stretch;
    background: var(--border-light);
}

.reg-bank-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.375rem;
    flex-shrink: 0;
}

.reg-bank-qr-link {
    display: block;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.15s;
}

.reg-bank-qr-link:hover {
    transform: scale(1.03);
}

.reg-bank-qr {
    width: 180px;
    height: 180px;
    object-fit: contain;
    display: block;
}

.reg-bank-qr-hint {
    font-size: 0.7rem;
    color: var(--text-muted);
    font-weight: 500;
}

.swal-qr-image {
    max-width: 320px !important;
    width: 100% !important;
    margin: 0 auto !important;
}

.reg-form {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0, 77, 120, 0.08);
    border: 1px solid rgba(0, 119, 182, 0.08);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.reg-alert {
    padding: 0.875rem 1rem;
    background: var(--error-bg);
    color: var(--error);
    border: 1px solid rgba(220, 53, 69, 0.15);
    border-radius: 10px;
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
}

.reg-alert svg {
    flex-shrink: 0;
    margin-top: 1px;
}

.reg-section {
    padding-bottom: 1.75rem;
    margin-bottom: 1.75rem;
    border-bottom: 1px solid var(--border-light);
}

.reg-section:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.reg-section-head {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.reg-step-badge {
    width: 28px;
    height: 28px;
    min-width: 28px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 800;
    font-family: 'Outfit', sans-serif;
    margin-top: 1px;
}

.reg-section-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text);
    line-height: 1.2;
}

.reg-section-desc {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-top: 0.125rem;
}

.reg-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.reg-field {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.reg-field-full {
    grid-column: 1 / -1;
}

.reg-label {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text);
}

.reg-required {
    color: var(--error);
    font-weight: 700;
}

.reg-optional {
    font-weight: 400;
    color: var(--text-muted);
    font-size: 0.78rem;
}

.reg-input,
.reg-select {
    padding: 0.625rem 0.875rem;
    border: 1.5px solid var(--border);
    border-radius: 10px;
    font-size: 0.88rem;
    font-family: inherit;
    background: white;
    color: var(--text);
    transition: border-color 0.15s, box-shadow 0.15s;
    outline: none;
    width: 100%;
}

.reg-input:focus,
.reg-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 119, 182, 0.08);
}

.reg-input::placeholder {
    color: var(--text-muted);
}

.reg-input-prefix-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.reg-input-prefix {
    position: absolute;
    left: 0.875rem;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text-muted);
    pointer-events: none;
    z-index: 1;
}

.reg-input-has-prefix {
    padding-left: 2.75rem;
}

.reg-error {
    font-size: 0.78rem;
    color: var(--error);
    min-height: 0;
}

.reg-price-info {
    background: #f5fff7;
    border: 1px solid rgb(0 182 71 / 10%);
    border-radius: 10px;
    padding: 0.875rem 1rem;
    margin-bottom: 1rem;
}

.reg-price-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    font-size: 0.88rem;
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.reg-price-row strong {
    font-weight: 700;
}

.reg-price-deposit {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-left: 1.625rem;
}

.reg-upload {
    position: relative;
    border: 2px dashed var(--border);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s;
    overflow: hidden;
    margin-top: 0.25rem;
}

.reg-upload:hover {
    border-color: var(--primary);
    background: #f8fcfe;
}

.reg-upload-content,
.reg-upload-success {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.75rem;
    gap: 0.375rem;
    text-align: center;
}

.reg-upload-icon {
    width: 44px;
    height: 44px;
    background: var(--primary-bg);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    margin-bottom: 0.25rem;
}

.reg-upload-icon.success {
    background: var(--success-bg);
    color: var(--success);
}

.reg-upload-text {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.reg-upload-text strong {
    color: var(--primary);
}

.reg-upload-hint {
    font-size: 0.72rem;
    color: var(--text-muted);
}

.reg-terms {
    padding-top: 0.5rem;
}

.reg-terms-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 0.85rem;
    line-height: 1.5;
    color: var(--text-secondary);
}

.reg-checkbox {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    flex-shrink: 0;
    accent-color: var(--primary);
    border-radius: 4px;
}

.reg-submit {
    width: 100%;
    padding: 0.875rem;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.2s;
    margin-top: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.reg-submit span {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.reg-submit:hover:not(:disabled) {
    box-shadow: 0 6px 20px rgba(0, 119, 182, 0.25);
    transform: translateY(-1px);
}

.reg-submit:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

@media (max-width: 640px) {
    .reg-header {
        padding: 1.5rem 1rem 0;
    }

    .reg-header-title {
        font-size: 1.35rem;
    }

    .reg-body {
        padding: 0 0.75rem 2rem;
    }

    .reg-form {
        padding: 1.25rem;
    }

    .reg-fields {
        grid-template-columns: 1fr;
    }

    .reg-bank-card-inner {
        flex-direction: column;
        text-align: center;
    }

    .reg-bank-divider {
        width: 100%;
        height: 1px;
    }

    .reg-bank-copy {
        margin: 0.75rem auto 0;
    }
}

.radio-group {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
    margin-top: 0.25rem;
}

@media (max-width: 768px) {
    .radio-group {
        grid-template-columns: 1fr;
    }
}

.radio-option {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    padding: 0.6rem 0.75rem;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.2s ease;
    background: var(--bg-card);
}

.radio-option:hover {
    border-color: var(--primary-light);
    background: var(--primary-bg);
}

.radio-option:has(input:checked) {
    border-color: var(--primary);
    background: var(--primary-bg);
    box-shadow: 0 0 0 1px var(--primary);
}

.radio-option input[type="radio"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    min-width: 18px;
    border: 2px solid var(--border);
    border-radius: 50%;
    margin: 1px 0 0;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    background: var(--bg-card);
}

.radio-option input[type="radio"]:checked {
    border-color: var(--primary);
    background: var(--bg-card);
}

.radio-option input[type="radio"]:checked::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary);
}

.radio-option .radio-text {
    font-size: 0.88rem;
    color: var(--text);
    line-height: 1.4;
}

.radio-option .radio-hint {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 0.1rem;
}