/* ==========================================================================
   STYLE.CSS - ARENA W90
   Premium sports reservation system styles (Dark Theme: Black, Green, White)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
    --bg-main: #0a0a0a;
    --bg-card: #141414;
    --bg-input: #1f1f1f;
    --primary: #00e676;
    --primary-dark: #00b050;
    --primary-glow: rgba(0, 230, 118, 0.2);
    --danger: #ff3d00;
    --danger-glow: rgba(255, 61, 0, 0.15);
    --warning: #ffc107;
    --text-main: #ffffff;
    --text-muted: #a0a0a0;
    --text-dark: #121212;
    --border-color: #2c2c2c;
    --border-focus: #444444;
    --shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
    --border-radius: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
    -webkit-tap-highlight-color: transparent;
}

html, body {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
}

img, video, canvas, iframe {
    max-width: 100%;
}

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-main);
}
::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* Containers & Common Layouts */
.container {
    width: 100%;
    max-width: 600px; /* Centered mobile shell layout for premium booking experience */
    margin: 0 auto;
    padding: 0 20px 40px 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 20px;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand-logo-img {
    height: 54px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.5));
    transition: var(--transition);
}

.brand-logo-img:hover {
    transform: scale(1.06);
}

.login-logo-img {
    height: 110px;
    width: auto;
    object-fit: contain;
    margin-bottom: 14px;
    filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.6));
}

.logo-icon {
    color: var(--primary);
    font-size: 24px;
    filter: drop-shadow(0 0 8px var(--primary-glow));
}

.logo-text {
    font-weight: 800;
    font-size: 20px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.logo-text span {
    color: var(--primary);
}

/* Main Banner / Hero */
.hero-banner {
    position: relative;
    width: 100%;
    aspect-ratio: 1080 / 1350;
    height: auto;
    border-radius: var(--border-radius);
    overflow: hidden;
    margin-bottom: 24px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
}

.hero-banner img,
.hero-banner video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.65) contrast(1.1);
}

.hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(transparent, rgba(10, 10, 10, 0.95));
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.hero-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 5px;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 14px;
    color: var(--primary);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

/* Sound Toggle Button */
.btn-sound-toggle {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    backdrop-filter: blur(6px);
    transition: var(--transition);
    z-index: 10;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.btn-sound-toggle:hover {
    background: var(--primary);
    color: var(--text-dark);
    transform: scale(1.1);
    border-color: var(--primary);
}

/* Info Section (Address / Phone) */
.info-section {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 15px;
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: var(--text-muted);
}

.info-item i {
    color: var(--primary);
    font-size: 16px;
    width: 20px;
    text-align: center;
}

.info-item span strong {
    color: var(--text-main);
}

/* Home Buttons */
.home-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: auto; /* Push to bottom if needed */
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 24px;
    font-size: 16px;
    font-weight: 700;
    border-radius: var(--border-radius);
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition);
    width: 100%;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--text-dark);
    box-shadow: 0 4px 15px var(--primary-glow);
}

.btn-primary:hover {
    background-color: #00c853;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 230, 118, 0.4);
}

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

.btn-whatsapp {
    background-color: #25d366;
    color: white;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.2);
}

.btn-whatsapp:hover {
    background-color: #20ba5a;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
}

.btn-secondary {
    background-color: var(--bg-input);
    color: var(--text-main);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background-color: #2c2c2c;
    border-color: #444444;
}

/* Booking View Shell */
.view-panel {
    display: none;
    flex-direction: column;
    animation: fadeIn 0.4s ease-out forwards;
}

.view-panel.active {
    display: flex;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Booking Steps Header */
.step-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 24px;
}

.btn-back {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 20px;
    cursor: pointer;
    transition: var(--transition);
    padding: 5px;
}

.btn-back:hover {
    color: var(--primary);
    transform: translateX(-3px);
}

.step-title {
    font-size: 20px;
    font-weight: 700;
}

/* Progress bar */
.progress-bar {
    width: 100%;
    height: 4px;
    background-color: var(--border-color);
    border-radius: 2px;
    margin-bottom: 24px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background-color: var(--primary);
    width: 25%;
    transition: width 0.3s ease;
    box-shadow: 0 0 8px var(--primary);
}

/* Date Selector / Custom Calendar styling */
.calendar-container {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 16px;
    margin-bottom: 24px;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.calendar-header h3 {
    font-size: 16px;
    font-weight: 700;
    text-transform: capitalize;
}

.calendar-nav-btn {
    background: none;
    border: none;
    color: var(--text-main);
    font-size: 16px;
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 6px;
    transition: var(--transition);
}

.calendar-nav-btn:hover {
    background: var(--bg-input);
    color: var(--primary);
}

.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    font-weight: 600;
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 6px;
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid transparent;
}

.calendar-day:hover:not(.disabled):not(.selected) {
    background-color: var(--bg-input);
    border-color: var(--border-color);
}

.calendar-day.disabled {
    color: #444;
    cursor: not-allowed;
}

.calendar-day.selected {
    background-color: var(--primary);
    color: var(--text-dark);
    font-weight: 700;
    box-shadow: 0 0 10px var(--primary-glow);
}

.calendar-day.today {
    border-bottom: 2px solid var(--primary);
}

/* Time Slots */
.section-subtitle {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 8px;
}

.slots-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 24px;
}

.slot-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 15px 10px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.slot-time {
    font-size: 18px;
    font-weight: 700;
}

.slot-price {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 500;
}

/* Slot states */
.slot-card.available {
    border-left: 4px solid var(--primary);
}

.slot-card.available:hover {
    border-color: var(--primary);
    background-color: rgba(0, 230, 118, 0.05);
    transform: translateY(-2px);
}

.slot-card.selected {
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
    color: var(--text-dark) !important;
    box-shadow: 0 4px 15px var(--primary-glow);
}

.slot-card.selected .slot-price {
    color: rgba(18, 18, 18, 0.8);
}

.slot-card.occupied {
    border-left: 4px solid var(--danger);
    background-color: rgba(255, 61, 0, 0.12);
    opacity: 0.6;
    cursor: not-allowed;
}

.slot-card.occupied .slot-time {
    color: var(--danger);
    text-decoration: line-through;
}

.slot-card.occupied .slot-price {
    color: var(--danger);
    font-weight: 700;
}

/* Legend */
.legend-container {
    display: flex;
    gap: 15px;
    font-size: 12px;
    margin-bottom: 24px;
    justify-content: center;
    color: var(--text-muted);
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.legend-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.legend-dot.available { background-color: var(--primary); }
.legend-dot.occupied { background-color: var(--danger); }

/* Form inputs styling */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-muted);
}

.form-group label span {
    color: var(--danger);
    margin-left: 2px;
}

.form-control {
    width: 100%;
    background-color: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 14px 16px;
    color: white;
    font-size: 15px;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-glow);
}

textarea.form-control {
    resize: none;
    min-height: 100px;
}

/* Checkout / Booking Summary card */
.summary-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 20px;
    margin-bottom: 24px;
}

.summary-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 10px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 14px;
}

.summary-row.total {
    border-top: 1px solid var(--border-color);
    padding-top: 12px;
    margin-top: 12px;
    font-size: 18px;
    font-weight: 800;
    color: var(--primary);
}

.summary-row .label {
    color: var(--text-muted);
}

.summary-row .value {
    font-weight: 600;
}

/* Payment Panel (PIX) */
.pix-payment-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background-color: rgba(0, 230, 118, 0.03);
    border: 1px dashed var(--primary);
    border-radius: var(--border-radius);
    padding: 20px;
    margin-bottom: 24px;
}

.timer-box {
    background-color: rgba(255, 61, 0, 0.1);
    color: var(--danger);
    font-weight: 700;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    margin-bottom: 16px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.qr-code-placeholder {
    width: 180px;
    height: 180px;
    background-color: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    padding: 10px;
    position: relative;
    overflow: hidden;
}

.qr-code-placeholder img {
    width: 100%;
    height: 100%;
}

.pix-copy-paste-container {
    width: 100%;
    margin-top: 10px;
}

.pix-key-input-group {
    display: flex;
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    min-width: 0;
}

.pix-key-text {
    flex: 1;
    min-width: 0;
    padding: 10px 12px;
    font-size: 12px;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: left;
    line-height: 20px;
}

.btn-copy {
    background-color: var(--primary);
    color: var(--text-dark);
    border: none;
    font-weight: 700;
    padding: 0 15px;
    cursor: pointer;
    transition: var(--transition);
    font-size: 12px;
}

.btn-copy:hover {
    background-color: #00c853;
}

.pix-instructions {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 12px;
}

/* Success Confirmation Screen */
.success-card {
    text-align: center;
    padding: 30px 20px;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    margin-bottom: 24px;
    animation: scaleIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes scaleIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.success-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(0, 230, 118, 0.1);
    color: var(--primary);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin-bottom: 20px;
    box-shadow: 0 0 20px var(--primary-glow);
}

.success-title {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 10px;
}

.success-desc {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 24px;
}

.protocol-box {
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 24px;
}

.protocol-label {
    font-size: 11px;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.protocol-number {
    font-size: 20px;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: 0.5px;
}

.booking-details-box {
    text-align: left;
    background: var(--bg-input);
    border-radius: var(--border-radius);
    padding: 16px;
    margin-bottom: 24px;
}

.booking-details-title {
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 12px;
    color: var(--primary);
    text-transform: uppercase;
}

.booking-details-item {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.booking-details-item:last-child {
    border-bottom: none;
}

.booking-details-item .lbl {
    color: var(--text-muted);
}

.booking-details-item .val {
    font-weight: 600;
}

.app-footer {
    text-align: center;
    padding: 20px 0 10px 0;
    margin-top: auto;
    font-size: 11px;
    color: var(--text-muted);
    opacity: 0.8;
}

.app-footer a {
    color: var(--text-muted);
    text-decoration: underline;
    font-weight: 600;
    transition: var(--transition);
}

.app-footer a:hover {
    color: var(--primary);
    text-shadow: 0 0 8px rgba(0, 230, 118, 0.5);
}

/* ==========================================================================
   ADMIN PANEL STYLES
   ========================================================================== */

/* Login Overlay */
.login-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-main);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.login-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 30px;
    width: 100%;
    max-width: 400px;
    box-shadow: var(--shadow);
    text-align: center;
}

.login-logo {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.login-logo span {
    color: var(--primary);
}

.login-subtitle {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 24px;
}

.login-error {
    color: var(--danger);
    font-size: 13px;
    margin-bottom: 16px;
    display: none;
}

/* Admin Grid Layout */
.admin-container {
    width: 100%;
    max-width: 1200px; /* Wider layout for administration */
    margin: 0 auto;
    padding: 20px 20px 60px 20px;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 15px;
}

.admin-profile {
    display: flex;
    align-items: center;
    gap: 15px;
}

.admin-user-info {
    text-align: right;
}

.admin-username {
    font-weight: 700;
    font-size: 14px;
}

.admin-role {
    font-size: 12px;
    color: var(--primary);
}

.btn-logout {
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 8px;
    background: none;
    border: 1px solid var(--danger);
    color: var(--danger);
    cursor: pointer;
    transition: var(--transition);
}

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

/* KPI Cards */
.kpi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.kpi-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: var(--shadow);
}

.kpi-icon {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.kpi-icon.blue {
    background-color: rgba(33, 150, 243, 0.1);
    color: #2196f3;
}

.kpi-icon.green {
    background-color: rgba(0, 230, 118, 0.1);
    color: var(--primary);
}

.kpi-icon.orange {
    background-color: rgba(255, 152, 0, 0.1);
    color: #ff9800;
}

.kpi-icon.purple {
    background-color: rgba(156, 39, 176, 0.1);
    color: #9c27b0;
}

.kpi-details {
    display: flex;
    flex-direction: column;
}

.kpi-title {
    font-size: 13px;
    color: var(--text-muted);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.kpi-value {
    font-size: 24px;
    font-weight: 800;
}

/* Main Dashboard Panels */
.admin-main-grid {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    gap: 30px;
}

@media (max-width: 992px) {
    .admin-main-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

.admin-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 24px;
    margin-bottom: 30px;
    box-shadow: var(--shadow);
    min-width: 0;
}

.admin-card-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 12px;
}

/* Table styling */
.table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.admin-table th {
    padding: 12px 16px;
    font-size: 12px;
    text-transform: uppercase;
    color: var(--text-muted);
    font-weight: 700;
    border-bottom: 2px solid var(--border-color);
}

.admin-table td {
    padding: 16px;
    font-size: 14px;
    border-bottom: 1px solid var(--border-color);
    vertical-align: middle;
}

.admin-table tbody tr:hover {
    background-color: rgba(255, 255, 255, 0.02);
}

/* Badges */
.badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.badge-pending {
    background-color: rgba(255, 193, 7, 0.15);
    color: var(--warning);
}

.badge-confirmed {
    background-color: rgba(0, 230, 118, 0.15);
    color: var(--primary);
}

.badge-canceled {
    background-color: rgba(255, 61, 0, 0.15);
    color: var(--danger);
}

/* Actions in tables */
.actions-cell {
    display: flex;
    gap: 8px;
}

.btn-action {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 13px;
    transition: var(--transition);
    color: white;
}

.btn-action.confirm {
    background-color: rgba(0, 230, 118, 0.2);
    color: var(--primary);
}
.btn-action.confirm:hover {
    background-color: var(--primary);
    color: var(--text-dark);
}

.btn-action.cancel {
    background-color: rgba(255, 193, 7, 0.2);
    color: var(--warning);
}
.btn-action.cancel:hover {
    background-color: var(--warning);
    color: var(--text-dark);
}

.btn-action.delete {
    background-color: rgba(255, 61, 0, 0.2);
    color: var(--danger);
}
.btn-action.delete:hover {
    background-color: var(--danger);
    color: white;
}

/* Settings Forms */
.setting-row {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding-bottom: 20px;
}

.setting-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.setting-label-box {
    display: flex;
    flex-direction: column;
}

.setting-label {
    font-weight: 700;
    font-size: 14px;
}

.setting-desc {
    font-size: 12px;
    color: var(--text-muted);
}

.setting-input-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.setting-input-wrapper .form-control {
    max-width: 150px;
    padding: 10px 12px;
}

/* Tags (for Blocked Dates) */
.blocked-dates-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.blocked-date-tag {
    background-color: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 6px 12px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
}

.blocked-date-tag i {
    cursor: pointer;
    color: var(--danger);
    transition: var(--transition);
}

.blocked-date-tag i:hover {
    transform: scale(1.2);
}

/* Toast Notification */
.toast {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #1e1e1e;
    color: white;
    border-left: 4px solid var(--primary);
    border-radius: 6px;
    padding: 16px 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 10000;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
}

.toast i {
    font-size: 18px;
}

.toast-success { border-left-color: var(--primary); }
.toast-success i { color: var(--primary); }
.toast-error { border-left-color: var(--danger); }
.toast-error i { color: var(--danger); }

/* Utility Styles */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-primary { color: var(--primary); }
.text-danger { color: var(--danger); }
.font-bold { font-weight: 700; }
.d-none { display: none !important; }

/* Responsive adjustments */
@media (max-width: 768px) {
    .admin-container {
        padding: 15px 15px 40px 15px;
    }
    
    .admin-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 15px;
        padding-bottom: 15px;
    }
    
    .admin-profile {
        flex-direction: column;
        width: 100%;
        gap: 10px;
    }
    
    .admin-user-info {
        text-align: center;
    }

    .btn-logout {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px 30px 15px;
    }
    
    .slots-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-banner {
        aspect-ratio: 1080 / 1350;
        height: auto;
    }
    
    .hero-title {
        font-size: 20px;
    }
    
    .calendar-days {
        gap: 4px;
    }
    
    .calendar-day {
        font-size: 13px;
    }

    .login-card {
        padding: 20px 15px;
    }

    .admin-card {
        padding: 15px;
    }
    
    .setting-input-wrapper .form-control {
        max-width: 100%;
    }
}

/* Court Selector Styles */
.court-cards-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
}

.court-card {
    position: relative;
    background-size: cover;
    background-position: center;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    min-height: 150px;
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
    display: flex;
}

.court-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, rgba(10, 14, 18, 0.95) 0%, rgba(10, 14, 18, 0.82) 60%, rgba(10, 14, 18, 0.60) 100%);
    z-index: 1;
    transition: var(--transition);
}

.court-card:hover .court-card-overlay {
    background: linear-gradient(90deg, rgba(10, 14, 18, 0.90) 0%, rgba(10, 14, 18, 0.75) 60%, rgba(10, 14, 18, 0.45) 100%);
}

.court-card-content {
    position: relative;
    z-index: 2;
    padding: 22px;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 18px;
}

.court-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 230, 118, 0.25);
}

.court-card-icon {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.court-card-icon.society {
    background: rgba(0, 230, 118, 0.2);
    color: var(--primary);
    border: 1px solid rgba(0, 230, 118, 0.4);
}

.court-card-icon.volei {
    background: rgba(255, 193, 7, 0.2);
    color: var(--warning);
    border: 1px solid rgba(255, 193, 7, 0.4);
}

.court-card-info {
    flex: 1;
}

.court-card-name {
    font-weight: 800;
    font-size: 19px;
    margin-bottom: 5px;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

.court-card-desc {
    font-size: 13px;
    color: #e0e0e0;
    margin-bottom: 8px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

.court-card-hours {
    font-size: 12px;
    color: var(--primary);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(0, 0, 0, 0.45);
    padding: 4px 10px;
    border-radius: 20px;
    width: fit-content;
    border: 1px solid rgba(0, 230, 118, 0.3);
}

.court-card-hours i {
    font-size: 11px;
}

.court-card-arrow {
    color: #ffffff;
    font-size: 18px;
    transition: var(--transition);
    flex-shrink: 0;
}

.court-card:hover .court-card-arrow {
    color: var(--primary);
    transform: translateX(6px);
}

/* Cardápio Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-overlay.active {
    display: flex;
    animation: fadeIn 0.3s ease;
}

.modal-cardapio-content {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    width: 100%;
    max-width: 500px;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.modal-cardapio-header {
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.03);
}

.modal-cardapio-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-close-modal {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 20px;
    cursor: pointer;
    padding: 4px;
    transition: var(--transition);
}

.btn-close-modal:hover {
    color: var(--primary);
}

.modal-cardapio-body {
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cardapio-category h4 {
    margin: 0 0 12px 0;
    font-size: 15px;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cardapio-items {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cardapio-item {
    display: flex;
    align-items: baseline;
    font-size: 14px;
}

.item-name {
    color: var(--text-light);
    font-weight: 500;
}

.item-dots {
    flex: 1;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.15);
    margin: 0 8px;
}

.item-price {
    color: var(--primary);
    font-weight: 700;
}

.modal-cardapio-footer {
    padding: 16px 20px;
    border-top: 1px solid var(--border-color);
    background: rgba(0, 0, 0, 0.2);
}

/* Category Banners & Cardapio Visual Enhancements */
.category-banner {
    position: relative;
    width: 100%;
    height: 110px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.category-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.65) contrast(1.1);
}

.category-title-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 12px 14px;
    background: linear-gradient(transparent, rgba(10, 10, 10, 0.95));
}

.category-title-overlay h4 {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 8px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

.cardapio-subtitle-info {
    font-size: 12px;
    color: #ffb74d;
    background: rgba(255, 183, 77, 0.1);
    border: 1px dashed rgba(255, 183, 77, 0.3);
    border-radius: 8px;
    padding: 8px 12px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.category-header-simple h4 {
    margin: 0 0 10px 0;
    font-size: 15px;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cardapio-item i {
    font-size: 13px;
    margin-right: 6px;
    color: var(--primary);
}

/* Individual Product Cards with Thumbnails */
.cardapio-items {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cardapio-item-card {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 8px 12px;
    transition: var(--transition);
}

.cardapio-item-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(0, 230, 118, 0.35);
    transform: translateX(4px);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}

.product-thumb {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    object-fit: cover;
    background: #111;
    border: 1px solid rgba(255, 255, 255, 0.12);
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

.product-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.product-info .item-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-light);
}

.product-info .item-desc {
    font-size: 11px;
    color: var(--text-muted);
}

.cardapio-item-card .item-price {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary);
    background: rgba(0, 230, 118, 0.12);
    padding: 5px 12px;
    border-radius: 8px;
    border: 1px solid rgba(0, 230, 118, 0.25);
    white-space: nowrap;
}





 
 / *   - - -   G l o b a l   i P h o n e   O v e r f l o w   F i x   - - -   * / 
 h t m l ,   b o d y   { 
         o v e r f l o w - x :   h i d d e n   ! i m p o r t a n t ; 
         m a x - w i d t h :   1 0 0 v w   ! i m p o r t a n t ; 
 } 
 . a d m i n - c o n t a i n e r ,   . a d m i n - c a r d ,   . c o n t a i n e r   { 
         m a x - w i d t h :   1 0 0 v w ; 
         b o x - s i z i n g :   b o r d e r - b o x ; 
         o v e r f l o w - w r a p :   b r e a k - w o r d ; 
 } 
 . a d m i n - c a r d   { 
         o v e r f l o w :   h i d d e n ; 
 } 
 i n p u t ,   s e l e c t ,   t e x t a r e a   { 
         m a x - w i d t h :   1 0 0 % ; 
         m i n - w i d t h :   0 ; 
 } 
  
 