:root {
    --navy: #293d50;
    --light-blue: #EEF4FBFF;
}

body { 
    overflow-x: hidden; 
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    background: #f5f5f5;
    color: #222;
    font-weight: 300;
}

.content {
    background: #fff;
    border-radius: 5px;
    padding: 2rem 1.5rem;
}

.forum-container {
    max-width: 800px;
}

.form-control, .form-control.sm {
    border-color: #c8cdd2;
}

.purple {
    color: #ab296a;
}

h1, .h1 {
    font-size: 1.6rem;
    font-weight: 500;
    line-height: 1;
    letter-spacing: -0.03em;
    margin: 0 0 2rem;
    color: #1E2D3BFF;
}

h2, .h2 {
    font-size: 1.2rem;
    font-weight: 500;
    line-height: 1.25;
    letter-spacing: -0.02em;
    margin-bottom: .9rem;
}

h3, .h3 {
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.3;
    margin-bottom: .8rem;
}

h4, .h4 {
    font-size: 1.1rem;
    font-weight: 500;
    line-height: 1.35;
    margin-bottom: .7rem;
}

h5, .h5 {
    font-size: 1.125rem;
    font-weight: 500;
    line-height: 1.4;
    margin-bottom: .6rem;
}

h6, .h6 {
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.5;
    margin-bottom: .5rem;
}

.lead-text {
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.6;
    color: #666;
}

.strong, strong {
    font-weight: 500;
}


/*  FORUM  */


.forum-images {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.forum-image {
    width: 140px;
    height: 140px;
    object-fit: cover;
    border-radius: 5px;
    display: block;
}

.forum-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.forum-preview-item {
    position: relative;
}

.forum-preview-image {
    width: 90px;
    height: 90px;
    object-fit: cover;
    border-radius: 5px;
    display: block;
}

.forum-preview-remove {
    position: absolute;
    top: -6px;
    right: -6px;

    width: 22px;
    height: 22px;

    padding: 0;
    border: 0;
    border-radius: 50%;

    background: #212529;
    color: #fff;

    font-size: 17px;
    line-height: 20px;

    cursor: pointer;
}

.forum-reply {
    font-size: 0.8rem;
    color: var(--bs-secondary-color);
    text-decoration: none;
}

.forum-replies {
    margin-top: 0.75rem;
}

.forum-reply-post {
    margin-left: 2rem;
    margin-bottom: .5rem;
    padding-left: 1rem;
    border-radius: 5px;
    background: #EEF4FBFF;
}

.forum-reply-indicator {
    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 0.5rem 0.75rem;

    font-size: 0.85rem;

    background: var(--bs-tertiary-bg);
    border-left: 3px solid var(--bs-secondary-color);
    border-radius: 4px;
}

.forum-reply:hover {
    text-decoration: underline;
}


/*  btn-kamel  */


.btn-kamel {
    color: #fff;
    background-color: var(--navy);
    border-color: var(--navy);
}

.btn-kamel:hover,
.btn-kamel:focus {
    color: #fff;
    background-color: #354d64;
    border-color: #354d64;
}

.btn-kamel:active,
.btn-kamel.active {
    color: #fff;
    background-color: #3d5870;
    border-color: #3d5870;
}


/* TABLE  */

.table {
    font-size: .8rem;
}

.table>:not(caption)>*>* {
    padding: .25rem .7rem;
}

th {
    font-weight: 500;
    border-top: 1px solid black;
    border-bottom: 1px solid black;
    /*background-color: rgb(248, 249, 250) !important;*/
}

.user-row {
    cursor: pointer;
}


/* UPLOAD */


.upload-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.75);
    z-index: 9999;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #fff;
}

.upload-overlay h5 {
    margin-bottom: .5rem;
}

.upload-overlay p {
    margin: 0;
    opacity: .8;
}


/* GALLERI  */


.gallery-thumb {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    cursor: pointer;
    transition: .2s;
}

.gallery-thumb:hover {
    transform: scale(1.03);
}


/*  LOGIN  */


.form-signin {
    width: 350px;
    padding: 1rem;
}

.form-signin input[type="email"] {
  margin-bottom: -1px;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}

.form-signin input[type="password"] {
  margin-bottom: 10px;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

.form-signin input[name="pass1"] {
  margin-bottom: -1px;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}

.form-signin input[name="pass2"] {
  margin-bottom: 10px;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

.login-wrapper {
    min-height: calc(100vh - 65px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    /*margin-top: -8vh;*/
}

.login-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 1rem 0 1rem 0;
}

.logo-login {
    height: 125px;
    width: auto;
}

.kamelpung {
    margin-top: .5rem;
    font-size: 2rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.login-links {
    font-size: 14px;
    color: #444;
    padding-left: 12px;
    padding-right: 12px;
    text-decoration: none;
}

.login-links.active {
    font-weight: 500;
    color: #000;
}

.login-links:hover {
    color: #000;
}

.carousel-image {
    width: 300px;
    height: auto;
    object-fit: cover;
    border-radius: 5px;
}


/*  SHOP  */

.shop-card {
    border: 1px solid #dee2e6;
    border-radius: 5px;
    padding: .5rem;
    height: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
}

.shop-image {
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 1rem;
}

.shop-card h5 {
    margin-bottom: .5rem;
    font-size: 1rem;
    font-weight: 500;
}

.shop-description {
    font-size: .75rem;
    margin-bottom: .75rem;
}

.shop-price {
    font-size: 1.25rem;
    font-weight: 600;
    margin-top: auto;
    color: #1E2D3BFF;
}

.quantity-input {
    width: 40px;
    padding-left: .4rem;
    padding-right: .4rem;
    text-align: center;
}





/*  NAVBAR  */


.navbar-brand, .navbar-brand:hover {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 0;
    font-size: 22px;
    font-weight: 400;
    text-transform: uppercase;
    line-height: 1;
    color: #444;
    margin-right: 25px;
}

.logo {
    height: 20px;
    width: auto;
    display: block;
}

.navbar {
    background: #fff;
    border-bottom: 1px solid #fff;
    padding-top: .9rem;
    padding-bottom: .9rem;
}

.nav-link, .dropdown-item {
    font-size: .82rem;
    font-weight: 400;
    text-transform: uppercase;
}

.dropdown-item {
    font-size: .75rem;
    font-weight: 400;
    text-transform: uppercase;
}

.navbar-toggler {
    font-size: 1.8rem;
    color: #222;
}

.navbar-toggler:focus {
    box-shadow: none;
}


/* ERROR PAGE **/

.error-page {
    min-height: calc(100vh - 75px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
}

.error-page h1 {
    font-size: 2rem;
    font-weight: 700;
    margin: .5rem 0.5rem;
}

.error-page p {
    max-width: 450px;
    color: #666;
}




@media (max-width: 767.98px) {
    .forum-container {
        max-width: 100%;
    }
    .forum-image {
        width: 100%;
        height: auto;
        max-width: 100%;
        object-fit: contain;
    }

    .forum-images {
        width: 100%;
    }

    .forum-images a {
        display: block;
        max-width: 100%;
    }

    .forum-reply-post {
        margin-left: 1rem;
        padding-left: 0.75rem;
    }
}


@media (max-width: 991.98px) {
    .navbar-collapse {
        padding-top: 1rem;
    }
    .carousel-image {
        width: 100%;
    }

}