/* Admin Styles */
.property-assignments-help {
    margin-top: 20px;
    padding: 15px;
    background: #fff;
    border-left: 4px solid #646970;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
}

.property-assignments-help h3 {
    margin-top: 0;
}

/* Frontend Booking Display Styles */
.my-bookings-container {
    margin: 20px 0;
    padding: 20px;
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.my-bookings-container h2 {
    margin-bottom: 20px;
    color: #1d2327;
}

.my-bookings-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: #fff;
}

.my-bookings-table th,
.my-bookings-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #e5e5e5;
}

.my-bookings-table th {
    background: #f0f0f1;
    font-weight: 600;
}

.my-bookings-table tr:hover {
    background: #f6f7f7;
}

/* Status Colors */
.booking-status {
    padding: 4px 8px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 500;
}

.status-confirmed {
    background: #dff0d8;
    color: #3c763d;
}

.status-pending {
    background: #fcf8e3;
    color: #8a6d3b;
}

.status-cancelled {
    background: #f2dede;
    color: #a94442;
}

/* Responsive Styles */
@media screen and (max-width: 782px) {
    .my-bookings-table {
        display: block;
        overflow-x: auto;
    }

    .my-bookings-table th,
    .my-bookings-table td {
        padding: 8px;
    }
}

/* Loading State */
.my-bookings-loading {
    text-align: center;
    padding: 20px;
}

.my-bookings-loading::after {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Error States */
.my-bookings-error {
    padding: 10px;
    margin: 10px 0;
    background: #f2dede;
    border-left: 4px solid #a94442;
    color: #a94442;
}

/* Bookings Container */
.my-bookings-container {
    margin: 20px 0;
    padding: 20px;
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Filters */
.bookings-filters {
    margin-bottom: 20px;
    display: flex;
    gap: 15px;
    align-items: center;
}

.bookings-filters select,
.bookings-filters input {
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

/* Table Styles */
.my-bookings-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.my-bookings-table th,
.my-bookings-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.my-bookings-table th {
    background: #f8f9fa;
    font-weight: 600;
}

.my-bookings-table tr:hover {
    background: #f8f9fa;
}

/* Status Badges */
.booking-status {
    padding: 4px 8px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 500;
}

.status-confirmed {
    background: #d4edda;
    color: #155724;
}

.status-pending {
    background: #fff3cd;
    color: #856404;
}

.status-cancelled {
    background: #f8d7da;
    color: #721c24;
}

/* Action Buttons */
.view-details {
    padding: 6px 12px;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 3px;
    cursor: pointer;
}

.view-details:hover {
    background: #0056b3;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

.modal-content {
    position: relative;
    background: #fff;
    margin: 10% auto;
    padding: 20px;
    width: 80%;
    max-width: 600px;
    border-radius: 4px;
}

.close {
    position: absolute;
    right: 20px;
    top: 10px;
    font-size: 28px;
    cursor: pointer;
}

/* Responsive Styles */
@media screen and (max-width: 768px) {
    .bookings-filters {
        flex-direction: column;
    }

    .bookings-filters select,
    .bookings-filters input {
        width: 100%;
    }

    .my-bookings-table {
        display: block;
        overflow-x: auto;
    }
}