/**
 * Custom EventPrime Template Styles
 * Add this to your theme's style.css or create a separate CSS file
 */

/* Custom Event Title Styling */
.custom-event-title-wrapper {
    margin-bottom: 1.5rem;
}

.custom-event-title {
    color: #2c3e50;
    margin-bottom: 0.5rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

.custom-event-type {
    font-size: 0.9rem;
    margin-top: 0.5rem;
    padding: 0.25rem 0;
}

.custom-event-type i {
    margin-right: 0.5rem;
}

/* Custom Event Card Enhancements */
.custom-event-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 8px;
    overflow: hidden;
}

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

/* Custom Event Fields */
.custom-event-fields {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 5px;
    margin: 1rem 0;
    border-left: 4px solid #007cba;
}

/* My Events Shortcode Styling */
.my-events-shortcode-list {
    margin: 1rem 0;
}

.my-events-shortcode-list h3 {
    color: #2c3e50;
    border-bottom: 2px solid #007cba;
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
}

.my-event-item {
    background: #fff;
    border: 1px solid #e1e5e9;
    transition: box-shadow 0.3s ease;
}

.my-event-item:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.my-event-item h4 {
    margin: 0 0 0.25rem 0;
    font-size: 1.1rem;
}

.my-event-item h4 a {
    color: #2c3e50;
    text-decoration: none;
}

.my-event-item h4 a:hover {
    color: #007cba;
}

.ep-badge {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: 0.25rem;
}

.ep-badge-success {
    color: #fff;
    background-color: #28a745;
}

.ep-badge-warning {
    color: #212529;
    background-color: #ffc107;
}

.ep-btn-outline-primary {
    color: #007cba;
    border-color: #007cba;
    background-color: transparent;
}

.ep-btn-outline-primary:hover {
    color: #fff;
    background-color: #007cba;
    border-color: #007cba;
}

/* Status-specific styling */
.ep-status-publish {
    border-left: 4px solid #28a745;
}

.ep-status-pending {
    border-left: 4px solid #ffc107;
}

.ep-status-draft {
    border-left: 4px solid #6c757d;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .custom-event-title {
        font-size: 1.5rem;
    }
    
    .custom-event-type {
        font-size: 0.85rem;
    }
    
    .my-event-item .ep-d-flex {
        flex-direction: column;
        align-items: flex-start !important;
    }
    
    .my-event-item .ep-d-flex > div:last-child {
        margin-top: 0.5rem;
    }
}

/* Additional custom styling for EventPrime elements */
.ep-event-detail-template .custom-event-title-wrapper {
    animation: fadeInUp 0.6s ease-out;
}

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