/* Event Manager Pro - Frontend Styles */

/* ==========================
   Variables
   ========================== */
/* Event Manager Pro - Frontend Styles */

:root {
    --emp-primary: #9b51e0;
    --emp-primary-dark: #667eea;
    --emp-secondary: #64748b;
    --emp-success: #059669;
    --emp-warning: #d97706;
    --emp-danger: #dc2626;
    --emp-white: #ffffff;
    --emp-gray-50: #f8fafc;
    --emp-gray-100: #f1f5f9;
    --emp-gray-200: #e2e8f0;
    --emp-gray-300: #cbd5e1;
    --emp-gray-400: #94a3b8;
    --emp-gray-500: #64748b;
    --emp-gray-600: #475569;
    --emp-gray-700: #334155;
    --emp-gray-800: #1e293b;
    --emp-gray-900: #0f172a;
    --emp-text: var(--emp-gray-900);
    --emp-text-muted: var(--emp-gray-600);
    --emp-bg: var(--emp-white);
    --emp-bg-light: var(--emp-gray-50);
    --emp-bg-dark: var(--emp-gray-800);
    --emp-border: var(--emp-gray-200);
    --emp-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --emp-shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --emp-shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --emp-radius: 8px;
    --emp-radius-lg: 12px;
    --emp-radius-xl: 16px;
    --emp-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Container */
.emp-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Single Event Styles */
.emp-single-event {
    min-height: 100vh;
    background: var(--emp-bg-light);
}

/* Hero Section */
.emp-hero-section {
    position: relative;
    background: linear-gradient(135deg, var(--emp-primary) 0%, var(--emp-primary-dark) 100%);
    color: var(--emp-white);
    padding: 4rem 0;
    overflow: hidden;
}

.emp-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.03)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.5;
}

.emp-hero-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.emp-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
}

.emp-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.emp-hero-content {
    position: relative;
    z-index: 2;
}

.emp-status-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: var(--emp-radius-lg);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
    backdrop-filter: blur(10px);
}

.emp-status-badge.emp-status-open {
    background: rgba(5, 150, 105, 0.5);
    border: 1px solid rgba(5, 150, 105, 0.3);
    color: white;
}

.emp-status-badge.emp-status-closed {
    background: rgba(220, 38, 38, 0.5);
    border: 1px solid rgba(220, 38, 38, 0.3);
    color: white;
}

.emp-status-badge.emp-status-full {
    background: rgba(217, 119, 6, 0.5);
    border: 1px solid rgba(217, 119, 6, 0.3);
    color: white;
}

.emp-hero-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 2rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.emp-hero-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.emp-meta-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--emp-radius-lg);
    backdrop-filter: blur(10px);
    transition: var(--emp-transition);
}

.emp-meta-item:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.15);
}

.emp-meta-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: var(--emp-radius-lg);
    flex-shrink: 0;
}

.emp-meta-text {
    flex: 1;
}

.emp-meta-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    opacity: 0.8;
    margin-bottom: 0.25rem;
}

.emp-meta-value {
    display: block;
    font-size: 1.125rem;
    font-weight: 600;
}

/* Main Content */
.emp-main-content {
    padding: 4rem 0;
}

.emp-content-grid {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 3rem;
}

.emp-content-main {
    background: var(--emp-white);
    border-radius: var(--emp-radius-xl);
    padding: 2rem;
    box-shadow: var(--emp-shadow-lg);
}

.emp-content-section {
    margin-bottom: 3rem;
}

.emp-content-section:last-child {
    margin-bottom: 0;
}

.emp-section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--emp-text);
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--emp-gray-100);
}

.emp-content-text {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--emp-text-muted);
}

.emp-content-text h1,
.emp-content-text h2,
.emp-content-text h3,
.emp-content-text h4,
.emp-content-text h5,
.emp-content-text h6 {
    color: var(--emp-text);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.emp-content-text p {
    margin-bottom: 1rem;
}

.emp-content-text ul,
.emp-content-text ol {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.emp-content-text li {
    margin-bottom: 0.5rem;
}

/* Organizers Grid */
.emp-organizers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.emp-organizer-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--emp-bg-light);
    border: 1px solid var(--emp-border);
    border-radius: var(--emp-radius-lg);
    transition: var(--emp-transition);
}

.emp-organizer-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--emp-shadow-lg);
}

.emp-organizer-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    background: var(--emp-primary);
    color: var(--emp-white);
    border-radius: 50%;
    flex-shrink: 0;
}

.emp-organizer-info {
    flex: 1;
}

.emp-organizer-name {
    display: block;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--emp-text);
    margin-bottom: 0.25rem;
}

.emp-organizer-mobile {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--emp-text-muted);
    text-decoration: none;
    transition: var(--emp-transition);
}

.emp-organizer-mobile:hover {
    color: var(--emp-primary);
}

/* Sidebar */
.emp-content-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.emp-sidebar-card {
    background: var(--emp-white);
    border-radius: var(--emp-radius-xl);
    box-shadow: var(--emp-shadow-lg);
    overflow: hidden;
}

.emp-card-header {
    padding: 1.5rem 2rem;
    background: var(--emp-bg-light);
    border-bottom: 1px solid var(--emp-border);
}

.emp-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--emp-text);
    margin: 0;
}

.emp-card-content {
    padding: 2rem;
}

/* Registration Card */
.emp-registration-status {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    border-radius: var(--emp-radius-lg);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.emp-registration-status.emp-status-open {
    background: rgba(5, 150, 105, 0.1);
    color: var(--emp-success);
    border: 1px solid rgba(5, 150, 105, 0.2);
}

.emp-registration-status.emp-status-closed {
    background: rgba(220, 38, 38, 0.1);
    color: var(--emp-danger);
    border: 1px solid rgba(220, 38, 38, 0.2);
}

.emp-registration-status.emp-status-full {
    background: rgba(217, 119, 6, 0.1);
    color: var(--emp-warning);
    border: 1px solid rgba(217, 119, 6, 0.2);
}

.emp-registration-message {
    color: var(--emp-text-muted);
    margin: 0;
    line-height: 1.6;
}

/* Venue Card */
.emp-venue-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.emp-venue-name,
.emp-venue-location,
.emp-venue-capacity {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--emp-text-muted);
}

.emp-venue-name {
    color: var(--emp-text);
    font-weight: 600;
}

/* Details Card */
.emp-detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--emp-gray-100);
}

.emp-detail-item:last-child {
    border-bottom: none;
}

.emp-detail-label {
    font-weight: 500;
    color: var(--emp-text-muted);
}

.emp-detail-value {
    font-weight: 600;
    color: var(--emp-text);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .emp-content-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .emp-content-sidebar {
        order: -1;
    }
    
    .emp-hero-meta {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .emp-container {
        padding: 0 0.75rem;
    }
    
    .emp-hero-section {
        padding: 2rem 0;
    }
    
    .emp-hero-title {
        font-size: 2rem;
    }
    
    .emp-main-content {
        padding: 2rem 0;
    }
    
    .emp-content-main,
    .emp-card-content {
        padding: 1.5rem;
    }
    
    .emp-organizers-grid {
        grid-template-columns: 1fr;
    }
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(2rem);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.emp-content-section {
    animation: fadeInUp 0.6s ease-out;
}

.emp-sidebar-card {
    animation: fadeInUp 0.6s ease-out;
}

.emp-sidebar-card:nth-child(2) {
    animation-delay: 0.1s;
}

.emp-sidebar-card:nth-child(3) {
    animation-delay: 0.2s;
}

/* ==========================
   Events List Styles
   ========================== */

/* General Styles */
.emp-events-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

/* ==========================
   Events Container
   ========================== */
.emp-events-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* ==========================
   Filters
   ========================== */
.emp-filters {
    background: var(--emp-white);
    padding: 24px;
    border-radius: var(--emp-radius-lg);
    box-shadow: var(--emp-shadow);
    margin-bottom: 32px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    align-items: end;
}

.emp-filter-group {
    display: flex;
    flex-direction: column;
}

.emp-filter-group label {
    font-weight: 600;
    color: var(--emp-text);
    margin-bottom: 8px;
    font-size: 14px;
}

.emp-filter-select,
.emp-filter-input {
    padding: 10px 14px;
    border: 1px solid var(--emp-border);
    border-radius: var(--emp-radius);
    font-size: 14px;
    transition: all 0.2s;
    background: var(--emp-white);
}

.emp-filter-select:focus,
.emp-filter-input:focus {
    outline: none;
    border-color: var(--emp-primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* ==========================
   Buttons
   ========================== */
.emp-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border: none;
    border-radius: var(--emp-radius);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    line-height: 1.5;
}

.emp-button-primary {
    background: var(--emp-primary);
    color: var(--emp-white);
}

.emp-button-primary:hover {
    background: var(--emp-primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--emp-shadow-md);
}

.emp-button-secondary {
    background: var(--emp-bg-light);
    color: var(--emp-text);
    border: 1px solid var(--emp-border);
}

.emp-button-secondary:hover {
    background: var(--emp-white);
    border-color: var(--emp-text-light);
}

.emp-button-small {
    padding: 6px 14px;
    font-size: 13px;
}

.emp-button-large {
    padding: 14px 28px;
    font-size: 16px;
}

.emp-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* ==========================
   Events Grid
   ========================== */
.emp-events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
    margin-bottom: 32px;
}

.emp-no-events {
    text-align: center;
    padding: 60px 20px;
    color: var(--emp-text-light);
    font-size: 16px;
    grid-column: 1 / -1;
}

/* ==========================
   Event Card
   ========================== */
.emp-event-card {
    background: var(--emp-white);
    border-radius: var(--emp-radius-lg);
    overflow: hidden;
    box-shadow: var(--emp-shadow);
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.emp-event-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--emp-shadow-lg);
}

.emp-event-image {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.emp-event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.emp-event-card:hover .emp-event-image img {
    transform: scale(1.05);
}

.emp-event-status {
    position: absolute;
    top: 12px;
    right: 12px;
}

.emp-status-badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--emp-text);
    box-shadow: var(--emp-shadow);
}

.emp-status-open .emp-status-badge {
    background: var(--emp-success);
    color: var(--emp-white);
}

.emp-status-closed .emp-status-badge {
    background: var(--emp-warning);
    color: var(--emp-white);
}

.emp-status-expired .emp-status-badge {
    background: var(--emp-danger);
    color: var(--emp-white);
}

/* Event Content */
.emp-event-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.emp-event-title {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 12px;
    line-height: 1.3;
}

.emp-event-title a {
    color: var(--emp-text);
    text-decoration: none;
    transition: color 0.2s;
}

.emp-event-title a:hover {
    color: var(--emp-primary);
}

.emp-event-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 12px;
    font-size: 14px;
    color: var(--emp-text-light);
}

.emp-event-date,
.emp-event-location {
    display: flex;
    align-items: center;
    gap: 8px;
}

.emp-icon {
    flex-shrink: 0;
}

.emp-event-excerpt {
    color: var(--emp-text-light);
    line-height: 1.6;
    margin-bottom: 16px;
    flex: 1;
}

.emp-event-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid var(--emp-border);
    margin-top: auto;
}

.emp-event-capacity {
    font-size: 13px;
    font-weight: 600;
}

.emp-capacity-available {
    color: green;
}

.emp-capacity-full {
    color: var(--emp-danger);
}

.emp-capacity-unlimited {
    color: var(--emp-text-light);
}

.emp-capacity-closed {
    color: var(--emp-warning);
}

.emp-capacity-expired {
    color: var(--emp-text-light);
}

/* ==========================
   Load More
   ========================== */
.emp-load-more-container {
    text-align: center;
    margin-top: 32px;
}

.emp-loading {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--emp-text-light);
}

.emp-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid var(--emp-border);
    border-top-color: var(--emp-primary);
    border-radius: 50%;
    animation: emp-spin 0.8s linear infinite;
}

@keyframes emp-spin {
    to { transform: rotate(360deg); }
}

/* ==========================
   Registration Form
   ========================== */
.emp-registration-form-container {
    max-width: 600px;
    margin: 0 auto;
}

.emp-form {
    background: var(--emp-white);
    padding: 32px;
    border-radius: var(--emp-radius-lg);
    box-shadow: var(--emp-shadow);
}

.emp-form-title {
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 24px;
    color: var(--emp-text);
    text-align: center;
}

.emp-form-messages {
    margin-bottom: 20px;
}

.emp-form-message {
    padding: 12px 16px;
    border-radius: var(--emp-radius);
    margin-bottom: 12px;
    font-size: 14px;
}

.emp-form-message-success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid var(--emp-success);
}

.emp-form-message-error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid var(--emp-danger);
}

.emp-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 20px;
}

.emp-form-group {
    margin-bottom: 20px;
}

.emp-form-group-half {
    margin-bottom: 0;
}

.emp-form-group label {
    display: block;
    font-weight: 600;
    color: var(--emp-text);
    margin-bottom: 8px;
    font-size: 14px;
}

.emp-form-group .required {
    color: var(--emp-danger);
}

.emp-form-group input[type="text"],
.emp-form-group input[type="tel"],
.emp-form-group input[type="email"],
.emp-form-group textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--emp-border);
    border-radius: var(--emp-radius);
    font-size: 14px;
    transition: all 0.2s;
    font-family: inherit;
}

.emp-form-group textarea {
    resize: vertical;
}

.emp-form-group input:focus,
.emp-form-group textarea:focus {
    outline: none;
    border-color: var(--emp-primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.emp-form-submit {
    text-align: center;
    margin-top: 28px;
}

.emp-form-loading {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 12px;
    color: var(--emp-text-light);
}

.emp-form-closed {
    background: var(--emp-bg-light);
    padding: 32px;
    border-radius: var(--emp-radius-lg);
    text-align: center;
    border: 2px dashed var(--emp-border);
}

.emp-form-closed p {
    color: var(--emp-text-light);
    font-size: 16px;
    margin: 0;
}

/* ==========================
   Single Event Page
   ========================== */
.emp-single-event {
    margin: 0 auto;
    padding: 20px;
}

.emp-single-header {
    margin-bottom: 32px;
}

.emp-single-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--emp-text);
    margin: 0 0 16px;
    line-height: 1.2;
}

.emp-single-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    padding: 20px;
    background: var(--emp-bg-light);
    border-radius: var(--emp-radius);
}

.emp-single-meta-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--emp-text-light);
}

.emp-single-meta-item strong {
    color: var(--emp-text);
}

.emp-single-content {
    background: var(--emp-white);
    padding: 32px;
    border-radius: var(--emp-radius-lg);
    box-shadow: var(--emp-shadow);
    margin-bottom: 32px;
}

.emp-single-content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--emp-radius);
}

.emp-event-schedule {
    background: var(--emp-bg-light);
    padding: 24px;
    border-radius: var(--emp-radius);
    margin: 24px 0;
}

.emp-event-schedule h3 {
    margin-top: 0;
    margin-bottom: 16px;
    color: var(--emp-text);
}

.emp-schedule-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: var(--emp-white);
    border-radius: var(--emp-radius);
    margin-bottom: 8px;
}

.emp-organizers-list,
.emp-venue-info {
    background: var(--emp-white);
    padding: 24px;
    border-radius: var(--emp-radius-lg);
    box-shadow: var(--emp-shadow);
    margin-bottom: 32px;
}

.emp-organizers-list h3,
.emp-venue-info h3 {
    margin-top: 0;
    margin-bottom: 16px;
    color: var(--emp-text);
}

.emp-organizer-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px;
    background: var(--emp-bg-light);
    border-radius: var(--emp-radius);
    margin-bottom: 8px;
}

/* ==========================
   Responsive
   ========================== */
@media (max-width: 768px) {
    .emp-events-grid {
        grid-template-columns: 1fr;
    }
    
    .emp-filters {
        grid-template-columns: 1fr;
    }
    
    .emp-form {
        padding: 24px;
    }
    
    .emp-form-row {
        grid-template-columns: 1fr;
    }
    
    .emp-form-group-half {
        margin-bottom: 20px;
    }
    
    .emp-single-title {
        font-size: 28px;
    }
    
    .emp-single-meta {
        flex-direction: column;
        gap: 12px;
    }
    
    .emp-single-content {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .emp-event-footer {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }
    
    .emp-button {
        width: 100%;
    }
}

/* ==========================
   Enhanced Schedule Display
   ========================== */

/* Schedule Display Container */
.emp-schedule-display {
    background: var(--emp-white);
    border-radius: var(--emp-radius-lg);
    overflow: hidden;
    border: 1px solid var(--emp-border);
    margin: 16px 0;
}

/* Single Event Schedule */
.emp-schedule-single .emp-schedule-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    background: linear-gradient(135deg, var(--emp-primary) 0%, var(--emp-primary-dark) 100%);
    color: var(--emp-white);
}

.emp-schedule-single .emp-schedule-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: var(--emp-radius);
    backdrop-filter: blur(10px);
    flex-shrink: 0;
}

.emp-schedule-single .emp-schedule-icon svg {
    color: var(--emp-white);
}

.emp-schedule-single .emp-schedule-content {
    flex: 1;
}

.emp-schedule-single .emp-schedule-date {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 4px;
    opacity: 0.95;
}

.emp-schedule-single .emp-schedule-time {
    font-size: 0.95rem;
    opacity: 0.85;
    font-weight: 500;
}

/* Recurring Event Schedule */
.emp-schedule-recurring .emp-schedule-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    background: linear-gradient(135deg, var(--emp-success) 0%, #10b981 100%);
    color: var(--emp-white);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.emp-schedule-recurring .emp-schedule-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: var(--emp-radius);
    backdrop-filter: blur(10px);
    flex-shrink: 0;
}

.emp-schedule-recurring .emp-schedule-icon svg {
    color: var(--emp-white);
}

.emp-schedule-recurring .emp-schedule-period {
    flex: 1;
}

.emp-schedule-recurring .emp-schedule-dates {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 4px;
    opacity: 0.95;
}

.emp-schedule-recurring .emp-schedule-type {
    font-size: 0.9rem;
    opacity: 0.8;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.emp-schedule-days {
    padding: 16px 24px 24px;
    background: var(--emp-bg-light);
}

.emp-schedule-day-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: var(--emp-white);
    border-radius: var(--emp-radius);
    margin-bottom: 8px;
    border: 1px solid var(--emp-border);
    transition: var(--emp-transition);
}

.emp-schedule-day-item:hover {
    transform: translateY(-1px);
    box-shadow: var(--emp-shadow);
    border-color: var(--emp-primary);
}

.emp-schedule-day-item:last-child {
    margin-bottom: 0;
}

.emp-day-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    background: linear-gradient(135deg, var(--emp-primary) 0%, var(--emp-primary-dark) 100%);
    color: var(--emp-white);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    min-width: 80px;
    justify-content: center;
}

.emp-day-time {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--emp-text);
    background: var(--emp-bg-light);
    padding: 8px 16px;
    border-radius: var(--emp-radius);
    border: 1px solid var(--emp-border);
}

/* Specific Dates Schedule */
.emp-schedule-specific .emp-schedule-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 24px;
    border-bottom: 1px solid var(--emp-border);
    transition: var(--emp-transition);
}

.emp-schedule-specific .emp-schedule-item:hover {
    background: var(--emp-bg-light);
}

.emp-schedule-specific .emp-schedule-item:last-child {
    border-bottom: none;
}

.emp-schedule-specific .emp-schedule-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--emp-primary);
    color: var(--emp-white);
    border-radius: 50%;
    flex-shrink: 0;
}

.emp-schedule-specific .emp-schedule-content {
    flex: 1;
}

.emp-schedule-specific .emp-schedule-date {
    font-size: 1rem;
    font-weight: 600;
    color: var(--emp-text);
    margin-bottom: 4px;
}

.emp-schedule-specific .emp-schedule-time {
    font-size: 0.9rem;
    color: var(--emp-text-muted);
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 768px) {
    .emp-schedule-display {
        margin: 12px 0;
    }
    
    .emp-schedule-single .emp-schedule-item,
    .emp-schedule-recurring .emp-schedule-header {
        padding: 16px 20px;
        gap: 12px;
    }
    
    .emp-schedule-single .emp-schedule-icon,
    .emp-schedule-recurring .emp-schedule-icon {
        width: 40px;
        height: 40px;
    }
    
    .emp-schedule-days {
        padding: 12px 20px 20px;
    }
    
    .emp-schedule-day-item {
        flex-direction: column;
        gap: 8px;
        align-items: stretch;
        text-align: center;
    }
    
    .emp-day-badge {
        align-self: center;
    }
    
    .emp-schedule-specific .emp-schedule-item {
        padding: 12px 20px;
        gap: 12px;
    }
    
    .emp-schedule-specific .emp-schedule-icon {
        width: 36px;
        height: 36px;
    }
}

/* ==========================
   My Events Dashboard Styles
   ========================== */

.emp-my-events-dashboard {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.emp-my-events-login-notice {
    max-width: 600px;
    margin: 4rem auto;
    text-align: center;
}

.emp-my-events-login-notice .emp-notice {
    padding: 2rem;
    border-radius: var(--emp-radius-xl);
    background: linear-gradient(135deg, var(--emp-gray-50) 0%, var(--emp-white) 100%);
    border: 1px solid var(--emp-border);
    box-shadow: var(--emp-shadow-lg);
    display: flex;
    align-items: center;
    text-align: left;
    gap: 1rem;
}

.emp-my-events-login-notice .emp-notice-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--emp-primary) 0%, var(--emp-primary-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.emp-my-events-login-notice .emp-notice-content h3 {
    margin: 0 0 0.5rem 0;
    color: var(--emp-text);
    font-size: 1.25rem;
    font-weight: 600;
}

.emp-my-events-login-notice .emp-notice-content p {
    margin: 0 0 1.5rem 0;
    color: var(--emp-text-muted);
    line-height: 1.6;
}

/* Dashboard Header */
.emp-dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2rem;
    gap: 2rem;
}

.emp-dashboard-title h2 {
    margin: 0 0 0.5rem 0;
    color: var(--emp-text);
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--emp-primary) 0%, var(--emp-primary-dark) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.emp-dashboard-subtitle {
    margin: 0;
    color: var(--emp-text-muted);
    font-size: 1rem;
    line-height: 1.5;
}

.emp-dashboard-stats {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.emp-stat-card {
    background: var(--emp-white);
    border: 1px solid var(--emp-border);
    border-radius: var(--emp-radius-lg);
    padding: 1.5rem;
    text-align: center;
    min-width: 120px;
    box-shadow: var(--emp-shadow);
    transition: var(--emp-transition);
}

.emp-stat-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--emp-shadow-lg);
}

.emp-stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--emp-primary);
    margin-bottom: 0.25rem;
    line-height: 1;
}

.emp-stat-label {
    font-size: 0.875rem;
    color: var(--emp-text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

/* Dashboard Filters */
.emp-dashboard-filters {
    margin-bottom: 2rem;
}

.emp-filter-tabs {
    display: flex;
    gap: 0.5rem;
    background: var(--emp-gray-100);
    padding: 0.5rem;
    border-radius: var(--emp-radius-lg);
    flex-wrap: wrap;
}

.emp-tab-button {
    background: transparent;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: var(--emp-radius);
    font-weight: 500;
    color: var(--emp-text-muted);
    cursor: pointer;
    transition: var(--emp-transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
}

.emp-tab-button:hover {
    background: var(--emp-white);
    color: var(--emp-text);
}

.emp-tab-button.active {
    background: var(--emp-white);
    color: var(--emp-primary);
    box-shadow: var(--emp-shadow);
}

.emp-tab-icon {
    font-size: 1.125rem;
}

.emp-tab-count {
    background: var(--emp-primary);
    color: white;
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    border-radius: 50px;
    font-weight: 600;
    min-width: 1.25rem;
    text-align: center;
    line-height: 1;
}

.emp-tab-button.active .emp-tab-count {
    background: var(--emp-primary-dark);
}

/* Dashboard Content */
.emp-dashboard-content {
    margin-top: 2rem;
}

.emp-tab-content {
    display: none;
}

.emp-tab-content.active {
    display: block;
}

/* My Events Grid */
.emp-my-events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

/* My Event Card */
.emp-my-event-card {
    background: var(--emp-white);
    border: 1px solid var(--emp-border);
    border-radius: var(--emp-radius-xl);
    overflow: hidden;
    box-shadow: var(--emp-shadow);
    transition: var(--emp-transition);
    position: relative;
}

.emp-my-event-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--emp-shadow-xl);
}

.emp-my-event-card.emp-past-event {
    opacity: 0.85;
}

.emp-my-event-card.emp-past-event:hover {
    opacity: 1;
}

.emp-event-image {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--emp-gray-100) 0%, var(--emp-gray-200) 100%);
}

.emp-event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--emp-transition);
}

.emp-my-event-card:hover .emp-event-image img {
    transform: scale(1.05);
}

.emp-event-status-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: var(--emp-radius);
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    font-weight: 600;
    box-shadow: var(--emp-shadow);
}

.emp-status-upcoming {
    color: var(--emp-success);
}

.emp-status-past {
    color: var(--emp-text-muted);
}

/* Event Content */
.emp-event-content {
    padding: 1.5rem;
}

.emp-event-header {
    margin-bottom: 1rem;
}

.emp-event-title {
    margin: 0 0 0.5rem 0;
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.4;
}

.emp-event-title a {
    color: var(--emp-text);
    text-decoration: none;
    transition: var(--emp-transition);
}

.emp-event-title a:hover {
    color: var(--emp-primary);
}

.emp-registration-info {
    font-size: 0.875rem;
    color: var(--emp-text-muted);
}

.emp-registration-date {
    font-weight: 500;
}

/* Event Meta */
.emp-event-meta {
    margin-bottom: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.emp-meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--emp-white);
}

.emp-meta-icon {
    font-size: 1rem;
    width: 1.25rem;
    text-align: center;
}

.emp-meta-text {
    line-height: 1.4;
}

.emp-meta-text small {
    color: var(--emp-text-muted);
    opacity: 0.8;
}

/* Event Excerpt */
.emp-event-excerpt {
    margin-bottom: 1.5rem;
    color: var(--emp-text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Event Actions */
.emp-event-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    border-top: 1px solid var(--emp-border);
    padding-top: 1rem;
    margin-top: 1rem;
}

.emp-button-small {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    border-radius: var(--emp-radius);
    font-weight: 500;
    transition: var(--emp-transition);
    border: none;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    line-height: 1;
}

.emp-button-secondary {
    background: var(--emp-gray-100);
    color: var(--emp-text);
}

.emp-button-secondary:hover {
    background: var(--emp-gray-200);
    transform: translateY(-1px);
}

.emp-button-danger {
    background: var(--emp-danger);
    color: white;
}

.emp-button-danger:hover {
    background: #b91c1c;
    transform: translateY(-1px);
}

.emp-button-ghost {
    background: transparent;
    color: var(--emp-text-muted);
    border: 1px solid var(--emp-border);
}

.emp-button-ghost:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.emp-button-icon {
    font-size: 1rem;
}

/* Empty State */
.emp-empty-state {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--emp-text-muted);
}

.emp-empty-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.emp-empty-state h3 {
    margin: 0 0 0.5rem 0;
    color: var(--emp-text);
    font-size: 1.5rem;
    font-weight: 600;
}

.emp-empty-state p {
    margin: 0 0 2rem 0;
    font-size: 1rem;
    line-height: 1.6;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive Design */
@media (max-width: 768px) {
    .emp-my-events-dashboard {
        padding: 1.5rem 1rem;
    }
    
    .emp-dashboard-header {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .emp-dashboard-title h2 {
        font-size: 1.75rem;
    }
    
    .emp-dashboard-stats {
        justify-content: center;
        width: 100%;
    }
    
    .emp-stat-card {
        flex: 1;
        min-width: 100px;
    }
    
    .emp-my-events-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .emp-filter-tabs {
        flex-direction: column;
        gap: 0.25rem;
    }
    
    .emp-tab-button {
        justify-content: center;
        padding: 1rem;
    }
    
    .emp-event-actions {
        flex-direction: column;
    }
    
    .emp-button-small {
        justify-content: center;
        padding: 0.75rem 1rem;
        width: 100%;
    }
    
    .emp-my-events-login-notice .emp-notice {
        flex-direction: column;
        text-align: center;
    }
    
    .emp-my-events-login-notice .emp-notice-icon {
        width: 80px;
        height: 80px;
    }
}

@media (max-width: 480px) {
    .emp-my-events-dashboard {
        padding: 1rem 0.5rem;
    }
    
    .emp-dashboard-title h2 {
        font-size: 1.5rem;
    }
    
    .emp-event-content {
        padding: 1rem;
    }
    
    .emp-event-image {
        height: 160px;
    }
    
    .emp-stat-card {
        padding: 1rem;
    }
    
    .emp-stat-number {
        font-size: 1.5rem;
    }
}

/* Animation for tab switching */
.emp-tab-content {
    animation: emp-fadeIn 0.3s ease-in-out;
}

@keyframes emp-fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Loading states */
.emp-my-event-card.emp-loading {
    opacity: 0.6;
    pointer-events: none;
    position: relative;
    overflow: hidden;
}

.emp-my-event-card.emp-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 24px;
    height: 24px;
    margin: -12px 0 0 -12px;
    border: 3px solid var(--emp-border);
    border-top-color: var(--emp-primary);
    border-radius: 50%;
    animation: emp-spin 1s linear infinite;
    z-index: 10;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    padding: 8px;
}

/* Smooth transitions for card removal */
.emp-my-event-card {
    transition: all 0.3s ease;
}

.emp-my-event-card.removing {
    opacity: 0;
    transform: scale(0.95) translateY(-10px);
}

/* Prevent layout shift during loading */
.emp-my-events-grid {
    transition: all 0.3s ease;
}

@keyframes emp-spin {
    to {
        transform: rotate(360deg);
    }
}

/* ==========================
   Homepage Events Shortcode
   ========================== */
.emp-homepage-events {
    margin: 0 auto;
    padding: 60px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    width: 100%;
}

.emp-homepage-events::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.emp-homepage-header {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    z-index: 1;
}

.emp-homepage-title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--emp-white);
    margin: 0 0 16px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.emp-homepage-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Homepage Filters */
.emp-homepage-filters {
    margin-bottom: 50px;
    position: relative;
    z-index: 1;
}

.emp-filters-wrapper {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    padding: 30px;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.emp-filter-row {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 24px;
    align-items: end;
}

.emp-filter-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.emp-filter-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--emp-text);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.emp-filter-icon {
    color: var(--emp-primary);
    flex-shrink: 0;
}

.emp-homepage-select {
    background: var(--emp-white);
    border: 2px solid var(--emp-border);
    border-radius: 12px;
    padding: 12px 16px;
    font-size: 16px;
    transition: all 0.3s ease;
    appearance: none;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="6,9 12,15 18,9"></polyline></svg>');
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 40px;
}

.emp-homepage-select:focus {
    outline: none;
    border-color: var(--emp-primary);
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
}

.emp-filter-actions {
    display: flex;
    gap: 12px;
}

.emp-filter-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.emp-button-outline {
    background: transparent;
    color: var(--emp-text);
    border: 2px solid var(--emp-border);
}

.emp-button-outline:hover {
    background: var(--emp-text);
    color: var(--emp-white);
    border-color: var(--emp-text);
    transform: translateY(-2px);
}

.emp-btn-icon {
    transition: transform 0.3s ease;
}

.emp-filter-btn:hover .emp-btn-icon {
    transform: scale(1.1);
}

/* Homepage Events Grid */
.emp-homepage-events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
    position: relative;
    z-index: 1;
}

/* Homepage Event Cards */
.emp-homepage-event-card {
    background: var(--emp-white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    transform: translateY(0);
}

.emp-homepage-event-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.emp-homepage-event-image {
    position: relative;
    height: 240px;
    overflow: hidden;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.emp-homepage-event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.emp-homepage-event-card:hover .emp-homepage-event-image img {
    transform: scale(1.08);
}

.emp-no-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.emp-no-image-placeholder {
    color: rgba(255, 255, 255, 0.6);
    opacity: 0.7;
}

.emp-homepage-event-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(0, 0, 0, 0.3) 0%, transparent 50%);
    pointer-events: none;
}

.emp-homepage-event-status {
    position: absolute;
    top: 20px;
    right: 20px;
}

.emp-homepage-event-date-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    padding: 12px;
    text-align: center;
    min-width: 60px;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.emp-date-month {
    font-size: 12px;
    font-weight: 700;
    color: var(--emp-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1;
}

.emp-date-day {
    font-size: 24px;
    font-weight: 900;
    color: var(--emp-text);
    line-height: 1;
    margin-top: 4px;
}

/* Homepage Event Content */
.emp-homepage-event-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.emp-homepage-event-header {
    margin-bottom: 4px;
}

.emp-homepage-event-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 12px;
    line-height: 1.3;
}

.emp-homepage-event-title a {
    color: var(--emp-text);
    text-decoration: none;
    transition: color 0.3s ease;
}

.emp-homepage-event-title a:hover {
    color: var(--emp-primary);
}

.emp-homepage-event-organizer {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--emp-text-light);
    font-weight: 500;
}

.emp-homepage-event-meta {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.emp-homepage-event-datetime,
.emp-homepage-event-location {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    color: var(--emp-text);
    font-weight: 500;
}

.emp-homepage-event-datetime .emp-icon,
.emp-homepage-event-location .emp-icon {
    color: var(--emp-primary);
    flex-shrink: 0;
}

.emp-homepage-event-excerpt {
    color: var(--emp-text-light);
    line-height: 1.7;
    font-size: 15px;
    margin: 8px 0;
    flex: 1;
}

.emp-homepage-event-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 20px;
    border-top: 1px solid var(--emp-border);
    margin-top: auto;
}

.emp-homepage-event-capacity {
    font-size: 13px;
    font-weight: 600;
}

.emp-homepage-event-capacity span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.emp-capacity-icon {
    flex-shrink: 0;
}

.emp-homepage-event-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.emp-homepage-event-btn:hover {
    transform: translateX(4px);
}

.emp-btn-arrow {
    transition: transform 0.3s ease;
}

.emp-homepage-event-btn:hover .emp-btn-arrow {
    transform: translateX(2px);
}

/* Homepage Footer */
.emp-homepage-footer {
    text-align: center;
    position: relative;
    z-index: 1;
}

.emp-view-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--emp-primary);
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    padding: 16px 32px;
    border-radius: 16px;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.emp-view-all-btn:hover {
    background: var(--emp-white);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* Homepage Loading */
.emp-homepage-loading {
    text-align: center;
    padding: 40px;
    position: relative;
    z-index: 1;
}

.emp-loading-spinner {
    display: inline-block;
    width: 40px;
    height: 40px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top: 4px solid var(--emp-white);
    animation: emp-spin 1s linear infinite;
    margin-bottom: 16px;
}

.emp-homepage-loading p {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    margin: 0;
}

/* No Events State */
.emp-no-events-homepage {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 30px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    margin: 20px 0;
}

.emp-no-events-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    opacity: 0.8;
}

.emp-no-events-homepage h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--emp-text);
    margin: 0 0 12px;
}

.emp-no-events-homepage p {
    color: var(--emp-text-light);
    font-size: 16px;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .emp-homepage-events {
        padding: 40px 16px;
        border-radius: 0;
    }
    
    .emp-homepage-title {
        font-size: 2.5rem;
    }
    
    .emp-homepage-subtitle {
        font-size: 1.1rem;
    }
    
    .emp-filter-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .emp-filter-actions {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .emp-homepage-events-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .emp-filters-wrapper {
        padding: 24px;
    }
    
    .emp-homepage-event-footer {
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
    }
    
    .emp-homepage-event-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .emp-homepage-title {
        font-size: 2rem;
    }
    
    .emp-homepage-events {
        padding: 30px 12px;
    }
    
    .emp-homepage-event-content {
        padding: 24px;
    }
    
    .emp-filters-wrapper {
        padding: 20px;
    }
}

/* Animation for cards on load */
@keyframes emp-card-slide-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.emp-homepage-event-card {
    animation: emp-card-slide-up 0.6s ease forwards;
}

.emp-homepage-event-card:nth-child(1) { animation-delay: 0.1s; }
.emp-homepage-event-card:nth-child(2) { animation-delay: 0.2s; }
.emp-homepage-event-card:nth-child(3) { animation-delay: 0.3s; }
