﻿/* Global Form Styles */
.form-label {
    font-size: 0.875rem !important;
    font-weight: 500 !important;
    color: #495057 !important;
    margin-bottom: 0.5rem !important;
}

/* Accommodation Cards - Airbnb Style */

.airbnb-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
    border: 1px solid #e5e7eb;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.airbnb-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.airbnb-image-container {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 12px;
    background: #f8f9fa;
}

.airbnb-image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.airbnb-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
    border-radius: 12px;
    display: block;
}

.airbnb-card:hover .airbnb-image {
    transform: scale(1.05);
}

.airbnb-no-image {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    width: 100%;
    height: 100%;
    border: 2px dashed #dee2e6;
    border-radius: 12px;
    position: absolute;
    top: 0;
    left: 0;
}

.airbnb-content {
    padding: 12px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.airbnb-location {
    font-size: 15px;
    font-weight: 600;
    color: #222;
    margin-bottom: 2px;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.airbnb-distance {
    font-size: 14px;
    color: #717171;
    margin-bottom: 2px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.airbnb-dates {
    font-size: 14px;
    color: #717171;
    margin-bottom: 8px;
}

.airbnb-rating {
    display: flex;
    align-items: center;
    gap: 2px;
    font-size: 12px;
    color: #717171;
}

.airbnb-price {
    margin-top: auto;
}

.price-amount {
    font-weight: 600;
    color: #222;
    font-size: 15px;
}

.price-period {
    font-weight: 400;
    color: #717171;
    font-size: 15px;
}

.airbnb-actions {
    padding: 8px 12px;
    border-top: 1px solid #f0f0f0;
}

.admin-notes-compact {
    padding: 8px 12px;
    background: #fff3cd;
    border-top: 1px solid #f0f0f0;
}

.btn-lodgenda-primary {
    background-color: #00A6FF;
    border-color: #00A6FF;
    color: white;
}

.btn-lodgenda-primary:hover {
    background-color: #0088cc;
    border-color: #0088cc;
}

.btn-lodgenda-outline {
    border-color: #00A6FF;
    color: #00A6FF;
}

.btn-lodgenda-outline:hover {
    background-color: #00A6FF;
    border-color: #00A6FF;
    color: white;
}

/* Status Badges */
.status-badge-pending {
    background-color: #ffc107;
    color: #000;
}

.status-badge-approved {
    background-color: #198754;
    color: white;
}

.status-badge-rejected {
    background-color: #dc3545;
    color: white;
}

.status-badge-under-review {
    background-color: #0dcaf0;
    color: #000;
}

/* Accommodation Type Badges */
.accommodation-type-badge {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
    .airbnb-card {
        margin-bottom: 1rem;
    }
    
    .airbnb-image-container {
        height: 150px;
    }
    
    .airbnb-content {
        padding: 10px;
    }
    
    .airbnb-location {
        font-size: 14px;
    }
    
    .airbnb-distance,
    .airbnb-dates {
        font-size: 13px;
    }
    
    .price-amount,
    .price-period {
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    .airbnb-image-container {
        height: 120px;
    }
    
    .airbnb-content {
        padding: 8px;
    }
    
    .airbnb-actions {
        padding: 6px 8px;
    }
}

/* Filter and Search Styles */
.filter-section {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.search-input {
    border-radius: 8px;
    border: 1px solid #dee2e6;
    padding: 0.75rem 1rem;
}

.search-input:focus {
    border-color: #00A6FF;
    box-shadow: 0 0 0 0.2rem rgba(0, 166, 255, 0.25);
}

.filter-select {
    border-radius: 8px;
    border: 1px solid #dee2e6;
    padding: 0.75rem;
}

.filter-select:focus {
    border-color: #00A6FF;
    box-shadow: 0 0 0 0.2rem rgba(0, 166, 255, 0.25);
}

/* Pagination Styles */
.pagination .page-link {
    border: none;
    color: #6c757d;
    padding: 0.5rem 0.75rem;
    margin: 0 0.125rem;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.pagination .page-link:hover {
    background-color: #f3f4f6;
    color: #00A6FF;
}

.pagination .page-item.active .page-link {
    background-color: #00A6FF;
    border-color: #00A6FF;
    color: white;
}

.pagination .page-item.disabled .page-link {
    color: #adb5bd;
    background-color: transparent;
}

/* Loading States */
.loading-spinner {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem;
}

.loading-text {
    margin-top: 1rem;
    color: #6c757d;
    font-size: 0.875rem;
}

/* Empty States */
.empty-state {
    text-align: center;
    padding: 3rem 1rem;
}

.empty-state-icon {
    font-size: 3rem;
    color: #adb5bd;
    margin-bottom: 1rem;
}

.empty-state-title {
    color: #6c757d;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.empty-state-description {
    color: #adb5bd;
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
}
