/* =========================================================
   RENTAFRIEND
   SIMPLE PREMIUM RESPONSIVE DESIGN
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: #191a4e;
    background: #ffffff;
    overflow-x: hidden;
}

button,
input {
    font-family: inherit;
}

button {
    cursor: pointer;
}

a {
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}


/* =========================================================
   COMMON
========================================================= */

.page-container,
.header-container,
.footer-container {
    width: 100%;
    max-width: 1180px;
    margin: auto;
    padding-left: 24px;
    padding-right: 24px;
}


/* =========================================================
   HEADER
========================================================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 5000;
    background: rgba(255,255,255,.97);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid #eeeeF5;
}

.header-container {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}


/* LOGO */

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.brand-icon {
    width: 43px;
    height: 43px;
    border-radius: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    background: linear-gradient( 135deg, #ff2182, #e50968 );
    box-shadow: 0 8px 22px rgba(237,20,116,.22);
}

.brand-name {
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
    font-weight: 800;
    line-height: 1;
    color: #191a4e;
}

    .brand-name span {
        color: #ed1677;
    }

.brand-text small {
    display: block;
    margin-top: 4px;
    color: #85869f;
    font-size: 8px;
}


/* NAV */

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

    .desktop-nav a {
        color: #555674;
        font-size: 12px;
        font-weight: 600;
        transition: .2s;
    }

        .desktop-nav a:hover {
            color: #ed1677;
        }


/* HEADER ACTIONS */

.header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.location-button,
.login-button,
.signup-button {
    height: 41px;
    border-radius: 9px;
    font-size: 11px;
    font-weight: 700;
}

.location-button {
    padding: 0 13px;
    border: 1px solid #e5e5ef;
    background: #fff;
    color: #555674;
}

    .location-button i:first-child {
        color: #ed1677;
        margin-right: 5px;
    }

    .location-button i:last-child {
        margin-left: 7px;
        font-size: 8px;
    }

.login-button {
    width: 85px;
    border: 1px solid #dfc2eb;
    background: #fff;
    color: #743e99;
}

    .login-button:hover {
        color: #ed1677;
        border-color: #ed1677;
    }

.signup-button {
    width: 88px;
    border: none;
    color: #fff;
    background: linear-gradient( 135deg, #ff2182, #e50968 );
}

    .signup-button:hover {
        transform: translateY(-1px);
        box-shadow: 0 8px 20px rgba(237,22,119,.22);
    }

.mobile-menu-button {
    display: none;
    width: 40px;
    height: 40px;
    border: 1px solid #e5e5ef;
    border-radius: 9px;
    background: #fff;
    color: #191a4e;
}


/* MOBILE MENU */

.mobile-menu {
    display: none;
    padding: 12px 20px 20px;
    border-top: 1px solid #eeeeF5;
    background: #fff;
}

    .mobile-menu.active {
        display: flex;
        flex-direction: column;
    }

    .mobile-menu a,
    .mobile-menu button {
        padding: 12px 4px;
        border: none;
        background: transparent;
        text-align: left;
        color: #515272;
        font-size: 13px;
        font-weight: 600;
    }

    .mobile-menu button {
        color: #ed1677;
    }


/* =========================================================
   HERO
========================================================= */

.hero-section {
    min-height: 650px;
    padding: 75px 0;
    background: radial-gradient( circle at 10% 20%, rgba(255,20,120,.11), transparent 35% ), radial-gradient( circle at 90% 20%, rgba(110,80,255,.12), transparent 35% ), linear-gradient( 135deg, #fff7fb, #f7f4ff, #f4f8ff );
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr .9fr;
    align-items: center;
    gap: 70px;
}


/* HERO CONTENT */

.hero-content {
    max-width: 620px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 15px;
    border-radius: 30px;
    background: #fff;
    color: #ed1677;
    font-size: 10px;
    font-weight: 800;
    box-shadow: 0 8px 25px rgba(30,20,70,.08);
    margin-bottom: 22px;
}

.hero-content h1 {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(42px,5vw,68px);
    line-height: 1.04;
    letter-spacing: -2px;
    color: #191a4e;
    margin-bottom: 20px;
}

    .hero-content h1 span {
        display: block;
        color: #ed1677;
    }

.hero-content > p {
    max-width: 570px;
    color: #6f7089;
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 28px;
}


/* HERO BUTTONS */

.hero-buttons {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
}

.primary-button,
.outline-button {
    height: 48px;
    padding: 0 22px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 700;
    transition: .2s;
}

.primary-button {
    border: none;
    color: #fff;
    background: linear-gradient( 135deg, #ff2182, #e50968 );
    box-shadow: 0 10px 25px rgba(237,22,119,.20);
}

    .primary-button:hover {
        transform: translateY(-2px);
    }

    .primary-button i {
        margin-left: 7px;
    }

.outline-button {
    border: 1px solid #dfc2eb;
    background: #fff;
    color: #743e99;
}

    .outline-button:hover {
        border-color: #ed1677;
        color: #ed1677;
    }


/* =========================================================
   SEARCH
========================================================= */

.search-box {
    min-height: 60px;
    display: grid;
    grid-template-columns: 1fr 145px 100px;
    align-items: center;
    padding: 6px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 15px 40px rgba(30,20,70,.12);
}

.search-input {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 12px;
}

    .search-input i {
        color: #999ab0;
    }

    .search-input input {
        width: 100%;
        border: none;
        outline: none;
        color: #33344f;
        font-size: 12px;
    }

.search-location {
    height: 43px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border-left: 1px solid #eeeeF5;
    border-right: 1px solid #eeeeF5;
    color: #555674;
    font-size: 11px;
    font-weight: 600;
}

    .search-location i {
        color: #ed1677;
    }

.search-button {
    height: 43px;
    border: none;
    border-radius: 9px;
    background: #ed1677;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
}


/* =========================================================
   HERO STATS
========================================================= */

.hero-stats {
    display: flex;
    gap: 35px;
    margin-top: 28px;
}

    .hero-stats div {
        display: flex;
        flex-direction: column;
        gap: 3px;
    }

    .hero-stats strong {
        font-size: 18px;
        color: #191a4e;
    }

    .hero-stats span {
        color: #85869f;
        font-size: 9px;
    }


/* =========================================================
   HERO IMAGE
========================================================= */

.hero-visual {
    position: relative;
    min-height: 480px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image {
    width: 100%;
    max-width: 450px;
    height: 470px;
    overflow: hidden;
    border-radius: 28px;
    box-shadow: 0 25px 60px rgba(30,20,70,.20);
}

    .hero-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }


/* FLOATING CARDS */

.image-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 13px;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 15px 40px rgba(30,20,70,.15);
}

    .image-card strong {
        display: block;
        color: #191a4e;
        font-size: 11px;
    }

    .image-card span {
        display: block;
        margin-top: 3px;
        color: #8c8da2;
        font-size: 8px;
    }

.image-card-top {
    top: 60px;
    left: -15px;
}

.image-card-bottom {
    right: -15px;
    bottom: 40px;
}

.image-card-icon {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: #ffe6f1;
    color: #ed1677;
}

.mini-avatars {
    display: flex;
}

    .mini-avatars span {
        width: 32px;
        height: 32px;
        margin-left: -7px;
        display: flex;
        align-items: center;
        justify-content: center;
        border: 2px solid #fff;
        border-radius: 50%;
        background: #f3e4ff;
        color: #743e99;
        font-size: 10px;
        font-weight: 700;
    }

        .mini-avatars span:first-child {
            margin-left: 0;
        }


/* =========================================================
   SECTION TITLES
========================================================= */

.section-title {
    max-width: 650px;
    margin: 0 auto 45px;
    text-align: center;
}

    .section-title span {
        color: #ed1677;
        font-size: 10px;
        font-weight: 800;
        letter-spacing: 1px;
    }

    .section-title h2 {
        font-family: 'Poppins', sans-serif;
        margin: 9px 0;
        color: #191a4e;
        font-size: 34px;
    }

    .section-title p {
        color: #77788f;
        font-size: 13px;
    }


/* =========================================================
   SERVICES
========================================================= */

.services-section {
    padding: 90px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 18px;
}

.service-card {
    padding: 27px;
    border: 1px solid #eeeeF5;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 8px 25px rgba(30,20,70,.05);
    transition: .2s;
}

    .service-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 35px rgba(30,20,70,.10);
    }

.service-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 17px;
    border-radius: 13px;
    background: #ffe7f2;
    color: #ed1677;
}

.service-card h3 {
    margin-bottom: 8px;
    color: #191a4e;
    font-size: 14px;
}

.service-card p {
    color: #7b7c91;
    font-size: 11px;
    line-height: 1.7;
}


/* =========================================================
   HOW
========================================================= */

.how-section {
    padding: 90px 0;
    background: #faf9fd;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 25px;
}

.step-card {
    text-align: center;
    padding: 25px;
}

.step-number {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: #ed1677;
    color: #fff;
    font-size: 16px;
    font-weight: 800;
    box-shadow: 0 10px 25px rgba(237,22,119,.20);
}

.step-card h3 {
    margin-bottom: 8px;
    font-size: 15px;
}

.step-card p {
    color: #7b7c91;
    font-size: 11px;
    line-height: 1.7;
}


/* =========================================================
   CTA
========================================================= */

.cta-section {
    padding: 70px 0;
}

.cta-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 45px;
    border-radius: 22px;
    background: linear-gradient( 135deg, #fff0f7, #f3efff );
    border: 1px solid #f0e5f4;
}

    .cta-box > div > span {
        color: #ed1677;
        font-size: 9px;
        font-weight: 800;
        letter-spacing: 1px;
    }

    .cta-box h2 {
        margin: 7px 0;
        font-family: 'Poppins', sans-serif;
        color: #191a4e;
        font-size: 28px;
    }

    .cta-box p {
        color: #77788f;
        font-size: 12px;
    }


/* =========================================================
   FOOTER
========================================================= */

.site-footer {
    padding: 60px 0 20px;
    background: #10112f;
    color: #fff;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 50px;
}

.footer-brand p {
    max-width: 300px;
    margin-top: 18px;
    color: #999ab2;
    font-size: 10px;
    line-height: 1.8;
}

.footer-brand-name {
    color: #fff;
}

.footer-column h4 {
    margin-bottom: 15px;
    font-size: 12px;
}

.footer-column a {
    display: block;
    margin-bottom: 10px;
    color: #999ab2;
    font-size: 10px;
}

    .footer-column a:hover {
        color: #ed1677;
    }

.footer-bottom {
    max-width: 1180px;
    margin: 45px auto 0;
    padding: 18px 24px 0;
    border-top: 1px solid #292a45;
    display: flex;
    justify-content: space-between;
    color: #6f708a;
    font-size: 9px;
}


/* =========================================================
   MODALS
========================================================= */

.modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 15px;
    background: rgba(12,12,40,.70);
    backdrop-filter: blur(7px);
}

    .modal.active {
        display: flex;
    }

.modal-box {
    position: relative;
    width: 100%;
    max-width: 430px;
    max-height: 92vh;
    overflow-y: auto;
    padding: 32px;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 30px 80px rgba(0,0,0,.25);
    animation: modalIn .2s ease;
}

.small-modal {
    max-width: 400px;
}

@keyframes modalIn {
    from {
        opacity: 0;
        transform: translateY(15px) scale(.97);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 50%;
    background: #f5f5fa;
    color: #555;
    cursor: pointer;
}

    .modal-close:hover {
        background: #ffe7f2;
        color: #ed1677;
    }


/* MODAL BRAND */

.modal-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    margin-bottom: 20px;
}

.modal-brand-icon {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    background: #ed1677;
    color: #fff;
}

.modal-brand strong {
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    color: #191a4e;
}

    .modal-brand strong span {
        color: #ed1677;
    }

.modal-box h2 {
    text-align: center;
    color: #191a4e;
    font-family: 'Poppins', sans-serif;
    font-size: 24px;
    margin-bottom: 7px;
}

.modal-description {
    text-align: center;
    color: #7b7c91;
    font-size: 11px;
    line-height: 1.6;
    margin-bottom: 22px;
}


/* FORM */

.form-group {
    margin-bottom: 16px;
}

    .form-group label {
        display: block;
        margin-bottom: 7px;
        color: #343551;
        font-size: 11px;
        font-weight: 700;
    }

.input-wrapper {
    height: 46px;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 0 12px;
    border: 1px solid #e2e2ec;
    border-radius: 9px;
    background: #fff;
    transition: .2s;
}

    .input-wrapper:focus-within {
        border-color: #ed1677;
        box-shadow: 0 0 0 3px rgba(237,22,119,.08);
    }

    .input-wrapper > i {
        color: #999ab0;
        font-size: 13px;
    }

    .input-wrapper input {
        width: 100%;
        border: none;
        outline: none;
        background: transparent;
        color: #292a45;
        font-size: 12px;
    }

.password-button {
    border: none;
    background: transparent;
    color: #999ab0;
    padding: 5px;
}

    .password-button:hover {
        color: #ed1677;
    }


/* LOGIN OPTIONS */

.login-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 5px 0 18px;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #77788f;
    font-size: 10px;
}

.login-options > button {
    border: none;
    background: transparent;
    color: #ed1677;
    font-size: 10px;
    font-weight: 600;
}


/* MODAL BUTTON */

.modal-primary-button {
    width: 100%;
    height: 46px;
    border: none;
    border-radius: 9px;
    background: linear-gradient( 135deg, #ff2182, #e50968 );
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    box-shadow: 0 9px 22px rgba(237,22,119,.18);
}

    .modal-primary-button i {
        margin-left: 7px;
    }


/* DIVIDER */

.modal-divider {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 20px 0;
    color: #aaaabd;
    font-size: 9px;
}

    .modal-divider span {
        flex: 1;
        height: 1px;
        background: #eeeeF5;
    }


/* SOCIAL */

.social-button {
    width: 100%;
    height: 43px;
    margin-bottom: 9px;
    border: 1px solid #e3e3ec;
    border-radius: 9px;
    background: #fff;
    color: #3d3e5b;
    font-size: 11px;
    font-weight: 600;
}

    .social-button i {
        margin-right: 7px;
    }

    .social-button:hover {
        border-color: #ed1677;
    }


/* MODAL FOOTER */

.modal-footer-text {
    margin-top: 20px;
    text-align: center;
    color: #77788f;
    font-size: 10px;
}

    .modal-footer-text button {
        border: none;
        background: transparent;
        color: #ed1677;
        font-weight: 700;
    }


/* TERMS */

.terms-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 7px;
    margin: 5px 0 18px;
    color: #77788f;
    font-size: 9px;
    line-height: 1.6;
}

    .terms-checkbox a {
        color: #ed1677;
    }


/* FORGOT ICON */

.modal-large-icon {
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    border-radius: 16px;
    background: #ffe7f2;
    color: #ed1677;
    font-size: 20px;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1000px) {

    .desktop-nav {
        display: none;
    }

    .mobile-menu-button {
        display: block;
    }

    .location-button {
        display: none;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .hero-content {
        max-width: 720px;
        margin: auto;
        text-align: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-content > p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-visual {
        min-height: 430px;
    }

    .hero-image {
        height: 410px;
    }

    .services-grid {
        grid-template-columns: repeat(2,1fr);
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 650px) {

    .page-container,
    .header-container,
    .footer-container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .header-container {
        min-height: 64px;
    }

    .brand-icon {
        width: 38px;
        height: 38px;
        border-radius: 11px;
    }

    .brand-name {
        font-size: 17px;
    }

    .brand-text small {
        font-size: 7px;
    }

    .login-button {
        display: none;
    }

    .signup-button {
        width: 75px;
        height: 37px;
        font-size: 10px;
    }


    /* HERO */

    .hero-section {
        padding: 50px 0;
        min-height: auto;
    }

    .hero-content h1 {
        font-size: 40px;
        letter-spacing: -1.5px;
    }

    .hero-content > p {
        font-size: 13px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .primary-button,
    .outline-button {
        width: 100%;
    }


    /* SEARCH */

    .search-box {
        grid-template-columns: 1fr;
        gap: 5px;
        padding: 6px;
    }

    .search-input {
        height: 44px;
    }

    .search-location {
        height: 43px;
        border: 1px solid #eeeeF5;
        border-radius: 8px;
    }

    .search-button {
        height: 43px;
    }


    /* STATS */

    .hero-stats {
        justify-content: space-between;
        gap: 10px;
    }


    /* IMAGE */

    .hero-visual {
        min-height: 340px;
    }

    .hero-image {
        height: 330px;
        border-radius: 20px;
    }

    .image-card {
        padding: 9px;
    }

    .image-card-top {
        top: 20px;
        left: 0;
    }

    .image-card-bottom {
        right: 0;
        bottom: 15px;
    }


    /* SECTIONS */

    .services-section,
    .how-section {
        padding: 60px 0;
    }

    .section-title {
        margin-bottom: 30px;
    }

        .section-title h2 {
            font-size: 27px;
        }


    .services-grid,
    .steps-grid {
        grid-template-columns: 1fr;
    }


    /* CTA */

    .cta-section {
        padding: 45px 0;
    }

    .cta-box {
        flex-direction: column;
        align-items: flex-start;
        padding: 30px 24px;
    }

        .cta-box h2 {
            font-size: 25px;
        }

        .cta-box .primary-button {
            width: 100%;
        }


    /* FOOTER */

    .site-footer {
        padding-top: 45px;
    }

    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 35px 20px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .footer-bottom {
        margin-top: 35px;
        padding-left: 16px;
        padding-right: 16px;
        flex-direction: column;
        gap: 7px;
    }


    /* MODAL */

    .modal {
        padding: 10px;
    }

    .modal-box {
        padding: 25px 18px;
        border-radius: 18px;
    }
}


@media (max-width: 390px) {

    .hero-content h1 {
        font-size: 34px;
    }

    .hero-stats strong {
        font-size: 15px;
    }

    .hero-stats span {
        font-size: 8px;
    }
}


/* Prevent iPhone input zoom */

@media (max-width: 650px) {

    input,
    textarea,
    select {
        font-size: 16px;
    }
}


/* =========================================================
   NEARBY POSTS PAGE
========================================================= */

.posts-page {
    min-height: 100vh;
    background: #f8f8fc;
}


/* =========================================================
   HEADER
========================================================= */

.posts-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255,255,255,.96);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid #e9e9f1;
}

.posts-header-inner {
    width: 100%;
    max-width: 1200px;
    min-height: 72px;
    margin: auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}


/* LOGO */

.posts-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.posts-logo-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient( 135deg, #ff2182, #e50968 );
    color: #fff;
    box-shadow: 0 8px 20px rgba(237,22,119,.20);
}

.posts-logo strong {
    display: block;
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    color: #191a4e;
}

    .posts-logo strong span {
        color: #ed1677;
    }

.posts-logo small {
    display: block;
    margin-top: 2px;
    color: #898a9e;
    font-size: 7px;
}


/* USER */

.posts-actions {
    display: flex;
    align-items: center;
    gap: 18px;
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 9px;
}

.user-avatar {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #ffe6f1;
    color: #ed1677;
    font-size: 13px;
    font-weight: 800;
}

.user-details strong {
    display: block;
    color: #292a47;
    font-size: 11px;
}

.user-details span {
    display: block;
    margin-top: 2px;
    color: #8b8ca0;
    font-size: 8px;
}

.logout-button {
    height: 38px;
    padding: 0 13px;
    border: 1px solid #e2e2eb;
    border-radius: 9px;
    background: #fff;
    color: #686980;
    font-size: 10px;
    font-weight: 700;
}

    .logout-button:hover {
        border-color: #ed1677;
        color: #ed1677;
    }


/* =========================================================
   MAIN
========================================================= */

.posts-main {
    padding: 50px 0 80px;
}

.posts-container {
    width: 100%;
    max-width: 1200px;
    margin: auto;
    padding: 0 24px;
}


/* =========================================================
   PAGE HEADING
========================================================= */

.posts-page-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 28px;
}

.heading-label {
    color: #ed1677;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1px;
}

.posts-page-heading h1 {
    margin-top: 5px;
    font-family: 'Poppins', sans-serif;
    color: #191a4e;
    font-size: 34px;
}

.posts-page-heading p {
    margin-top: 7px;
    color: #77788f;
    font-size: 12px;
}

.location-pill {
    height: 42px;
    padding: 0 15px;
    display: flex;
    align-items: center;
    gap: 7px;
    border: 1px solid #e2e2ec;
    border-radius: 10px;
    background: #fff;
    color: #555674;
    font-size: 10px;
    font-weight: 700;
}

    .location-pill i:first-child {
        color: #ed1677;
    }

    .location-pill i:last-child {
        font-size: 7px;
    }


/* =========================================================
   SEARCH
========================================================= */

.posts-search {
    display: grid;
    grid-template-columns: 1fr 190px 100px;
    gap: 8px;
    padding: 7px;
    margin-bottom: 30px;
    border: 1px solid #ebebf2;
    border-radius: 13px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(30,20,70,.05);
}

.posts-search-input {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 0 12px;
}

    .posts-search-input i {
        color: #9a9bae;
    }

    .posts-search-input input {
        width: 100%;
        height: 42px;
        border: none;
        outline: none;
        color: #33344f;
        font-size: 11px;
    }

.posts-search select {
    height: 42px;
    padding: 0 10px;
    border: 1px solid #eeeeF5;
    border-radius: 8px;
    outline: none;
    background: #fff;
    color: #555674;
    font-size: 10px;
}

.filter-button {
    height: 42px;
    border: none;
    border-radius: 8px;
    background: #ed1677;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
}


/* =========================================================
   POSTS GRID
========================================================= */

.posts-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 20px;
}

.post-card {
    overflow: hidden;
    border: 1px solid #e9e9f1;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 8px 25px rgba(30,20,70,.05);
    transition: transform .2s ease, box-shadow .2s ease;
}

    .post-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 18px 40px rgba(30,20,70,.11);
    }


/* IMAGE */

.post-image {
    position: relative;
    height: 230px;
    overflow: hidden;
    background: #f1f1f7;
}

    .post-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform .3s ease;
    }

.post-card:hover .post-image img {
    transform: scale(1.04);
}

.post-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #aaaabc;
    font-size: 30px;
}


/* BADGES */

.verified-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 6px 9px;
    border-radius: 20px;
    background: #fff;
    color: #087f55;
    font-size: 8px;
    font-weight: 800;
    box-shadow: 0 5px 15px rgba(0,0,0,.10);
}

    .verified-badge i {
        margin-right: 3px;
    }

.online-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 6px 9px;
    display: flex;
    align-items: center;
    gap: 5px;
    border-radius: 20px;
    background: rgba(255,255,255,.95);
    color: #16865c;
    font-size: 8px;
    font-weight: 700;
}

    .online-badge span {
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: #19a86d;
    }


/* CONTENT */

.post-content {
    padding: 18px;
}

.post-user-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
}

    .post-user-row h3 {
        color: #191a4e;
        font-size: 14px;
    }

.post-city {
    display: block;
    margin-top: 4px;
    color: #898a9f;
    font-size: 9px;
}

    .post-city i {
        color: #ed1677;
        margin-right: 3px;
    }

.post-rating {
    padding: 5px 8px;
    border-radius: 7px;
    background: #fff5d9;
    color: #9a7100;
    font-size: 9px;
    font-weight: 800;
}

    .post-rating i {
        margin-right: 3px;
    }

.post-category {
    display: inline-block;
    margin-top: 13px;
    padding: 5px 8px;
    border-radius: 6px;
    background: #ffe8f2;
    color: #ed1677;
    font-size: 8px;
    font-weight: 800;
}

.post-content h2 {
    margin-top: 10px;
    color: #292a47;
    font-size: 14px;
    line-height: 1.4;
}

.post-content > p {
    min-height: 38px;
    margin-top: 7px;
    color: #7b7c91;
    font-size: 10px;
    line-height: 1.6;
}


/* FOOTER */

.post-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid #eeeeF5;
}

.post-price strong {
    color: #191a4e;
    font-size: 15px;
}

.post-price span {
    color: #9091a3;
    font-size: 8px;
}

.book-button {
    height: 36px;
    padding: 0 13px;
    border: none;
    border-radius: 8px;
    background: #ed1677;
    color: #fff;
    font-size: 9px;
    font-weight: 700;
}

    .book-button i {
        margin-left: 5px;
    }


/* =========================================================
   EMPTY
========================================================= */

.empty-posts {
    padding: 80px 20px;
    text-align: center;
    border: 1px dashed #dddde8;
    border-radius: 18px;
    background: #fff;
}

.empty-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: auto;
    border-radius: 50%;
    background: #ffe7f2;
    color: #ed1677;
    font-size: 22px;
}

.empty-posts h2 {
    margin-top: 18px;
    color: #191a4e;
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
}

.empty-posts p {
    max-width: 400px;
    margin: 8px auto 20px;
    color: #7b7c91;
    font-size: 11px;
    line-height: 1.7;
}

.empty-button {
    height: 40px;
    padding: 0 18px;
    border: none;
    border-radius: 8px;
    background: #ed1677;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 950px) {

    .posts-grid {
        grid-template-columns: repeat(2,1fr);
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 650px) {

    .posts-header-inner {
        min-height: 64px;
        padding: 0 15px;
    }

    .posts-actions {
        gap: 7px;
    }

    .user-details {
        display: none;
    }

    .logout-button {
        width: 38px;
        padding: 0;
    }

    .logout-button {
        font-size: 0;
    }

        .logout-button i {
            font-size: 12px;
        }

    .posts-main {
        padding: 35px 0 60px;
    }

    .posts-container {
        padding: 0 15px;
    }

    .posts-page-heading {
        align-items: flex-start;
        flex-direction: column;
    }

        .posts-page-heading h1 {
            font-size: 27px;
        }

    .location-pill {
        width: 100%;
        justify-content: center;
    }

    .posts-search {
        grid-template-columns: 1fr;
        padding: 6px;
    }

        .posts-search select,
        .filter-button {
            width: 100%;
        }

    .posts-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .post-image {
        height: 260px;
    }
}


/* =========================================================
   SMALL PHONE
========================================================= */

@media (max-width: 390px) {

    .posts-logo strong {
        font-size: 16px;
    }

    .posts-logo-icon {
        width: 36px;
        height: 36px;
    }

    .post-image {
        height: 230px;
    }
}

/* =========================================================
   LOGIN MESSAGE
========================================================= */

.login-message {
    min-height: 0;
    margin: 0 0 12px;
    border-radius: 8px;
    font-size: 10px;
    line-height: 1.5;
    font-weight: 600;
}

    .login-message.error {
        padding: 10px 12px;
        background: #fff0f2;
        border: 1px solid #ffd2da;
        color: #c92a4a;
    }

    .login-message.success {
        padding: 10px 12px;
        background: #ecfff6;
        border: 1px solid #c5f1dd;
        color: #087f55;
    }

.modal-primary-button:disabled {
    opacity: .65;
    cursor: not-allowed;
    transform: none !important;
}
/* RentaFriend — Payment / Trust / Legal Center */
.rf-legal-page{min-height:100vh;padding:46px 20px 80px;background:radial-gradient(circle at 12% 4%,rgba(255,61,129,.13),transparent 28%),radial-gradient(circle at 88% 8%,rgba(139,92,246,.13),transparent 28%),#07070b;color:#f7f7fb}.rf-legal-wrap{width:min(1180px,100%);margin:auto}.rf-legal-top{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-bottom:28px}.rf-legal-back{color:#fff;text-decoration:none;font-weight:800}.rf-legal-back i{color:#ff4b88;margin-right:8px}.rf-legal-badge{font-size:11px;font-weight:900;letter-spacing:1.3px;text-transform:uppercase;padding:9px 13px;border-radius:999px;border:1px solid rgba(255,255,255,.12);background:rgba(255,255,255,.045);color:#ffb7cf}.rf-legal-hero{padding:42px;border:1px solid rgba(255,255,255,.09);border-radius:30px;background:linear-gradient(135deg,rgba(255,61,129,.08),rgba(139,92,246,.06) 52%,rgba(255,255,255,.025));box-shadow:0 30px 90px rgba(0,0,0,.32);margin-bottom:22px}.rf-legal-kicker{font-size:10px;letter-spacing:2px;font-weight:900;color:#ff6a9d}.rf-legal-hero h1{margin:10px 0 10px;font-family:Manrope,sans-serif;font-size:clamp(34px,5vw,60px);line-height:1.02;letter-spacing:-2.5px}.rf-legal-hero p{max-width:800px;margin:0;color:#a9a9ba;line-height:1.75;font-size:15px}.rf-legal-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.rf-legal-card{padding:24px;border:1px solid rgba(255,255,255,.08);border-radius:22px;background:rgba(255,255,255,.035);box-shadow:0 18px 55px rgba(0,0,0,.2);transition:transform .25s ease,border-color .25s ease,background .25s ease}.rf-legal-card:hover{transform:translateY(-3px);border-color:rgba(255,61,129,.28);background:rgba(255,255,255,.05)}.rf-legal-icon{width:42px;height:42px;border-radius:14px;display:grid;place-items:center;margin-bottom:15px;color:#fff;background:linear-gradient(135deg,#ff3d81,#8b5cf6);box-shadow:0 10px 28px rgba(255,61,129,.16)}.rf-legal-card h2{font:800 18px Manrope,sans-serif;margin:0 0 8px}.rf-legal-card p{margin:0;color:#aaaaba;line-height:1.7;font-size:13px}.rf-legal-bottom{margin-top:18px;padding:19px 22px;border-radius:20px;border:1px solid rgba(255,255,255,.08);background:rgba(255,255,255,.028);display:flex;flex-wrap:wrap;gap:8px 18px;align-items:center;color:#a8a8b8;font-size:12px;line-height:1.6}.rf-legal-bottom strong{color:#fff}.rf-legal-bottom span{max-width:920px}@media(max-width:760px){.rf-legal-page{padding:28px 14px 60px}.rf-legal-top{align-items:flex-start;flex-direction:column}.rf-legal-hero{padding:27px 22px;border-radius:24px}.rf-legal-grid{grid-template-columns:1fr}.rf-legal-card{padding:20px}.rf-legal-hero h1{letter-spacing:-1.5px}}
