/**
 * HoekseRakkers Evenementen - Public Styles
 * Modern, mobile-first design
 */

/* === CSS Custom Properties === */
:root {
    --hr-primary: #5E35B1;
    --hr-primary-dark: #4527A0;
    --hr-primary-light: #7E57C2;
    --hr-success: #4CAF50;
    --hr-warning: #FFC107;
    --hr-danger: #DC3545;
    --hr-text: #1a1a1a;
    --hr-text-light: #666666;
    --hr-text-muted: #999999;
    --hr-bg: #ffffff;
    --hr-bg-light: #f8f9fa;
    --hr-border: #e5e7eb;
    --hr-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --hr-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --hr-radius: 12px;
    --hr-radius-sm: 8px;
    --hr-transition: all 0.2s ease;
}

/* === Archive Page === */
.hr-events-archive {
    padding: 30px 0 60px;
    background-color: var(--hr-bg-light);
    min-height: 60vh;
}

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

.hr-events-header {
    text-align: center;
    margin-bottom: 30px;
}

.hr-events-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--hr-text);
    margin: 0;
}

/* Filters */
.hr-events-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
}

.hr-filter-button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    background-color: var(--hr-bg);
    color: var(--hr-text);
    text-decoration: none;
    border-radius: 30px;
    font-size: 0.875rem;
    font-weight: 500;
    transition: var(--hr-transition);
    border: 1px solid var(--hr-border);
}

.hr-filter-button svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.hr-filter-button:hover {
    background-color: var(--hr-primary);
    color: white;
    border-color: var(--hr-primary);
}

.hr-filter-button.active {
    background-color: var(--hr-primary);
    color: white;
    border-color: var(--hr-primary);
    box-shadow: 0 4px 12px rgba(94, 53, 177, 0.3);
}

.hr-filter-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    background: rgba(0,0,0,0.08);
    border-radius: 10px;
    font-size: 0.75rem;
    font-weight: 600;
}

.hr-filter-button.active .hr-filter-count {
    background: rgba(255,255,255,0.25);
}

/* Period vs Category filter styling */
.hr-period-filters {
    margin-bottom: 8px;
}

.hr-category-filters {
    margin-top: 8px;
}

.hr-filter-button.hr-filter-small {
    padding: 6px 14px;
    font-size: 0.8rem;
}

.hr-filter-button.hr-filter-small svg {
    width: 14px;
    height: 14px;
}

/* === Events Grid === */
.hr-events-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 20px;
}

@media (min-width: 640px) {
    .hr-events-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .hr-events-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .hr-events-cols-2 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hr-events-cols-4 {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* === Event Card === */
.hr-event-card {
    background: var(--hr-bg);
    border-radius: var(--hr-radius);
    overflow: hidden;
    box-shadow: var(--hr-shadow);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.hr-event-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--hr-primary), var(--hr-primary-light));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 3;
}

.hr-event-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px -12px rgba(94, 53, 177, 0.25);
}

.hr-event-card:hover::before {
    opacity: 1;
}

.hr-event-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.hr-event-card-image {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: linear-gradient(135deg, var(--hr-bg-light) 0%, #e8e3f3 100%);
}

.hr-event-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.hr-event-card:hover .hr-event-card-image img {
    transform: scale(1.08);
}

.hr-event-card-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(to top, rgba(0,0,0,0.3), transparent);
    pointer-events: none;
}

/* Date Badge */
.hr-event-date-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--hr-bg);
    padding: 10px 14px;
    border-radius: var(--hr-radius-sm);
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 2;
    min-width: 60px;
}

.hr-event-date-day {
    display: block;
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--hr-primary);
    line-height: 1;
}

.hr-event-date-month {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--hr-text);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 2px;
}

/* Event Badges */
.hr-event-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    z-index: 2;
}

.hr-event-badge-full {
    background-color: var(--hr-danger);
    color: white;
}

.hr-event-badge-closed {
    background-color: var(--hr-text-muted);
    color: white;
}

/* Card Content */
.hr-event-card-content {
    padding: 16px 18px 18px;
}

.hr-event-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--hr-text);
    margin: 0 0 10px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hr-event-card-meta {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 12px;
}

.hr-event-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    color: var(--hr-text-light);
}

.hr-event-meta-item svg {
    flex-shrink: 0;
    color: var(--hr-primary);
    width: 14px;
    height: 14px;
}

.hr-event-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 12px;
    border-top: 1px solid var(--hr-border);
}

.hr-event-price {
    font-size: 1rem;
    font-weight: 700;
    color: var(--hr-primary);
}

.hr-event-price-free {
    color: var(--hr-success);
    background: rgba(76, 175, 80, 0.1);
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
}

.hr-event-cta {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--hr-primary);
    transition: var(--hr-transition);
}

.hr-event-card:hover .hr-event-cta {
    gap: 8px;
}

/* Empty State */
.hr-events-empty {
    text-align: center;
    padding: 60px 20px;
    background: var(--hr-bg);
    border-radius: var(--hr-radius);
}

.hr-events-empty svg {
    color: var(--hr-text-muted);
    margin-bottom: 20px;
}

.hr-events-empty h2 {
    font-size: 1.5rem;
    color: var(--hr-text);
    margin: 0 0 12px;
}

.hr-events-empty p {
    color: var(--hr-text-light);
    margin: 0;
}

/* Pagination */
.hr-events-pagination {
    margin-top: 40px;
    text-align: center;
}

.hr-events-pagination .page-numbers {
    display: inline-block;
    padding: 10px 16px;
    margin: 0 4px;
    background: var(--hr-bg);
    color: var(--hr-text);
    text-decoration: none;
    border-radius: var(--hr-radius-sm);
    transition: var(--hr-transition);
}

.hr-events-pagination .page-numbers:hover,
.hr-events-pagination .page-numbers.current {
    background: var(--hr-primary);
    color: white;
}

/* === Single Event Page === */
.hr-single-event {
    background-color: var(--hr-bg-light);
    min-height: 100vh;
}

/* Breadcrumb Bar */
.hr-event-breadcrumb-bar {
    background: var(--hr-bg);
    padding: 16px 0;
    border-bottom: 1px solid var(--hr-border);
}

.hr-event-breadcrumb-bar .hr-breadcrumbs {
    margin: 0;
}

/* Hero Image - Modern Full Width with subtle shadow */
.hr-event-hero-image {
    width: 100%;
    max-height: 480px;
    overflow: hidden;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
}

.hr-event-hero-image .hr-hero-img {
    max-width: 100%;
    max-height: 440px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    border-radius: var(--hr-radius);
    box-shadow: 0 20px 60px rgba(0,0,0,0.15), 0 8px 25px rgba(0,0,0,0.1);
}

@media (min-width: 768px) {
    .hr-event-hero-image {
        padding: 40px 24px;
        max-height: 560px;
    }
    .hr-event-hero-image .hr-hero-img {
        max-height: 500px;
    }
}

/* Title Section - Clean and simple */
.hr-event-title-section {
    background: var(--hr-bg);
    padding: 24px 0 32px;
    border-bottom: 1px solid var(--hr-border);
}

.hr-event-title-content {
    max-width: 900px;
}

.hr-event-main-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--hr-text);
    margin: 8px 0 0;
    line-height: 1.3;
    letter-spacing: -0.02em;
}

@media (min-width: 768px) {
    .hr-event-main-title {
        font-size: 2.25rem;
    }
}

.hr-event-quick-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    justify-content: center;
}

.hr-quick-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    color: var(--hr-text);
    background: var(--hr-bg-light);
    padding: 10px 16px;
    border-radius: 30px;
    font-weight: 500;
    transition: var(--hr-transition);
}

.hr-quick-meta-item:hover {
    background: #e9ecef;
}

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

.hr-quick-meta-item.hr-price-tag {
    background: linear-gradient(135deg, var(--hr-primary) 0%, var(--hr-primary-dark) 100%);
    color: white;
    padding: 10px 20px;
    font-weight: 700;
    font-size: 1rem;
    box-shadow: 0 4px 15px rgba(94, 53, 177, 0.3);
}

.hr-quick-meta-item.hr-price-tag:hover {
    background: linear-gradient(135deg, var(--hr-primary-dark) 0%, var(--hr-primary) 100%);
    transform: translateY(-1px);
}

.hr-quick-meta-item.hr-free-tag {
    background: linear-gradient(135deg, var(--hr-success) 0%, #43a047 100%);
    color: white;
    padding: 10px 20px;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}

.hr-quick-meta-item.hr-online {
    color: var(--hr-primary);
    background: rgba(94, 53, 177, 0.1);
}

/* Breadcrumbs */
.hr-breadcrumbs {
    margin-bottom: 16px;
    font-size: 0.875rem;
}

.hr-breadcrumbs a {
    color: var(--hr-text-light);
    text-decoration: none;
}

.hr-breadcrumbs a:hover {
    color: var(--hr-primary);
}

.hr-breadcrumb-sep {
    margin: 0 8px;
    color: var(--hr-text-muted);
}

.hr-breadcrumb-current {
    color: var(--hr-text);
}

.hr-event-header-simple .hr-breadcrumbs a {
    color: var(--hr-text-light);
}

.hr-event-header-simple .hr-breadcrumbs a:hover {
    color: var(--hr-primary);
}

.hr-event-header-simple .hr-breadcrumb-sep {
    color: var(--hr-text-muted);
}

.hr-event-header-simple .hr-breadcrumb-current {
    color: var(--hr-text);
}

/* Category Badges */
.hr-event-categories {
    display: flex;
    gap: 8px;
    margin-top: 12px;
}

.hr-category-badge {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(255,255,255,0.2);
    color: white;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    backdrop-filter: blur(4px);
}

/* Event Container */
.hr-event-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 30px 16px;
}

@media (min-width: 1024px) {
    .hr-event-container {
        padding: 40px 24px;
    }
}

.hr-event-layout {
    display: grid;
    gap: 30px;
}

@media (min-width: 1024px) {
    .hr-event-layout {
        grid-template-columns: 1fr 420px;
        gap: 40px;
    }
}

@media (min-width: 1280px) {
    .hr-event-layout {
        grid-template-columns: 1fr 450px;
    }
}

/* Main Content */
.hr-event-main {
    background: var(--hr-bg);
    border-radius: var(--hr-radius);
    padding: 30px;
}

.hr-event-header-simple {
    margin-bottom: 30px;
}

.hr-event-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--hr-text);
    margin: 16px 0 0;
}

.hr-event-video {
    margin-bottom: 30px;
    border-radius: var(--hr-radius-sm);
    overflow: hidden;
    aspect-ratio: 16 / 9;
}

.hr-event-video iframe {
    width: 100%;
    height: 100%;
}

.hr-event-content {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--hr-text);
}

.hr-event-content p {
    margin-bottom: 1em;
}

.hr-event-content h2,
.hr-event-content h3 {
    margin-top: 1.5em;
    margin-bottom: 0.5em;
}

/* Location Section */
.hr-event-location-section {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--hr-border);
}

.hr-event-location-section h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--hr-text);
    margin: 0 0 20px;
}

.hr-event-location-info {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 20px;
}

.hr-location-details {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.hr-location-details svg {
    color: var(--hr-primary);
    flex-shrink: 0;
    margin-top: 2px;
}

.hr-location-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--hr-primary);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
}

.hr-location-link:hover {
    text-decoration: underline;
}

.hr-event-map {
    border-radius: var(--hr-radius-sm);
    overflow: hidden;
    margin-top: 16px;
}

.hr-postcode {
    color: var(--hr-text-light);
}

/* Share Section */
.hr-event-share {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--hr-border);
}

.hr-event-share h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--hr-text);
    margin: 0 0 16px;
}

.hr-share-buttons {
    display: flex;
    gap: 10px;
}

.hr-share-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--hr-bg-light);
    color: var(--hr-text);
    text-decoration: none;
    transition: var(--hr-transition);
    border: none;
    cursor: pointer;
}

.hr-share-facebook:hover {
    background: #1877F2;
    color: white;
}

.hr-share-twitter:hover {
    background: #000000;
    color: white;
}

.hr-share-whatsapp:hover {
    background: #25D366;
    color: white;
}

.hr-share-linkedin:hover {
    background: #0A66C2;
    color: white;
}

.hr-share-copy:hover {
    background: var(--hr-primary);
    color: white;
}

/* === Sidebar === */
.hr-event-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Info Card */
.hr-event-info-card {
    background: var(--hr-bg);
    border-radius: var(--hr-radius);
    overflow: hidden;
    box-shadow: var(--hr-shadow);
}

.hr-info-section {
    padding: 20px 24px;
    border-bottom: 1px solid var(--hr-border);
}

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

.hr-info-section h4 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--hr-primary);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin: 0 0 12px;
}

.hr-info-section h4 svg {
    color: var(--hr-primary);
    opacity: 0.7;
}

.hr-info-content p {
    margin: 0 0 6px;
    color: var(--hr-text);
    font-size: 1rem;
    line-height: 1.5;
}

.hr-info-date {
    font-weight: 600;
    font-size: 1.05rem !important;
}

.hr-info-deadline {
    color: var(--hr-text-muted) !important;
    font-size: 0.85rem !important;
    margin-top: 8px !important;
    padding-top: 8px;
    border-top: 1px dashed var(--hr-border);
}

.hr-info-price {
    font-size: 1.75rem !important;
    font-weight: 800;
    color: var(--hr-primary) !important;
    letter-spacing: -0.02em;
}

.hr-info-price small {
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--hr-text-light);
    margin-left: 4px;
}

.hr-info-free {
    color: var(--hr-success) !important;
}

.hr-info-spots {
    font-size: 0.9rem !important;
    color: var(--hr-text-light) !important;
    background: var(--hr-bg-light);
    padding: 8px 12px;
    border-radius: 6px;
    margin-top: 8px !important;
    display: inline-block;
}

.hr-info-full {
    color: white !important;
    background: var(--hr-danger) !important;
    font-weight: 600;
}

.hr-info-online {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(94, 53, 177, 0.08);
    padding: 10px 14px;
    border-radius: 8px;
}

.hr-info-online svg {
    color: var(--hr-primary);
}

.hr-maps-link {
    display: inline-block;
    margin-top: 8px;
    font-size: 0.875rem;
    color: var(--hr-primary);
    text-decoration: none;
    font-weight: 600;
}

.hr-maps-link:hover {
    text-decoration: underline;
}

/* === Registration Form === */
.hr-registration-wrapper {
    background: var(--hr-bg);
    border-radius: var(--hr-radius);
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08), 0 2px 8px rgba(0,0,0,0.04);
    border: 1px solid rgba(0,0,0,0.06);
}

.hr-registration-closed {
    padding: 48px 24px;
    text-align: center;
    background: linear-gradient(135deg, #fafafa 0%, #f0f0f0 100%);
}

.hr-registration-closed h4 {
    font-size: 1.25rem;
    color: var(--hr-text);
    margin: 0 0 12px;
    font-weight: 700;
}

.hr-registration-closed p {
    color: var(--hr-text-light);
    margin: 0;
    line-height: 1.6;
}

.hr-registration-form {
    padding: 24px;
}

@media (min-width: 1024px) {
    .hr-registration-form {
        padding: 28px;
    }
}

.hr-form-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--hr-primary);
}

.hr-form-header h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--hr-text);
    margin: 0;
    letter-spacing: -0.01em;
}

.hr-spots-left {
    font-size: 0.85rem;
    color: white;
    background: var(--hr-success);
    padding: 6px 14px;
    border-radius: 20px;
    font-weight: 600;
}

.hr-form-fields {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.hr-form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.hr-form-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--hr-text);
    letter-spacing: -0.01em;
}

.hr-form-group label .required {
    color: var(--hr-danger);
}

.hr-form-group label small {
    color: var(--hr-text-muted);
    font-weight: 400;
}

.hr-form-group input[type="text"],
.hr-form-group input[type="email"],
.hr-form-group input[type="tel"],
.hr-form-group input[type="date"],
.hr-form-group select,
.hr-form-group textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 12px 16px;
    border: 2px solid var(--hr-border);
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    transition: var(--hr-transition);
    background: #fafafa;
    color: var(--hr-text);
}

.hr-form-group input::placeholder,
.hr-form-group textarea::placeholder {
    color: var(--hr-text-muted);
}

@media (min-width: 1024px) {
    .hr-form-group input[type="text"],
    .hr-form-group input[type="email"],
    .hr-form-group input[type="tel"],
    .hr-form-group input[type="date"],
    .hr-form-group select,
    .hr-form-group textarea {
        padding: 14px 18px;
    }
}

.hr-form-group input:focus,
.hr-form-group select:focus,
.hr-form-group textarea:focus {
    outline: none;
    border-color: var(--hr-primary);
    background: var(--hr-bg);
    box-shadow: 0 0 0 4px rgba(94, 53, 177, 0.12);
}

.hr-form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%235E35B1' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 14px center;
    background-repeat: no-repeat;
    background-size: 18px;
    padding-right: 44px;
}

/* Total Price */
.hr-form-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: linear-gradient(135deg, rgba(94, 53, 177, 0.06) 0%, rgba(94, 53, 177, 0.02) 100%);
    border-radius: 10px;
    border: 1px solid rgba(94, 53, 177, 0.15);
    margin-top: 8px;
}

.hr-total-label {
    font-weight: 700;
    color: var(--hr-text);
    font-size: 1rem;
}

.hr-total-amount {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--hr-primary);
    letter-spacing: -0.02em;
}

/* Checkbox */
.hr-form-checkbox label {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    cursor: pointer;
    font-weight: 400;
    font-size: 0.85rem;
    line-height: 1.4;
}

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

.hr-form-checkbox a {
    color: var(--hr-primary);
}

/* Submit */
.hr-form-submit {
    margin-top: 24px;
}

.hr-submit-button {
    width: 100%;
    padding: 16px 24px;
    background: linear-gradient(135deg, var(--hr-primary) 0%, var(--hr-primary-dark) 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.05rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(94, 53, 177, 0.35);
    text-transform: none;
    letter-spacing: 0;
}

@media (min-width: 1024px) {
    .hr-submit-button {
        padding: 18px 28px;
        font-size: 1.1rem;
    }
}

.hr-submit-button:hover {
    background: linear-gradient(135deg, var(--hr-primary-dark) 0%, #3d1f7d 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(94, 53, 177, 0.4);
}

.hr-submit-button:active {
    transform: translateY(0);
}

.hr-submit-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Spinner */
.hr-spinner {
    width: 20px;
    height: 20px;
    animation: hr-spin 1s linear infinite;
}

.spinner-circle {
    stroke: currentColor;
    stroke-dasharray: 60;
    stroke-dashoffset: 45;
    stroke-linecap: round;
}

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

/* Messages */
.hr-form-messages {
    margin-top: 16px;
}

.hr-message {
    padding: 12px 16px;
    border-radius: var(--hr-radius-sm);
    font-size: 0.875rem;
}

.hr-message-error {
    background: #FEE2E2;
    color: #B91C1C;
}

.hr-message-success {
    background: #D1FAE5;
    color: #065F46;
}

/* Success Modal */
.hr-success-modal {
    padding: 40px 24px;
    text-align: center;
}

.hr-success-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: #D1FAE5;
    border-radius: 50%;
    color: var(--hr-success);
    margin-bottom: 20px;
}

.hr-success-content h3 {
    font-size: 1.5rem;
    color: var(--hr-text);
    margin: 0 0 12px;
}

.hr-success-message {
    color: var(--hr-text-light);
    margin: 0 0 24px;
}

.hr-payment-section {
    background: var(--hr-bg-light);
    padding: 20px;
    border-radius: var(--hr-radius-sm);
    margin-top: 20px;
}

.hr-payment-section p {
    margin: 0 0 16px;
    color: var(--hr-text);
}

.hr-payment-button {
    display: inline-block;
    padding: 14px 32px;
    background: var(--hr-primary);
    color: white;
    text-decoration: none;
    border-radius: var(--hr-radius-sm);
    font-weight: 600;
    transition: var(--hr-transition);
}

.hr-payment-button:hover {
    background: var(--hr-primary-dark);
    color: white;
}

.hr-payment-reference {
    font-size: 0.875rem;
    color: var(--hr-text-muted);
    margin: 16px 0 0 !important;
}

/* === 18+ Age Verification Modal === */
.hr-age-verification-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 20px;
}

.hr-age-modal-content {
    background: var(--hr-bg);
    border-radius: var(--hr-radius);
    padding: 40px 30px;
    max-width: 420px;
    width: 100%;
    text-align: center;
    box-shadow: var(--hr-shadow-lg);
}

.hr-age-icon {
    color: var(--hr-warning);
    margin-bottom: 20px;
}

.hr-age-modal-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--hr-text);
    margin: 0 0 12px;
}

.hr-age-modal-content p {
    color: var(--hr-text-light);
    margin: 0 0 20px;
    line-height: 1.6;
}

.hr-age-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hr-age-btn {
    display: block;
    padding: 14px 24px;
    border-radius: var(--hr-radius-sm);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: var(--hr-transition);
    text-decoration: none;
    text-align: center;
}

.hr-age-yes {
    background: var(--hr-primary);
    color: white;
}

.hr-age-yes:hover {
    background: var(--hr-primary-dark);
}

.hr-age-no {
    background: var(--hr-bg-light);
    color: var(--hr-text-light);
    border: 1px solid var(--hr-border);
}

.hr-age-no:hover {
    background: var(--hr-border);
}

.hr-age-denied {
    padding: 20px 0;
    text-align: center;
}

.hr-age-denied h3 {
    color: var(--hr-danger);
    margin-bottom: 12px;
}

.hr-age-icon-denied {
    margin-bottom: 16px;
}

.hr-age-back {
    margin-top: 20px !important;
    display: inline-block;
    background: var(--hr-primary);
    color: white;
}

/* === 18+ Badge on Cards === */
.hr-event-18-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--hr-danger);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    z-index: 2;
}

.hr-badge-18 {
    display: inline-block;
    background: var(--hr-danger);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 10px;
    margin-left: 6px;
    vertical-align: middle;
}

/* === Group Registration / Extra Participants === */
.hr-num-persons-group {
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--hr-border);
}

.hr-num-persons-select {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--hr-primary);
    border-radius: var(--hr-radius-sm);
    font-size: 1.1rem;
    font-weight: 600;
    background-color: var(--hr-bg);
    color: var(--hr-primary);
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%235E35B1' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 20px;
}

.hr-num-persons-select:focus {
    outline: none;
    border-color: var(--hr-primary-dark);
    box-shadow: 0 0 0 3px rgba(94, 53, 177, 0.15);
}

.hr-num-persons-group label {
    font-weight: 600;
    color: var(--hr-text);
    margin-bottom: 8px;
    display: block;
}

.hr-participants-container {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.hr-main-contact,
.hr-extra-participant {
    padding: 20px;
    background: var(--hr-bg-light);
    border-radius: var(--hr-radius-sm);
}

.hr-participant-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--hr-primary);
    margin: 0 0 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--hr-primary);
}

.hr-extra-participants {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.hr-form-row {
    display: grid;
    gap: 16px;
}

.hr-form-group-wide {
    width: 100%;
}

.hr-field-hint {
    font-size: 0.8rem;
    color: var(--hr-text-muted);
    margin-top: 6px;
}

.hr-input-error {
    border-color: var(--hr-danger) !important;
    background-color: #FEF2F2 !important;
}

/* === Payment Section Enhanced === */
.hr-payment-amount {
    font-size: 1.5rem;
    color: var(--hr-primary);
    margin-bottom: 16px !important;
}

.hr-payment-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    background: var(--hr-success);
    color: white;
    text-decoration: none;
    border-radius: var(--hr-radius-sm);
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--hr-transition);
}

.hr-payment-button:hover {
    background: #3D8B40;
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--hr-shadow);
}

.hr-payment-note {
    font-size: 0.85rem;
    color: var(--hr-text-muted);
    margin-top: 16px !important;
}

/* === Spots Warning === */
.hr-spots-warning {
    color: var(--hr-danger) !important;
}

.hr-spots-warning .hr-spots-count {
    font-weight: 700;
}

/* === Upcoming Events List === */
.hr-upcoming-events-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.hr-upcoming-event {
    margin-bottom: 8px;
}

.hr-upcoming-event a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: var(--hr-bg-light);
    border-radius: var(--hr-radius-sm);
    text-decoration: none;
    transition: var(--hr-transition);
}

.hr-upcoming-event a:hover {
    background: var(--hr-border);
}

.hr-upcoming-date {
    flex-shrink: 0;
    width: 60px;
    text-align: center;
    font-weight: 700;
    color: var(--hr-primary);
    font-size: 0.875rem;
}

.hr-upcoming-title {
    color: var(--hr-text);
    font-weight: 500;
}

/* === Redirect Overlay === */
.hr-redirect-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    padding: 20px;
}

.hr-redirect-content {
    background: var(--hr-bg);
    border-radius: var(--hr-radius);
    padding: 40px;
    max-width: 400px;
    width: 100%;
    text-align: center;
}

.hr-redirect-icon {
    margin-bottom: 20px;
}

.hr-redirect-content h3 {
    font-size: 1.5rem;
    color: var(--hr-text);
    margin: 0 0 10px;
}

.hr-redirect-content p {
    color: var(--hr-text-light);
    margin: 0 0 10px;
}

.hr-redirect-amount {
    font-size: 1.25rem;
    color: var(--hr-primary) !important;
}

.hr-redirect-ref {
    font-size: 0.875rem;
    color: var(--hr-text-muted) !important;
}

.hr-redirect-loader {
    margin: 20px 0;
}

.hr-spinner {
    width: 40px;
    height: 40px;
    margin: 0 auto;
    border: 3px solid var(--hr-border);
    border-top-color: var(--hr-primary);
    border-radius: 50%;
    animation: hr-spin 1s linear infinite;
}

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

.hr-redirect-manual {
    font-size: 0.8rem;
    color: var(--hr-text-muted) !important;
}

.hr-redirect-manual a {
    color: var(--hr-primary);
}

/* === Success Modal === */
.hr-success-modal {
    margin-top: 20px;
}

.hr-success-content {
    background: var(--hr-bg);
    border-radius: var(--hr-radius);
    padding: 40px;
    text-align: center;
    border: 2px solid var(--hr-success);
}

.hr-success-icon {
    margin-bottom: 20px;
}

.hr-success-title {
    font-size: 1.5rem;
    color: var(--hr-text);
    margin: 0 0 10px;
}

.hr-success-message {
    color: var(--hr-text-light);
    margin: 0 0 10px;
    font-size: 1rem;
}

.hr-success-email {
    color: var(--hr-text-muted);
    font-size: 0.9rem;
    margin: 0 0 20px;
}

.hr-success-button {
    display: inline-block;
    background: var(--hr-primary);
    color: white;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: var(--hr-radius-sm);
    font-weight: 600;
    margin-top: 10px;
    transition: var(--hr-transition);
}

.hr-success-button:hover {
    background: var(--hr-primary-dark);
    color: white;
}

/* === Layout Fix - Prevent Compression === */
.hr-events-archive,
.hr-event-single {
    width: 100%;
    box-sizing: border-box;
}

.hr-events-grid {
    width: 100%;
}

.hr-event-card {
    width: 100%;
    min-width: 0;
}

/* === Responsive Adjustments === */
@media (max-width: 768px) {
    .hr-events-title {
        font-size: 1.75rem;
    }
    
    .hr-event-hero {
        min-height: 250px;
    }
    
    .hr-event-hero-title {
        font-size: 1.5rem;
    }
    
    .hr-event-main {
        padding: 16px;
    }
    
    .hr-event-container {
        padding: 16px;
    }
    
    .hr-main-contact,
    .hr-extra-participant {
        padding: 16px;
    }
    
    .hr-age-modal-content {
        padding: 30px 20px;
    }
    
    .hr-redirect-content,
    .hr-success-content {
        padding: 30px 20px;
    }
}
