html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 0;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}

.bg-pink {
    background-color: #ff69b4 !important; /* hot pink */
    color: white !important;
}


/*this makes the client side anchor to remove the default blue line as hyperlink*/
a {
    text-decoration: none;
    color: inherit;
}

/*This is the CSS for the image preview container*/
#imagePreviewContainer img {
    border-radius: 6px;
    object-fit: cover;
}



/* Marketplace Preview */


.marketplace-card {
    border-radius: 18px;
    overflow: hidden;
    transition: all .25s ease;
    cursor: pointer;
    background: #fff;
}

    .marketplace-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 18px 40px rgba(0,0,0,.14);
    }

    .marketplace-card img {
        width: 100%;
        height: 250px;
        object-fit: cover;
    }

    .marketplace-card .card-body {
        padding: 1.5rem;
    }

    .marketplace-card h5 {
        font-size: 1.25rem;
        font-weight: 700;
        color: #2D3748;
        margin-bottom: .85rem;
    }

    .marketplace-card .description {
        color: #6B7280;
        font-size: .95rem;
        line-height: 1.5;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
        min-height: 78px;
    }

    .marketplace-card .price {
        color: #6B7280;
        font-size: 1.15rem;
        font-weight: 700;
    }

/* Marketplace Link */

.marketplace-link {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    color: #8ACE79;
    font-size: 1.05rem;
    font-weight: 600;
    text-decoration: none;
    transition: all .25s ease;
}

    .marketplace-link:hover {
        color: #73b864;
    }

    .marketplace-link i {
        transition: transform .25s ease;
    }

    .marketplace-link:hover i {
        transform: translateX(5px);
    }

.marketplace-subtitle {
    color: #6B7280;
    font-size: .95rem;
    margin-bottom: 0;
}

/*why choose pethub*/

.pet-feature-strip {
    background: linear-gradient( 135deg, #8ACE79, #74C66A );
    padding: 70px 0;
}

    .pet-feature-strip h5 {
        color: white;
        font-weight: 700;
        margin-top: 20px;
        margin-bottom: 10px;
    }

    .pet-feature-strip p {
        color: rgba(255,255,255,.92);
        font-size: .95rem;
        line-height: 1.6;
        margin: 0 auto;
        max-width: 220px;
    }

.feature-icon {
    width: 42px;
    height: 42px;
    color: white;
    stroke-width: 2.2;
}


/* CTA SECTION */


.cta-section {
    padding: 90px 0;
}

.cta-box {
    background: linear-gradient( 135deg, #8ACE79, #79C96C );
    border-radius: 30px;
    padding: 70px 50px;
    box-shadow: 0 18px 40px rgba(0,0,0,.08);
}

    .cta-box h2 {
        color: white;
        font-weight: 700;
        font-size: 2.3rem;
        margin-bottom: 20px;
    }

    .cta-box p {
        color: rgba(255,255,255,.95);
        max-width: 720px;
        margin: 0 auto 35px;
        line-height: 1.8;
        font-size: 1.05rem;
    }

.cta-btn {
    background: white;
    color: #63B65A;
    font-weight: 600;
    padding: 14px 38px;
    border-radius: 50px;
    transition: .3s;
    border: none;
}

    .cta-btn:hover {
        background: #f6f6f6;
        transform: translateY(-3px);
        color: #4d9c46;
        box-shadow: 0 10px 25px rgba(0,0,0,.15);
    }

.cta-login {
    color: white;
    text-decoration: none;
    font-weight: 600;
    margin-left: 6px;
}

    .cta-login:hover {
        color: white;
        text-decoration: underline;
    }

/* Css for our pethub logo */
.navbar-logo {
    height: 45px;
    width: auto;
    max-height: 50px;
    min-height: 35px;
    object-fit: contain;
}

.feed-container {
    max-width: 700px;
    margin: 0 auto;
}


    .feed-container .card {
        border-radius: 12px;
    }


.post-image {
    width: 100%;
    max-height: 450px;
    object-fit: cover;
}

/* Grid in petfeed posts */

.image-grid {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 5px;
}


.grid-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
}


.more-images {
    background: black;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 30px;
}


/* for the navbar para align sya */
/*.navbar-custom {
    padding-left: 12px;
    padding-right: 12px;
}*/ 


/*SIDEBAR*/
.app {
    display: flex;
    min-height: calc(100vh - 56px);
}

#sidebar-wrapper {
    width: 250px;
    flex-shrink: 0;
    overflow: hidden;
    height: 100vh;
    position: relative;
}

#sidebarContent {
    width: 250px;
    height: 100%;
    transition: transform .3s ease;
}

    #sidebarContent.collapsed {
        transform: translateX(-250px);
    }

#sidebar-header {
    background: #8ACE79;
    width: 250px;
    height: 45px;
    display: flex;
    text-align: right;
    justify-content: right;
}

#sidebarToggle {
    background: transparent;
    border: none;
    color: #4B5563;
}

#sidebarHandle {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 45px;
    height: 45px;
    background: #8ACE79;
    border: none;
    color: white;
}

#sidebarContent.collapsed ~ #sidebarHandle {
    display: flex;
    align-items: center;
    justify-content: center;
}

#sidebar {
    width: 250px;
    height: calc(100% - 45px);
    margin-left: 5px;
    color: #8ACE79;
    border-right: 2px solid #8ACE79;
}

#mainContent {
    flex: 1;
    padding: 20px;
}




/* ==========================================================
   NAVBAR 
========================================================== */

.navbar-custom {
    min-height: 72px;
    background: #fff;
}

/* Navbar Right */

.navbar-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-right: 12px;
}

/* Sidebar Toggle */

#sidebarToggle {
    width: 42px;
    height: 42px;
    padding: 0;
    border: none;
    border-radius: 10px;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .2s ease;
}

    #sidebarToggle:hover {
        background: #F3FAF1;
    }

    #sidebarToggle i {
        width: 22px;
        height: 22px;
    }

/* Search */

.navbar-search {
    width: 420px;
}

    .navbar-search .input-group-text,
    .navbar-search .form-control {
        background: #F0F2F5;
        border: none;
    }

    .navbar-search .input-group-text {
        border-radius: 50px 0 0 50px;
        padding-left: 16px;
        color: #65676B;
    }

    .navbar-search .form-control {
        border-radius: 0 50px 50px 0;
        padding-left: .35rem;
        box-shadow: none;
    }

        .navbar-search .form-control::placeholder {
            color: #65676B;
        }

        .navbar-search .form-control:focus {
            background: #F0F2F5;
            box-shadow: none;
        }

    .navbar-search .input-group {
        border-radius: 50px;
        overflow: hidden;
    }

/* Message & Notification */

.navbar-icon-btn {
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 50%;
    background: #F2F3F5;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6B7280;
    transition: all .2s ease;
}

    .navbar-icon-btn i {
        width: 20px;
        height: 20px;
        stroke-width: 2.2;
    }

    .navbar-icon-btn:hover,
    .navbar-icon-btn.active {
        background: #F3FAF1;
        color: #8ACE79;
    }

        .navbar-icon-btn:hover i,
        .navbar-icon-btn.active i {
            color: #8ACE79;
        }

/* Profile */

.profile-button {
    border: none;
    background: transparent;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

    .profile-button:hover {
        background: transparent;
    }

.profile-avatar {
    width: 40px;
    height: 40px;
    overflow: hidden;
    border-radius: 50%;
    flex-shrink: 0;
}

    .profile-avatar img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.profile-avatar-large {
    width: 55px;
    height: 55px;
}

.profile-chevron {
    width: 16px !important;
    height: 16px !important;
    color: #6B7280;
}

/* Dropdown */

.profile-dropdown {
    min-width: 260px;
    border: none;
    border-radius: 16px;
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.08);
}

/* Dropdown Items */

.dropdown-item {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .75rem .9rem;
    border-radius: 12px;
    color: #2D3748;
    font-weight: 500;
    transition: all .2s ease;
}

    .dropdown-item i {
        width: 20px;
        height: 20px;
        color: #6B7280;
        transition: all .2s ease;
    }

    .dropdown-item:hover {
        background: #F3FAF1;
        color: #8ACE79;
    }

        .dropdown-item:hover i {
            color: #8ACE79;
        }

