/* Event Registration Modal Styles */
.events img {
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* Responsive Event Featured Image */
.event-featured-image {
    width: 100%;
    height: auto;
    max-width: 800px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.event-featured-image:hover {
    transform: scale(1.02);
}

@media (max-width: 768px) {
    .event-featured-image {
        max-width: 100%;
        
        object-fit: cover;
    }
}



.modal-content {
    border-radius: 15px;
    border: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.modal-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 15px 15px 0 0;
    border-bottom: none;
}

.modal-header .btn-close {
    filter: invert(1);
}

.event-info-card {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border: 1px solid #e9ecef;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    padding: 15px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.info-item i {
    font-size: 1.5rem;
    color: #667eea;
    margin-right: 15px;
    margin-top: 5px;
}

.info-item h5 {
    margin: 0 0 5px 0;
    font-size: 0.9rem;
    color: #6c757d;
    font-weight: 600;
}

.info-item p {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
}

.price {
    color: #28a745 !important;
    font-size: 1.3rem !important;
    font-weight: 700 !important;
}

.featured-badge {
    text-align: center;
    margin: 20px 0;
}

.featured-badge .badge {
    font-size: 0.9rem;
    padding: 8px 15px;
}

.event-actions .btn {
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
}

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

/* Form Styles */
.form-control {
    border-radius: 8px;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

.form-label {
    font-weight: 600;
    color: #495057;
    margin-bottom: 8px;
}

/* Alert Styles */
.alert-info {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    border: none;
    border-radius: 10px;
    color: #1565c0;
}

.alert-info i {
    margin-right: 8px;
}

/* Modal Info Styles */
.event-info-simple {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
}

.info-title {
    color: #495057;
    font-weight: 600;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.info-title i {
    margin-right: 8px;
    color: #667eea;
}

.info-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.info-row {
    display: flex;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #e9ecef;
}

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

.info-row i {
    color: #667eea;
    margin-right: 10px;
    font-size: 1.1rem;
    min-width: 20px;
}

.info-label {
    font-weight: 600;
    color: #6c757d;
    margin-right: 8px;
    min-width: 80px;
}

.info-value {
    color: #333;
    font-weight: 500;
}

.capacity-info {
    color: #28a745;
    font-weight: 600;
}

/* Success/Error Modal Styles */
.modal-body .text-center i {
    margin-bottom: 15px;
}

/* Loading Spinner */
.spinner-border-sm {
    width: 1rem;
    height: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .modal-dialog {
        margin: 10px;
    }
    
    .info-item {
        flex-direction: row;
        text-align: left;
        align-items: center;
        padding: 15px;
    }
    
    .info-item i {
        margin-right: 15px;
        margin-bottom: 0;
        font-size: 1.5rem;
        color: #667eea;
        min-width: 25px;
    }
    
    .info-item h5 {
        font-size: 0.85rem;
        margin-bottom: 3px;
        color: #6c757d;
        min-width: 50px;
    }
    
    .info-item p {
        font-size: 0.95rem;
        font-weight: 600;
        color: #333;
        line-height: 1.3;
        margin-left: 10px;
    }
    
    .event-info-card {
        padding: 20px 15px;
    }
    
    .event-info-card h3 {
        font-size: 1.5rem;
        margin-bottom: 20px;
        text-align: center;
    }
    
    /* Modal responsive styles */
    .info-row {
        flex-direction: row;
        align-items: center;
        text-align: left;
        padding: 12px 0;
    }
    
    .info-row i {
        margin-bottom: 0;
        margin-right: 10px;
        font-size: 1.2rem;
        min-width: 20px;
    }
    
    .info-label {
        min-width: 70px;
        margin-bottom: 0;
        margin-right: 8px;
    }
    
    .info-value {
        font-weight: 600;
        line-height: 1.3;
    }
    
    .event-info-simple {
        padding: 15px;
    }
    
    .info-title {
        font-size: 1rem;
        margin-bottom: 12px;
    }
} 