/* Enhanced Date Ideas Styling */

/* Card styling improvements */
.date-idea-card {
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    border: 1px solid #e9ecef;
}

.date-idea-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Score dimension styling */
.score-dimension {
    margin-bottom: 8px;
}

.score-dimension .progress {
    height: 4px;
    background-color: #e9ecef;
    border-radius: 2px;
    overflow: hidden;
}

.score-dimension .progress-bar {
    transition: width 0.6s ease;
    border-radius: 2px;
}

/* Badge styling improvements */
.badge {
    font-size: 0.75em;
    padding: 0.375em 0.5em;
}

/* Alert styling for safety information */
.alert-info {
    border-left: 4px solid #0dcaf0;
    background-color: #f8f9fa;
    border-color: #b8daff;
}

.alert-info .bi-shield-check {
    color: #0dcaf0;
}

/* Expandable details styling */
.expandable-details {
    border-top: 1px solid #e9ecef;
    padding-top: 0.75rem;
    margin-top: 0.5rem;
}

/* Score progress bar colors */
.bg-success { background-color: #198754 !important; }
.bg-warning { background-color: #ffc107 !important; }
.bg-secondary { background-color: #6c757d !important; }
.bg-danger { background-color: #dc3545 !important; }

/* Card footer improvements */
.card-footer {
    background-color: #f8f9fa;
    border-top: 1px solid #e9ecef;
}

/* Search summary styling */
.search-summary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.search-summary .card-title {
    color: white;
    font-weight: 600;
}

.search-summary .fw-bold {
    font-size: 1.5rem;
}

/* Loading animation improvements */
.spinner-border {
    width: 3rem;
    height: 3rem;
    border-width: 0.3em;
}

/* Icon improvements */
.bi {
    margin-right: 0.25rem;
}

/* Responsive improvements */
@media (max-width: 768px) {
    .date-idea-card {
        margin-bottom: 1rem;
    }
    
    .search-summary {
        padding: 1rem;
    }
    
    .score-dimension .col-6 {
        margin-bottom: 0.5rem;
    }
}

/* Animation for score bars */
@keyframes scoreAnimation {
    from { width: 0%; }
    to { width: var(--score-width); }
}

.progress-bar {
    animation: scoreAnimation 1s ease-out;
}

/* Accommodation badges */
.accommodation-badge {
    background-color: #e9ecef;
    color: #495057;
    border: 1px solid #ced4da;
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    margin: 0.125rem;
    border-radius: 0.375rem;
}

/* Search query badges */
.search-query-badge {
    background-color: #f8f9fa;
    color: #6c757d;
    border: 1px solid #dee2e6;
    font-size: 0.7rem;
    padding: 0.2rem 0.4rem;
    margin: 0.1rem;
    border-radius: 0.25rem;
}

/* Enhanced match analysis section */
.match-analysis {
    background-color: #f8f9fa;
    border-radius: 0.5rem;
    padding: 1rem;
    margin-bottom: 1rem;
}

.match-analysis h6 {
    color: #495057;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

/* Safety priority indicator */
.safety-priority {
    color: #198754;
    font-weight: bold;
}

/* Enhanced button styling */
.btn-outline-primary {
    border-color: #0d6efd;
    color: #0d6efd;
}

.btn-outline-primary:hover {
    background-color: #0d6efd;
    border-color: #0d6efd;
    color: white;
}

/* Card image placeholder styling */
.card-img-top {
    height: 200px;
    object-fit: cover;
}

.card-img-top.bg-light {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
}