body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #111;
    color: white;
    text-align: center;
}

h1 {
    font-size: 48px;
    margin-top: 90px;
}

p {
    font-size: 20px;
    color: #ccc;
}

button {
    background: white;
    color: black;
    border: none;
    padding: 15px 30px;
    font-size: 18px;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
}

button:hover {
    background: #ddd;
}
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 75px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 50px;
    box-sizing: border-box;
    background: rgba(0, 0, 0, 0.9);
}

.logo {
    font-size: 30px;
    font-weight: bold;
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-size: 16px;
}

.nav-links a:hover {
    color: #aaa;
}
#booking {
    margin-top: 120px;
    padding: 60px 20px;
}

#booking h2 {
    font-size: 36px;
}

form {
    max-width: 500px;
    margin: 30px auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

input,
select,
textarea {
    padding: 15px;
    font-size: 16px;
    border-radius: 8px;
    border: none;
}
.hidden {
    display: none;
}
.service-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    text-align: left;
}

.service-options label {
    background: #1c1c1c;
    padding: 15px;
    border-radius: 8px;
    cursor: pointer;
}

.service-options input {
    margin-right: 10px;
}
.service-options label {
    background: #1c1c1c;
    padding: 18px;
    border: 2px solid transparent;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.2s;
}

.service-options label:hover {
    background: #292929;
}

.service-options label:has(input:checked) {
    border-color: white;
    background: #333;
}

.service-options input {
    margin-right: 10px;
}
.phone-booking {
    padding: 20px 20px;
    text-align: center;
}

.phone-booking h2 {
    font-size: 32px;
    margin-bottom: 10px;
}

.phone-booking p {
    color: #ccc;
    margin-bottom: 25px;
}

.phone-button {
    display: inline-block;
    background: white;
    color: black;
    text-decoration: none;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 20px;
    font-weight: bold;
    transition: 0.2s;
}

.phone-button:hover {
    background: #ddd;
    transform: scale(1.03);
}
#recent-work {
    padding: 70px 20px;
}

#recent-work h2 {
    font-size: 36px;
    margin-bottom: 10px;
}

.section-subtitle {
    color: #ccc;
    margin-bottom: 35px;
}

#posts-container {
    max-width: 900px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
#reviews {
    padding: 70px 20px;
}

#reviews h2 {
    font-size: 36px;
    margin-bottom: 10px;
}

.reviews-grid {
    max-width: 1000px;
    margin: 35px auto 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.review-card {
    background: #1c1c1c;
    padding: 25px;
    border-radius: 10px;
    text-align: left;
}

.stars {
    color: gold;
    font-size: 22px;
    margin-top: 0;
}

.review-card h3 {
    margin-top: 20px;
    font-size: 16px;
    color: #ccc;
}
#services {
    padding: 0px 20px;
}

#services h2 {
    font-size: 36px;
    margin-bottom: 10px;
}

.services-grid {
    max-width: 1100px;
    margin: 35px auto 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.service-card {
    background: #1c1c1c;
    padding: 30px;
    border-radius: 10px;
    text-align: left;
    transition: 0.2s;
}

.service-card:hover {
    transform: translateY(-5px);
    background: #242424;
}

.service-card h3 {
    font-size: 22px;
    margin-top: 0;
}

.service-card p {
    line-height: 1.6;
}

.service-price {
    color: white;
    font-size: 18px;
    font-weight: bold;
}

.service-card button {
    margin-top: 10px;
}
html {
    scroll-behavior: smooth;
}
#about {
    padding: 100px 20px;
    background: #181818;
}

.about-content {
    max-width: 1000px;
    margin: auto;
}

.about-text {
    max-width: 700px;
    text-align: left;
}

.about-label {
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 3px;
    color: #aaa;
}

.about-text h2 {
    font-size: 42px;
    margin: 10px 0 25px;
}

.about-text p {
    font-size: 18px;
    line-height: 1.7;
    color: #ccc;
}

.about-text button {
    margin-top: 15px;
}
#promotion {
    max-width: 1000px;
    margin: 80px auto;
    padding: 60px 30px;
    background: #1c1c1c;
    border: 1px solid #444;
    border-radius: 15px;
    text-align: center;
}

.promo-label {
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 3px;
    color: #aaa;
}

#promotion h2 {
    font-size: 36px;
    margin: 10px 0;
}

.promo-offer {
    color: white;
    font-size: 32px;
    font-weight: bold;
    margin: 20px 0;
}

.promo-description {
    max-width: 600px;
    margin: 0 auto 20px;
    color: #ccc;
    line-height: 1.6;
}

.promo-disclaimer {
    font-size: 13px;
    color: #888;
    margin-bottom: 25px;
}

#promotion button {
    padding: 16px 32px;
}
.review-button {
    display: inline-block;
    margin-top: 15px;
    padding: 15px 30px;

    background: white !important;
    color: black !important;

    text-decoration: none;
    border: 2px solid white;
    border-radius: 8px;
    font-size: 17px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.2s;
}

.review-button:hover {
    background: transparent !important;
    color: white !important;
}
.admin-login {
    max-width: 450px;
    margin: 150px auto;
    padding: 40px;
    background: #1c1c1c;
    border-radius: 12px;
}

.admin-login h1 {
    margin-top: 0;
}

.admin-login form {
    margin-top: 25px;
}
.admin-dashboard {
    max-width: 700px;
    margin: 120px auto;
    padding: 40px;
}

.admin-post-box {
    background: #1c1c1c;
    padding: 30px;
    border-radius: 12px;
    margin-top: 30px;
}

.admin-post-box textarea {
    min-height: 120px;
    resize: vertical;
}
.detail-post {
    background: #1c1c1c;
    border-radius: 12px;
    overflow: hidden;
    text-align: left;
}

.post-images {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3px;
}

.post-images img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.post-caption {
    padding: 15px 20px;
    margin: 0;
    color: white;
}

@media (max-width: 700px) {

    #posts-container {
        grid-template-columns: 1fr;
    }

    .post-images {
        grid-template-columns: 1fr;
    }

    .post-images img {
        height: auto;
    }

}
#admin-posts-container {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-top: 25px;
}

.admin-manage-post {
    background: #111;
    padding: 20px;
    border-radius: 10px;
    text-align: left;
}

.admin-post-images {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 15px;
}

.admin-post-images img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 6px;
}

.admin-manage-post button {
    margin-top: 10px;
}

@media (max-width: 700px) {

    .admin-post-images {
        grid-template-columns: repeat(2, 1fr);
    }

    .admin-post-images img {
        height: 120px;
    }

}
/* ==============================
   RECENT DETAILS SCROLL
   ============================== */

#posts-container {
    max-width: 1100px;
    margin: 30px auto 0;
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding: 10px 5px 20px;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
}

.detail-post-card {
    flex: 0 0 320px;
    padding: 0;
    background: #1c1c1c;
    color: white;
    border: none;
    border-radius: 12px;
    overflow: hidden;
    text-align: left;
    scroll-snap-align: start;
    cursor: pointer;
}

.detail-post-card:hover {
    transform: translateY(-3px);
}

.detail-post-cover {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

.detail-post-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.photo-count-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(0, 0, 0, 0.75);
    color: white;
    padding: 7px 10px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: bold;
}

.post-preview-caption {
    padding: 15px 18px;
    margin: 0;
    color: white;
    font-size: 16px;
}


/* ==============================
   FULL PHOTO VIEWER
   ============================== */

.viewer-open {
    overflow: hidden;
}

.post-viewer {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.post-viewer.hidden {
    display: none;
}

.post-viewer-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
}

.post-viewer-content {
    position: relative;
    z-index: 2;
    width: min(900px, 100%);
    max-height: 90vh;
    background: #111;
    border-radius: 14px;
    overflow: hidden;
}

.viewer-close {
    position: absolute;
    top: 10px;
    right: 14px;
    z-index: 5;
    width: 42px;
    height: 42px;
    padding: 0;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    font-size: 30px;
    line-height: 1;
}

.viewer-image-area {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 350px;
    background: black;
}

#viewer-image {
    display: block;
    max-width: 100%;
    max-height: 72vh;
    object-fit: contain;
}

.viewer-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 4;
    width: 46px;
    height: 46px;
    padding: 0;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.65);
    color: white;
    font-size: 34px;
    line-height: 1;
}

.viewer-prev {
    left: 15px;
}

.viewer-next {
    right: 15px;
}

.viewer-info {
    padding: 15px 20px 20px;
    text-align: left;
}

#viewer-counter {
    margin: 0 0 8px;
    color: #aaa;
    font-size: 14px;
}

#viewer-caption {
    margin: 0;
    color: white;
    font-size: 17px;
}


/* ==============================
   MOBILE
   ============================== */

@media (max-width: 700px) {

    #posts-container {
        padding-left: 15px;
        padding-right: 15px;
    }

    .detail-post-card {
        flex-basis: 82vw;
    }

    .post-viewer {
        padding: 0;
    }

    .post-viewer-content {
        width: 100%;
        max-height: 100vh;
        border-radius: 0;
    }

    .viewer-image-area {
        min-height: 70vh;
    }

    #viewer-image {
        max-height: 78vh;
    }

    .viewer-arrow {
        width: 42px;
        height: 42px;
    }

}
/* ==============================
   ADMIN POST ACTIONS
   ============================== */

.admin-post-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 12px;
}


/* ==============================
   EDIT POST MODAL
   ============================== */

.edit-post-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.edit-post-modal.hidden {
    display: none;
}

.edit-post-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
}

.edit-post-content {
    position: relative;
    z-index: 2;
    width: min(700px, 100%);
    max-height: 90vh;
    overflow-y: auto;
    background: #1c1c1c;
    padding: 30px;
    border-radius: 14px;
    text-align: left;
}

.edit-close-button {
    position: absolute;
    top: 10px;
    right: 12px;
    width: 42px;
    height: 42px;
    padding: 0;
    border-radius: 50%;
    font-size: 28px;
}

.edit-existing-images {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin: 20px 0;
}

.edit-image-card {
    background: #111;
    padding: 8px;
    border-radius: 8px;
}

.edit-image-card img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    display: block;
    border-radius: 6px;
}

.edit-image-card button {
    width: 100%;
    margin-top: 8px;
    padding: 10px;
    font-size: 14px;
}

.edit-image-card.marked-for-removal {
    opacity: 0.45;
}

#edit-caption {
    width: 100%;
    min-height: 100px;
    box-sizing: border-box;
}

#edit-new-images {
    margin-top: 10px;
}

#save-edit-button {
    margin-top: 20px;
}


/* ==============================
   MOBILE ADMIN EDITING
   ============================== */

@media (max-width: 700px) {

    .edit-post-modal {
        padding: 0;
    }

    .edit-post-content {
        width: 100%;
        max-height: 100vh;
        min-height: 100vh;
        border-radius: 0;
        box-sizing: border-box;
    }

    .edit-existing-images {
        grid-template-columns: repeat(2, 1fr);
    }

    .edit-image-card img {
        height: 120px;
    }

}
/* ==============================
   ADMIN SERVICES
   ============================== */

#service-form {
    margin-top: 20px;
}

.service-active-label {
    display: block;
    text-align: left;
    margin: 10px 0 20px;
}

#services-admin-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 25px;
}

.admin-service-card {
    background: #111;
    padding: 20px;
    border-radius: 10px;
    text-align: left;
}

.admin-service-card h3 {
    margin-top: 0;
}

.admin-service-card p {
    font-size: 16px;
}

#edit-service-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

#edit-service-form textarea {
    min-height: 120px;
}
/* ==============================
   PROMOTION ADMIN
   ============================== */

#promotion-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
}

#promotion-form label {
    text-align: left;
    font-weight: bold;
}

#promotion-form textarea {
    min-height: 100px;
    resize: vertical;
}

#promotion-message {
    margin-top: 15px;
}

/* ==============================
   COMPACT BOOKINGS / CRM
   ============================== */

#bookings-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 18px;
}

.booking-top-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.booking-card {
    background: #111;
    padding: 14px;
    border-radius: 10px;
    text-align: left;
}

.booking-card h3 {
    margin: 0 0 8px;
}

.booking-card p {
    margin: 4px 0;
}

.booking-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 20px;
}

.booking-promotion {
    padding: 9px 10px;
    margin: 8px 0;
    border-radius: 7px;
    background: #1d1d1d;
}

.booking-status-area {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 12px;
}

.booking-status-area > div {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.booking-status-area label {
    font-weight: bold;
    font-size: 14px;
}

.booking-status-area select {
    width: 100%;
    padding: 8px;
    border-radius: 6px;
    font-size: 14px;
}

.booking-save-status {
    min-height: 16px;
    margin: 5px 0;
    font-size: 13px;
}

.booking-created {
    opacity: 0.65;
    font-size: 12px;
}

.delete-booking-button {
    margin-top: 8px;
}


/* PHONE */

@media (max-width: 700px) {

    .booking-details {
        grid-template-columns: 1fr;
    }

    .booking-status-area {
        grid-template-columns: 1fr 1fr;
    }

}
/* ==========================================
   LEAD TILE GRID
   ========================================== */

.booking-tile-grid {
    display: grid;
    grid-template-columns: repeat(
        auto-fill,
        minmax(170px, 1fr)
    );
    gap: 14px;
    margin-top: 20px;
}


/* ==========================================
   SQUARE LEAD TILE
   ========================================== */

.booking-tile {
    position: relative;

    aspect-ratio: 1 / 1;

    display: flex;
    flex-direction: column;
    justify-content: center;

    gap: 6px;

    padding: 16px;

    border-radius: 12px;

    background: #111;

    color: white;

    text-align: left;

    cursor: pointer;

    overflow: hidden;
}


.booking-tile:hover {
    transform: translateY(-2px);
}


.booking-tile-name {
    font-size: 18px;
}


.booking-tile span {
    display: block;
}


.booking-tile-service {
    opacity: 0.85;
}


.booking-tile-contact {
    margin-top: 6px;
    font-size: 13px;
}


.booking-tile-status {
    font-size: 13px;
    font-weight: bold;
}


/* ==========================================
   NEW LEAD
   ========================================== */

.booking-tile.unread-lead {
    border: 2px solid currentColor;
}


.new-lead-badge {
    position: absolute;

    top: 9px;
    right: 9px;

    font-size: 12px;

    font-weight: bold;
}


/* ==========================================
   BOOKING MODAL
   ========================================== */

.booking-modal-content {
    max-width: 650px;
}


.booking-details-grid {
    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 6px 20px;
}


.booking-details-grid p {
    margin: 6px 0;
}


.booking-promotion {
    padding: 12px;

    margin: 12px 0;

    background: #111;

    border-radius: 8px;
}


.booking-status-area {
    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 12px;

    margin-top: 20px;
}


.booking-status-area > div {
    display: flex;

    flex-direction: column;

    gap: 6px;
}


.booking-status-area select {
    width: 100%;

    padding: 10px;

    border-radius: 7px;

    font-size: 15px;
}


#delete-current-booking-button {
    margin-top: 15px;
}


.booking-created {
    opacity: 0.65;

    font-size: 13px;
}


/* ==========================================
   TOP CRM BUTTONS
   ========================================== */

.booking-top-actions {
    display: flex;

    gap: 10px;

    flex-wrap: wrap;

    margin-top: 10px;
}


/* ==========================================
   PHONE
   ========================================== */

@media (max-width: 700px) {

    .booking-tile-grid {
        grid-template-columns:
            repeat(2, 1fr);

        gap: 10px;
    }


    .booking-tile {
        padding: 12px;

        font-size: 13px;
    }


    .booking-tile-name {
        font-size: 16px;
    }


    .booking-details-grid {
        grid-template-columns:
            1fr;
    }


    .booking-status-area {
        grid-template-columns:
            1fr;
    }

}
/* =====================================================
   NEW COMPACT CRM
   ===================================================== */

.crm-section {
    text-align: left;
}

.crm-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px;
    margin-bottom: 20px;
}

.crm-header h2 {
    margin-bottom: 5px;
}

.crm-header p {
    margin: 0;
}


/* =====================================================
   CRM TOP BUTTONS
   ===================================================== */

.booking-top-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.danger-button {
    background: #c92a2a;
    color: white;
}


/* =====================================================
   COMPACT LEAD GRID
   ===================================================== */

.booking-tile-grid {
    display: grid !important;

    grid-template-columns:
        repeat(
            auto-fill,
            minmax(190px, 1fr)
        ) !important;

    gap: 12px !important;

    margin-top: 20px;

    align-items: stretch;
}


/* =====================================================
   MINI LEAD CARD
   ===================================================== */

.booking-mini-card {
    position: relative;

    width: 100% !important;

    min-width: 0 !important;

    height: 175px !important;

    aspect-ratio: auto !important;

    display: flex !important;

    flex-direction: column;

    justify-content: flex-start !important;

    align-items: stretch;

    gap: 7px;

    padding: 16px !important;

    background: #141414;

    color: white;

    border: 1px solid #3b3b3b;

    border-radius: 9px;

    text-align: left;

    cursor: pointer;

    box-sizing: border-box;

    overflow: hidden;

    transition:
        transform 0.15s ease,
        border-color 0.15s ease;
}


.booking-mini-card:hover {
    transform: translateY(-2px);

    border-color: #777;
}


.booking-mini-card.unread-lead {
    border-color: #777;
}


/* =====================================================
   CARD CONTENT
   ===================================================== */

.booking-mini-name {
    font-size: 18px;

    line-height: 1.2;

    margin-top: 4px;
}


.booking-mini-date {
    font-size: 14px;

    opacity: 0.85;
}


.booking-mini-service {
    font-size: 14px;

    opacity: 0.9;

    white-space: nowrap;

    overflow: hidden;

    text-overflow: ellipsis;
}


.new-lead-badge {
    position: static !important;

    display: block;

    font-size: 12px;

    font-weight: bold;

    margin-bottom: 2px;
}


/* =====================================================
   STATUS BADGES
   ===================================================== */

.booking-mini-badges {
    display: flex;

    gap: 6px;

    flex-wrap: wrap;

    margin-top: auto;
}


.status-chip {
    padding: 6px 8px;

    background: #2a2a2a;

    border-radius: 5px;

    font-size: 11px;

    white-space: nowrap;
}


.lead-chip {
    background: #173b68;
}


/* =====================================================
   EXPANDED LEAD PANEL
   ===================================================== */

.booking-detail-panel {
    position: relative;

    margin-top: 20px;

    padding: 25px;

    border: 1px solid #444;

    border-radius: 10px;

    background: #111;

    color: white;
}


.booking-detail-panel.hidden {
    display: none;
}


.booking-detail-close {
    position: absolute;

    top: 10px;

    right: 15px;

    width: 35px;

    height: 35px;

    padding: 0;

    border: none;

    background: transparent;

    color: white;

    font-size: 28px;

    cursor: pointer;
}


.booking-detail-header {
    padding-right: 50px;

    padding-bottom: 15px;

    border-bottom: 1px solid #333;
}


.booking-detail-header h2 {
    margin: 0 0 5px;
}


.booking-detail-header p {
    margin: 0;

    opacity: 0.75;
}


/* =====================================================
   EXPANDED CONTENT
   ===================================================== */

.booking-detail-layout {
    display: grid;

    grid-template-columns:
        minmax(0, 1.3fr)
        minmax(300px, 0.9fr);

    gap: 30px;

    margin-top: 20px;
}


.booking-info-column {
    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 18px 25px;
}


.booking-info-row {
    display: flex;

    flex-direction: column;

    gap: 4px;
}


.booking-info-row span,
.booking-notes span {
    font-size: 12px;

    opacity: 0.65;

    text-transform: uppercase;
}


.booking-info-row strong {
    font-size: 15px;

    font-weight: 500;
}


.full-row,
.booking-notes,
.detail-promotion-box,
.booking-created {
    grid-column: 1 / -1;
}


.booking-notes p {
    margin-bottom: 0;

    line-height: 1.5;
}


/* =====================================================
   RIGHT SIDE CONTROLS
   ===================================================== */

.booking-controls-column {
    padding-left: 25px;

    border-left: 1px solid #333;
}


.booking-status-area {
    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 12px;
}


.booking-status-area > div {
    display: flex;

    flex-direction: column;

    gap: 7px;
}


.booking-status-area label {
    font-size: 13px;

    font-weight: bold;
}


.booking-status-area select {
    width: 100%;

    padding: 11px;

    border-radius: 6px;
}


.booking-save-message {
    min-height: 22px;

    margin-top: 12px;
}


.booking-created {
    opacity: 0.55;

    font-size: 12px;
}


.detail-promotion-box {
    padding: 12px;

    border-radius: 7px;

    background: #1c1c1c;
}


.detail-promotion-box.hidden {
    display: none;
}


/* =====================================================
   TABLET
   ===================================================== */

@media (max-width: 900px) {

    .booking-detail-layout {
        grid-template-columns: 1fr;
    }

    .booking-controls-column {
        padding-left: 0;

        padding-top: 20px;

        border-left: 0;

        border-top: 1px solid #333;
    }

}


/* =====================================================
   PHONE
   ===================================================== */

@media (max-width: 700px) {

    .crm-header {
        display: block;
    }

    .booking-top-actions {
        margin-top: 15px;
    }


    .booking-tile-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr))
            !important;

        gap: 9px !important;
    }


    .booking-mini-card {
        height: 155px !important;

        padding: 11px !important;
    }


    .booking-mini-name {
        font-size: 15px;
    }


    .booking-mini-date,
    .booking-mini-service {
        font-size: 12px;
    }


    .status-chip {
        font-size: 9px;

        padding: 5px;
    }


    .booking-detail-panel {
        padding: 18px;
    }


    .booking-info-column {
        grid-template-columns: 1fr;
    }


    .full-row,
    .booking-notes,
    .detail-promotion-box,
    .booking-created {
        grid-column: auto;
    }


    .booking-status-area {
        grid-template-columns: 1fr;
    }

}
/* =====================================================
   ADMIN DASHBOARD DESKTOP LAYOUT
   ===================================================== */

.admin-dashboard {
    max-width: 1400px;
    width: calc(100% - 60px);
    margin: 100px auto 60px;
    padding: 30px;

    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;

    box-sizing: border-box;
}


/* ADMIN TITLE SPANS FULL WIDTH */

.admin-dashboard > h1 {
    grid-column: 1 / -1;

    margin: 0;
}


.admin-dashboard > p {
    grid-column: 1 / -1;

    margin-top: -10px;
}


/* REMOVE OLD VERTICAL SPACING */

.admin-dashboard > .admin-post-box {
    margin-top: 0;

    min-width: 0;

    align-self: start;
}


/* BOOKINGS / LEADS GETS FULL WIDTH */

.admin-dashboard > .crm-section {
    grid-column: 1 / -1;
}


/* LOGOUT FULL WIDTH */

.admin-dashboard > #logout-button {
    grid-column: 1 / -1;

    justify-self: center;

    margin-top: 10px;
}


/* =====================================================
   MAKE ADMIN FORMS FIT THEIR CARDS
   ===================================================== */

.admin-dashboard form {
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: 0;

    box-sizing: border-box;
}


.admin-dashboard input,
.admin-dashboard select,
.admin-dashboard textarea {
    width: 100%;
    box-sizing: border-box;
}


/* DON'T MAKE CHECKBOXES HUGE */

.admin-dashboard input[type="checkbox"] {
    width: auto;
}


/* =====================================================
   MANAGE POSTS — KEEP IT FROM GETTING RIDICULOUSLY TALL
   ===================================================== */

#admin-posts-container {
    max-height: 700px;

    overflow-y: auto;

    padding-right: 6px;
}


/* =====================================================
   SERVICES — SCROLL INSIDE ITS OWN SECTION
   ===================================================== */

#services-admin-container {
    max-height: 700px;

    overflow-y: auto;

    padding-right: 6px;
}


/* =====================================================
   TABLET
   ===================================================== */

@media (max-width: 1000px) {

    .admin-dashboard {
        width: calc(100% - 30px);

        grid-template-columns: 1fr;

        padding: 20px;
    }


    .admin-dashboard > h1,
    .admin-dashboard > p,
    .admin-dashboard > .crm-section,
    .admin-dashboard > #logout-button {
        grid-column: 1;
    }

}


/* =====================================================
   PHONE
   ===================================================== */

@media (max-width: 700px) {

    .admin-dashboard {
        width: 100%;

        margin: 80px auto 30px;

        padding: 12px;

        gap: 16px;

        grid-template-columns: 1fr;
    }


    .admin-dashboard > .admin-post-box {
        padding: 18px;

        border-radius: 10px;
    }


    #admin-posts-container,
    #services-admin-container {
        max-height: none;

        overflow-y: visible;

        padding-right: 0;
    }

}
/* =====================================================
   COMPACT SERVICE MANAGER
   ===================================================== */

.services-admin-header h2 {
    margin-bottom: 5px;
}

.services-admin-header p {
    margin-top: 0;
}


/* ADD SERVICE COLLAPSE */

.add-service-dropdown {
    margin: 20px 0;
    text-align: left;
}

.add-service-dropdown summary {
    cursor: pointer;
    font-weight: bold;
    font-size: 16px;
    padding: 12px 15px;
    background: #111;
    border-radius: 8px;
}

.add-service-dropdown[open] summary {
    margin-bottom: 15px;
}


/* SERVICE GRID */

#services-admin-container.service-tile-grid {
    display: grid !important;
    grid-template-columns:
        repeat(
            auto-fill,
            minmax(160px, 1fr)
        );

    gap: 12px;

    max-height: none;

    overflow: visible;

    padding: 0;

    margin-top: 18px;
}


/* SMALL SERVICE CARD */

.service-mini-card {
    width: 100%;

    min-width: 0;

    height: 130px;

    padding: 14px;

    display: flex;
    flex-direction: column;

    align-items: flex-start;
    justify-content: flex-start;

    gap: 7px;

    background: #111;

    color: white;

    border: 1px solid #3b3b3b;

    border-radius: 9px;

    text-align: left;

    box-sizing: border-box;

    cursor: pointer;
}


.service-mini-card:hover {
    transform: translateY(-2px);
    border-color: #777;
}


.service-mini-name {
    font-size: 16px;
    line-height: 1.2;
}


.service-mini-price {
    font-size: 13px;
    opacity: 0.8;
}


.service-visibility-chip {
    margin-top: auto;

    display: inline-block;

    padding: 5px 8px;

    border-radius: 5px;

    font-size: 11px;

    font-weight: bold;
}


.service-visible {
    background: #173f2b;
}


.service-hidden {
    background: #3b2929;
}


.service-hidden-card {
    opacity: 0.65;
}


/* =====================================================
   EXPANDED SERVICE EDITOR
   ===================================================== */

.service-detail-panel {
    position: relative;

    margin-top: 18px;

    padding: 22px;

    background: #111;

    border: 1px solid #444;

    border-radius: 10px;

    text-align: left;
}


.service-detail-panel.hidden {
    display: none;
}


.service-detail-close {
    position: absolute;

    top: 10px;

    right: 12px;

    width: 34px;

    height: 34px;

    padding: 0;

    background: transparent;

    color: white;

    border: none;

    font-size: 27px;
}


.service-detail-panel h2 {
    margin-top: 0;

    padding-right: 45px;
}


#edit-service-form {
    width: 100%;

    max-width: none;

    margin: 15px 0 0;
}


.service-detail-actions {
    display: flex;

    gap: 10px;

    flex-wrap: wrap;

    margin-top: 8px;
}


/* =====================================================
   PHONE SERVICES
   ===================================================== */

@media (max-width: 700px) {

    #services-admin-container.service-tile-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }


    .service-mini-card {
        height: 115px;

        padding: 11px;
    }


    .service-mini-name {
        font-size: 14px;
    }


    .service-mini-price {
        font-size: 11px;
    }


    .service-visibility-chip {
        font-size: 9px;
    }

}
/* =====================================================
   COMPACT MANAGE POSTS
   PASTE AT VERY BOTTOM OF style.css
   ===================================================== */

.posts-admin-header h2 {
    margin-bottom: 5px;
}

.posts-admin-header p {
    margin-top: 0;
}


/* POST TILE GRID */

#admin-posts-container.admin-post-tile-grid {
    display: grid !important;

    grid-template-columns:
        repeat(
            auto-fill,
            minmax(160px, 1fr)
        );

    gap: 12px;

    max-height: none;

    overflow: visible;

    padding: 0;

    margin-top: 18px;
}


/* SMALL POST CARD */

.admin-post-mini-card {
    width: 100%;

    min-width: 0;

    padding: 0;

    background: #111;

    color: white;

    border: 1px solid #3b3b3b;

    border-radius: 9px;

    overflow: hidden;

    text-align: left;

    cursor: pointer;

    box-sizing: border-box;
}


.admin-post-mini-card:hover {
    transform: translateY(-2px);

    border-color: #777;
}


/* POST THUMBNAIL */

.admin-post-mini-image {
    position: relative;

    width: 100%;

    height: 120px;

    overflow: hidden;

    background: black;
}


.admin-post-mini-image img {
    width: 100%;

    height: 100%;

    object-fit: cover;

    display: block;
}


/* PHOTO COUNT */

.admin-photo-count {
    position: absolute;

    top: 7px;

    right: 7px;

    padding: 5px 7px;

    background: rgba(0, 0, 0, 0.8);

    color: white;

    border-radius: 5px;

    font-size: 10px;

    font-weight: bold;
}


/* POST TILE TEXT */

.admin-post-mini-info {
    display: flex;

    flex-direction: column;

    gap: 6px;

    padding: 11px;
}


.admin-post-mini-info strong {
    font-size: 13px;
    line-height: 1.3;
    overflow: hidden;
    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}


.admin-post-mini-info span {
    font-size: 11px;

    opacity: 0.65;
}


/* =====================================================
   EXPANDED POST
   ===================================================== */

.post-detail-panel {
    position: relative;

    margin-top: 18px;

    padding: 22px;

    background: #111;

    border: 1px solid #444;

    border-radius: 10px;

    text-align: left;
}


.post-detail-panel.hidden {
    display: none;
}


.post-detail-close {
    position: absolute;

    top: 10px;

    right: 12px;

    width: 34px;

    height: 34px;

    padding: 0;

    background: transparent;

    color: white;

    border: none;

    font-size: 27px;
}


.post-detail-panel h2 {
    margin-top: 0;

    padding-right: 45px;
}


/* ALL POST PHOTOS */

.post-detail-images {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 8px;

    margin: 15px 0;
}


.post-detail-images img {
    width: 100%;

    height: 145px;

    object-fit: cover;

    border-radius: 7px;
}


.post-detail-caption {
    color: white;

    font-size: 16px;

    line-height: 1.5;
}


.post-detail-date {
    font-size: 12px;

    opacity: 0.6;
}


.post-detail-actions {
    display: flex;

    gap: 10px;

    flex-wrap: wrap;

    margin-top: 15px;
}


/* PHONE */

@media (max-width: 700px) {

    #admin-posts-container.admin-post-tile-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }


    .admin-post-mini-image {
        height: 100px;
    }


    .post-detail-images {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }


    .post-detail-images img {
        height: 110px;
    }

}
/* =====================================================
   CUSTOMER CRM
   ===================================================== */

.admin-dashboard > .customers-section {
    grid-column: 1 / -1;
}


.customers-section {
    text-align: left;
}


.customers-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
}


.customers-header h2 {
    margin-bottom: 5px;
}


.customers-header p {
    margin: 0;
}


/* SEARCH */

.customer-search-area {
    display: grid;
    grid-template-columns: minmax(250px, 1fr) auto auto;
    gap: 10px;
    margin-top: 20px;
}


.customer-search-area input {
    width: 100%;
}


/* CUSTOMER GRID */

.customer-tile-grid {
    display: grid;

    grid-template-columns:
        repeat(
            auto-fill,
            minmax(190px, 1fr)
        );

    gap: 12px;

    margin-top: 20px;
}


.customer-mini-card {
    width: 100%;
    min-width: 0;

    height: 150px;

    display: flex;
    flex-direction: column;
    align-items: stretch;

    gap: 7px;

    padding: 14px;

    background: #111;
    color: white;

    border: 1px solid #3b3b3b;
    border-radius: 9px;

    text-align: left;

    box-sizing: border-box;

    cursor: pointer;
}


.customer-mini-card:hover {
    transform: translateY(-2px);
    border-color: #777;
}


.customer-card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 8px;
}


.customer-card-top strong {
    font-size: 16px;
}


.customer-type-chip {
    display: inline-block;

    padding: 5px 7px;

    border-radius: 5px;

    background: #173b68;

    font-size: 10px;

    font-weight: bold;
}


.customer-card-phone {
    font-size: 13px;
}


.customer-card-vehicle {
    font-size: 13px;
    opacity: 0.8;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}


.customer-card-appointments {
    margin-top: auto;

    font-size: 11px;

    opacity: 0.65;
}


/* =====================================================
   CUSTOMER PANELS
   ===================================================== */

.customer-panel,
.customer-detail-panel {
    position: relative;

    margin-top: 20px;

    padding: 22px;

    background: #111;

    border: 1px solid #444;

    border-radius: 10px;
}


.customer-panel.hidden,
.customer-detail-panel.hidden {
    display: none;
}


.customer-panel-close {
    position: absolute;

    right: 12px;
    top: 10px;

    width: 34px;
    height: 34px;

    padding: 0;

    border: none;

    background: transparent;
    color: white;

    font-size: 27px;
}


.customer-profile-header {
    padding-right: 45px;

    padding-bottom: 15px;

    border-bottom: 1px solid #333;
}


.customer-profile-header h2 {
    display: inline-block;

    margin: 0 10px 0 0;
}


/* PROFILE LAYOUT */

.customer-profile-layout {
    display: grid;

    grid-template-columns:
        minmax(300px, 0.75fr)
        minmax(0, 1.25fr);

    gap: 30px;

    margin-top: 20px;
}


.customer-profile-info {
    padding-right: 25px;

    border-right: 1px solid #333;
}


.customer-profile-info form {
    width: 100%;

    max-width: none;

    margin: 15px 0;
}


.customer-vehicles {
    margin: 25px 0;
}


#customer-vehicles-list {
    display: flex;

    gap: 8px;

    flex-wrap: wrap;
}


.customer-vehicle-chip {
    padding: 7px 10px;

    background: #252525;

    border-radius: 6px;

    font-size: 12px;
}


/* =====================================================
   APPOINTMENT HISTORY
   ===================================================== */

.customer-history-header {
    display: flex;

    align-items: flex-start;

    justify-content: space-between;

    gap: 15px;
}


.customer-history-header h3 {
    margin-bottom: 3px;
}


.customer-history-header p {
    margin-top: 0;

    font-size: 13px;
}


#customer-appointments-list {
    display: flex;

    flex-direction: column;

    gap: 12px;

    margin-top: 18px;

    max-height: 650px;

    overflow-y: auto;

    padding-right: 5px;
}


.customer-appointment-card {
    padding: 15px;

    background: #191919;

    border: 1px solid #333;

    border-radius: 8px;
}


.customer-appointment-card p {
    margin: 7px 0;

    font-size: 14px;
}


.appointment-card-header {
    display: flex;

    justify-content: space-between;

    align-items: flex-start;

    gap: 12px;

    margin-bottom: 12px;
}


.appointment-card-header > div {
    display: flex;

    flex-direction: column;

    gap: 3px;
}


.appointment-card-header span {
    font-size: 12px;

    opacity: 0.7;
}


.appointment-status-chip {
    padding: 5px 8px;

    border-radius: 5px;

    background: #173f2b;

    font-size: 10px !important;

    opacity: 1 !important;

    font-weight: bold;
}


.appointment-delete-button {
    margin-top: 10px;

    padding: 8px 12px;

    font-size: 12px;
}


/* MANUAL APPOINTMENT */

.manual-appointment-panel {
    padding: 16px;

    margin-top: 16px;

    background: #181818;

    border: 1px solid #333;

    border-radius: 8px;
}


.manual-appointment-panel.hidden {
    display: none;
}


.manual-appointment-panel form {
    width: 100%;

    max-width: none;

    margin: 10px 0;
}


.manual-appointment-actions {
    display: flex;

    gap: 10px;

    flex-wrap: wrap;
}


/* =====================================================
   MOBILE CUSTOMER CRM
   ===================================================== */

@media (max-width: 900px) {

    .customer-profile-layout {
        grid-template-columns: 1fr;
    }


    .customer-profile-info {
        padding-right: 0;

        padding-bottom: 25px;

        border-right: 0;

        border-bottom: 1px solid #333;
    }

}


@media (max-width: 700px) {

    .customers-header {
        display: block;
    }


    #add-customer-toggle {
        margin-top: 12px;
    }


    .customer-search-area {
        grid-template-columns: 1fr 1fr;
    }


    .customer-search-area input {
        grid-column: 1 / -1;
    }


    .customer-tile-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 9px;
    }


    .customer-mini-card {
        height: 135px;

        padding: 11px;
    }


    .customer-card-top strong {
        font-size: 14px;
    }


    .customer-history-header {
        display: block;
    }


    #add-appointment-toggle {
        margin-top: 10px;
    }

}
/* =====================================================
   ADMIN REVIEWS
   ===================================================== */

.add-review-dropdown {
    margin-top: 18px;
    margin-bottom: 18px;
}


.add-review-dropdown summary {
    cursor: pointer;

    padding: 12px 15px;

    background: #111;

    border-radius: 8px;

    font-weight: bold;
}


.add-review-dropdown[open] summary {
    margin-bottom: 15px;
}


.admin-review-grid {
    display: grid;

    grid-template-columns:
        repeat(
            auto-fill,
            minmax(180px, 1fr)
        );

    gap: 12px;

    margin-top: 18px;
}


.admin-review-card {
    display: flex;

    flex-direction: column;

    gap: 8px;

    padding: 14px;

    background: #111;

    border: 1px solid #3b3b3b;

    border-radius: 9px;
}


.admin-review-card p {
    margin: 0;

    line-height: 1.4;
}


.admin-review-stars {
    color: gold;

    letter-spacing: 2px;
}


.admin-review-card button {
    margin-top: auto;
}


@media (max-width: 700px) {

    .admin-review-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

}
/* =====================================================
   CUSTOMER REVIEW FORM
   ===================================================== */

.customer-review-form {
    max-width: 550px;

    margin: 25px auto 0;

    padding: 25px;

    background: #111;

    border: 1px solid #333;

    border-radius: 10px;

    text-align: left;
}


.customer-review-form.hidden {
    display: none;
}


.customer-review-form form {
    display: flex;

    flex-direction: column;

    gap: 10px;
}


.review-star-picker {
    display: flex;

    gap: 5px;

    margin-bottom: 10px;
}


.review-star-picker button {
    padding: 0;

    background: transparent;

    border: none;

    color: #555;

    font-size: 32px;

    cursor: pointer;
}


.review-star-picker button.selected {
    color: gold;
}


.review-star-picker button:hover {
    transform: scale(1.1);
}


.customer-review-form textarea {
    min-height: 120px;

    resize: vertical;
}
/* =====================================================
   PUBLIC WEBSITE - IPHONE / MOBILE FIX
   ===================================================== */

@media (max-width: 700px) {

    html,
    body {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    * {
        box-sizing: border-box;
    }

    body {
        margin: 0;
    }

    /* NAVIGATION */

    nav {
        width: 100%;
        height: auto;
        min-height: 65px;
        padding: 10px 15px;
        gap: 10px;
    }

    .logo {
        font-size: 19px;
        letter-spacing: 1px;
    }

    .nav-links {
        gap: 10px;
    }

    .nav-links a {
        font-size: 13px;
    }

    /* GENERAL MOBILE TEXT */

    h1 {
        font-size: 34px;
        line-height: 1.1;
    }

    p {
        font-size: 16px;
        line-height: 1.5;
    }

    /* SERVICES */

    #services {
        padding-left: 15px;
        padding-right: 15px;
    }

    #services h2 {
        font-size: 30px;
    }

    .services-grid {
        width: 100%;
        grid-template-columns: 1fr;
        gap: 12px;
        margin-top: 20px;
    }

    .service-card {
        width: 100%;
        padding: 18px;
    }

    .service-card h3 {
        font-size: 20px;
        margin-bottom: 7px;
    }

    .service-card p {
        font-size: 15px;
        line-height: 1.4;
        margin: 7px 0;
    }

    .service-price {
        font-size: 17px !important;
    }

    .service-card button {
        width: 100%;
        padding: 13px 15px;
        font-size: 16px;
    }

    /* PROMOTION */

    #promotion {
        width: auto;
        margin: 40px 15px;
        padding: 35px 18px;
    }

    #promotion h2 {
        font-size: 27px;
    }

    .promo-offer {
        font-size: 25px;
    }

    /* REVIEWS */

    #reviews {
        padding: 45px 15px;
    }

    #reviews h2 {
        font-size: 30px;
    }

    .reviews-grid {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-top: 20px;
    }

    .review-card {
        padding: 18px;
    }

    /* PHONE BOOKING */

    .phone-booking {
        padding: 35px 15px;
    }

    .phone-booking h2 {
        font-size: 27px;
    }

    .phone-button {
        width: 100%;
        max-width: 350px;
        padding: 14px 15px;
        font-size: 18px;
        box-sizing: border-box;
    }

    /* ABOUT */

    #about {
        padding: 55px 18px;
    }

    .about-text h2 {
        font-size: 31px;
    }

    .about-text p {
        font-size: 16px;
        line-height: 1.55;
    }

    /* BOOKING */

    #booking {
        margin-top: 70px;
        padding: 40px 15px;
    }

    #booking h2 {
        font-size: 30px;
    }

    form {
        width: 100%;
        max-width: 100%;
    }

    input,
    select,
    textarea {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        font-size: 16px;
    }

    .service-options {
        grid-template-columns: 1fr;
    }

    button {
        max-width: 100%;
    }
}
/* =====================================================
   MOBILE COMPACT SERVICE CARDS
   ===================================================== */

/* DESKTOP */
.service-details-toggle {
    display: none;
}

.service-card-details {
    display: block;
}


/* IPHONE / MOBILE */
@media (max-width: 700px) {

    .service-card {
        padding: 17px;
    }

    .service-card h3 {
        margin: 0 0 6px;
    }

    .service-card .service-price {
        margin: 4px 0 12px;
    }

    .service-details-toggle {
        display: block;
        width: 100%;
        margin: 0;
        padding: 11px 14px;

        background: #2a2a2a;
        color: white;

        border: 1px solid #444;
        border-radius: 7px;

        font-size: 14px;
    }

    .service-card-details {
        display: none;
        padding-top: 12px;
    }

    .service-card.service-card-open
    .service-card-details {
        display: block;
    }

    .service-description {
        margin: 0 0 14px !important;
        font-size: 15px !important;
        line-height: 1.45 !important;
        color: #ccc;
    }

    .service-book-button {
        width: 100%;
        margin: 0 !important;
    }
}
