body {
    background-image: url('../assets/img/events-background.svg') !important;
}    

h1 {
    font-size: 6rem;
    color: #0e174a;
    text-shadow: 3px 3px #acaebe86 !important;
}

h3 {  
    color: #0e174a;
    /* text-shadow: 2px 2px #37394686 !important; */
}


.event {
    font-weight: 200;
    padding: 4rem; 
    -webkit-box-shadow: 0px 6px 5px 3px rgba(0,0,0,0.42);
    -moz-box-shadow: 0px 6px 5px 3px rgba(0,0,0,0.42);
    box-shadow: 0px 6px 5px 3px rgba(0,0,0,0.42);
}


.event-odd {
    background-color: white;
}

.event-even {
    background-color: rgb(245, 245, 238);
}

.workshop-graphic {
    max-width: 80% !important;
    -webkit-box-shadow: 10px 10px 26px -5px rgba(0,0,0,0.16);
    -moz-box-shadow: 10px 10px 26px -5px rgba(0,0,0,0.16);
    box-shadow: 10px 10px 26px -5px rgba(0,0,0,0.16);
}

.img-fluid
{
    width: 100%\9;
}

/* Event Filter Buttons */
.event-filters {
    margin-bottom: 30px;
}

.filter-btn {
    background: transparent;
    border: 2px solid #0e174a;
    color: #0e174a;
    padding: 10px 20px;
    margin: 0 5px;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
}

.filter-btn:hover, .filter-btn.active {
    background: #0e174a;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(14, 23, 74, 0.3);
}

/* Event Card Styles */
.event-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    overflow: hidden;
    position: relative;
    border: 1px solid #f0f0f0;
}

.event-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

/* Event Image */
.event-image-container {
    position: relative;
    height: 220px;
    overflow: hidden;
}

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

.event-card:hover .event-image {
    transform: scale(1.1);
}

/* Status Badges */
.status-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    backdrop-filter: blur(10px);
}

.live-badge {
    background: linear-gradient(135deg, #ff4757, #ff6b7a);
    animation: pulse 2s infinite;
    box-shadow: 0 4px 15px rgba(255, 71, 87, 0.4);
}

.upcoming-badge {
    background: linear-gradient(135deg, #3742fa, #5352ed);
    box-shadow: 0 4px 15px rgba(55, 66, 250, 0.4);
}

.past-badge {
    background: linear-gradient(135deg, #2ed573, #1dd1a1);
    box-shadow: 0 4px 15px rgba(46, 213, 115, 0.4);
}

.registration-count {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 71, 87, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(255, 71, 87, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 71, 87, 0); }
}

/* Event Content */
.event-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    height: calc(100% - 220px);
}

/* Date and Time */
.event-datetime {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    color: #666;
    font-size: 0.9rem;
    flex-wrap: wrap;
    gap: 10px;
}

.date-info, .time-info {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #f8f9fa;
    padding: 5px 10px;
    border-radius: 15px;
}

.date-info i, .time-info i {
    color: #0e174a;
    font-size: 0.9rem;
}

/* Location */
.event-location {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 15px;
    background: #f8f9fa;
    padding: 8px 12px;
    border-radius: 15px;
    width: fit-content;
}

.event-location i {
    color: #dc3545;
}

/* Event Title */
.event-title {
    color: #0e174a;
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 15px;
    line-height: 1.3;
    min-height: 3rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Event Description */
.event-description {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Event Meta (Type and Category) */
.event-meta {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.type-badge, .category-badge {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    border: none;
}

.category-badge {
    background: linear-gradient(135deg, #f093fb, #f5576c);
}

.type-badge i {
    margin-right: 5px;
}

/* Event Actions */
.event-actions {
    margin-top: auto;
}

.action-buttons {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.action-buttons .btn {
    flex: 1;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    padding: 10px 15px;
}

.btn-primary {
    background: linear-gradient(135deg, #0e174a, #1e3a8a);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #1e3a8a, #0e174a);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(14, 23, 74, 0.4);
}

.btn-warning {
    background: linear-gradient(135deg, #ffc107, #ff8f00);
    color: white;
}

.btn-warning:hover {
    background: linear-gradient(135deg, #ff8f00, #ffc107);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 193, 7, 0.4);
    color: white;
}

.registration-status, .event-organizer {
    text-align: center;
    padding: 8px 12px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #0e174a;
}

.registration-status {
    margin-bottom: 10px;
}

/* Fade In Animation */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Empty State */
.text-center.py-5 {
    padding: 60px 20px;
}

.text-center.py-5 i {
    opacity: 0.3;
    margin-bottom: 20px;
}

/* Event Form Styles */
.event-form-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 0;
    overflow: hidden;
    margin-bottom: 30px;
}

.form-header {
    background: linear-gradient(135deg, #0e174a, #1e3a8a);
    color: white;
    padding: 30px;
    text-align: center;
}

.form-header h2 {
    margin: 0;
    font-size: 2rem;
    font-weight: 600;
}

.form-header p {
    margin: 10px 0 0 0;
    opacity: 0.9;
}

.event-form {
    padding: 30px;
}

/* Image Upload Styles */
.image-upload-container {
    border: 2px dashed #ddd;
    border-radius: 10px;
    transition: all 0.3s ease;
    overflow: hidden;
}

.image-upload-container:hover {
    border-color: #0e174a;
    background: #f8f9fa;
}

.image-upload-container.drag-over {
    border-color: #0e174a;
    background: #e3f2fd;
    transform: scale(1.02);
}

.image-preview {
    padding: 40px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #666;
}

.image-preview:hover {
    color: #0e174a;
}

.image-preview i {
    color: #ccc;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.image-preview:hover i {
    color: #0e174a;
    transform: scale(1.1);
}

.preview-image {
    max-width: 100%;
    max-height: 200px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.current-image-container {
    text-align: center;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    border: 1px solid #e9ecef;
}

.current-image {
    max-width: 100%;
    max-height: 200px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Form Controls */
.form-label {
    font-weight: 600;
    color: #0e174a;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-label i {
    color: #667eea;
    width: 16px;
}

.form-control {
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 12px 15px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: #0e174a;
    box-shadow: 0 0 0 0.2rem rgba(14, 23, 74, 0.1);
}

.form-control::placeholder {
    color: #adb5bd;
    font-style: italic;
}

/* Select Dropdown */
select.form-control {
    cursor: pointer;
    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='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 12px center;
    background-repeat: no-repeat;
    background-size: 16px 12px;
    padding-right: 40px;
    appearance: none;
}

/* Textarea */
textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

/* Checkbox */
.form-check {
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.form-check:hover {
    background: #e9ecef;
}

.form-check-input {
    margin-top: 0.25em;
    margin-right: 10px;
}

.form-check-input:checked {
    background-color: #0e174a;
    border-color: #0e174a;
}

.form-check-label {
    font-weight: 500;
    color: #495057;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Form Actions */
.form-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e9ecef;
}

.form-actions .btn {
    min-width: 150px;
    padding: 12px 25px;
    font-weight: 600;
    border-radius: 8px;
    border: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.form-actions .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-primary {
    background: linear-gradient(135deg, #0e174a, #1e3a8a);
    color: white;
}

.btn-secondary {
    background: #6c757d;
    color: white;
}

.btn-info {
    background: linear-gradient(135deg, #17a2b8, #138496);
    color: white;
}

/* Row spacing */
.row.mb-3 .col-md-4,
.row.mb-3 .col-md-6 {
    margin-bottom: 15px;
}

/* Responsive */
@media (max-width: 768px) {
    h1 {
        font-size: 3.5rem;
    }
    
    .event-card {
        margin-bottom: 25px;
    }
    
    .event-content {
        padding: 20px;
    }
    
    .event-datetime {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .action-buttons {
        flex-direction: column;
    }
    
    .filter-btn {
        margin: 5px;
        padding: 8px 16px;
    }
    
    .event-filters {
        text-align: center;
    }
    
    .form-header {
        padding: 20px;
    }
    
    .form-header h2 {
        font-size: 1.5rem;
    }
    
    .event-form {
        padding: 20px;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .form-actions .btn {
        min-width: 100%;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 2.5rem;
    }
    
    .event-content {
        padding: 15px;
    }
    
    .event-title {
        font-size: 1.2rem;
        min-height: 2.4rem;
    }
    
    .event-image-container {
        height: 180px;
    }
    
    .status-badge {
        font-size: 0.7rem;
        padding: 4px 10px;
    }
}
