/* ============================================
   EVENT STATUS & CATEGORY FILTERS
   ============================================ */

.event-filters-section {
    margin-bottom: 30px;
}

.status-tabs {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.status-tab {
    padding: 12px 24px;
    background: #fff;
    border: 2px solid #E2E8F0;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    color: #4A5568;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.status-tab:hover {
    border-color: #004D40;
    color: #004D40;
    background: #F0F9F7;
}

.status-tab.active {
    background: #004D40;
    border-color: #004D40;
    color: #fff;
}

.filter-tabs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.filter-tab {
    padding: 10px 20px;
    background: #F7FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    color: #4A5568;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-tab:hover {
    background: #EDF2F7;
    border-color: #CBD5E0;
}

.filter-tab.active {
    background: #004D40;
    border-color: #004D40;
    color: #fff;
}

/* ============================================
   EVENT REGISTRATION CARD
   ============================================ */

.event-registration-section {
    margin: 40px 0;
    padding: 0;
}

.registration-card {
    background: linear-gradient(135deg, #f8fffe 0%, #e8f5f3 100%);
    border: 2px solid #e0f2f1;
    border-radius: 12px;
    padding: 40px;
    color: var(--text-color);
    box-shadow: 0 4px 20px rgba(0, 77, 64, 0.08);
}

.registration-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e0f2f1;
}

.registration-header i {
    font-size: 32px;
    color: var(--primary-color);
}

.registration-header h3 {
    font-size: 28px;
    font-weight: 700;
    margin: 0;
    color: var(--primary-color);
}

.registration-content {
    background: #ffffff;
    border-radius: 8px;
    padding: 30px;
    border: 1px solid #e0f2f1;
}

.registration-content p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 15px;
    color: var(--text-color);
}

.registration-deadline,
.registration-capacity {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    background: #f0f9f7;
    border-left: 4px solid var(--primary-color);
    border-radius: 6px;
    margin-bottom: 12px;
    font-size: 15px;
    color: var(--text-color);
}

.registration-deadline i,
.registration-capacity i {
    color: var(--primary-color);
    font-size: 18px;
}

.btn-register-now {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    background: var(--primary-color);
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    border-radius: 8px;
    text-decoration: none;
    margin-top: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 77, 64, 0.2);
    border: none;
    cursor: pointer;
    width: 100%;
}

.btn-register-now:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 77, 64, 0.3);
    color: #fff;
}

.btn-register-now i {
    font-size: 20px;
}

/* ============================================
   EVENT PAST NOTICE
   ============================================ */

.event-past-notice {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px 25px;
    background: #FFF3CD;
    border: 1px solid #FFE69C;
    border-radius: 8px;
    margin: 30px 0;
}

.event-past-notice i {
    font-size: 24px;
    color: #856404;
}

.event-past-notice p {
    margin: 0;
    color: #856404;
    font-size: 15px;
    font-weight: 500;
}

/* ============================================
   EVENT CARD BUTTONS
   ============================================ */

.btn-event-register {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: #004D40;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-right: 10px;
}

.btn-event-register:hover {
    background: #00695C;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 77, 64, 0.3);
}

.btn-event-details {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 10px 20px;
    background: transparent;
    color: #004D40;
    font-size: 14px;
    font-weight: 600;
    border: 2px solid #004D40;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-event-details:hover {
    background: #004D40;
    color: #fff;
}

/* ============================================
   DISCOUNT CODE SECTION
   ============================================ */

.discount-code-section {
    margin: 25px 0;
    padding: 20px;
    background: #f0f9f7;
    border-radius: 8px;
    border: 1px dashed #b2dfdb;
}

.price-display {
    margin-bottom: 15px;
}

.original-price,
.discounted-price {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.original-price .label,
.discounted-price .label {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 600;
}

.original-price .amount {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-color);
}

.discounted-price .amount {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
}

.discount-badge {
    display: inline-block;
    padding: 4px 12px;
    background: #FFC107;
    color: #000;
    font-size: 12px;
    font-weight: 700;
    border-radius: 4px;
    margin-left: 10px;
}

.discount-input-group {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.discount-input-group input {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid #e0f2f1;
    border-radius: 6px;
    background: #fff;
    color: var(--text-color);
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.discount-input-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 77, 64, 0.1);
}

.discount-input-group input:disabled {
    background: #f5f5f5;
    cursor: not-allowed;
}

.btn-apply-discount {
    padding: 12px 24px;
    background: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-apply-discount:hover:not(:disabled) {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 77, 64, 0.3);
}

.btn-apply-discount:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-apply-discount.applied {
    background: #4caf50;
    color: #fff;
}

.discount-message {
    display: none;
    padding: 10px 12px;
    background: #e8f5e9;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    margin-top: 10px;
    color: var(--text-color);
}

.discount-message i {
    margin-right: 8px;
}

/* ============================================
   REGISTRATION FORM
   ============================================ */

.event-reg-form {
    margin-top: 25px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 15px;
}

.form-group {
    margin-bottom: 15px;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e0f2f1;
    border-radius: 6px;
    background: #fff;
    color: var(--text-color);
    font-size: 15px;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(0, 77, 64, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 60px;
}

.form-message {
    display: none;
    padding: 12px 16px;
    background: #e8f5e9;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 15px;
    text-align: center;
    color: var(--text-color);
    border: 1px solid #c8e6c9;
}

.form-message i {
    margin-right: 8px;
    font-size: 18px;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
    .status-tabs {
        flex-direction: column;
    }
    
    .status-tab {
        width: 100%;
        justify-content: center;
    }
    
    .registration-card {
        padding: 25px 20px;
    }
    
    .registration-header h3 {
        font-size: 22px;
    }
    
    .btn-register-now {
        width: 100%;
        justify-content: center;
        padding: 14px 24px;
        font-size: 16px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .discount-input-group {
        flex-direction: column;
    }
    
    .btn-apply-discount {
        width: 100%;
    }
}
