/* ============================================================
   M&J Dumpsters — Booking Calendar Styles
   Theme: Lime #48BF00 | Orange #48BF00 | Dark #48BF00 | Gray #777 | Light #F5F5F5
   ============================================================ */

/* Layout: side by side on desktop */
.mj-booking-calendar {
    width: 100%;
    clear: both;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}
.mj-bc-layout {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    align-items: flex-start;
}
.mj-bc-left {
    flex: 1;
    min-width: 280px;
}
.mj-bc-right {
    width: 300px;
    flex-shrink: 0;
}
@media (max-width: 768px) {
    .mj-bc-layout { flex-direction: column; }
    .mj-bc-right { width: 100%; }
}

/* Calendar */
.mj-bc-calendar {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
}
.mj-bc-cal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
}
.mj-bc-month-label {
    font-size: 16px;
    font-weight: 700;
    color: #48BF00;
}
.mj-bc-prev-month,
.mj-bc-next-month {
    background: none;
    border: 2px solid #48BF00;
    color: #48BF00;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}
.mj-bc-prev-month:hover,
.mj-bc-next-month:hover {
    background: #48BF00;
    color: #fff;
}
.mj-bc-cal-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
    text-align: center;
}
.mj-bc-day-header {
    font-size: 12px;
    font-weight: 600;
    color: #48BF00;
    padding: 8px 0;
    text-transform: uppercase;
}
.mj-bc-day-empty {
    padding: 10px 0;
}
.mj-bc-day {
    padding: 10px 0;
    border-radius: 50%;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin: 0 auto;
    color: #48BF00;
}
.mj-bc-day:hover:not(.mj-bc-disabled) {
    background: #f0f7e6;
    color: #48BF00;
}
.mj-bc-day.mj-bc-today {
    border: 2px solid #48BF00;
    font-weight: 700;
}
.mj-bc-day.mj-bc-selected {
    background: #48BF00 !important;
    color: #fff !important;
    font-weight: 700;
}
.mj-bc-day.mj-bc-disabled {
    color: #ddd;
    cursor: not-allowed;
    text-decoration: line-through;
}

/* Time Slots */
.mj-bc-time-section {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    margin-top: 15px;
}
.mj-bc-time-title {
    font-size: 15px;
    font-weight: 700;
    color: #48BF00;
    margin: 0 0 15px 0;
    text-align: center;
}
.mj-bc-time-group {
    margin-bottom: 12px;
}
.mj-bc-time-period {
    font-size: 13px;
    font-weight: 600;
    color: #555;
    margin-bottom: 8px;
    text-transform: capitalize;
    padding-bottom: 4px;
    border-bottom: 2px solid #F5F5F5;
}
.mj-bc-time-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.mj-bc-time-btn {
    padding: 10px 20px;
    border: 2px solid #ddd;
    border-radius: 6px;
    background: #fff;
    color: #48BF00;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    min-width: 100px;
    text-align: center;
}
.mj-bc-time-btn:hover {
    border-color: #48BF00;
    color: #48BF00;
    background: #f0f7e6;
}
.mj-bc-time-btn.mj-bc-time-selected {
    background: #48BF00;
    border-color: #48BF00;
    color: #fff;
    font-weight: 700;
}

/* Add-ons */
.mj-bc-addons-section {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    margin-top: 15px;
}
.mj-bc-addons-title {
    font-size: 15px;
    font-weight: 700;
    color: #48BF00;
    margin: 0 0 5px 0;
}
.mj-bc-addons-subtitle {
    font-size: 13px;
    color: #777;
    margin: 0 0 15px 0;
}
.mj-bc-addons-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.mj-bc-addon-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
}
.mj-bc-addon-item:hover {
    border-color: #48BF00;
    background: #f0f7e6;
}
.mj-bc-addon-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #48BF00;
    flex-shrink: 0;
}
.mj-bc-addon-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex: 1;
}
.mj-bc-addon-name {
    font-size: 14px;
    color: #48BF00;
    font-weight: 500;
}
.mj-bc-addon-price {
    font-size: 14px;
    font-weight: 700;
    color: #48BF00;
}

/* Custom Fields */
.mj-bc-custom-fields {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    margin-top: 15px;
}
.mj-bc-fields {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.mj-bc-field-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #48BF00;
    margin-bottom: 5px;
}
.mj-bc-required {
    color: #48BF00;
}
.mj-bc-input {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    color: #48BF00;
    background: #fff;
    box-sizing: border-box;
    transition: border-color 0.2s;
}
.mj-bc-input:focus {
    outline: none;
    border-color: #48BF00;
    box-shadow: 0 0 0 3px rgba(139, 195, 74, 0.15);
}
.mj-bc-textarea {
    resize: vertical;
    min-height: 60px;
}

/* Delivery Section */
.mj-bc-delivery-section {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    margin-top: 15px;
}
.mj-bc-del-title {
    font-size: 15px;
    font-weight: 700;
    color: #48BF00;
    margin: 0 0 5px 0;
}
.mj-bc-del-subtitle {
    font-size: 13px;
    color: #777;
    margin: 0 0 15px 0;
}
.mj-bc-del-zip-row {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}
.mj-bc-del-zip {
    width: 160px !important;
}
.mj-bc-del-calc-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    background: #48BF00;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    white-space: nowrap;
}
.mj-bc-del-calc-btn:hover {
    background: #3DA600;
}
.mj-bc-del-calc-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}
.mj-bc-del-result {
    margin-top: 15px;
}
.mj-bc-del-card {
    background: #F5F5F5;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 15px;
}
.mj-bc-del-row {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    font-size: 14px;
    color: #48BF00;
    border-bottom: 1px solid #eee;
}
.mj-bc-del-row:last-child { border-bottom: none; }
.mj-bc-del-fee {
    font-size: 16px;
    font-weight: 700;
    color: #48BF00;
    border-top: 1px solid #ddd;
    padding-top: 10px;
    margin-top: 5px;
}
.mj-bc-del-error {
    color: #48BF00;
    font-size: 13px;
    margin-top: 10px;
    padding: 10px;
    background: #FFF8E1;
    border-radius: 6px;
    border: 1px solid #FFE082;
}

/* Booking Summary (right side) */
.mj-bc-summary {
    background: #48BF00;
    border-radius: 8px;
    padding: 20px;
    position: sticky;
    top: 20px;
    color: #fff;
}
.mj-bc-summary-title {
    font-size: 17px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 15px 0;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255,255,255,0.15);
}
.mj-bc-summary-content {
    margin-bottom: 15px;
}
.mj-bc-summary-empty {
    color: rgba(255,255,255,0.6);
    font-size: 14px;
    text-align: center;
    padding: 20px 0;
}
.mj-bc-sum-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 14px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.mj-bc-sum-label {
    color: rgba(255,255,255,0.7);
}
.mj-bc-sum-value {
    font-weight: 600;
    color: #fff;
}
.mj-bc-sum-addons {
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.mj-bc-sum-addon {
    font-size: 13px;
    color: rgba(255,255,255,0.6);
    padding: 3px 0 3px 15px;
}
.mj-bc-summary-total {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    text-align: center;
    padding: 12px 0;
    border-top: 2px solid rgba(255,255,255,0.15);
}
.mj-bc-book-btn {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 6px;
    background: #48BF00;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
    margin-top: 15px;
}
.mj-bc-book-btn:hover:not(:disabled) {
    background: #3DA600;
}
.mj-bc-book-btn:disabled {
    background: rgba(255,255,255,0.2);
    color: rgba(255,255,255,0.5);
    cursor: not-allowed;
}
.mj-bc-result {
    margin-top: 15px;
}
.mj-bc-success {
    background: rgba(139, 195, 74, 0.2);
    color: #fff;
    padding: 12px;
    border-radius: 6px;
    font-size: 14px;
    text-align: center;
    border: 1px solid rgba(139, 195, 74, 0.5);
}
.mj-bc-error {
    background: rgba(245, 166, 35, 0.2);
    color: #fff;
    padding: 12px;
    border-radius: 6px;
    font-size: 14px;
    text-align: center;
    border: 1px solid rgba(245, 166, 35, 0.5);
}

/* View Product Button on Shop Pages */
a.mj-view-product-btn {
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
    background: #48BF00 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 6px !important;
    padding: 10px 22px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    transition: background 0.3s !important;
}
a.mj-view-product-btn:hover,
a.mj-view-product-btn:active,
a.mj-view-product-btn:focus {
    background: #3DA600 !important;
    color: #fff !important;
}
