/* =====================================================
   POST ROOM PAGE
===================================================== */

:root {

    --tt-blue: #0021AA;
    --tt-blue-dark: #00177a;
    --tt-blue-light: #e8ecff;

    --tt-yellow: #eec82a;
    --tt-yellow-light: #fff8d9;

    --tt-dark: #111827;
    --tt-text: #4b5563;
    --tt-light-text: #6b7280;

    --tt-border: #e5e7eb;
    --tt-white: #ffffff;

    --tt-bg: #f4f6fb;

}

/* =====================================================
   MAIN CONTAINER
===================================================== */

.post-room-page .container {
    width: 96%;
    max-width: none;
    margin: 0 30px;
    padding: 0;
}

/* =====================================================
   PAGE BACKGROUND
===================================================== */

.post-room-page {

    position: relative;
    min-height: 100vh;
    padding: 30px 0 100px;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 8% 15%,
            rgba(0, 33, 170, 0.10),
            transparent 24%
        ),
        radial-gradient(
            circle at 92% 35%,
            rgba(238, 200, 42, 0.16),
            transparent 22%
        ),
        radial-gradient(
            circle at 55% 95%,
            rgba(0, 33, 170, 0.07),
            transparent 28%
        ),
        linear-gradient(
            180deg,
            #f8f9ff 0%,
            #f2f4fa 100%
        );
}


/* =====================================================
   PAGE HEADER
===================================================== */

.post-room-header {
    margin: 0 auto 50px;
    text-align: center;
}


.eyebrow {
    display: inline-flex;
    align-items: center;
    padding: 9px 17px;
    margin-bottom: 20px;
    color: var(--tt-blue);
    background: rgba(0, 33, 170, 0.08);
    border: 1px solid rgba(0, 33, 170, 0.10);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 1.6px;
}


.post-room-header h1 {
    margin: 0 0 16px;
    color: var(--tt-blue);
    font-size: clamp(2.3rem, 5vw, 4.3rem);
    line-height: 1.08;
    letter-spacing: -2px;
}


.post-room-header p {
    max-width: 750px;
    margin: auto;
    color: var(--tt-dark);
    font-size: 1.09rem;
    line-height: 1.7;
}

/* =====================================================
   FORM PROGRESS
===================================================== */

.form-progress {
    display: flex;
    align-items: center;
    margin: 0 auto 50px;
    padding: 25px 30px;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 22px;
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.06);
    backdrop-filter: blur(14px);
}


.progress-step {
    display: flex;
    align-items: center;
    gap: 13px;
    flex-shrink: 0;
    opacity: 0.42;
    transition: 0.3s ease;
}


.progress-step.active {
    opacity: 1;
}


.progress-step.completed {
    opacity: 1;
}


.step-number {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #6b7280;
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    border-radius: 50%;
    font-weight: 800;
    transition: 0.3s ease;
}


.progress-step.active .step-number {
    color: #ffffff;
    background: var(--tt-blue);
    border-color: var(--tt-blue);
    box-shadow:
        0 8px 20px rgba(0, 33, 170, 0.25);
}


.progress-step.completed .step-number {
    color: var(--tt-dark);
    background: var(--tt-yellow);
    border-color: var(--tt-yellow);
}


.step-text {
    display: flex;
    flex-direction: column;
    gap: 3px;
    white-space: nowrap;
}


.step-text strong {
    color: var(--tt-dark);
    font-size: 0.92rem;
}


.step-text span {
    color: var(--tt-light-text);
    font-size: 0.76rem;
}


.progress-line {
    height: 2px;
    flex: 1;
    min-width: 20px;
    margin: 0 20px;
    background: #e5e7eb;
    transition: 0.3s ease;
}


/* =====================================================
   FORM STEPS
===================================================== */

.form-step {
    display: none;
    animation: fadeSlide 0.45s ease;
}


.form-step.active {
    display: block;
}


@keyframes fadeSlide {

    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}


/* =====================================================
   FORM CARD
===================================================== */

.form-card {
    position: relative;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 55px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 30px;
    box-shadow:
        0 30px 80px rgba(15, 23, 42, 0.09),
        0 4px 15px rgba(15, 23, 42, 0.04);
}


.form-card-header {
    margin-bottom: 40px;
}


.section-tag {
    display: inline-flex;
    padding: 7px 13px;
    margin-bottom: 15px;
    color: var(--tt-blue);
    background: var(--tt-blue-light);
    border-radius: 7px;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 1.2px;
}


.form-card-header h2 {
    margin: 0 0 10px;
    color: var(--tt-dark);
    font-size: clamp(1.9rem, 4vw, 2.7rem);
    line-height: 1.15;
    letter-spacing: -1px;
}


.form-card-header p {
    margin: 0;
    color: var(--tt-text);
    font-size: 1rem;
    line-height: 1.65;
}


/* =====================================================
   FORM GRID
===================================================== */

.form-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 26px;

}


.form-group {

    display: flex;

    flex-direction: column;

    gap: 9px;

}


.form-group.full-width {

    grid-column: 1 / -1;

}


.form-group label {

    color: var(--tt-dark);

    font-size: 0.92rem;

    font-weight: 700;

}


.optional {

    margin-left: 5px;

    color: #9ca3af;

    font-size: 0.78rem;

    font-weight: 500;

}


/* =====================================================
   INPUTS
===================================================== */

.form-group input,

.form-group select,

.form-group textarea {

    width: 100%;

    box-sizing: border-box;

    padding: 15px 17px;

    color: var(--tt-dark);

    background: #ffffff;

    border: 1px solid var(--tt-border);

    border-radius: 12px;

    outline: none;

    font-family: inherit;

    font-size: 0.97rem;

    transition: 0.25s ease;

}


.form-group textarea {

    min-height: 150px;

    resize: vertical;

}


.form-group input::placeholder,

.form-group textarea::placeholder {

    color: #a1a1aa;

}


.form-group input:focus,

.form-group select:focus,

.form-group textarea:focus {

    border-color: var(--tt-blue);

    box-shadow:
        0 0 0 4px rgba(0, 33, 170, 0.09);

}


.form-group select:disabled {

    cursor: not-allowed;

    background: #f3f4f6;

    opacity: 0.7;

}


.form-group small {

    color: var(--tt-light-text);

    font-size: 0.8rem;

    line-height: 1.5;

}


/* =====================================================
   DESCRIPTION
===================================================== */

.description-group {

    margin-top: 26px;

}


/* =====================================================
   AMENITIES
===================================================== */

.amenities-section {

    margin-bottom: 45px;

}


.amenities-section h3,

.photo-section h3 {

    margin: 0 0 8px;

    color: var(--tt-dark);

    font-size: 1.35rem;

}


.amenities-grid {

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 15px;

    margin-top: 24px;

}


.amenity-option {

    position: relative;

    display: flex;

    flex-direction: column;

    align-items: flex-start;

    gap: 10px;

    min-height: 125px;

    padding: 20px;

    cursor: pointer;

    color: var(--tt-dark);

    background: #ffffff;

    border: 1px solid var(--tt-border);

    border-radius: 16px;

    font-size: 0.9rem;

    font-weight: 700;

    transition: 0.25s ease;

}


.amenity-option:hover {

    border-color: rgba(0, 33, 170, 0.35);

    transform: translateY(-3px);

    box-shadow:
        0 12px 25px rgba(0, 33, 170, 0.08);

}


.amenity-option input {

    position: absolute;

    opacity: 0;

    pointer-events: none;

}


.amenity-option span {

    display: flex;

    align-items: center;

    justify-content: center;

    width: 40px;

    height: 40px;

    background: var(--tt-blue-light);

    border-radius: 12px;

    font-size: 1.25rem;

    transition: 0.25s ease;

}


/* Selected amenity */

.amenity-option:has(input:checked) {

    color: var(--tt-blue);

    background: rgba(0, 33, 170, 0.04);

    border-color: var(--tt-blue);

    box-shadow:
        0 10px 25px rgba(0, 33, 170, 0.10);

}


.amenity-option:has(input:checked) span {

    background: var(--tt-yellow);

}


/* =====================================================
   PHOTO SECTION
===================================================== */

.photo-section {

    padding-top: 10px;

}


.photo-section > p {

    margin: 0 0 24px;

    color: var(--tt-text);

    font-size: 0.95rem;

}


.photo-upload-box {

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    min-height: 220px;

    padding: 30px;

    cursor: pointer;

    text-align: center;

    background:

        radial-gradient(
            circle at top right,
            rgba(238, 200, 42, 0.20),
            transparent 28%
        ),

        linear-gradient(
            135deg,
            rgba(0, 33, 170, 0.05),
            rgba(255, 255, 255, 1)
        );

    border: 2px dashed rgba(0, 33, 170, 0.28);

    border-radius: 22px;

    transition: 0.3s ease;

}


.photo-upload-box:hover {

    border-color: var(--tt-blue);

    transform: translateY(-3px);

    box-shadow:
        0 18px 40px rgba(0, 33, 170, 0.10);

}


.upload-icon {

    display: flex;

    align-items: center;

    justify-content: center;

    width: 58px;

    height: 58px;

    margin-bottom: 14px;

    color: var(--tt-blue);

    background: #ffffff;

    border-radius: 18px;

    box-shadow:
        0 10px 25px rgba(0, 33, 170, 0.10);

    font-size: 2rem;

    font-weight: 300;

}


.photo-upload-box strong {

    margin-bottom: 7px;

    color: var(--tt-dark);

    font-size: 1.05rem;

}


.photo-upload-box span {

    color: var(--tt-light-text);

    font-size: 0.82rem;

}


/* =====================================================
   IMAGE PREVIEW
===================================================== */

.image-preview-grid {

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 15px;

    margin-top: 22px;

}


.image-preview-item {

    position: relative;

    aspect-ratio: 1 / 1;

    overflow: hidden;

    border-radius: 14px;

    background: #f3f4f6;

}


.image-preview-item img {

    width: 100%;

    height: 100%;

    display: block;

    object-fit: cover;

}


/* =====================================================
   FORM NAVIGATION
===================================================== */

.form-navigation {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 18px;

    margin-top: 50px;

    padding-top: 28px;

    border-top: 1px solid var(--tt-border);

}


.form-navigation.right {

    justify-content: flex-end;

}


/* =====================================================
   BUTTONS
===================================================== */

.next-step,

.submit-listing-button {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 12px;

    min-height: 54px;

    padding: 0 25px;

    cursor: pointer;

    color: #ffffff;

    background: var(--tt-blue);

    border: none;

    border-radius: 13px;

    font-family: inherit;

    font-size: 0.95rem;

    font-weight: 700;

    box-shadow:
        0 12px 25px rgba(0, 33, 170, 0.20);

    transition: 0.25s ease;

}


.next-step:hover,

.submit-listing-button:hover {

    background: var(--tt-blue-dark);

    transform: translateY(-2px);

    box-shadow:
        0 17px 32px rgba(0, 33, 170, 0.28);

}


.next-step span,

.submit-listing-button span {

    font-size: 1.15rem;

    transition: 0.25s ease;

}


.next-step:hover span,

.submit-listing-button:hover span {

    transform: translateX(4px);

}


.secondary-button {

    min-height: 52px;

    padding: 0 23px;

    cursor: pointer;

    color: var(--tt-dark);

    background: #ffffff;

    border: 1px solid var(--tt-border);

    border-radius: 13px;

    font-family: inherit;

    font-size: 0.92rem;

    font-weight: 700;

    transition: 0.25s ease;

}


.secondary-button:hover {

    color: var(--tt-blue);

    border-color: var(--tt-blue);

    background: var(--tt-blue-light);

}


/* =====================================================
   REVIEW CARD
===================================================== */

.review-card {
    width: 100%;

}


/* Review sections created with JavaScript */

.review-section {

    padding: 25px;

    margin-bottom: 18px;

    background: #f8f9fc;

    border: 1px solid #edf0f5;

    border-radius: 18px;

}


.review-section h3 {

    margin: 0 0 20px;

    color: var(--tt-blue);

    font-size: 1.1rem;

}


.review-grid {

    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 18px;

}


.review-item {

    display: flex;

    flex-direction: column;

    gap: 5px;

}


.review-item span {

    color: var(--tt-light-text);

    font-size: 0.75rem;

    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: 0.7px;

}


.review-item strong {

    color: var(--tt-dark);

    font-size: 0.95rem;

    line-height: 1.5;

}


/* =====================================================
   POSTING PRICE
===================================================== */

.posting-price-box {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;

    padding: 30px;

    margin-top: 30px;

    background:

        radial-gradient(
            circle at right center,
            rgba(238, 200, 42, 0.35),
            transparent 35%
        ),

        linear-gradient(
            135deg,
            #0021AA,
            #001778
        );

    border-radius: 20px;

    box-shadow:
        0 20px 40px rgba(0, 33, 170, 0.20);

}


.posting-price-box div {

    display: flex;

    flex-direction: column;

    gap: 4px;

}


.posting-price-box span {

    color: rgba(255, 255, 255, 0.70);

    font-size: 0.7rem;

    font-weight: 800;

    letter-spacing: 1.2px;

}


.posting-price-box strong {

    color: var(--tt-yellow);

    font-size: 2.5rem;

    line-height: 1;

}


.posting-price-box p {

    max-width: 430px;

    margin: 0;

    color: rgba(255, 255, 255, 0.85);

    font-size: 0.92rem;

    line-height: 1.6;

}


/* =====================================================
   FOOTER
===================================================== */

.site-footer {

    padding: 35px 20px;

    text-align: center;

    background: #ffffff;

    border-top: 1px solid var(--tt-border);

}


.site-footer p {

    margin: 0;

    color: var(--tt-light-text);

    font-size: 0.85rem;

}

/* =========================================================
   LISTING PLANS
========================================================= */

.listing-plan-section {
    margin-top: 30px;
}

.listing-plan-heading {
    margin-bottom: 20px;
}

.listing-plan-heading h3 {
    margin: 8px 0;
    font-size: 1.25rem;
}

.listing-plan-heading p {
    margin: 0;
    color: #6b7280;
}


.listing-plan-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}


.listing-plan-card {
    position: relative;
    display: block;
    cursor: pointer;
}


.listing-plan-card input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}


.listing-plan-card-inner {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 24px;
    border: 2px solid #e5e7eb;
    border-radius: 16px;
    background: #fff;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease;
}


.listing-plan-card:hover .listing-plan-card-inner {
    border-color: #0021AA;
}


.listing-plan-card input:checked + .listing-plan-card-inner {
    border-color: #0021AA;
    box-shadow: 0 8px 24px rgba(0, 33, 170, 0.12);
}


.listing-plan-check {
    position: absolute;
    top: 16px;
    right: 16px;

    width: 26px;
    height: 26px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 2px solid #d1d5db;
    border-radius: 50%;

    color: #fff;
    background: #fff;
}


.listing-plan-card input:checked + .listing-plan-card-inner .listing-plan-check {
    border-color: #0021AA;
    background: #0021AA;
}


.listing-plan-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: #111827;
}


.listing-plan-price {
    margin-top: 10px;
    font-size: 2rem;
    color: #0021AA;
}


.listing-plan-duration {
    margin-top: 5px;
    font-weight: 600;
    color: #374151;
}


.listing-plan-description {
    margin-top: 10px;
    color: #6b7280;
    line-height: 1.5;
}


@media (max-width: 700px) {

    .listing-plan-grid {
        grid-template-columns: 1fr;
    }

}