/* QR Code for Mobile Access - Desktop Only */
.home-qr-code-container {
    display: none; /* Hidden by default, shown on larger screens */
    position: fixed;
    top: 120px;
    right: 20px;
    z-index: 1000;
    max-width: 280px;
    animation: slideInRight 0.5s ease-out;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.home-qr-code-card {
    background: white;
    border-radius: 16px;
    padding: 1.75rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    position: relative;
}

.qr-code-close-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #f1f5f9;
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #64748b;
    transition: all 0.2s ease;
    padding: 0;
    z-index: 10;
}

.qr-code-close-btn:hover {
    background: #e2e8f0;
    color: #1f2937;
    transform: scale(1.1);
}

.qr-code-close-btn:active {
    transform: scale(0.95);
}

.qr-code-close-btn svg {
    width: 16px;
    height: 16px;
}

.home-qr-code-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(0, 0, 0, 0.05);
}

.qr-code-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 0.75rem;
    color: #10b981;
}

.home-qr-code-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.home-qr-code-card > p {
    font-size: 0.875rem;
    color: #64748b;
    margin-bottom: 1.25rem;
    line-height: 1.5;
}

.qr-code-image-wrapper {
    background: white;
    padding: 1rem;
    border-radius: 12px;
    margin: 1rem 0;
    display: inline-block;
    border: 2px solid #e2e8f0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.qr-code-image {
    width: 200px;
    height: 200px;
    display: block;
    border-radius: 4px;
}

.qr-code-hint {
    font-size: 0.8125rem;
    color: #10b981;
    font-weight: 500;
    margin-top: 0.75rem;
    margin-bottom: 0;
}

/* QR Code Leaf Decorations */
.qr-code-leaf {
    position: absolute;
    width: 50px;
    height: auto;
    opacity: 1;
    pointer-events: none;
    z-index: 1;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.15)) drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.qr-code-leaf-left {
    top: 25px;
    left: -10px;
    transform: rotate(-35deg);
}

.qr-code-leaf-right {
    bottom: 10px;
    right: 10px;
    transform: rotate(15deg) scaleX(-1);
}

@media (max-width: 1023px) {
    .qr-code-leaf {
        width: 40px;
    }
    
    .qr-code-leaf-left {
        top: -15px;
        left: -20px;
    }
    
    .qr-code-leaf-right {
        bottom: -15px;
        right: -20px;
    }
}

/* Show QR code on larger screens only (1024px and above) */
@media (min-width: 1024px) {
    .home-qr-code-container {
        display: block;
    }
}

/* Hide on tablets and mobile - not needed since users are already on mobile */
@media (max-width: 1023px) {
    .home-qr-code-container {
        display: none !important;
    }
    
    .floating-qr-btn {
        display: none !important;
    }
}

/* Adjust position on very large screens */
@media (min-width: 1400px) {
    .home-qr-code-container {
        right: 40px;
        top: 140px;
    }
}

/* Floating QR Code Button */
.floating-qr-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #10b981;
    border: none;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4), 0 2px 6px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    padding: 0;
    visibility: visible;
    opacity: 1;
}

.floating-qr-btn.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.floating-qr-btn:hover {
    background: #059669;
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 16px rgba(16, 185, 129, 0.5), 0 4px 8px rgba(0, 0, 0, 0.3);
}

.floating-qr-btn:active {
    transform: translateY(0) scale(0.95);
}

.floating-qr-icon {
    width: 32px;
    height: 32px;
    filter: brightness(0) invert(1); /* Makes the icon white */
    transition: transform 0.3s ease;
}

.floating-qr-btn:hover .floating-qr-icon {
    transform: rotate(90deg);
}

/* Responsive adjustments for mobile and tablets */
@media (max-width: 1023px) {
    .floating-qr-btn {
        bottom: 20px;
        right: 20px;
        width: 56px;
        height: 56px;
    }
    
    .floating-qr-icon {
        width: 28px;
        height: 28px;
    }
}

.home-action-strip {
    display: flex;
    justify-content: center;
    width: 100%;
    margin: 1rem auto 2rem auto;
}

.home-action-strip__content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.home-action-btn {
    min-width: 160px;
    text-align: center;
    font-weight: 600;
    letter-spacing: 0.03em;
}

.home-action-btn.btn-primary {
    background: #10b981;
    border: none;
}

.home-action-btn.btn-primary:hover {
    background: #059669;
}

.home-action-btn.btn-secondary {
    background: transparent;
    border: 2px solid #94a3b8;
    color: #1f2937;
}

@media (max-width: 768px) {
    .home-action-strip {
        padding: 0 1rem;
    }
    
    .home-action-strip__content {
        flex-wrap: nowrap;
        gap: 0.5rem;
    }
    .home-action-btn {
        flex: 0 0 48%;
        min-width: auto;
        font-weight: 600;
        font-size: 0.95rem;
        padding: 0.6rem 0.9rem;
        letter-spacing: 0.02em;
    }
}
/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --brand-primary: #047857;
    --brand-accent: #10b981;
    --brand-accent-light: #34d399;
    --brand-highlight: #059669;
    --brand-white: #ffffff;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    background: linear-gradient(135deg, #047857 0%, #059669 100%);
    color: white;
    padding: 0.75rem 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.nav-brand a {
    color: white;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: bold;
}

.nav-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

.nav-menu {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.nav-menu a {
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    transition: color 0.3s ease, opacity 0.3s ease;
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0;
    font-weight: 500;
    isolation: isolate;
}

.nav-menu a:not(.btn-sell)::before {
    content: '';
    position: absolute;
    left: 50%;
    width: 72%;
    border-radius: 999px;
    transform: translateX(-50%) scaleX(0);
    transform-origin: center;
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
    pointer-events: none;
}

.nav-menu a:not(.btn-sell)::before {
    bottom: -0.3rem;
    height: 14px;
    background-image: url('/assets/images/Green%20Lemon%20Plant%20Leaf%20on%20Transparent%20Background%20Png%20-%20640x339.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    box-shadow: none;
    filter: none;
    z-index: -1;
}

.nav-menu a:hover {
    opacity: 1;
    color: var(--brand-accent-light);
}

.nav-menu a.active {
    color: var(--brand-accent-light);
    text-shadow: 0 0 12px rgba(52, 211, 153, 0.65);
}

.nav-menu a.active:not(.btn-sell)::before,
.nav-menu a:not(.btn-sell):hover::before {
    transform: translateX(-50%) scaleX(1);
    opacity: 1;
}

.nav-menu .btn-sell {
    background-color: #10b981;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-weight: bold;
    transition: background-color 0.3s;
}

.nav-menu .btn-sell:hover {
    background-color: #059669;
    opacity: 1;
}

/* Main Content */
main {
    min-height: calc(100vh - 200px);
    padding: 2rem 0;
}

/* Forms */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #555;
}

/* Make required field asterisks more visible - red and bold */
.form-group label span.required-asterisk {
    color: #10b981;
    font-weight: bold;
    font-size: 1.1em;
    margin-left: 2px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    font-family: inherit;
}

.password-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.password-input-wrapper input[type="password"],
.password-input-wrapper input[type="text"] {
    padding-right: 3rem;
    background-image: none !important;
    background-repeat: no-repeat !important;
}

.password-toggle {
    position: absolute;
    right: 0.75rem;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    transition: opacity 0.2s ease;
}

.password-toggle:hover {
    opacity: 0.7;
}

.password-toggle:focus {
    outline: none;
}

.password-toggle .eye-icon {
    width: 20px;
    height: 20px;
    user-select: none;
}

/* Hide browser password manager dropdown arrow - Comprehensive */
input[type="password"]::-webkit-credentials-auto-fill-button,
input[type="password"]::-webkit-strong-password-auto-fill-button,
input[type="password"]::-ms-reveal,
input[type="password"]::-ms-clear {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    position: absolute !important;
    right: -9999px !important;
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
}

/* Additional hiding for password fields - Explicitly remove any dropdown arrows */
input[type="password"] {
    -webkit-text-security: disc !important;
    background-image: none !important;
    background-repeat: no-repeat !important;
    background-position: unset !important;
}

/* Hide autofill icons in Chrome/Safari */
input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 30px white inset !important;
}

.password-input-wrapper input[type="password"],
.password-input-wrapper input[type="text"] {
    background-image: none !important;
    background-repeat: no-repeat !important;
    background-position: unset !important;
    background-clip: padding-box !important;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.form-group small {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.875rem;
    color: #666;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: #10b981;
    color: white;
    text-decoration: none;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: #059669;
}

.btn-primary {
    background-color: #10b981;
}

.btn-primary:hover {
    background-color: #059669;
}

.btn-secondary {
    background-color: #95a5a6;
}

.btn-secondary:hover {
    background-color: #7f8c8d;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.btn-block {
    width: 100%;
}

/* Ticket Form */
.ticket-form-container {
    max-width: 700px;
    margin: 0 auto;
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.ticket-form-container h1 {
    margin-bottom: 1.5rem;
    color: #2c3e50;
}

/* Alerts */
.alert {
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 1.5rem;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Ticket View */
.ticket-view-container {
    max-width: 900px;
    margin: 0 auto;
}

.search-form {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.ticket-details {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.ticket-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #eee;
}

.ticket-meta {
    display: flex;
    gap: 0.5rem;
}

.ticket-info {
    margin-bottom: 1.5rem;
}

.ticket-info p {
    margin-bottom: 0.5rem;
}

.ticket-message {
    margin-bottom: 2rem;
    padding: 1rem;
    background-color: #f8f9fa;
    border-radius: 4px;
}

.ticket-message h3 {
    margin-bottom: 0.5rem;
}

/* Badges */
.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.875rem;
    font-weight: 500;
}

.badge-open {
    background-color: #e3f2fd;
    color: #1976d2;
}

.badge-progress {
    background-color: #fff3e0;
    color: #f57c00;
}

.badge-resolved {
    background-color: #e8f5e9;
    color: #388e3c;
}

.badge-closed {
    background-color: #f3e5f5;
    color: #7b1fa2;
}

.badge-low {
    background-color: #e0e0e0;
    color: #616161;
}

.badge-medium {
    background-color: #fff9c4;
    color: #f57f17;
}

.badge-high {
    background-color: #ffccbc;
    color: #e64a19;
}

.badge-urgent {
    background-color: #ffcdd2;
    color: #c62828;
}

/* Replies */
.ticket-replies {
    margin-top: 2rem;
}

.ticket-replies h3 {
    margin-bottom: 1rem;
}

.reply {
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 4px;
    border-left: 4px solid #10b981;
}

.reply.admin {
    background-color: #e3f2fd;
    border-left-color: #2196f3;
}

.reply.user {
    background-color: #f5f5f5;
    border-left-color: #9e9e9e;
}

.reply-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.reply-date {
    color: #666;
}

.reply-content {
    color: #333;
}

/* Login */
.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.login-box {
    background: white;
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    width: 100%;
    max-width: 400px;
}

.login-box h1 {
    margin-bottom: 1.5rem;
    text-align: center;
    color: #2c3e50;
}

.login-footer {
    margin-top: 1.5rem;
    text-align: center;
    font-size: 0.875rem;
    color: #666;
}

.login-footer a {
    color: #10b981;
    text-decoration: none;
}

.login-footer a:hover {
    text-decoration: underline;
}

/* Dashboard */
.dashboard-container {
    max-width: 1400px;
    margin: 0 auto;
}

.dashboard-header {
    margin-bottom: 2rem;
}

.dashboard-header h1 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    text-align: center;
}

.stat-card h3 {
    color: #666;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: #2c3e50;
}

.stat-open .stat-number {
    color: #1976d2;
}

.stat-progress .stat-number {
    color: #f57c00;
}

.stat-resolved .stat-number {
    color: #388e3c;
}

.dashboard-actions {
    margin-bottom: 2rem;
}

.recent-tickets {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.recent-tickets h2 {
    margin-bottom: 1.5rem;
    color: #2c3e50;
}

/* Tables */
.tickets-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
}

.tickets-table thead {
    background-color: #2c3e50;
    color: white;
}

.tickets-table th,
.tickets-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.tickets-table tbody tr:hover {
    background-color: #f8f9fa;
}

.text-center {
    text-align: center;
}

/* Tickets Management */
.tickets-management {
    max-width: 1400px;
    margin: 0 auto;
}

.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.page-header h1 {
    color: #2c3e50;
}

.tickets-filters {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.5rem 1rem;
    background-color: white;
    color: #666;
    text-decoration: none;
    border-radius: 4px;
    border: 1px solid #ddd;
    transition: all 0.3s;
}

.filter-btn:hover,
.filter-btn.active {
    background-color: #10b981;
    color: white;
    border-color: #10b981;
}

.ticket-detail-view {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.ticket-actions {
    margin: 2rem 0;
    padding: 1.5rem;
    background-color: #f8f9fa;
    border-radius: 4px;
}

.status-form {
    display: flex;
    gap: 1rem;
    align-items: flex-end;
}

.status-form .form-group {
    flex: 1;
    margin-bottom: 0;
}

.status-form select {
    margin-right: 1rem;
}

.ticket-replies-section {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid #eee;
}

.reply-form {
    margin-top: 1.5rem;
}

.back-link {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #eee;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #047857 0%, #059669 100%);
    color: #ffffff;
    padding: 1.5rem 0;
    margin-top: 3rem;
    text-align: center;
}

.footer a {
    color: #ffffff;
    opacity: 0.9;
    transition: opacity 0.2s ease;
}

.footer a:hover {
    opacity: 1;
    text-decoration: underline;
}

.footer p {
    color: #ffffff;
    opacity: 0.95;
}

/* Responsive */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 280px;
        background: linear-gradient(135deg, #047857 0%, #059669 100%);
        flex-direction: column;
        align-items: flex-start;
        padding: 5rem 2rem 2rem;
        gap: 1.5rem;
        transition: right 0.3s ease;
        z-index: 1000;
        box-shadow: -2px 0 10px rgba(0,0,0,0.2);
        overflow-y: auto;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu a {
        width: 100%;
        padding: 0.75rem 0;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    .nav-menu a:not(.btn-sell)::before {
        left: 0;
        bottom: -0.15rem;
        width: 100%;
        transform-origin: left;
    }

    .nav-menu a.active:not(.btn-sell)::before,
    .nav-menu a:not(.btn-sell):hover::before {
        transform-origin: left;
    }
    
    .nav-menu .btn-sell {
        width: 100%;
        text-align: center;
        margin-top: 1rem;
    }
    
    /* Overlay when menu is open */
    .nav-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background-color: rgba(0,0,0,0.5);
        z-index: 999;
        opacity: 0;
        transition: opacity 0.3s ease;
    }
    
    .nav-overlay.active {
        display: block;
        opacity: 1;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .tickets-table {
        font-size: 0.875rem;
    }
    
    .tickets-table th,
    .tickets-table td {
        padding: 0.5rem;
    }
    
    .status-form {
        flex-direction: column;
    }
    
    .page-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
}

/* Home Page */
/* Events Carousel */
.events-carousel-container {
    position: relative;
    margin-bottom: 3rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 2rem 1rem 0;
}

.events-carousel {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    background: transparent;
    border: 2px solid #e2e8f0;
    height: 350px;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: translateX(100%);
    transition: transform 0.6s ease-in-out, opacity 0.6s ease-in-out;
    pointer-events: none;
}

.carousel-slide.active {
    position: absolute;
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
    z-index: 2;
}

.carousel-slide.prev {
    transform: translateX(-100%);
}

.carousel-event-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    height: 350px;
    box-shadow: 16px 16px 16px 16px rgba(0, 0, 0, 0.1), 16px 16px 16px 16px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    overflow: hidden;
}

/* Hide details section on smaller screens */
.carousel-event-details {
    display: none;
}

/* Larger screens - show details and QR in the content column */
@media (min-width: 1200px) {
    .carousel-event-content {
        justify-content: flex-start;
        padding: 1.25rem 1.5rem;
        gap: 0.75rem;
    }
    
    .carousel-event-content h2 {
        font-size: 1.5rem;
        margin: 0;
    }
    
    .carousel-event-details {
        display: flex !important;
        flex-direction: column;
        gap: 0.5rem;
        margin: 0;
        padding-top: 0.75rem;
        border-top: 1px solid #e2e8f0;
        width: 100%;
        flex-shrink: 0;
    }
    
    .carousel-info-item {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        color: #475569;
        font-size: 0.8125rem;
    }
    
    .carousel-info-item svg {
        flex-shrink: 0;
        color: #10b981;
    }
    
    .carousel-info-item span {
        line-height: 1.4;
    }
    
    .carousel-event-qr {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
        margin-top: 0.5rem;
    }
    
    .carousel-qr-image {
        width: 80px;
        height: 80px;
        display: block;
        border-radius: 4px;
        border: 2px solid #e2e8f0;
        padding: 0.25rem;
        background: white;
    }
    
    .carousel-qr-hint {
        margin: 0;
        font-size: 0.6875rem;
        color: #10b981;
        font-weight: 500;
    }
}

.carousel-event-image {
    width: 100%;
    height: 350px;
    overflow: hidden;
    position: relative;
}

.carousel-event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-event-content {
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    text-align: center;
    background: transparent;
    height: 350px;
    gap: 1rem;
    overflow-y: auto;
}

.carousel-event-content h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
    line-height: 1.3;
    text-align: center;
    flex-shrink: 0;
    margin-bottom: 0.25rem;
}

.carousel-event-info {
    display: none; /* Hidden by default on mobile */
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
    align-items: center;
    margin-bottom: 0.5rem;
    flex-shrink: 0;
}

/* Show date/venue info only on large screens */
@media (min-width: 768px) {
    .carousel-event-info {
        display: flex;
    }
}

.carousel-event-date,
.carousel-event-venue {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #64748b;
    font-size: 0.9375rem;
    line-height: 1.4;
}

.carousel-event-date svg,
.carousel-event-venue svg {
    flex-shrink: 0;
    color: #10b981;
}

.carousel-event-date span,
.carousel-event-venue span {
    text-align: left;
    word-break: break-word;
}

.carousel-event-price {
    margin: 0.25rem 0;
    text-align: center;
    width: 100%;
    display: flex;
    justify-content: center;
    flex-shrink: 0;
}

.carousel-event-price .event-simple-price {
    text-align: center;
    font-size: 1.25rem;
    font-weight: 600;
}

.carousel-event-content .btn-primary {
    width: 100%;
    max-width: 300px;
    text-align: center;
    background: #10b981;
    color: white;
    border: 2px solid #10b981;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    display: block;
    flex-shrink: 0;
    margin-top: auto;
    align-self: center;
}

.carousel-event-content .btn-primary:hover {
    background: #059669;
    border-color: #059669;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.carousel-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.carousel-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid #e2e8f0;
    background: white;
    color: #1e293b;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.carousel-btn:hover {
    background: #10b981;
    color: white;
    border-color: #10b981;
    transform: scale(1.05);
}

.carousel-btn svg {
    width: 24px;
    height: 24px;
}

.carousel-dots {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: #cbd5e1;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0;
}

.carousel-dot.active {
    background: #10b981;
    width: 32px;
    border-radius: 6px;
}

.carousel-dot:hover {
    background: #94a3b8;
}

@media (max-width: 768px) {
    .events-carousel-container {
        padding: 1.5rem 1rem 0;
    }
    
    .events-carousel {
        height: auto;
        min-height: 400px;
    }
    
    .carousel-event-card {
        grid-template-columns: 1fr;
        height: auto;
        min-height: 400px;
    }
    
    .carousel-event-image {
        height: 200px;
        min-height: 200px;
    }
    
    .carousel-event-content {
        padding: 1rem;
        height: auto;
        min-height: 200px;
        gap: 0.5rem;
    }
    
    .carousel-event-content h2 {
        font-size: 1.75rem;
        margin-bottom: 0;
    }
    
    .carousel-event-price {
        margin-bottom: 0;
    }
    
    .carousel-controls {
        margin-top: 1rem;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
    }
    
    .carousel-slide {
        height: auto;
    }
}

.home-features {
    margin-bottom: 3rem;
}

.home-features h2 {
    margin-bottom: 2rem;
    color: #2c3e50;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.events-grid-account {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

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

.event-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.event-image {
    width: 100%;
    height: 200px;
    background-color: #ddd;
    overflow: visible;
    position: relative;
}

.event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.event-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #e0e0e0;
    color: #666;
}

.event-content {
    padding: 1.5rem;
}

.event-card-simple .event-image {
    height: 260px;
    background: #1f2933;
}

.event-share-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: rgba(15, 23, 42, 0.5);
    color: #f8fafc;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
    z-index: 2;
    opacity: 0.85;
}

.event-share-btn:hover,
.event-share-btn:focus-visible {
    background: rgba(59, 130, 246, 0.75);
    opacity: 1;
    transform: translateY(-1px);
    outline: none;
}

.event-share-btn svg {
    width: 14px;
    height: 14px;
}

.event-share-menu {
    position: absolute;
    top: 60px;
    right: 12px;
    background: rgba(15, 23, 42, 0.94);
    border-radius: 14px;
    padding: 0.75rem;
    min-width: 165px;
    box-shadow: 0 15px 30px rgba(15, 23, 42, 0.45);
    display: none;
    flex-direction: column;
    gap: 0.35rem;
    z-index: 3;
}

.event-share-menu::before {
    content: '';
    position: absolute;
    top: -8px;
    right: 22px;
    width: 14px;
    height: 14px;
    background: inherit;
    transform: rotate(45deg);
}

.event-share-menu.open {
    display: flex;
}

.share-option {
    background: rgba(255, 255, 255, 0.08);
    color: #f1f5f9;
    border: 1px solid rgba(148, 163, 184, 0.15);
    border-radius: 999px;
    padding: 0.4rem 0.85rem;
    font-size: 0.85rem;
    cursor: pointer;
    text-align: left;
    transition: background 0.2s ease, transform 0.2s ease;
}

.share-option:hover,
.share-option:focus-visible {
    background: rgba(59, 130, 246, 0.25);
    outline: none;
}

.share-feedback {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(34, 197, 94, 0.95);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    min-width: 120px;
    text-align: center;
}

.share-feedback.visible {
    opacity: 1;
    transform: translateX(-50%) translateY(-4px);
}

.event-card-simple .event-placeholder {
    flex-direction: column;
    gap: 0.75rem;
    background: linear-gradient(135deg, #4e54c8 0%, #8f94fb 100%);
    color: white;
}

.event-card-simple .event-placeholder svg {
    width: 48px;
    height: 48px;
    opacity: 0.85;
}

.event-card-simple .event-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.75rem;
}

.event-organizer-line {
    margin: 0;
    font-size: 0.9rem;
    color: #6b7280;
}

.event-card-simple .event-content h3 {
    margin: 0;
    color: #1f2933;
    font-size: 1.125rem;
    font-weight: 600;
}

.event-simple-price {
    font-size: 1rem;
    font-weight: 600;
    color: #10b981;
}

.event-simple-price.free {
    color: #059669;
}

.event-card-simple .btn-block {
    margin-top: auto;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.event-content h3 {
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

.event-description {
    color: #666;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.event-venue,
.event-date {
    margin: 0.25rem 0;
    color: #555;
    font-size: 0.9rem;
}

.event-price {
    font-size: 1.5rem;
    font-weight: bold;
    color: #10b981;
    margin: 0.5rem 0;
}

.event-tickets {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.home-cta-wrapper {
    position: relative;
    margin-bottom: 3rem;
    margin-top: 2rem;
    padding-top: 60px;
    overflow: visible;
}

.home-cta-leaves {
    position: absolute;
    top: -60px;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10;
    pointer-events: none;
    overflow: visible;
}

.home-cta {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('/assets/images/concert.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

.home-cta-leaf {
    position: absolute;
    pointer-events: none;
    opacity: 1;
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.4)) drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
    object-fit: contain;
}

.home-cta-leaf-left {
    left: 20px;
    top: 70px;
    width: 200px;
    height: auto;
    transform: rotate(-15deg);
}

.home-cta-leaf-right {
    right: 20px;
    bottom: -80px;
    width: 250px;
    height: auto;
    transform: rotate(25deg);
}

.home-cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(62, 59, 59, 0.6) 0%, rgba(102, 97, 97, 0.7) 100%);
    z-index: 1;
}

.home-cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 3rem 2rem;
    max-width: 700px;
    color: white;
}

.home-cta-content h2 {
    margin-bottom: 1rem;
    color: white;
    font-size: 2.5rem;
    font-weight: 700;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.home-cta-content p {
    margin-bottom: 2rem;
    font-size: 1.125rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
}

.home-cta-content .btn-primary {
    background: white;
    color: #10b981;
    border: 2px solid white;
    font-weight: 600;
    padding: 0.875rem 2rem;
    font-size: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: all 0.2s ease;
}

.home-cta-content .btn-primary:hover {
    background: #f8fafc;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
    .home-cta-wrapper {
        padding-top: 40px;
    }
    
    .home-cta {
        min-height: 350px;
        overflow: hidden;
    }
    
    .home-cta-leaf {
        opacity: 1;
    }
    
    .home-cta-leaf-left {
        left: 10px;
        top: 50px;
        width: 150px;
        transform: rotate(-10deg);
    }
    
    .home-cta-leaf-right {
        right: 10px;
        bottom: -70px;
        width: 180px;
        transform: rotate(40deg);
    }
    
    .home-cta-content {
        padding: 2rem 1.5rem;
    }
    
    .home-cta-content h2 {
        font-size: 2rem;
    }
    
    .home-cta-content p {
        font-size: 1rem;
    }
}

.no-events {
    text-align: center;
    padding: 4rem 2rem;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 16px;
    border: 2px dashed #cbd5e1;
    margin: 3rem 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.no-events-gif {
    width: 120px;
    height: 120px;
    margin: 0 auto 2rem;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.25);
    overflow: hidden;
    padding: 8px;
}

.no-events-gif-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.no-events-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 1rem 0;
    line-height: 1.2;
}

.no-events-message {
    font-size: 1.125rem;
    color: #64748b;
    margin: 0 0 2rem 0;
    line-height: 1.6;
}

.no-events-message strong {
    color: #1e293b;
    font-weight: 600;
}

.no-events-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    font-size: 1.125rem;
    font-weight: 600;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
    transition: all 0.3s ease;
}

.no-events-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(16, 185, 129, 0.4);
}

.no-events-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.no-events-actions .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 1.75rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.no-events-actions .btn-primary {
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.no-events-actions .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(16, 185, 129, 0.4);
}

@media (max-width: 768px) {
    .no-events {
        padding: 3rem 1.5rem;
        margin: 2rem 0;
    }
    
    .no-events-gif {
        width: 100px;
        height: 100px;
        margin-bottom: 1.5rem;
        padding: 6px;
    }
    
    .no-events-title {
        font-size: 1.5rem;
    }
    
    .no-events-message {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .no-events-cta {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
        width: 100%;
    }
    
    .no-events-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .no-events-actions .btn {
        width: 100%;
    }
}

/* Events Page */
.events-page {
    max-width: 1400px;
    margin: 0 auto;
}

.events-search {
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid #e2e8f0;
}

.events-search-status {
    margin-top: 0.75rem;
    font-size: 0.875rem;
    color: #64748b;
    min-height: 1.25rem;
    font-weight: 500;
    display: none;
}

.events-search-status:not(:empty) {
    display: block;
}

.events-search-status.loading {
    color: #059669;
}

/* Tickets Search */
.tickets-search {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid #e2e8f0;
}

.tickets-search input {
    width: 100%;
    padding: 0.875rem 1.25rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    background: #f8fafc;
    transition: all 0.2s ease;
    font-weight: 500;
}

.tickets-search input:focus {
    outline: none;
    border-color: #059669;
    background: white;
    box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.1);
}

.tickets-search input::placeholder {
    color: #94a3b8;
    font-weight: 400;
}

.tickets-search-status {
    margin-top: 0.75rem;
    font-size: 0.875rem;
    color: #64748b;
    min-height: 1.25rem;
    font-weight: 500;
    display: none;
}

.tickets-search-status:not(:empty) {
    display: block;
}

.events-search form {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.events-search input {
    flex: 1;
    padding: 0.875rem 1.25rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    background: #f8fafc;
    transition: all 0.2s ease;
    font-weight: 500;
}

.events-search input:focus {
    outline: none;
    border-color: #059669;
    background: white;
    box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.1);
}

.events-search input::placeholder {
    color: #94a3b8;
    font-weight: 400;
}

.events-search .btn {
    padding: 0.875rem 1.5rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.events-search .btn-primary {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    border: none;
    box-shadow: 0 2px 8px rgba(5, 150, 105, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem;
    min-width: 48px;
}

.events-search .btn-primary svg {
    width: 20px;
    height: 20px;
    color: white;
}

.events-search .btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(5, 150, 105, 0.35);
}

.events-search .btn-secondary {
    background: white;
    border: 2px solid #e2e8f0;
    color: #64748b;
}

.events-search .btn-secondary:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: #475569;
}

/* Responsive search button */
@media (max-width: 768px) {
    .events-search .btn-primary {
        padding: 0.875rem;
        min-width: 44px;
    }
    
    .events-search .btn-primary svg {
        width: 18px;
        height: 18px;
    }
}

/* About Page */
.about-page {
    max-width: 900px;
    margin: 0 auto;
}

.about-content {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.about-section {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #eee;
}

.about-section:last-child {
    border-bottom: none;
}

.about-section h2 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.about-section ul {
    margin-left: 2rem;
    margin-top: 1rem;
}

.about-section li {
    margin-bottom: 0.5rem;
}

/* Login/Register Page */
.login-page {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 200px);
    padding: 2rem 0;
}

.auth-container {
    background: white;
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    width: 100%;
    max-width: 500px;
}

/* Responsive styles for auth pages */
@media (max-width: 768px) {
    .auth-container {
        padding: 1.5rem;
        margin: 1.5rem auto !important;
        max-width: 100%;
    }
    
    .auth-container h1 {
        font-size: 1.5rem;
        margin-bottom: 1.25rem;
    }
    
    .auth-container p {
        font-size: 0.9375rem;
        line-height: 1.6;
    }
    
    .auth-container .btn {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
        width: 100%;
    }
    
    .auth-container .alert {
        padding: 1rem;
        font-size: 0.9375rem;
        margin-bottom: 1.25rem;
    }
}

@media (max-width: 480px) {
    .auth-container {
        padding: 1.25rem;
        margin: 1rem auto !important;
        border-radius: 6px;
    }
    
    .auth-container h1 {
        font-size: 1.375rem;
        margin-bottom: 1rem;
    }
    
    .auth-container p {
        font-size: 0.875rem;
        margin-bottom: 1rem;
    }
    
    .auth-container .btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.9375rem;
    }
    
    .auth-container .alert {
        padding: 0.875rem;
        font-size: 0.875rem;
        margin-bottom: 1rem;
    }
    
    .auth-container .form-group {
        margin-bottom: 1.25rem;
    }
    
    .auth-container .form-group input {
        padding: 0.75rem;
        font-size: 16px; /* Prevents zoom on iOS */
    }
}

.auth-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
    border-bottom: 2px solid #eee;
}

.tab-btn {
    padding: 0.75rem 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    color: #666;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: color 0.3s;
}

.tab-btn.active {
    color: #10b981;
    border-bottom-color: #10b981;
}

.auth-tab {
    display: none;
}

.auth-tab.active {
    display: block;
}

.auth-tab h2 {
    margin-bottom: 1.5rem;
    color: #2c3e50;
}

.register-fields {
    margin-top: 1rem;
    padding: 1.25rem 1.5rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #f8fafc;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.email-check-status {
    display: none;
    margin-top: 0.5rem;
    font-size: 0.9rem;
    line-height: 1.4;
}

.email-check-status.info {
    display: block;
    color: #64748b;
}

.email-check-status.success {
    display: block;
    color: #16a34a;
}

.email-check-status.error {
    display: block;
    color: #dc2626;
}

.email-check-status.loading {
    display: block;
    color: #0f172a;
}

/* Wave animation for email input during checking */
.email-checking {
    animation: email-wave 1.5s ease-in-out infinite;
    border-color: #10b981 !important;
}

/* Google OAuth Login Styles */
.auth-divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 1.5rem 0;
    color: #94a3b8;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #e2e8f0;
}

.auth-divider span {
    padding: 0 1rem;
    font-size: 0.875rem;
    font-weight: 500;
}

.btn-google {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0.875rem 1.5rem;
    background: white;
    color: #3c4043;
    border: 1px solid #dadce0;
    border-radius: 4px;
    font-size: 0.9375rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 1px 2px 0 rgba(60, 64, 67, 0.1);
}

.btn-google:hover {
    background: #f8f9fa;
    box-shadow: 0 2px 4px 0 rgba(60, 64, 67, 0.15);
    border-color: #dadce0;
    text-decoration: none;
    color: #3c4043;
}

.btn-google:active {
    background: #f1f3f4;
    box-shadow: 0 1px 2px 0 rgba(60, 64, 67, 0.1);
}

.btn-google svg {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
}

@keyframes email-wave {
    0%, 100% {
        transform: translateY(0);
        box-shadow: 0 0 0 0 rgba(59, 130, 246, 0);
    }
    25% {
        transform: translateY(-2px);
        box-shadow: 0 2px 8px rgba(59, 130, 246, 0.2);
    }
    50% {
        transform: translateY(0);
        box-shadow: 0 0 0 0 rgba(59, 130, 246, 0);
    }
    75% {
        transform: translateY(-1px);
        box-shadow: 0 1px 4px rgba(59, 130, 246, 0.15);
    }
}

/* Email validation states */
.email-valid {
    border-color: #16a34a !important;
    color: #16a34a !important;
    box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.1) !important;
}

.email-invalid {
    border-color: #dc2626 !important;
    color: #dc2626 !important;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1) !important;
}

.email-valid:focus {
    border-color: #16a34a !important;
    box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.2) !important;
    outline: none;
}

.email-invalid:focus {
    border-color: #dc2626 !important;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.2) !important;
    outline: none;
}

.alert-info {
    background-color: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.alert-action {
    margin-top: 0.5rem;
}

.alert-action a {
    color: #059669;
    font-weight: 600;
    text-decoration: none;
}

.alert-action a:hover {
    text-decoration: underline;
}

/* Account Page */
.account-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 0;
    width: 100%;
}

/* Account Header Section */
.account-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 0;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
    margin: 0;
    margin-bottom: 2rem;
    overflow: hidden;
    position: relative;
    width: 100vw;
    max-width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.account-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.account-header-content {
    position: relative;
    padding: 2.5rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.account-header-main {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex: 1;
}

.account-header-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    backdrop-filter: blur(10px);
    border: 3px solid rgba(255, 255, 255, 0.4);
    flex-shrink: 0;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.account-header-profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.account-header-profile-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.account-header-profile-placeholder svg {
    width: 40px;
    height: 40px;
}

.account-header-text {
    flex: 1;
}

.account-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin: 0 0 0.5rem 0;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.account-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    font-weight: 400;
    letter-spacing: 0.3px;
}

.account-header-meta {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.account-meta-item {
    text-align: right;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.meta-label {
    display: block;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.meta-value {
    display: block;
    font-size: 1.1rem;
    color: white;
    font-weight: 600;
}

/* Responsive Design for Account Header */
@media (max-width: 768px) {
    .account-header-content {
        padding: 2rem 1.5rem;
        flex-direction: column;
        align-items: flex-start;
    }
    
    .account-header-main {
        width: 100%;
    }
    
    .account-title {
        font-size: 2rem;
    }
    
    .account-subtitle {
        font-size: 1rem;
    }
    
    .account-header-meta {
        width: 100%;
        justify-content: flex-start;
    }
    
    .account-meta-item {
        text-align: left;
    }
}

@media (max-width: 480px) {
    .account-header-content {
        padding: 1.5rem 1rem;
    }
    
    .account-header-icon {
        width: 70px;
        height: 70px;
    }
    
    .account-header-profile-placeholder .avatar-letter {
        font-size: 1.5rem;
    }
    
    .account-title {
        font-size: 1.75rem;
    }
    
    .account-subtitle {
        font-size: 0.9rem;
    }
    
    .account-meta-item {
        padding: 0.75rem 1rem;
    }
}

.account-info {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

/* Profile Details Container - Inline layout on larger screens */
.profile-details-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

@media (min-width: 768px) {
    .profile-details-container {
        flex-direction: row;
        align-items: center;
        gap: 3rem;
    }
}

/* Profile Picture Section */
.profile-picture-section {
    flex-shrink: 0;
    text-align: center;
}

@media (min-width: 768px) {
    .profile-picture-section {
        margin-bottom: 0;
        padding-bottom: 0;
        border-bottom: none;
    }
}

.profile-picture-display {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
}

.profile-picture-wrapper {
    position: relative;
    display: inline-block;
    width: 150px;
    height: 150px;
}

.profile-picture-preview {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #10b981;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    display: block;
}

.profile-picture-placeholder {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background-color: #3b82f6 !important;
    border: 4px solid #2563eb !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    color: #ffffff !important;
    font-weight: 700;
    font-size: 3.5rem;
    text-transform: uppercase;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.avatar-letter {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1;
    color: #ffffff !important;
    font-size: inherit;
}

/* Profile Picture Overlay Icons */
.profile-picture-overlay {
    position: absolute;
    bottom: 0;
    right: 0;
    display: flex;
    gap: 0.5rem;
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 0.25rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.profile-icon-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background-color: #10b981;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.profile-icon-btn:hover {
    background-color: #059669;
    transform: scale(1.1);
    box-shadow: 0 3px 6px rgba(0,0,0,0.2);
}

.profile-icon-btn:active {
    transform: scale(0.95);
}

.profile-delete-btn {
    background-color: #10b981;
}

.profile-delete-btn:hover {
    background-color: #059669;
}

.profile-icon-btn svg {
    width: 18px;
    height: 18px;
    stroke: white;
}

.profile-picture-upload-form {
    display: inline-flex;
    align-items: center;
}

/* Modal Styles for Account Page */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.65);
    animation: fadeIn 0.25s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 0;
    border-radius: 8px;
    width: 90%;
    max-width: 520px;
    max-height: 88vh;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    animation: slideDown 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    border: 1px solid #ddd;
}

.modal-content.modal-small {
    max-width: 450px;
}


@keyframes slideDown {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.75rem 2rem;
    border-bottom: 3px solid #10b981;
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border-radius: 8px 8px 0 0;
}

.modal-header h2 {
    margin: 0;
    color: #047857;
    font-size: 1.5rem;
    font-weight: 600;
}

.modal-close {
    color: #999;
    font-size: 1.75rem;
    font-weight: 300;
    cursor: pointer;
    line-height: 1;
    transition: all 0.2s ease;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    background: transparent;
}

.modal-close:hover {
    color: #10b981;
    background-color: #d1fae5;
}

.modal-body {
    padding: 2rem;
    overflow-y: auto;
    overflow-x: hidden;
    background-color: white;
    color: #333;
}

.delete-warning {
    text-align: center;
    padding: 1.5rem 0;
    margin-bottom: 1.5rem;
}

.warning-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    display: inline-block;
    color: #f59e0b;
}

.delete-warning p {
    margin: 0.875rem 0;
    color: #333;
    line-height: 1.6;
}

.delete-warning p strong {
    color: #10b981;
    font-size: 1.125rem;
    font-weight: 600;
}

.delete-warning-text {
    color: #666;
    font-size: 0.9375rem;
    line-height: 1.7;
    margin-top: 1rem;
}

/* Logout Confirmation Modal Styles */
.logout-warning {
    text-align: center;
    padding: 1.5rem 0;
    margin-bottom: 1.5rem;
}

.logout-warning .warning-icon {
    margin-bottom: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background-color: #fff3cd;
    border-radius: 50%;
    color: #f59e0b;
}

.logout-warning p {
    margin: 0.875rem 0;
    color: #333;
    line-height: 1.6;
}

.logout-warning p strong {
    color: #333;
    font-size: 1.125rem;
    font-weight: 600;
}

.logout-warning-text {
    color: #666;
    font-size: 0.9375rem;
    line-height: 1.7;
    margin-top: 1rem;
}

.modal-actions {
    display: flex;
    gap: 0.875rem;
    justify-content: flex-end;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #eee;
}

.modal-actions .btn {
    min-width: 100px;
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.modal-actions .btn-danger {
    background-color: #10b981;
    color: white;
    border: none;
}

.modal-actions .btn-danger:hover {
    background-color: #059669;
}

.modal-actions .btn-secondary {
    background-color: #6c757d;
    color: white;
    border: none;
}

.modal-actions .btn-secondary:hover {
    background-color: #5a6268;
}

.profile-picture-edit-btn {
    cursor: pointer;
}

/* Telephone Input with Prefix */
.telephone-input-wrapper {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
    background-color: white;
}

.telephone-prefix {
    padding: 0.5rem 0.75rem;
    background-color: #f8f9fa;
    border-right: 1px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    user-select: none;
}

.uganda-flag-icon {
    width: 32px;
    height: 21px;
    object-fit: contain;
    display: block;
    border-radius: 2px;
    box-shadow: inset 0 0 0 1px rgba(0,0,0,0.08);
}

.telephone-input-wrapper input {
    flex: 1;
    border: none;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    outline: none;
}

.telephone-input-wrapper:focus-within {
    border-color: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.sr-only-file-input {
    position: absolute;
    width: 0.1px;
    height: 0.1px;
    opacity: 0;
    overflow: hidden;
    z-index: -1;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.account-info h2 {
    margin-bottom: 1rem;
    color: #2c3e50;
}

.profile-edit {
    margin-top: 2rem;
    border-top: 1px solid #ecf0f1;
    padding-top: 2rem;
}

.profile-edit h3 {
    margin-bottom: 0.25rem;
    color: #2c3e50;
}

.profile-edit-subtitle {
    margin: 0;
    color: #7f8c8d;
    font-size: 0.95rem;
}

.profile-form {
    margin-top: 1.5rem;
}

.profile-form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.profile-form small {
    color: #7f8c8d;
}

.profile-form .field-hint {
    display: none;
    margin-top: 0.5rem;
    padding: 0.6rem 0.9rem;
    background: #e3f2fd;
    border-left: 3px solid #2196f3;
    border-radius: 4px;
    font-size: 0.9rem;
    line-height: 1.5;
    color: #1565c0;
}

.profile-form .field-hint.visible {
    display: block;
}

.profile-form-actions {
    margin-top: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.profile-form-actions .form-hint {
    color: #7f8c8d;
    font-size: 0.9rem;
}

.info-card {
    padding: 1rem;
    background-color: #f8f9fa;
    border-radius: 4px;
    flex: 1;
}

.info-card p {
    margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
    .info-card {
        padding: 1.5rem;
    }
}

.account-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.account-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.account-action-btn .btn-icon {
    flex-shrink: 0;
}

.account-action-btn .btn-text {
    white-space: nowrap;
}

/* Mobile: Show only icons */
@media (max-width: 768px) {
    .account-action-btn {
        padding: 0.75rem;
        min-width: auto;
        justify-content: center;
    }
    
    .account-action-btn .btn-text {
        display: none;
    }
    
    .account-action-btn .btn-icon {
        margin: 0;
    }
}

.account-section {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.account-section h2 {
    margin-bottom: 1.5rem;
    color: #2c3e50;
}

.events-list,
.tickets-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1rem;
}

/* Tickets Pagination */
.tickets-pagination {
    margin-top: 2rem;
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.pagination-info {
    text-align: center;
    color: #64748b;
    font-size: 0.875rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.pagination-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.pagination-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 0.75rem;
    min-width: 2.5rem;
    height: 2.5rem;
    background: white;
    color: #1e293b;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.875rem;
    transition: all 0.2s ease;
    cursor: pointer;
}

.pagination-btn:hover:not(.disabled):not(.active) {
    background: #f1f5f9;
    border-color: #cbd5e1;
    color: #0f172a;
}

.pagination-btn.active {
    background: #10b981;
    color: #fff;
    border-color: #10b981;
    font-weight: 600;
}

.pagination-btn.disabled {
    color: #94a3b8;
    cursor: not-allowed;
    opacity: 0.6;
}

.pagination-ellipsis {
    color: #94a3b8;
    padding: 0 0.25rem;
    font-size: 0.875rem;
}

.pagination-prev,
.pagination-next {
    min-width: auto;
    padding: 0.5rem 1rem;
}

/* Responsive pagination */
@media (max-width: 640px) {
    .tickets-pagination {
        padding: 1rem;
    }
    
    .pagination-info {
        font-size: 0.8125rem;
        margin-bottom: 0.75rem;
    }
    
    .pagination-controls {
        gap: 0.375rem;
    }
    
    .pagination-btn {
        padding: 0.5rem;
        min-width: 2.25rem;
        height: 2.25rem;
        font-size: 0.8125rem;
    }
    
    .pagination-prev,
    .pagination-next {
        padding: 0.5rem 0.75rem;
        font-size: 0.8125rem;
    }
    
    /* Hide page numbers on very small screens, show only prev/next */
    @media (max-width: 480px) {
        .pagination-btn:not(.pagination-prev):not(.pagination-next):not(.active) {
            display: none;
        }
        
        .pagination-ellipsis {
            display: none;
        }
    }
}

/* My Events Section - Modern Design */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #ecf0f1;
}

.section-header h2 {
    margin: 0;
    color: #2c3e50;
    font-size: 1.75rem;
    font-weight: 600;
}

.event-count {
    background: #ecf0f1;
    color: #7f8c8d;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.event-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
    display: flex;
    flex-direction: column;
}

.event-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
    transform: translateY(-2px);
}

.event-card-poster {
    width: 100%;
    height: 250px;
    overflow: hidden;
    background: #f8f9fa;
    position: relative;
}

.event-card-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.event-card:hover .event-card-poster img {
    transform: scale(1.05);
}

.event-card-poster-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.event-card-poster-placeholder svg {
    width: 60px;
    height: 60px;
    opacity: 0.7;
}

.event-card-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    text-align: center;
}

.event-card-content h3 {
    margin: 0;
    color: #2c3e50;
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.3;
    min-height: 3.25rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-align: center;
    justify-content: center;
}

.event-price {
    margin: 0.5rem 0;
    text-align: center;
}

.price-free {
    display: inline-block;
    background: #d1fae5;
    color: #059669;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1rem;
}

.price-amount {
    display: inline-block;
    color: #10b981;
    font-size: 1.5rem;
    font-weight: 700;
}

.btn-view-more {
    margin-top: auto;
    width: 100%;
    text-align: center;
}

@media (max-width: 768px) {
    .events-list {
        grid-template-columns: 1fr;
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .event-card-poster {
        height: 220px;
    }
    
    .event-card-content h3 {
        min-height: auto;
        -webkit-line-clamp: 3;
        line-clamp: 3;
    }
}

/* Archive Page */
.archive-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

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

.archive-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.archive-description {
    font-size: 1.125rem;
    color: #64748b;
    margin: 0;
}

/* Archive Tabs */
.archive-tabs {
    display: flex;
    gap: 0.5rem;
    border-bottom: 2px solid #e2e8f0;
    margin-bottom: 2rem;
    padding: 0 0.5rem;
}

.archive-tab-btn {
    padding: 0.875rem 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    color: #64748b;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    position: relative;
}

.archive-tab-btn:hover {
    color: #10b981;
    background: #f8fafc;
}

.archive-tab-btn.active {
    color: #10b981;
    border-bottom-color: #10b981;
    background: transparent;
}

.tab-badge {
    margin-left: 0.5rem;
    padding: 0.125rem 0.5rem;
    background: #e2e8f0;
    color: #64748b;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

.archive-tab-btn.active .tab-badge {
    background: #10b981;
    color: white;
}

.archive-tab-content {
    display: none;
}

.archive-tab-content.active {
    display: block;
}

/* Archived Events List */
.archived-events-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.archived-event-card {
    background: white;
    padding: 1.25rem;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
    opacity: 0.85;
}

.archived-event-card:hover {
    opacity: 1;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.archived-event-header {
    margin-bottom: 0.75rem;
}

.archived-event-poster {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.archived-event-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.archived-event-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 0.75rem 0;
}

.archived-tickets-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.archived-ticket-card {
    background: white;
    padding: 1.25rem;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
    opacity: 0.85;
}

.archived-ticket-card:hover {
    opacity: 1;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.archived-ticket-header {
    margin-bottom: 0.75rem;
}

.archived-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 0.75rem;
    background: #f1f5f9;
    color: #64748b;
    border-radius: 6px;
    font-size: 0.8125rem;
    font-weight: 500;
}

.archived-badge.deleted-badge {
    background: #fee2e2;
    color: #dc2626;
}

.archived-badge svg {
    width: 16px;
    height: 16px;
    color: #94a3b8;
}

.archived-badge.deleted-badge svg {
    color: #dc2626;
}

.archived-ticket-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 0.75rem 0;
}

.archive-pagination {
    margin-top: 2rem;
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

/* No Archived Items (used for both events and tickets) */
.no-archived-items {
    text-align: center;
    padding: 4rem 2rem;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 16px;
    border: 2px dashed #cbd5e1;
    margin: 3rem 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.no-archived-items-gif {
    width: 120px;
    height: 120px;
    margin: 0 auto 2rem;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.25);
    overflow: hidden;
    padding: 8px;
}

.no-archived-items-gif-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.no-archived-items-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 1rem 0;
    line-height: 1.2;
}

.no-archived-items-message {
    font-size: 1.125rem;
    color: #64748b;
    margin: 0 0 2rem 0;
    line-height: 1.6;
}

.no-archived-items-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.no-archived-items-actions .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 1.75rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.no-archived-items-actions .btn-primary {
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.no-archived-items-actions .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(16, 185, 129, 0.4);
}

/* Legacy class names for backward compatibility */
.no-archived-tickets {
    text-align: center;
    padding: 4rem 2rem;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 16px;
    border: 2px dashed #cbd5e1;
    margin: 3rem 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.no-archived-tickets-gif {
    width: 120px;
    height: 120px;
    margin: 0 auto 2rem;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.25);
    overflow: hidden;
    padding: 8px;
}

.no-archived-tickets-gif-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.no-archived-tickets-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 1rem 0;
    line-height: 1.2;
}

.no-archived-tickets-message {
    font-size: 1.125rem;
    color: #64748b;
    margin: 0 0 2rem 0;
    line-height: 1.6;
}

.no-archived-tickets-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.no-archived-tickets-actions .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 1.75rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.no-archived-tickets-actions .btn-primary {
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.no-archived-tickets-actions .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(16, 185, 129, 0.4);
}

@media (max-width: 768px) {
    .archive-page {
        padding: 1.5rem 1rem;
    }
    
    .archive-header h1 {
        font-size: 2rem;
    }
    
    .archive-description {
        font-size: 1rem;
    }
    
    .archive-tabs {
        flex-wrap: wrap;
        gap: 0.25rem;
        padding: 0;
    }
    
    .archive-tab-btn {
        padding: 0.75rem 1rem;
        font-size: 0.875rem;
        flex: 1;
        min-width: 0;
    }
    
    .archive-tab-btn svg {
        width: 16px;
        height: 16px;
        margin-right: 0.375rem;
    }
    
    .tab-badge {
        font-size: 0.6875rem;
        padding: 0.125rem 0.375rem;
    }
    
    .no-archived-items,
    .no-archived-tickets {
        padding: 3rem 1.5rem;
        margin: 2rem 0;
    }
    
    .no-archived-items-gif,
    .no-archived-tickets-gif {
        width: 100px;
        height: 100px;
        margin-bottom: 1.5rem;
        padding: 6px;
    }
    
    .no-archived-items-title,
    .no-archived-tickets-title {
        font-size: 1.5rem;
    }
    
    .no-archived-items-message,
    .no-archived-tickets-message {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .no-archived-items-actions,
    .no-archived-tickets-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .no-archived-items-actions .btn,
    .no-archived-tickets-actions .btn {
        width: 100%;
    }
    
    .archived-events-list,
    .archived-tickets-list {
        grid-template-columns: 1fr;
    }
}

.ticket-card {
    background: white;
    padding: 1rem 1.25rem;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

.ticket-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    transition: width 0.2s ease;
}

.ticket-card.status-confirmed::before {
    background: #10b981;
}

.ticket-card.status-pending::before {
    background: #f59e0b;
}

.ticket-card.status-cancelled::before {
    background: #ef4444;
}

.ticket-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.ticket-card h3 {
    margin-bottom: 0.75rem;
    color: #1e293b;
    font-size: 1.125rem;
    font-weight: 600;
}

.ticket-card p {
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    color: #475569;
    line-height: 1.5;
}

.ticket-card strong {
    color: #1e293b;
    font-weight: 600;
}

.ticket-card .ticket-status-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.375rem 0.75rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

.ticket-card .ticket-status-badge.status-confirmed {
    background: #d1fae5;
    color: #065f46;
}

.ticket-card .ticket-status-badge.status-pending {
    background: #fef3c7;
    color: #92400e;
}

.ticket-card .ticket-status-badge.status-cancelled {
    background: #fee2e2;
    color: #991b1b;
}

.ticket-code {
    font-family: monospace;
    background: white;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    display: inline-block;
}

/* Organizer Dashboard */
.organizer-dashboard {
    margin: 2rem 0;
    padding: 0;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.25rem;
    margin-top: 1rem;
}

.dashboard-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.dashboard-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-color: #cbd5e1;
}

.dashboard-card-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.dashboard-card-content {
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

.dashboard-card-value {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.2;
    margin-bottom: 0.25rem;
    word-break: break-word;
    overflow-wrap: break-word;
}

.dashboard-card-label {
    font-size: 0.875rem;
    color: #64748b;
    font-weight: 500;
    line-height: 1.4;
    word-break: break-word;
    overflow-wrap: break-word;
}

/* Reduce text sizes on large screens to prevent overlap */
@media (min-width: 1200px) {
    .dashboard-card-value {
        font-size: 1.5rem;
    }
    
    .dashboard-card-label {
        font-size: 0.8125rem;
    }
}

@media (min-width: 1400px) {
    .dashboard-card-value {
        font-size: 1.375rem;
    }
    
    .dashboard-card-label {
        font-size: 0.75rem;
    }
}

/* Event card clickable indicator */
.events-grid-account .event-card[data-event-id] {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.events-grid-account .event-card[data-event-id]:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

@media (max-width: 768px) {
    .dashboard-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .dashboard-card {
        padding: 1.25rem;
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }
    
    .dashboard-card-icon {
        width: 48px;
        height: 48px;
    }
    
    .dashboard-card-value {
        font-size: 1.5rem;
    }
    
    .dashboard-card-label {
        font-size: 0.8125rem;
    }
}

@media (max-width: 480px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
        gap: 0.875rem;
    }
    
    .dashboard-card {
        padding: 1rem;
        flex-direction: row;
        text-align: left;
    }
    
    .dashboard-card-icon {
        width: 44px;
        height: 44px;
    }
    
    .dashboard-card-value {
        font-size: 1.375rem;
    }
}

/* Event Status Badge Large (replaces View Details button) */
.event-status-badge-large {
    display: inline-block;
    padding: 0.625rem 1.25rem;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 600;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    width: 100%;
}

.event-status-badge-large.status-pending {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    color: #92400e;
    border: 1px solid #fcd34d;
}

.event-status-badge-large.status-rejected {
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    color: #991b1b;
    border: 1px solid #fca5a5;
}

.event-status-badge-large.status-cancelled {
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    color: #991b1b;
    border: 1px solid #fca5a5;
}

.event-status-badge-large.status-completed {
    background: linear-gradient(135deg, #e0e7ff 0%, #c7d2fe 100%);
    color: #3730a3;
    border: 1px solid #a5b4fc;
}

/* Sell Tickets Page */
.sell-tickets-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 0;
}

.draft-restore-notice {
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    background: #f0f9ff;
    border: 1px solid #bae6fd;
    color: #0f172a;
    padding: 0.85rem 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.draft-restore-notice.active {
    display: flex;
}

.draft-restore-notice button {
    white-space: nowrap;
}

.sell-tickets-page h1 {
    margin-bottom: 2rem;
    color: #2c3e50;
}

.event-form {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

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

/* Form Sections */
.form-section {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid #eee;
}

.form-section:last-of-type {
    border-bottom: none;
}

.form-section h2 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #10b981;
}

.form-hint {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    font-style: italic;
}

/* Poster Preview */
.poster-preview-container {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.poster-preview-box {
    width: 100%;
    max-width: 300px;
    aspect-ratio: 3/4;
    border: 2px dashed #ddd;
    border-radius: 8px;
    overflow: hidden;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    cursor: pointer;
    transition: all 0.2s ease;
}

.poster-preview-box:hover {
    border-color: #10b981;
    background: #f0f8ff;
}

.poster-preview-box:active {
    transform: scale(0.98);
}

.poster-preview-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.poster-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #999;
    text-align: center;
    padding: 2rem;
}

.poster-placeholder svg {
    margin-bottom: 0.5rem;
    color: #ccc;
}

.poster-placeholder p {
    margin: 0;
    font-size: 0.9rem;
}

/* Checkbox Label */
.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-weight: normal;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin: 0;
    cursor: pointer;
}

/* Field Helper */
.field-helper {
    display: none;
    margin-top: 0.5rem;
    padding: 0.75rem 1rem;
    background: #e3f2fd;
    border-left: 3px solid #2196f3;
    border-radius: 4px;
    font-size: 0.9rem;
    color: #1565c0;
    line-height: 1.5;
    animation: slideDown 0.2s ease-out;
}

.field-helper.active {
    display: block;
}

.field-note {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.85rem;
    color: #666;
    font-style: italic;
}

.helper-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.helper-text {
    flex: 1;
}

.helper-got-it {
    background: none;
    border: none;
    color: #2196f3;
    font-weight: 600;
    cursor: pointer;
    text-decoration: underline;
    padding: 0;
    font-size: 0.9rem;
    white-space: nowrap;
}

.helper-got-it:hover {
    color: #1976d2;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Ticket Categories */
#ticket-categories-container {
    margin-bottom: 1rem;
}

.ticket-category-item {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    border: 1px solid #e0e0e0;
}

.ticket-category-item .form-row {
    grid-template-columns: 2fr 1fr 1fr auto;
    align-items: end;
}

.btn-remove-category {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .price-fields-row {
        grid-template-columns: 1fr !important;
    }
    
    .ticket-category-item .form-row {
        grid-template-columns: 1fr;
    }
    
    .form-section h2 {
        font-size: 1.25rem;
    }
}

/* Tickets Page */
.tickets-page {
    max-width: 1200px;
    margin: 0 auto;
}

.tickets-page h1 {
    margin-bottom: 2rem;
    color: #2c3e50;
}

.tickets-locked {
    display: grid;
    grid-template-columns: minmax(260px, 360px) 1fr;
    gap: 3rem;
    border: 2px solid rgba(44, 62, 80, 0.12);
    border-radius: 18px;
    padding: 2rem;
    background: #fefefe;
    color: #2c3e50;
}

.tickets-locked--simple {
    border-style: dashed;
}

.tickets-locked__art {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tickets-locked__gif {
    position: relative;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.25);
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tickets-locked__gif img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 50%;
}

.tickets-locked__tear-glow {
    position: absolute;
    width: 140px;
    height: 140px;
    background: radial-gradient(circle, rgba(52, 211, 153, 0.25), transparent 70%);
    filter: blur(10px);
    animation: pulseGlow 3s ease-in-out infinite;
    border-radius: 50%;
}

.tickets-locked__content {
    max-width: 520px;
}

.tickets-locked__eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.85rem;
    color: rgba(44, 62, 80, 0.6);
    margin-bottom: 0.75rem;
}

.tickets-locked__content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #1f2a37;
}

.tickets-locked__description {
    font-size: 1rem;
    line-height: 1.7;
    color: rgba(44, 62, 80, 0.85);
    margin-bottom: 1.75rem;
}

.tickets-locked__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.tickets-locked .btn-primary {
    background: #10b981;
    border: none;
    box-shadow: 0 10px 20px rgba(16, 185, 129, 0.25);
}

.tickets-locked .btn-secondary {
    background: rgba(44, 62, 80, 0.04);
    color: #2c3e50;
    border: 1px solid rgba(44, 62, 80, 0.2);
}

.tickets-locked .btn-secondary:hover {
    background: rgba(44, 62, 80, 0.1);
}

@keyframes pulseGlow {
    0% { opacity: 0.3; transform: scale(0.9); }
    50% { opacity: 0.7; transform: scale(1); }
    100% { opacity: 0.3; transform: scale(0.9); }
}

@media (max-width: 900px) {
    .tickets-locked {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .tickets-locked__gif {
        width: 100px;
        height: 100px;
        padding: 6px;
    }
    
    .tickets-locked__tear-glow {
        width: 120px;
        height: 120px;
    }
    
    .tickets-locked__content {
        margin: 0 auto;
    }
    
    .tickets-locked__actions {
        justify-content: center;
    }
}

/* Responsive additions */
@media (max-width: 768px) {
    .hero-actions {
        flex-direction: column;
    }
    
    .events-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .event-card-simple {
        min-width: 0; /* Allow cards to shrink */
    }
    
    .event-card-simple .event-image {
        height: 180px;
    }
    
    .event-card-simple .event-content {
        padding: 1rem;
        gap: 0.5rem;
    }
    
    .event-card-simple .event-content h3 {
        font-size: 0.9375rem;
        line-height: 1.3;
        min-height: 2.6rem;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    
    .event-simple-price {
        font-size: 0.875rem;
    }
    
    .event-card-simple .btn-block {
        padding: 0.625rem 0.75rem;
        font-size: 0.8125rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
}

/* Very small screens - keep 2 columns but adjust spacing */
@media (max-width: 480px) {
    .events-grid {
        gap: 0.75rem;
    }
    
    .event-card-simple .event-image {
        height: 160px;
    }
    
    .event-card-simple .event-content {
        padding: 0.875rem;
        gap: 0.5rem;
    }
    
    .event-card-simple .event-content h3 {
        font-size: 0.875rem;
        min-height: 2.4rem;
    }
    
    .event-simple-price {
        font-size: 0.8125rem;
    }
    
    .event-card-simple .btn-block {
        padding: 0.5rem 0.625rem;
        font-size: 0.75rem;
    }
}

/* Event Details Page */
.event-details-page {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0;
}

.event-details-container {
    display: grid;
    grid-template-columns: minmax(320px, 420px) 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.event-poster-section {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    align-self: start;
}

.event-poster {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.event-poster-placeholder {
    width: 100%;
    height: 500px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
}

.event-poster-placeholder svg {
    width: 80px;
    height: 80px;
    opacity: 0.7;
    margin-bottom: 1rem;
}

.event-poster-placeholder p {
    font-size: 1.25rem;
    font-weight: 500;
}

.event-info-section {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.event-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid #ecf0f1;
}

.event-header h1 {
    margin: 0 0 0.75rem 0;
    color: #2c3e50;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.2;
}

.event-category {
    display: inline-block;
    background: #e8f4f8;
    color: #059669;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.event-overview-list {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.overview-item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.85rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid #edf2f7;
    align-items: center;
}

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

.overview-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: #eef5ff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #059669;
    flex-shrink: 0;
    font-size: 0;
}

.overview-icon svg {
    width: 24px;
    height: 24px;
}

.event-overview-list .overview-item:nth-child(1) .overview-icon {
    background: rgba(5, 150, 105, 0.1);
    color: #059669;
}

.event-overview-list .overview-item:nth-child(2) .overview-icon {
    background: rgba(249, 115, 22, 0.12);
    color: #f97316;
}

.event-overview-list .overview-item:nth-child(3) .overview-icon {
    background: rgba(16, 185, 129, 0.12);
    color: #10b981;
}

.event-overview-list .overview-item:nth-child(4) .overview-icon {
    background: rgba(139, 92, 246, 0.12);
    color: #8b5cf6;
}

.event-overview-list .overview-item:nth-child(5) .overview-icon {
    background: rgba(239, 68, 68, 0.12);
    color: #ef4444;
}

.overview-label {
    display: block;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #94a3b8;
    margin-bottom: 0.2rem;
    font-weight: 600;
}

.overview-item p {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 600;
    color: #0f172a;
}

.event-info-grid {
    margin-top: 2.5rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.info-card {
    background: transparent;
    border-radius: 16px;
    padding: 1.5rem;
    border: 1px solid #e2e8f0;
}

.info-card h2 {
    margin: 0 0 0.75rem 0;
    font-size: 1.35rem;
    color: #0f172a;
    font-weight: 700;
}

.info-card p {
    margin: 0;
    color: #4a5568;
    line-height: 1.9;
}

.info-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.info-list li {
    display: flex;
    flex-direction: column;
    border-bottom: 1px solid #eceff3;
    padding: 0.75rem 0;
}

.info-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.info-list span {
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    color: #94a3b8;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.info-list strong {
    font-size: 1.05rem;
    color: #1f2937;
}

.ticket-categories-section {
    margin-top: 3rem;
    padding: 0;
}

.ticket-categories-table {
    display: flex;
    flex-direction: column;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid #dbeafe;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.08);
}

.ticket-table-row {
    display: grid;
    grid-template-columns: minmax(190px, 1.2fr) 0.8fr 0.9fr 1fr;
    gap: 1rem;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #edf2f7;
    align-items: center;
    background: #fff;
}

.ticket-table-row:last-child {
    border-bottom: none;
}

.ticket-table-header {
    background: #f1f5f9;
    color: #475569;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.ticket-table-row.disabled {
    background: #f8fafc;
    opacity: 0.7;
}

.ticket-col {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.ticket-col-name h3 {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    color: #0f172a;
}

.ticket-col-price {
    font-weight: 600;
    color: #0f172a;
}

.ticket-col-availability {
    color: #64748b;
    font-size: 0.9rem;
}

.ticket-col-availability small {
    color: #94a3b8;
}

.price-free {
    color: #059669;
}

.price-amount {
    color: #10b981;
}

.status-text {
    font-size: 0.85rem;
    font-weight: 600;
    color: #b91c1c;
}

.status-text.status-sold-out {
    color: #92400e;
}

.ticket-col-action {
    display: flex;
    justify-content: flex-end;
}

.ticket-action-stack {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    align-items: flex-end;
}

.ticket-categories-table .quantity-stepper {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.75rem;
    border: 1px solid #cbd5f5;
    border-radius: 999px;
    background: #f8fafc;
}

.ticket-categories-table .stepper-btn {
    width: 28px;
    height: 28px;
    border: none;
    border-radius: 999px;
    background: #e2e8f0;
    color: #0f172a;
    font-size: 1.1rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
}

.ticket-categories-table .stepper-btn:hover {
    background: #cbd5f5;
}

.ticket-categories-table .ticket-quantity-input {
    width: 36px;
    border: none;
    background: transparent;
    font-size: 1rem;
    font-weight: 600;
    color: #111827;
    text-align: center;
    pointer-events: none;
}

.ticket-categories-table .btn-compact {
    padding: 0.45rem 1rem;
    font-size: 0.9rem;
    min-width: 130px;
}

@media (max-width: 1000px) {
    .ticket-table-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    
    .ticket-col-action {
        grid-column: span 2;
        justify-content: flex-start;
    }
    
    .ticket-action-stack {
        align-items: flex-start;
    }
}

@media (max-width: 640px) {
    .ticket-table-row {
        grid-template-columns: 1fr;
    }
    
    .ticket-col-action {
        justify-content: flex-start;
    }
}
.ticket-section-header {
    margin-bottom: 1.5rem;
}

.ticket-section-header h2 {
    margin: 0;
    color: #2c3e50;
    font-size: 1.75rem;
    font-weight: 600;
}

.ticket-section-header p {
    margin: 0.35rem 0 0;
    color: #7f8c8d;
    font-size: 0.95rem;
}

.no-tickets {
    text-align: center;
    padding: 4rem 2rem;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 16px;
    border: 2px dashed #cbd5e1;
    margin: 3rem 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.no-tickets-gif {
    width: 120px;
    height: 120px;
    margin: 0 auto 2rem;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.25);
    overflow: hidden;
    padding: 8px;
}

.no-tickets-gif-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.no-tickets-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 1rem 0;
    line-height: 1.2;
}

.no-tickets-message {
    font-size: 1.125rem;
    color: #64748b;
    margin: 0 0 2rem 0;
    line-height: 1.6;
}

.no-tickets-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    font-size: 1.125rem;
    font-weight: 600;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
    transition: all 0.3s ease;
}

.no-tickets-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(16, 185, 129, 0.4);
}

@media (max-width: 768px) {
    .no-tickets {
        padding: 3rem 1.5rem;
        margin: 2rem 0;
    }
    
    .no-tickets-gif {
        width: 100px;
        height: 100px;
        margin-bottom: 1.5rem;
        padding: 6px;
    }
    
    .no-tickets-title {
        font-size: 1.5rem;
    }
    
    .no-tickets-message {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .no-tickets-cta {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
        width: 100%;
    }
}

.ticket-categories-list {
    border: 1px solid #dbeafe;
    border-radius: 18px;
    overflow: hidden;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.08);
}

.ticket-category-card {
    display: grid;
    grid-template-columns: minmax(190px, 1.2fr) 0.8fr 0.9fr 1fr;
    gap: 1rem;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #edf2f7;
    align-items: center;
    background: #fff;
}

.ticket-category-card:last-child {
    border-bottom: none;
}

.ticket-category-card.disabled {
    opacity: 0.65;
    background: #f8fafc;
}

.ticket-category-card h3 {
    margin: 0;
    font-size: 1rem;
    color: #0f172a;
}

.category-price {
    font-weight: 600;
    color: #111827;
}

.category-details {
    font-size: 0.9rem;
    color: #6b7280;
    display: flex;
    flex-direction: column;
}

.ticket-category-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.4rem;
}

.quantity-stepper {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.7rem;
    border: 1px solid #cbd5f5;
    border-radius: 999px;
    background: #f8fafc;
}

.stepper-btn {
    width: 28px;
    height: 28px;
    border: none;
    border-radius: 999px;
    background: #e2e8f0;
    color: #0f172a;
    font-size: 1.1rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ticket-quantity-input {
    width: 34px;
    text-align: center;
    border: none;
    background: transparent;
    font-size: 1rem;
    font-weight: 600;
    color: #111827;
    pointer-events: none;
}

.btn-compact {
    padding: 0.45rem 1rem;
    font-size: 0.9rem;
    min-width: 130px;
    text-align: center;
}

@media (max-width: 900px) {
    .ticket-category-card {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .ticket-category-actions {
        align-items: flex-start;
    }
}

@media (max-width: 1024px) {
    .event-details-container {
        grid-template-columns: 1fr;
    }
    
    .event-poster-section {
        grid-column: 1;
        margin-bottom: 2rem;
    }
    
    .event-info-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .event-details-page {
        padding: 1rem 15px;
    }
    
    .event-details-container {
        grid-template-columns: 1fr;
    }
    
    .event-poster-section {
        grid-column: 1;
        margin-bottom: 2rem;
    }
    
    .event-poster-placeholder {
        height: 300px;
    }
    
    .event-header h1 {
        font-size: 1.5rem;
    }
    
    .event-info-section {
        padding: 1.5rem;
    }
    
    .overview-item {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .overview-icon {
        margin-bottom: 0.5rem;
    }
    
    .event-info-grid {
        grid-template-columns: 1fr;
    }
    
    .category-header {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .category-price {
        margin-left: 0;
    }
}

/* Cart Summary Section */
.cart-summary-section {
    margin-top: 2.5rem;
}

.cart-summary-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 1.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 1.75rem;
    box-shadow: 0 25px 55px rgba(15, 23, 42, 0.12);
}

.cart-summary-main {
    border-right: 1px solid #edf2f7;
    padding-right: 1.5rem;
}

.cart-summary-side {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding-left: 1rem;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #ecf0f1;
}

.cart-header-actions {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.cart-icon-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e2e8f0;
    border: 1px solid rgba(15, 23, 42, 0.1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #0f172a;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease;
    position: relative;
    flex-shrink: 0;
}

.cart-icon-btn svg {
    width: 18px;
    height: 18px;
}

.cart-icon-btn:hover {
    background: #cbd5f5;
    transform: translateY(-1px);
}

.cart-icon-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #ef4444;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    display: none;
    align-items: center;
    justify-content: center;
    line-height: 1;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

@media (max-width: 600px) {
    .cart-icon-btn {
        width: 34px;
        height: 34px;
    }
    
    .cart-icon-badge {
        width: 16px;
        height: 16px;
        font-size: 10px;
        top: -3px;
        right: -3px;
    }
}

.cart-header h2 {
    margin: 0;
    color: #2c3e50;
    font-size: 1.5rem;
    font-weight: 600;
}

.btn-clear-cart {
    background: #dc3545;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.btn-clear-cart:hover {
    background: #c82333;
}

.cart-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cart-item {
    display: grid;
    grid-template-columns: 2fr 1.2fr 1fr;
    gap: 1rem;
    padding: 1rem 1.25rem;
    border: 1px solid #edf2f7;
    border-radius: 14px;
    background: #f8fafc;
    align-items: center;
}

.cart-item-info h4 {
    margin: 0;
    font-size: 1.05rem;
    color: #0f172a;
}

.cart-item-price {
    margin: 0;
    color: #6b7280;
    font-size: 0.9rem;
}

.cart-item-controls {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.cart-quantity-controls {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.3rem 0.6rem;
    border: 1px solid #cbd5f5;
    border-radius: 999px;
    background: #fff;
}

.btn-quantity {
    width: 26px;
    height: 26px;
    border: none;
    background: #e2e8f0;
    border-radius: 999px;
    font-size: 1.1rem;
    color: #0f172a;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-quantity {
    min-width: 32px;
    text-align: center;
    font-weight: 600;
    color: #0f172a;
}

.btn-remove-item {
    border: none;
    background: #fee2e2;
    color: #b91c1c;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    font-size: 0.8rem;
    cursor: pointer;
}

.cart-total {
    background: #0f172a;
    color: #fff;
    border-radius: 16px;
    padding: 1.5rem;
}

.cart-total strong,
.cart-total-value {
    font-size: 2rem;
}

.add-to-cart-form {
    margin-top: 1rem;
}

.add-to-cart-btn {
    transition: all 0.3s ease;
}

.add-to-cart-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(16, 185, 129, 0.3);
}

@media (max-width: 900px) {
    .cart-summary-grid {
        grid-template-columns: 1fr;
    }
    
    .cart-summary-main {
        border-right: none;
        border-bottom: 1px solid #edf2f7;
        padding-right: 0;
        padding-bottom: 1rem;
    }
    
    .cart-summary-side {
        padding-left: 0;
    }
}

@media (max-width: 640px) {
    .cart-item {
        grid-template-columns: 1fr;
    }
    
    .cart-item-controls {
        justify-content: space-between;
    }
    
    .cart-item-total {
        text-align: left;
    }
    
    .cart-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .btn-clear-cart {
        width: 100%;
    }
}

/* Cart Link in Header */
.cart-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: opacity 0.3s ease;
    padding: 0.5rem;
    z-index: 1001;
}

.cart-link:hover {
    opacity: 0.8;
}

.cart-link svg {
    display: block;
    color: currentColor;
}

.cart-badge {
    background: #10b981;
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 600;
    line-height: 1;
    position: absolute;
    top: 2px;
    right: 2px;
    min-width: 18px;
    padding: 0 2px;
}

@media (min-width: 769px) {
    .nav-actions {
        display: none;
    }
    
    .cart-link-desktop {
        display: inline-flex !important;
    }
}

@media (max-width: 768px) {
    .cart-link-desktop {
        display: none !important;
    }
    
    .nav-actions {
        display: flex;
    }
}

/* Cart Page */
.cart-page {
    padding: 2.5rem 20px 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.cart-container h1 {
    margin-bottom: 2rem;
    color: #0f172a;
    font-size: 2rem;
    font-weight: 700;
}

.empty-cart {
    text-align: center;
    padding: 4rem 2rem;
    background: linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 25px 55px rgba(15, 23, 42, 0.08);
}

.empty-cart svg {
    color: #cbd5f5;
    margin-bottom: 1.5rem;
}

.empty-cart h2 {
    margin: 0 0 0.5rem 0;
    color: #0f172a;
    font-size: 1.5rem;
}

.empty-cart p {
    margin: 0 0 2rem 0;
    color: #475569;
}

.cart-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.8fr) minmax(320px, 1fr);
    gap: 2rem;
    margin: 0;
}

.cart-panel {
    background: #fff;
    border-radius: 20px;
    padding: 1.75rem;
    border: 1px solid rgba(148, 163, 184, 0.25);
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.08);
}

.cart-items-panel {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    background: rgba(255, 255, 255, 0.9);
}

.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1.5rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid #e2e8f0;
}

.panel-header h2 {
    margin: 0;
    font-size: 1.5rem;
    color: #1e293b;
    font-weight: 700;
    line-height: 1.3;
}

.panel-header .eyebrow {
    font-size: 0.75rem;
    color: #64748b;
    margin-bottom: 0.375rem;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.75rem;
    color: #94a3b8;
    margin: 0 0 0.35rem 0;
}

.panel-meta {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    flex-wrap: wrap;
}

.cart-pill {
    background: rgba(59, 130, 246, 0.12);
    color: #047857;
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.cart-pill.accent {
    background: rgba(16, 185, 129, 0.18);
    color: #0f766e;
}

.link-inline {
    color: #0f172a;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid rgba(15, 23, 42, 0.25);
    padding-bottom: 2px;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.link-inline:hover {
    color: #059669;
    border-color: #059669;
}

.cart-items-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cart-item-card {
    background: #feffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 1.25rem;
    display: grid;
    grid-template-columns: 110px minmax(0, 1fr) auto;
    gap: 1.25rem;
    align-items: center;
    transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.cart-item-card:hover {
    border-color: #94a3b8;
    box-shadow: 0 12px 25px rgba(148, 163, 184, 0.25);
    transform: translateY(-2px);
}

.cart-item-card.disabled {
    opacity: 0.5;
    background: #f1f5f9;
    border-style: dashed;
}

.cart-item-image {
    width: 110px;
    height: 110px;
    border-radius: 14px;
    overflow: hidden;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.cart-item-placeholder svg {
    width: 42px;
    height: 42px;
    opacity: 0.8;
}

.cart-item-details h3 {
    margin: 0 0 0.4rem 0;
    font-size: 1.2rem;
}

.cart-item-details h3 a {
    color: #0f172a;
    text-decoration: none;
}

.cart-item-details h3 a:hover {
    color: #059669;
}

.cart-item-category {
    margin: 0;
    color: #64748b;
    font-size: 0.95rem;
}

.cart-item-price-info {
    margin-top: 0.65rem;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.item-price {
    color: #0f172a;
    font-weight: 600;
}

.item-total {
    color: #059669;
    font-weight: 700;
}

.cart-item-controls {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: center;
    min-width: 140px;
}

.cart-summary-panel {
    background: radial-gradient(circle at top, #1e293b, #0f172a);
    color: #f8fafc;
    position: sticky;
    top: 90px;
    height: fit-content;
    border: none;
    box-shadow: 0 25px 60px rgba(15, 23, 42, 0.6);
}

.cart-summary-panel .panel-header {
    border-color: rgba(248, 250, 252, 0.2);
}

.cart-summary-panel h2 {
    color: #e2e8f0;
}

.cart-summary-panel .cart-pill {
    background: rgba(255, 255, 255, 0.12);
    color: #f8fafc;
}

.summary-items {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    margin: 1.25rem 0;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    font-size: 0.95rem;
    color: #cbd5f5;
}

.summary-item strong {
    color: #f8fafc;
}

.summary-total-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    border-radius: 16px;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(248, 250, 252, 0.08);
    margin-bottom: 1.25rem;
}

.summary-total-card span {
    color: #94a3b8;
    font-size: 0.9rem;
}

.summary-total-card strong {
    font-size: 1.55rem;
    color: #facc15;
}

.cart-form .btn.btn-primary {
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.4);
}

.ghost-btn {
    margin-top: 0.75rem;
    background: transparent;
    border: 1px dashed rgba(248, 250, 252, 0.4);
    color: #f8fafc;
}

.ghost-btn:hover {
    border-color: #f8fafc;
}

/* Payment page ghost button - visible on white background */
.checkout-payment .ghost-btn,
.payment-form .ghost-btn {
    background: transparent;
    border: 1px solid #cbd5e1;
    color: #475569;
    margin-top: 0.75rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.checkout-payment .ghost-btn:hover,
.payment-form .ghost-btn:hover {
    border-color: #94a3b8;
    color: #334155;
    background: #f8fafc;
}

.cart-note {
    font-size: 0.9rem;
    color: #94a3b8;
    margin-top: 0.5rem;
}

.cart-quantity-input {
    width: 60px;
    text-align: center;
    padding: 0.5rem;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    font-weight: 600;
    font-size: 1rem;
}

@media (max-width: 1024px) {
    .cart-layout {
        grid-template-columns: 1fr;
    }
    
    .cart-summary-panel {
        position: static;
    }
}

@media (max-width: 768px) {
    .cart-page {
        padding: 1rem 15px;
    }
    
    .panel-header {
        flex-direction: column;
    }
    
    .panel-meta {
        width: 100%;
        justify-content: space-between;
    }
    
    .cart-item-card {
        grid-template-columns: 100px 1fr;
        gap: 1rem;
    }
    
    .cart-item-controls {
        grid-column: 1 / -1;
        flex-direction: row;
        justify-content: space-between;
        width: 100%;
    }
    
    .cart-item-image {
        width: 100px;
        height: 100px;
    }
    
    .cart-summary-panel {
        padding: 1.5rem;
    }
}

@media (max-width: 520px) {
    .cart-item-card {
        grid-template-columns: 1fr;
    }
    
    .cart-item-image {
        width: 100%;
        height: 180px;
    }
    
    .cart-item-controls {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Toast Notification System */
.toast-container {
    position: fixed;
    top: 100px;
    right: 20px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    max-width: 400px;
    pointer-events: none;
}

.toast {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    padding: 1rem 1.25rem;
    min-width: 300px;
    max-width: 400px;
    opacity: 0;
    transform: translateX(400px);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    pointer-events: auto;
    border-left: 4px solid #10b981;
}

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

.toast-success {
    border-left-color: #28a745;
}

.toast-error {
    border-left-color: #dc3545;
}

.toast-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.toast-success .toast-icon {
    color: #28a745;
}

.toast-error .toast-icon {
    color: #dc3545;
}

.toast-icon svg {
    width: 100%;
    height: 100%;
}

.toast-message {
    flex: 1;
    color: #2c3e50;
    font-size: 0.9375rem;
    line-height: 1.5;
    font-weight: 500;
}

.toast-close {
    flex-shrink: 0;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.25rem;
    color: #7f8c8d;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
    border-radius: 4px;
}

.toast-close:hover {
    color: #2c3e50;
    background: #f8f9fa;
}

.toast-close svg {
    width: 18px;
    height: 18px;
}

@media (max-width: 768px) {
    .toast-container {
        top: 80px;
        right: 15px;
        left: 15px;
        max-width: none;
    }
    
    .toast {
        min-width: auto;
        max-width: none;
        width: 100%;
    }
}

/* Premium checkout experience */
.checkout-page.premium-checkout {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin: 2rem auto 4rem;
    max-width: 1200px;
    padding: 0 1rem;
}

.checkout-hero {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    background: radial-gradient(1200px circle at 10% 10%, rgba(59, 130, 246, 0.10), transparent 55%),
        radial-gradient(900px circle at 90% 0%, rgba(16, 185, 129, 0.10), transparent 50%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 252, 0.96));
    color: #0f172a;
    border: 1px solid rgba(15, 23, 42, 0.08);
    padding: 1.8rem;
    box-shadow: 0 18px 60px rgba(15, 23, 42, 0.08);
    backdrop-filter: blur(10px);
}

.checkout-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.06);
    border: 1px solid rgba(15, 23, 42, 0.08);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.checkout-progress {
    display: flex;
    gap: 1rem;
}

.progress-step {
    flex: 1;
    padding: 0.75rem;
    border-radius: 1rem;
    background: #fff;
    border: 1px solid #e5e7eb;
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

.progress-step.completed {
    border-color: rgba(16, 185, 129, 0.6);
}

.progress-step.current {
    border-color: rgba(59, 130, 246, 0.6);
    background: rgba(59, 130, 246, 0.08);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.10);
}

.step-title {
    display: block;
    font-weight: 600;
}

.hero-meta {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.hero-meta.compact {
    gap: 1.25rem;
}

.hero-meta div,
.hero-stat {
    min-width: 120px;
}

.hero-number {
    font-size: 1.8rem;
    font-weight: 700;
    display: block;
}

.hero-number.hero-price {
    color: #059669;
}

.checkout-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: minmax(0, 2fr) minmax(320px, 1fr);
    align-items: start;
}

.checkout-page.premium-checkout a,
.checkout-page.premium-checkout a:visited,
.checkout-page.premium-checkout a:hover,
.checkout-page.premium-checkout a:focus {
    text-decoration: none;
    color: inherit;
}

.checkout-page.premium-checkout a[href^="tel"],
.checkout-page.premium-checkout a[href^="mailto"] {
    color: inherit;
}

.checkout-page.premium-checkout a[x-apple-data-detectors],
.checkout-page.premium-checkout a[x-apple-data-detectors]:hover,
.checkout-page.premium-checkout a[x-apple-data-detectors]:focus,
.checkout-page.premium-checkout a[x-apple-data-detectors]:active {
    color: inherit !important;
    text-decoration: none !important;
}

/* Hide info section on smaller screens */
.checkout-col.info-section {
    display: none;
}

.payment-info-section {
    margin-bottom: 1.5rem;
}

/* Large screen layout with separate info section */
@media (min-width: 1200px) {
    .checkout-grid {
        grid-template-columns: minmax(0, 2fr) minmax(320px, 1fr) minmax(280px, 1fr);
    }
    
    .checkout-col.info-section {
        display: block;
    }
    
    .checkout-col.info-section .sticky {
        position: relative;
        top: 0;
    }
    
    /* Hide inline payment security and support card from side column on large screens */
    .checkout-col.side .payment-security-inline,
    .checkout-col.side .support-card-inline {
        display: none;
    }
    
    /* Show payment security and support card in info section on large screens */
    .checkout-col.info-section .payment-security,
    .checkout-col.info-section .support-card {
        display: block;
    }
}

.checkout-col.side .sticky {
    position: relative;
    top: 0;
}

.summary-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e5e7eb;
}

.summary-heading h2 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.3;
}

.summary-heading .eyebrow {
    margin-bottom: 0.375rem;
}

.summary-total {
    text-align: right;
}

.summary-total small {
    display: block;
    font-size: 0.8125rem;
    color: #64748b;
    margin-bottom: 0.25rem;
}

.summary-total strong {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: #059669;
    line-height: 1.2;
}

.summary-items.premium {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.85rem 1rem;
    border-radius: 1rem;
    border: 1px solid #e5e7eb;
}

.summary-item.disabled {
    opacity: 0.6;
    background: #fef3c7;
}

.summary-info {
    flex: 1;
    min-width: 0;
}

.summary-info strong {
    display: block;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.4;
    margin-bottom: 0.25rem;
    word-break: break-word;
}

.summary-info p {
    margin: 0;
    color: #64748b;
    font-size: 0.875rem;
    line-height: 1.5;
    word-break: break-word;
}

.summary-qty {
    text-align: right;
    min-width: 120px;
    flex-shrink: 0;
}

.summary-qty span {
    display: block;
    font-size: 0.875rem;
    color: #64748b;
    margin-bottom: 0.25rem;
}

.summary-qty strong {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    color: #059669;
}

.payment-breakdown {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e5e7eb;
}

.payment-breakdown > div {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.payment-breakdown span {
    color: #64748b;
    font-size: 0.8125rem;
    font-weight: 500;
    line-height: 1.4;
}

.payment-breakdown strong {
    color: #059669;
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1.3;
    word-break: break-word;
}

.summary-footnote {
    margin-top: 1.5rem;
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    font-size: 0.875rem;
    color: #475569;
    line-height: 1.6;
    word-break: break-word;
}

.summary-footnote svg {
    width: 24px;
    height: 24px;
    color: #059669;
}

.perks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0.85rem;
}

.perks-grid .perk {
    background: #f9fafb;
    padding: 1.25rem;
    border-radius: 0.75rem;
    border: 1px solid #e5e7eb;
}

.perks-grid .perk h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1rem;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.3;
}

.perks-grid .perk p {
    margin: 0;
    font-size: 0.875rem;
    color: #64748b;
    line-height: 1.6;
    word-break: break-word;
}

.provider-options.premium {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.provider-card {
    display: block;
    position: relative;
}

.provider-card input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.provider-visual {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 1rem;
    transition: all 0.2s ease;
    background: #fff;
}

.provider-visual strong {
    display: block;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.3;
    margin-bottom: 0.125rem;
}

.provider-visual small {
    display: block;
    font-size: 0.8125rem;
    color: #64748b;
    line-height: 1.4;
}

.provider-card input:checked + .provider-visual {
    border-color: #059669;
    box-shadow: 0 10px 30px rgba(5, 150, 105, 0.15);
}

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

.label-headline {
    font-weight: 600;
    font-size: 0.9375rem;
    color: #1e293b;
    margin-bottom: 0.5rem;
    display: block;
    line-height: 1.4;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group small {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.8125rem;
    color: #64748b;
    line-height: 1.5;
}

.mobile-number-group {
    display: flex;
    align-items: center;
    border: 1px solid #d1d5db;
    border-radius: 0.8rem;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.85);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
    transition: box-shadow 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.mobile-number-group:focus-within {
    border-color: rgba(59, 130, 246, 0.55);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.14), 0 18px 50px rgba(15, 23, 42, 0.10);
    transform: translateY(-1px);
}

.mobile-number-group .flag-prefix {
    background: #f3f4f6;
    padding: 0.65rem 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: 1px solid #d1d5db;
}

.mobile-number-group .flag-prefix img {
    width: 22px;
    height: 22px;
    border-radius: 999px;
    object-fit: cover;
}

.mobile-number-group input {
    border: none;
    flex: 1;
    padding: 0.9rem;
    font-size: 1rem;
    background: transparent;
    color: #0f172a;
}

.mobile-number-group input:focus {
    outline: none;
}

.mobile-number-group input::placeholder {
    color: #94a3b8;
}

.secure-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    background: #ecfdf5;
    color: #047857;
    font-size: 0.85rem;
}

.payment-security {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e5e7eb;
    display: grid;
    gap: 1rem;
}

.payment-security > div {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    min-width: 0;
    overflow: hidden;
}

.payment-security span {
    font-weight: 600;
    display: block;
    font-size: 0.9375rem;
    color: #1e293b;
    margin-bottom: 0;
    line-height: 1.3;
    word-break: break-word;
    overflow-wrap: break-word;
}

.payment-security small {
    font-size: 0.8125rem;
    color: #64748b;
    line-height: 1.4;
    display: block;
    word-break: break-word;
    overflow-wrap: break-word;
    margin-top: 0;
}

.support-card {
    display: block;
    width: 100%;
}

.support-card > div {
    min-width: 0;
    overflow: hidden;
    margin-bottom: 1rem;
}

.support-card h3 {
    font-size: 1rem;
    color: #1e293b;
    margin: 0 0 0.5rem 0;
    font-weight: 600;
    word-break: break-word;
    line-height: 1.3;
}

.support-card p {
    font-size: 0.875rem;
    color: #64748b;
    margin: 0;
    line-height: 1.5;
    word-break: break-word;
    overflow-wrap: break-word;
}

.support-card .btn.btn-outline {
    border: 1px solid #1f2937;
    color: #1f2937;
    background: transparent;
}

.support-tab-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

/* Responsive styles for payment security and support card */
@media (max-width: 640px) {
    .support-card {
        padding: 1.5rem !important;
    }
    
    .payment-security span {
        font-size: 0.875rem;
    }
    
    .payment-security small {
        font-size: 0.75rem;
    }
    
    .support-card h3 {
        font-size: 0.9375rem;
    }
    
    .support-card p {
        font-size: 0.8125rem;
    }
}

/* Large screen optimizations */
@media (min-width: 1200px) {
    .payment-security {
        gap: 0.875rem;
    }
    
    .payment-security > div {
        gap: 0.2rem;
    }
    
    .payment-security span {
        font-size: 0.8125rem;
        line-height: 1.2;
    }
    
    .payment-security small {
        font-size: 0.6875rem;
        line-height: 1.3;
    }
    
    .support-card > div {
        margin-bottom: 0.875rem;
    }
    
    .support-card h3 {
        font-size: 0.875rem;
        margin-bottom: 0.375rem;
        line-height: 1.2;
    }
    
    .support-card p {
        font-size: 0.75rem;
        line-height: 1.4;
    }
}

@media (min-width: 1400px) {
    .payment-security {
        gap: 0.75rem;
    }
    
    .payment-security > div {
        gap: 0.15rem;
    }
    
    .payment-security span {
        font-size: 0.75rem;
        line-height: 1.2;
    }
    
    .payment-security small {
        font-size: 0.625rem;
        line-height: 1.3;
    }
    
    .support-card > div {
        margin-bottom: 0.75rem;
    }
    
    .support-card h3 {
        font-size: 0.8125rem;
        margin-bottom: 0.3rem;
        line-height: 1.2;
    }
    
    .support-card p {
        font-size: 0.6875rem;
        line-height: 1.4;
    }
}

.event-support-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    align-items: flex-start;
    margin-bottom: 3rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.support-tab-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

@media (max-width: 768px) {
    .support-card {
        padding: 1.5rem !important;
    }
}

.about-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1.5rem 3rem;
}

.about-container {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.about-hero {
    padding: 0 0 2rem 0;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.about-hero > div {
    padding: 0;
}

.about-hero h1 {
    margin: 0 0 0.75rem 0;
    font-size: 2.25rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.2;
}

.about-hero p {
    margin: 0 0 1rem 0;
    color: #475569;
    line-height: 1.7;
    font-size: 1.05rem;
    max-width: 700px;
}

.about-hero .hero-pill {
    display: inline-block;
    background: #f1f5f9;
    color: #475569;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.about-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    list-style: none;
    padding: 0 0 2rem 0;
    margin: 0;
    border-bottom: 1px solid #e2e8f0;
}

.about-metrics li {
    padding: 1rem;
    font-size: 0.9rem;
    color: #475569;
    text-align: center;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
}

.about-metrics span {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 0.4rem;
    line-height: 1;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    padding: 0 0 2rem 0;
    border-bottom: 1px solid #e2e8f0;
}

.about-card {
    padding: 1.5rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
}

.about-card h2 {
    margin-top: 0;
    margin-bottom: 0.75rem;
    color: #0f172a;
    font-size: 1.35rem;
    font-weight: 700;
}

.about-card p {
    color: #475569;
    line-height: 1.7;
    font-size: 0.95rem;
    margin: 0;
}

.about-card ul {
    padding-left: 1.25rem;
    margin: 0;
    color: #475569;
    line-height: 1.8;
}

.about-card ul li {
    margin-bottom: 0.4rem;
}

.about-values {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    padding: 0 0 2rem 0;
    border-bottom: 1px solid #e2e8f0;
}

.about-values > div {
    padding: 1.5rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
}

.about-values h3 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    color: #0f172a;
    font-size: 1.2rem;
    font-weight: 700;
}

.about-values p {
    color: #475569;
    line-height: 1.7;
    font-size: 0.95rem;
    margin: 0;
}

.about-cta {
    padding: 2rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
}

.about-cta > div {
    padding: 0;
}

.about-cta h2 {
    margin: 0 0 0.5rem 0;
    font-size: 2rem;
    font-weight: 800;
    color: #0f172a;
}

.about-cta p {
    margin: 0;
    font-size: 1rem;
    color: #475569;
    line-height: 1.6;
    max-width: 600px;
}

.cta-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 0.5rem;
}

.cta-actions .btn {
    min-width: 140px;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 8px;
}

.cta-actions .btn-primary {
    background: #10b981;
    color: #ffffff;
    border: 2px solid #10b981;
}

.cta-actions .btn-secondary.ghost-btn {
    background: transparent;
    color: #475569;
    border: 2px solid #cbd5e1;
}

.about-hero .hero-cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    margin-top: 0.25rem;
}

.about-hero .hero-cta .btn {
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 8px;
    vertical-align: middle;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.about-hero .hero-cta .btn-primary {
    background: #10b981;
    color: #ffffff;
    border: 2px solid #10b981;
}

.about-hero .hero-cta .btn-secondary.ghost-btn {
    background: transparent;
    color: #475569;
    border: 2px solid #cbd5e1;
}

@media (max-width: 768px) {
    .about-page {
        padding: 1.5rem 0 2rem;
    }
    
    .about-container {
        padding: 1.5rem;
        gap: 2rem;
    }
    
    .about-hero h1 {
        font-size: 1.75rem;
    }
    
    .about-hero p {
        font-size: 0.95rem;
    }
    
    .about-metrics {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    
    .about-values {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    
    .about-cta h2 {
        font-size: 1.5rem;
    }
    
    .cta-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .cta-actions .btn {
        width: 100%;
    }
}

.checkout-hero.hero-success {
    background: linear-gradient(135deg, #ecfdf5, #d1fae5);
    border-color: #bbf7d0;
    color: #064e3b;
}

.payment-success-card.premium-success {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.payment-success-card .success-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: #ecfdf5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.success-primary {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.success-head {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.success-symbol {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: rgba(16, 185, 129, 0.15);
    color: #059669;
    display: flex;
    align-items: center;
    justify-content: center;
}

.success-detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
}

.success-detail-grid span {
    display: block;
    font-size: 0.85rem;
    color: #6b7280;
    margin-bottom: 0.2rem;
}

.success-detail-grid strong {
    font-size: 1rem;
    color: #0f172a;
    display: flex;
    flex-direction: column;
}

.success-detail-grid strong small {
    font-size: 0.8rem;
    color: #6b7280;
    font-weight: 500;
}

.success-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.success-actions .btn {
    flex: 1;
    min-width: 180px;
    text-align: center;
}

.payment-status-card {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.payment-status-card .status-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.payment-status-card.status-error .status-icon {
    background: #fef2f2;
    color: #dc2626;
}

.payment-status-card h2 {
    margin-bottom: 0.35rem;
}

.status-meta {
    margin: 0.75rem 0 1rem;
    padding-left: 1.25rem;
    color: #6b7280;
}

.status-meta li {
    margin-bottom: 0.4rem;
}

.status-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.alert.compact {
    padding: 0.85rem 1rem;
    font-size: 0.9rem;
}

.success-layout {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.success-pill-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 0.75rem 0;
}

.success-pill-row span {
    background: #f1f5f9;
    border-radius: 999px;
    padding: 0.35rem 0.9rem;
    font-size: 0.9rem;
}

.success-followup-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
}

.success-info-card {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.success-info-card .info-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: #eef2ff;
    color: #4338ca;
    display: flex;
    align-items: center;
    justify-content: center;
}

.success-info-card .info-icon.accent {
    background: #ecfdf5;
    color: #059669;
}

.info-subtitle {
    color: #64748b;
    margin-bottom: 0.25rem;
}

.success-info-list {
    margin-top: 0.75rem;
    padding-left: 1.2rem;
    color: #475569;
}

.success-info-list li {
    margin-bottom: 0.4rem;
}

.info-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.info-actions .btn {
    flex: 1;
    min-width: 160px;
    text-align: center;
}

.hidden {
    display: none !important;
}

.payment-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 1.5rem;
}

.payment-overlay-card {
    background: #0f172a;
    border: 1px solid #334155;
    border-radius: 1.5rem;
    padding: 2rem;
    display: flex;
    gap: 1.25rem;
    max-width: 520px;
    width: 100%;
    color: #f8fafc;
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.45);
}

.payment-overlay-spinner {
    width: 48px;
    height: 48px;
    border: 4px solid rgba(148, 163, 184, 0.4);
    border-top-color: #38bdf8;
    border-radius: 50%;
    animation: overlay-spin 0.9s linear infinite;
}

@keyframes overlay-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.overlay-eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 0.75rem;
    color: #38bdf8;
    margin-bottom: 0.35rem;
}

.payment-overlay-card h3 {
    margin: 0 0 0.35rem;
}

.overlay-note {
    color: #94a3b8;
    margin-top: 0.35rem;
    font-size: 0.9rem;
}

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

    .checkout-col.side .sticky {
        position: static;
    }

.checkout-hero {
    padding: 1.5rem;
}
}

@media (max-width: 640px) {
    .hero-meta {
        flex-direction: column;
        gap: 1rem;
    }

    .checkout-progress {
        flex-direction: column;
    }

    .support-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .mobile-number-group {
        flex-direction: row;
        align-items: center;
    }

    .mobile-number-group .flag-prefix {
        width: auto;
        border-right: 1px solid #d1d5db;
        padding: 0.6rem 0.75rem;
    }
    
    /* Improve readability on mobile */
    .summary-heading h2 {
        font-size: 1.25rem;
    }
    
    .summary-total strong {
        font-size: 1.25rem;
    }
    
    .panel-header h2 {
        font-size: 1.25rem;
    }
    
    .summary-info strong {
        font-size: 0.875rem;
    }
    
    .summary-info p {
        font-size: 0.8125rem;
    }
    
    .summary-qty strong {
        font-size: 0.9375rem;
    }
    
    .perks-grid .perk h3 {
        font-size: 0.9375rem;
    }
    
    .perks-grid .perk p {
        font-size: 0.8125rem;
    }
    
    .provider-visual strong {
        font-size: 0.875rem;
    }
    
    .provider-visual small {
        font-size: 0.75rem;
    }
    
    .label-headline {
        font-size: 0.875rem;
    }
}

/* Large screen optimizations for better organization */
@media (min-width: 1200px) {
    .checkout-page.premium-checkout {
        max-width: 1400px;
        padding: 0 2rem;
    }
    
    .checkout-grid {
        gap: 2rem;
    }
    
    .summary-heading {
        padding-bottom: 1.25rem;
        margin-bottom: 1.75rem;
    }
    
    .summary-item {
        padding: 1rem 1.25rem;
    }
    
    .perks-grid {
        gap: 1rem;
    }
    
    .perks-grid .perk {
        padding: 1.5rem;
    }
}

/* Cookie Consent Banner */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    border-top: 1px solid #e5e7eb;
    z-index: 10000;
    padding: 1.25rem;
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
    opacity: 0;
}

.cookie-consent.show {
    transform: translateY(0);
    opacity: 1;
}

.cookie-consent-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.cookie-consent-text {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    flex: 1;
    min-width: 280px;
}

.cookie-icon {
    flex-shrink: 0;
    color: #047857;
    margin-top: 0.125rem;
}

.cookie-consent-title {
    font-size: 1rem;
    font-weight: 600;
    color: #1f2937;
    margin: 0 0 0.375rem 0;
    line-height: 1.4;
}

.cookie-consent-message {
    font-size: 0.875rem;
    color: #4b5563;
    margin: 0;
    line-height: 1.6;
}

.cookie-consent-message a {
    color: #047857;
    text-decoration: underline;
    font-weight: 500;
    transition: color 0.2s ease;
}

.cookie-consent-message a:hover {
    color: #059669;
}

.cookie-consent-actions {
    display: flex;
    gap: 0.75rem;
    flex-shrink: 0;
    flex-wrap: wrap;
}

.cookie-btn {
    padding: 0.625rem 1.25rem;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
    white-space: nowrap;
    font-family: inherit;
}

.cookie-btn-primary {
    background: #047857;
    color: #ffffff;
}

.cookie-btn-primary:hover {
    background: #059669;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(4, 120, 87, 0.3);
}

.cookie-btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(4, 120, 87, 0.2);
}

.cookie-btn-secondary {
    background: #f3f4f6;
    color: #374151;
    border: 1px solid #d1d5db;
}

.cookie-btn-secondary:hover {
    background: #e5e7eb;
    border-color: #9ca3af;
}

.cookie-btn-secondary:active {
    background: #d1d5db;
}

/* Responsive Cookie Banner */
@media (max-width: 768px) {
    .cookie-consent {
        padding: 1rem;
    }
    
    .cookie-consent-content {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }
    
    .cookie-consent-text {
        min-width: 100%;
    }
    
    .cookie-consent-actions {
        width: 100%;
        justify-content: stretch;
    }
    
    .cookie-btn {
        flex: 1;
        min-width: 0;
    }
    
    .cookie-consent-title {
        font-size: 0.9375rem;
    }
    
    .cookie-consent-message {
        font-size: 0.8125rem;
    }
}

@media (max-width: 480px) {
    .cookie-consent {
        padding: 0.875rem;
    }
    
    .cookie-consent-actions {
        flex-direction: column;
    }
    
    .cookie-btn {
        width: 100%;
    }
}

/* Occurrence Category Items - Responsive */
.occurrence-category-item {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    padding: 1rem;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
}

.occurrence-category-field {
    width: 100%;
}

.occurrence-category-remove {
    width: 100%;
    margin-top: 0.5rem;
}

.occurrence-category-remove .btn {
    width: 100%;
}

@media (min-width: 768px) {
    .occurrence-category-item {
        flex-direction: row;
        align-items: flex-end;
        gap: 0.75rem;
    }
    
    .occurrence-category-field {
        flex: 1;
    }
    
    .occurrence-category-remove {
        width: auto;
        flex-shrink: 0;
        margin-top: 0;
    }
    
    .occurrence-category-remove .btn {
        width: auto;
    }
}

/* Form Validation Warning - Professional & Responsive */
.validation-warning {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    animation: fadeIn 0.3s ease;
}

.validation-warning-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.validation-warning-content {
    position: relative;
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    animation: slideUp 0.3s ease;
    z-index: 1;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

.validation-warning-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.5rem;
    border-bottom: 1px solid #e2e8f0;
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
    border-radius: 16px 16px 0 0;
}

.validation-warning-header svg:first-child {
    color: #ef4444;
    flex-shrink: 0;
}

.validation-warning-header h3 {
    margin: 0;
    flex: 1;
    color: #1e293b;
    font-size: 1.25rem;
    font-weight: 600;
}

.validation-warning-close {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 6px;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.validation-warning-close:hover {
    background: #f1f5f9;
    color: #1e293b;
}

.validation-warning-body {
    padding: 1.5rem;
}

.validation-warning-body > p:first-child {
    margin: 0 0 1rem 0;
    color: #1e293b;
    font-size: 1rem;
    line-height: 1.6;
}

.validation-warning-body > p:first-child strong {
    color: #ef4444;
    font-weight: 600;
}

.validation-warning-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem 0;
    background: #f8fafc;
    border-radius: 8px;
    padding: 1rem;
    border: 1px solid #e2e8f0;
}

.validation-warning-list li {
    padding: 0.75rem;
    margin-bottom: 0.5rem;
    background: white;
    border-radius: 6px;
    border-left: 3px solid #ef4444;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.validation-warning-list li:last-child {
    margin-bottom: 0;
}

.validation-warning-list li::before {
    content: '✗';
    color: #ef4444;
    font-weight: bold;
    font-size: 1rem;
    flex-shrink: 0;
}

.validation-warning-list li span {
    color: #1e293b;
    font-size: 0.9375rem;
}

.validation-warning-hint {
    margin: 1rem 0 0 0;
    padding: 0.75rem;
    background: #fef3c7;
    border-left: 3px solid #f59e0b;
    border-radius: 6px;
    color: #92400e;
    font-size: 0.875rem;
    line-height: 1.5;
}

.validation-warning-footer {
    padding: 1.5rem;
    border-top: 1px solid #e2e8f0;
    display: flex;
    gap: 0.75rem;
    justify-content: flex-end;
    background: #f8fafc;
    border-radius: 0 0 16px 16px;
}

.field-error {
    animation: shake 0.3s ease;
}

@keyframes shake {
    0%, 100% {
        transform: translateX(0);
    }
    25% {
        transform: translateX(-5px);
    }
    75% {
        transform: translateX(5px);
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .validation-warning {
        padding: 0.5rem;
    }
    
    .validation-warning-content {
        max-width: 100%;
        border-radius: 12px;
    }
    
    .validation-warning-header {
        padding: 1rem;
        border-radius: 12px 12px 0 0;
    }
    
    .validation-warning-header h3 {
        font-size: 1.125rem;
    }
    
    .validation-warning-body {
        padding: 1rem;
    }
    
    .validation-warning-list {
        padding: 0.75rem;
    }
    
    .validation-warning-list li {
        padding: 0.625rem;
        font-size: 0.875rem;
    }
    
    .validation-warning-footer {
        padding: 1rem;
        flex-direction: column;
    }
    
    .validation-warning-footer .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .validation-warning-header {
        flex-wrap: wrap;
    }
    
    .validation-warning-header h3 {
        font-size: 1rem;
    }
    
    .validation-warning-body > p:first-child {
        font-size: 0.9375rem;
    }
    
    .validation-warning-list li {
        font-size: 0.8125rem;
        padding: 0.5rem;
    }
}
