/* ==========================================================
   Booking Form – Frontend Styles (FULL FILE)
   ========================================================== */

/* Wrapper */
.nb-booking-wrap {
    width: 100%;
}

/* --------------------------
   REM-BASED TYPOGRAPHY
   -------------------------- */

.nb-booking-wrap,
.nb-booking-wrap * {
    font-size: 1rem !important;
    line-height: 1.4;
}

/* Labels */
.nb-field label {
    font-size: 0.875rem !important;
    font-weight: 500;
    line-height: 1.3;
}

/* Inputs / textareas */
.nb-field input[type="text"],
.nb-field input[type="email"],
.nb-field select,
.nb-field textarea {
    font-size: 1rem !important;
}

/* Textarea min height */
.nb-field textarea {
    min-height: 100px;
}

/* Submit button */
.nb-submit {
    font-size: 1rem !important;
    font-weight: 600;
}

/* --------------------------
   CALENDAR
   -------------------------- */

.nb-calendar {
    width: 100%;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 12px;
    background: #ffffff;
    box-sizing: border-box;
}

/* Header */
.nb-calendar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}

/* Month text (bigger + bold) */
.nb-calendar-month-label {
    flex: 1;
    text-align: center;
    font-size: 1.25rem !important;
    font-weight: 700 !important;
}

/* Navigation arrows – black, no bg */
.nb-cal-nav {
    border: none;
    background: transparent !important;
    cursor: pointer;
    padding: 4px;
    font-size: 1.25rem;
    color: #000000 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

/* Weekday labels */
.nb-calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    margin-bottom: 0.5rem;
}

.nb-calendar-weekday {
    text-align: center;
    font-weight: 600;
    font-size: 1rem !important;
}

/* Days grid – wider gaps */
.nb-calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.7rem; /* 2x-ish wider spacing */
}

/* --------------------------
   CALENDAR DAY CELLS
   -------------------------- */

/* Base day cell – rectangular with 10px corners
   Lock border / shadow / position so hover doesn’t move it */
.nb-cal-day {
    background: #f3f4f6;
    color: #111111;
    border-radius: 10px;
    padding: 8px 0;
    text-align: center;
    cursor: pointer;
    transition: background 0.12s ease, color 0.12s ease;
    box-shadow: none !important;

    border: 1px solid transparent; /* same on hover */
    position: relative;
    top: 0;
    transform: none !important;
}

/* Outside month */
.nb-cal-day-outside {
    background: transparent !important;
    cursor: default !important;
    pointer-events: none !important;
}

/* Hover = NiceBike blue, no movement */
.nb-cal-day:hover {
    background: #0070ba;
    color: #ffffff;

    border-color: transparent;
    box-shadow: none !important;
    top: 0;
    transform: none !important;
}

/* Selected date = #34a300, no movement */
.nb-cal-day-selected,
.nb-cal-day.nb-cal-day-selected {
    background: #34a300 !important;
    color: #ffffff !important;
    border-radius: 10px;

    border-color: transparent;
    box-shadow: none !important;
    top: 0;
    transform: none !important;
}

/* Disabled days – no interaction, no hover change at all */
.nb-cal-day-disabled,
.nb-cal-day.nb-cal-day-disabled {
    background: #f9fafb;
    color: #9ca3af;
    cursor: default;
    border-radius: 10px;

    border: 1px solid transparent;
    box-shadow: none !important;
    pointer-events: none !important;
    top: 0;
    transform: none !important;
}

.nb-cal-day-disabled:hover,
.nb-cal-day-disabled:active,
.nb-cal-day-disabled:focus {
    background: #f9fafb !important;
    color: #9ca3af !important;
    box-shadow: none !important;
    top: 0 !important;
    transform: none !important;
}

/* Hide selected date footer text (but keep line height) */
.nb-calendar-selected-label {
    visibility: hidden !important;
}

/* --------------------------
   SERVICE CARDS
   -------------------------- */

.nb-service-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
}

/* Base card */
.nb-service-card {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;   /* TOP ALIGN */
    align-items: flex-start;       /* LEFT ALIGN */

    width: 100%;
    text-align: left !important;

    border-radius: 12px;
    padding: 20px 20px;             /* extra padding */
    border: 1px solid #e5e7eb;

    background: #f9fafb;            /* same as disabled days */
    color: #111111;

    text-decoration: none;
    transition: background 0.12s ease, border-color 0.12s ease, color 0.12s ease;
    box-shadow: none !important;

    position: relative;
    top: 0;
    transform: none !important;
}

/* Force children left aligned */
.nb-service-card * {
    text-align: left !important;
}

/* Hover – blue background, white text, no movement */
.nb-service-card:hover {
    background: #0070ba !important;
    color: #ffffff !important;
    border-color: #0070ba !important;
    box-shadow: none !important;
    top: 0;
    transform: none !important;
}

.nb-service-card:hover .nb-service-card-title,
.nb-service-card:hover .nb-service-card-desc {
    color: #ffffff !important;
}

/* Selected card – #34a300, no movement */
.nb-service-card.nb-card-selected {
    background: #34a300 !important;
    border-color: #34a300 !important;
    color: #ffffff !important;
    box-shadow: none !important;
    top: 0;
    transform: none !important;
}

.nb-service-card.nb-card-selected .nb-service-card-title,
.nb-service-card.nb-card-selected .nb-service-card-desc {
    color: #ffffff !important;
}

/* Title – Komika + letter spacing + more space below */
.nb-service-card-title {
    font-family: "Komika", "Komika Axis", system-ui, sans-serif !important;
    font-size: 1.15rem !important;
    font-weight: 700;
    letter-spacing: 0.5px;           /* slightly widened */
    margin-bottom: 8px;              /* more spacing between title & text */
}

/* Body text – normal weight */
.nb-service-card-desc {
    font-size: 0.95rem;
    line-height: 1.45;
    font-weight: 400 !important;
}

/* Mobile layout */
@media (max-width: 700px) {
    .nb-service-cards {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

/* Remove mobile tap highlight + focus ring from calendar buttons */
.nb-calendar .nb-cal-day,
.nb-calendar .nb-cal-nav {
    -webkit-tap-highlight-color: transparent;
    outline: none;
}

/* Extra safety for focus states */
.nb-calendar .nb-cal-day:focus,
.nb-calendar .nb-cal-day:focus-visible,
.nb-calendar .nb-cal-nav:focus,
.nb-calendar .nb-cal-nav:focus-visible {
    outline: none;
    box-shadow: none;
}

/* Firefox inner focus border */
.nb-calendar button::-moz-focus-inner {
    border: 0;
}