/* =========================================================
   RFORCAR NAVBAR
========================================================= */

.rfc-navbar {

    position: sticky;

    top: 0;

    z-index: 1030;

    width: 100%;

    min-height: 70px;

    background: #ffffff;

    border-bottom: 1px solid #eeeeee;

    box-shadow: 0 2px 10px rgba(0, 0, 0, .04);
}

.rfc-navbar-inner {

    min-height: 70px;

    width: 100%;

    padding: 8px 20px;

    display: flex;

    align-items: center;

    gap: 18px;
}


/* LEFT */

.rfc-navbar-left {

    display: flex;

    align-items: center;

    gap: 14px;

    flex-shrink: 0;
}

.rfc-menu-btn,
.rfc-back-btn {

    border: none;

    background: transparent;

    width: 40px;

    height: 40px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 10px;

    color: #222;

    font-size: 19px;

    cursor: pointer;
}

.rfc-menu-btn:hover,
.rfc-back-btn:hover {

    background: #f3f3f3;
}


/* LOGO */

.rfc-logo {

    display: flex;

    align-items: center;

    text-decoration: none;

    flex-shrink: 0;
}

.rfc-logo img {

    width: 145px;

    max-height: 55px;

    height: auto;

    object-fit: contain;

    display: block;
}


/* SEARCH */

.rfc-search {

    position: relative;

    flex: 1;

    max-width: 650px;

    margin: 0 auto;

    display: flex;

    align-items: center;
}

.rfc-search > i {

    position: absolute;

    left: 15px;

    color: #888;

    z-index: 2;
}

.rfc-search input {

    width: 100%;

    height: 44px;

    padding: 0 45px;

    border: 1px solid #dddddd;

    border-radius: 12px;

    outline: none;

    background: #f8f9fa;

    font-size: 14px;
}

.rfc-search input:focus {

    border-color: #222;

    background: #ffffff;

    box-shadow: 0 0 0 3px rgba(0, 0, 0, .05);
}

.rfc-search-clear {

    position: absolute;

    right: 10px;

    border: none;

    background: transparent;

    color: #888;

    display: none;
}


/* RIGHT */

.rfc-navbar-right {

    display: flex;

    align-items: center;

    gap: 18px;

    margin-left: auto;

    flex-shrink: 0;
}

.rfc-nav-icon {

    position: relative;

    width: 40px;

    height: 40px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 10px;

    text-decoration: none;

    color: #222;

    font-size: 19px;

    transition: .2s;
}

.rfc-nav-icon:hover {

    background: #f3f3f3;

    color: #111;
}


/* BADGE */

.rfc-badge {

    position: absolute;

    top: 1px;

    right: 0;

    min-width: 17px;

    height: 17px;

    padding: 0 4px;

    border-radius: 9px;

    background: #dc3545;

    color: white;

    font-size: 9px;

    font-weight: 700;

    display: flex;

    align-items: center;

    justify-content: center;
}


/* PROFILE */

.rfc-profile {

    display: flex;

    align-items: center;

    gap: 8px;

    text-decoration: none;

    color: #222;

    font-size: 14px;

    font-weight: 600;
}

.rfc-profile-icon {

    width: 36px;

    height: 36px;

    border-radius: 50%;

    background: #111827;

    color: #ffffff;

    display: flex;

    align-items: center;

    justify-content: center;
}

.rfc-profile-name {

    max-width: 100px;

    overflow: hidden;

    text-overflow: ellipsis;

    white-space: nowrap;
}


/* LOGIN */

.rfc-login-btn {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    min-width: 85px;

    height: 40px;

    padding: 0 18px;

    border-radius: 9px;

    background: #111111;

    color: #ffffff;

    text-decoration: none;

    font-size: 14px;

    font-weight: 600;

    transition: .2s;
}

.rfc-login-btn:hover {

    background: #333333;

    color: #ffffff;
}


/* CENTER LOGO */

.rfc-logo-center {

    margin: auto;
}


/* MOBILE */

@media (max-width: 768px) {

    .rfc-navbar {

        min-height: 60px;
    }

    .rfc-navbar-inner {

        min-height: 60px;

        padding: 7px 12px;

        gap: 8px;
    }

    .rfc-logo img {

        width: 120px;

        max-height: 48px;
    }

    .rfc-search {

        display: none;
    }

    .rfc-navbar-right {

        gap: 6px;
    }

    .rfc-profile-name {

        display: none;
    }

    .rfc-profile-icon {

        width: 35px;

        height: 35px;
    }

    .rfc-nav-icon {

        width: 36px;

        height: 36px;

        font-size: 18px;
    }

    .rfc-menu-btn {

        width: 36px;

        height: 36px;
    }

    .rfc-login-btn {

        min-width: 70px;

        height: 36px;

        padding: 0 12px;
    }
}


/* RForCar - Become a Rental Partner button */

.rfc-partner-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 12px 22px;
    background: #5b4282;
    color: #ffffff !important;
    border: 1px solid #5b4282;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none !important;
    transition: all 0.25s ease;
    box-shadow: 0 3px 8px rgba(91, 66, 130, 0.18);
}

.rfc-partner-btn:hover {
    background: #493366;
    border-color: #493366;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 14px rgba(91, 66, 130, 0.28);
}

.rfc-partner-btn:focus-visible {
    outline: 3px solid rgba(91, 66, 130, 0.3);
    outline-offset: 3px;
}

@media (max-width: 767px) {
    .rfc-partner-btn {
        width: 100%;
    }
}
