/* General */
.aa-grid { display: flex; flex-wrap: wrap; gap: 20px; }
.aa-card { border: 1px solid #ddd; padding: 15px; width: 300px; border-radius: 8px; box-shadow: 0 2px 5px rgba(0,0,0,0.1); background:#fff; }
.aa-card img { width: 100%; height: 200px; object-fit: cover; border-radius: 4px; }
.aa-card h3 {color: #000 !important;}
.aa-stats { display: flex; justify-content: space-between; margin: 10px 0; font-weight: bold; color: #555; }
.aa-button { display: block; text-align: center; background: #333; color: #fff; padding: 10px; text-decoration: none; border-radius: 4px; border:none; cursor: pointer; width: 100%; box-sizing: border-box;}
.aa-button:hover { background: #555; }

/* Grid */
.aa-slot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(50px, 1fr)); gap: 10px; margin: 20px 0; }
.aa-slot { background: #eaffea; border: 1px solid #4caf50; color: #4caf50; padding: 10px; text-align: center; cursor: pointer; border-radius: 4px; font-weight: bold; user-select: none; }
.aa-slot:hover { background: #d0f0d0; }
.aa-slot.selected { background: #333; color: #fff; border-color: #333; }
.aa-slot.reserved { background: #fff3cd; border-color: #ffc107; color: #856404; cursor: not-allowed; opacity: 0.7; pointer-events: none;}
.aa-slot.my-reserved { background: #fff3cd; border-color: #ffc107; color: #856404; opacity: 1; border: 2px solid #ff9800; }
.aa-slot.paid { background: #f8d7da; border-color: #f5c6cb; color: #721c24; cursor: not-allowed; opacity: 0.6; pointer-events: none;}

/* Legend */
.aa-legend { color: #000 !important; display: flex; gap: 20px; margin: 20px 0 10px 0; padding: 10px; background: #fcfcfc; border: 1px solid #eee; flex-wrap: wrap; }
.aa-legend-item { display: flex; align-items: center; gap: 8px; font-size: 0.9em; }
.aa-slot-sm { width: 20px; height: 20px; border-radius: 3px; }
.aa-slot-sm.available { background: #eaffea; border: 1px solid #4caf50; }
.aa-slot-sm.selected { background: #333; }
.aa-slot-sm.reserved { background: #fff3cd; border: 1px solid #ffc107; }
.aa-slot-sm.paid { background: #f8d7da; border: 1px solid #f5c6cb; }

/* Dashboard (New) */
.aa-dash-container { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.aa-dash-card {  color: #000; background-color: #fff; border: 1px solid #eee; border-radius: 8px; overflow: hidden; box-shadow: 0 2px 4px rgba(0,0,0,0.05); }
.aa-dash-img { height: 120px; background-size: cover; background-position: center; }
.aa-dash-info { padding: 15px; }
.aa-dash-info h4 { margin: 0 0 10px 0; font-size: 1.1em; }
.aa-dash-meta { margin-bottom: 10px; color: #666; font-size: 0.9em; }
.aa-tag { display: inline-block; padding: 3px 8px; border-radius: 3px; font-size: 0.75em; font-weight: bold; text-transform: uppercase; }
.aa-tag.active { background: #e0f7fa; color: #006064; }
.aa-tag.closed { background: #eceff1; color: #455a64; }
.aa-tag.win { background: #fff8e1; color: #ff6f00; border: 1px solid #ff6f00; }
.aa-dash-slots {
    margin-top: 5px;
    font-family: monospace;
    font-size: 1.1em;
    font-weight: bold;
    color: #333;
    line-height: 1.4;
    word-break: break-all; /* Ensures long lists don't break layout */
}

/* Checkout */
#aa-checkout-panel { padding: 20px; border: 1px solid #ddd; margin-top: 20px; border-radius: 8px; }
.aa-shipping-form input { display: block; width: 100%; margin-bottom: 10px; padding: 8px; box-sizing: border-box; }
/* No Active Listings Banner */
.aa-no-active {
    text-align: center;
    padding: 60px 20px;
    background: #f9f9f9;
    border: 2px dashed #ccc;
    border-radius: 8px;
    color: #666;
    margin-bottom: 40px;
}
.aa-no-active h3 { margin: 0 0 10px 0; color: #333; letter-spacing: 1px; }

/* Section Headers */
.aa-section-header {
    width: 100%;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
    margin: 40px 0 20px 0;
    text-transform: uppercase;
    color: #333;
    font-size: 1.2em;
    letter-spacing: 1px;
}

/* Past Cards */
.aa-card-past {
    background: #fafafa;
    color: #000 !important;
    border-color: #eee;
}
.aa-card-past h3 { font-weight: normal; }