.pbm-items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.pbm-item-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.pbm-item-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.pbm-item-card.pbm-item-full {
    opacity: 0.7;
}

.pbm-item-image {
    width: 100%;
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.pbm-item-no-image {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.pbm-item-icon {
    font-size: 60px;
}

.pbm-full-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #f56565;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
}

.pbm-item-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.pbm-item-title {
    margin: 0 0 10px 0;
    font-size: 20px;
    font-weight: bold;
    color: #2d3748;
}

.pbm-item-category {
    display: inline-block;
    background: #edf2f7;
    color: #4a5568;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    margin-bottom: 10px;
}

.pbm-item-excerpt {
    color: #718096;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
    flex: 1;
}

.pbm-item-datetime,
.pbm-item-capacity {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    color: #4a5568;
    margin-bottom: 8px;
}

.pbm-item-datetime .dashicons,
.pbm-item-capacity .dashicons {
    width: 16px;
    height: 16px;
    font-size: 16px;
}

.pbm-item-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #e2e8f0;
}

.pbm-item-price {
    font-size: 20px;
    font-weight: bold;
    color: #667eea;
}

.pbm-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.pbm-btn-primary {
    background: #667eea;
    color: white;
}

.pbm-btn-primary:hover {
    background: #5568d3;
    transform: translateY(-2px);
}

.pbm-btn-success {
    background: #48bb78;
    color: white;
}

.pbm-btn-success:hover {
    background: #38a169;
}

.pbm-btn-large {
    padding: 15px 30px;
    font-size: 16px;
    width: 100%;
}

.pbm-btn:disabled {
    background: #cbd5e0;
    cursor: not-allowed;
    transform: none;
}

.pbm-modal {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 999999;
}

.pbm-modal.active {
    display: block;
}

.pbm-modal-overlay {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0,0,0,0.7);
}

.pbm-modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    border-radius: 12px;
    max-width: 700px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 30px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.pbm-modal-close {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #f56565;
    color: white;
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    line-height: 1;
    transition: all 0.3s;
}

.pbm-modal-close:hover {
    background: #e53e3e;
    transform: rotate(90deg);
}

.pbm-modal-header {
    margin-bottom: 20px;
}

.pbm-modal-header h2 {
    margin: 0 0 10px 0;
    color: #2d3748;
}

.pbm-modal-type {
    background: #667eea;
    color: white;
    padding: 5px 15px;
    border-radius: 12px;
    font-size: 13px;
}

.pbm-modal-image {
    margin: 20px 0;
    border-radius: 8px;
    overflow: hidden;
}

.pbm-modal-image img {
    width: 100%;
    height: auto;
    display: block;
}

.pbm-modal-body {
    margin: 20px 0;
}

.pbm-datetime-info {
    background: #f7fafc;
    padding: 15px;
    border-radius: 8px;
    margin: 15px 0;
}

.pbm-description {
    margin: 20px 0;
}

.pbm-description h3 {
    margin-top: 0;
}

.pbm-price-box {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    margin: 20px 0;
}

.pbm-price-label {
    display: block;
    font-size: 14px;
    margin-bottom: 5px;
}

.pbm-price-value {
    display: block;
    font-size: 28px;
    font-weight: bold;
}

.pbm-booking-form {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 2px solid #e2e8f0;
}

.pbm-form-group {
    margin-bottom: 20px;
}

.pbm-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #2d3748;
}

.pbm-form-group input,
.pbm-form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.3s;
}

.pbm-form-group input:focus,
.pbm-form-group textarea:focus {
    outline: none;
    border-color: #667eea;
}

.pbm-bank-info {
    background: #fffaf0;
    border: 2px solid #fbd38d;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
}

.pbm-bank-info h4 {
    margin-top: 0;
    color: #7c2d12;
}

.pbm-bank-info code {
    background: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 14px;
}

.pbm-help-text {
    font-size: 13px;
    color: #718096;
    margin-top: 5px;
}

.pbm-login-required,
.pbm-not-available {
    text-align: center;
    padding: 30px;
    background: #f7fafc;
    border-radius: 8px;
    margin-top: 20px;
}

.pbm-no-items {
    text-align: center;
    padding: 60px 20px;
    color: #718096;
    font-size: 18px;
}

.pbm-loading {
    text-align: center;
    padding: 20px;
}

.pbm-loading:after {
    content: "...";
    animation: dots 1.5s steps(4, end) infinite;
}

@keyframes dots {
    0%, 20% { content: "."; }
    40% { content: ".."; }
    60%, 100% { content: "..."; }
}

@media (max-width: 768px) {
    .pbm-items-grid {
        grid-template-columns: 1fr;
    }
    
    .pbm-modal-content {
        width: 95%;
        padding: 20px;
    }
    
    .pbm-item-footer {
        flex-direction: column;
        gap: 10px;
    }
    
    .pbm-btn {
        width: 100%;
    }
}


/* User Dashboard Styles */
.pbm-user-dashboard {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.pbm-dashboard-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 30px;
    text-align: center;
}

.pbm-dashboard-header h2 {
    margin: 0 0 10px 0;
    color: white;
}

.pbm-dashboard-header p {
    margin: 0;
    opacity: 0.9;
}

.pbm-dashboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.pbm-stat-box {
    background: white;
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border-right: 4px solid #667eea;
}

.pbm-stat-box.pbm-stat-warning { border-right-color: #ed8936; }
.pbm-stat-box.pbm-stat-success { border-right-color: #48bb78; }
.pbm-stat-box.pbm-stat-info { border-right-color: #4299e1; }

.pbm-stat-number {
    display: block;
    font-size: 36px;
    font-weight: bold;
    color: #2d3748;
    margin-bottom: 5px;
}

.pbm-stat-label {
    display: block;
    color: #718096;
    font-size: 14px;
}

.pbm-dashboard-filters {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.pbm-filter-btn {
    padding: 10px 20px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    background: white;
    color: #4a5568;
    text-decoration: none;
    transition: all 0.3s;
}

.pbm-filter-btn:hover,
.pbm-filter-btn.active {
    background: #667eea;
    color: white;
    border-color: #667eea;
}

.pbm-bookings-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.pbm-booking-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    display: grid;
    grid-template-columns: 120px 1fr auto;
    gap: 20px;
    align-items: center;
    transition: all 0.3s;
}

.pbm-booking-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
    transform: translateY(-2px);
}

.pbm-booking-image {
    width: 120px;
    height: 120px;
    border-radius: 8px;
    overflow: hidden;
}

.pbm-booking-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pbm-no-image {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
}

.pbm-booking-info h3 {
    margin: 0 0 10px 0;
    color: #2d3748;
    font-size: 18px;
}

.pbm-booking-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 10px;
    font-size: 13px;
    color: #718096;
}

.pbm-booking-price {
    font-size: 20px;
    font-weight: bold;
    color: #667eea;
    margin-bottom: 10px;
}

.pbm-booking-status {
    display: flex;
    gap: 10px;
}

.pbm-booking-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pbm-btn-small {
    padding: 8px 16px;
    font-size: 13px;
}

.pbm-empty-bookings {
    text-align: center;
    padding: 60px 20px;
    background: white;
    border-radius: 12px;
}

.pbm-empty-bookings .dashicons {
    font-size: 80px;
    width: 80px;
    height: 80px;
    color: #cbd5e0;
}

.pbm-empty-bookings p {
    font-size: 18px;
    color: #718096;
    margin: 20px 0;
}

@media (max-width: 768px) {
    .pbm-booking-card {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .pbm-booking-image {
        margin: 0 auto;
    }
    
    .pbm-booking-actions {
        flex-direction: row;
        justify-content: center;
    }
    
    .pbm-booking-meta {
        flex-direction: column;
        gap: 5px;
    }
}
