
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&family=Nunito:wght@400;600;700;800&display=swap');

/* Basic CSS Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bjd-grad: linear-gradient(135deg, #6a8dff 0%, #a06bff 55%, #d16bff 100%);
    --bjd-grad-soft: linear-gradient(135deg, #eef2ff 0%, #f7f0ff 100%);
    --bjd-primary: #6c5ce7;
    --bjd-text: #242938;
    --bjd-radius: 16px;
    --bjd-shadow: 0 10px 30px rgba(60, 50, 130, 0.10);
    --bjd-shadow-sm: 0 4px 14px rgba(60, 50, 130, 0.08);
}

body {
    font-family: 'Nunito', 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: linear-gradient(135deg, #eef2ff 0%, #f6f0ff 45%, #fdeffb 100%) no-repeat center center fixed;
    background-size: cover;
    color: #242938;
    padding: 20px;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, .doll-name, .username { font-family: 'Poppins', sans-serif; }

.container {
    max-width: 1500px;
    border-radius: 10px;
    padding: 0px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    background-color: #ffffff;
}

.container.custom-container {
    max-width: 1500px;
    padding: 0px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    background-color: #ffffff;
}

.signup-error {
    color: rgb(230, 157, 157);
    margin-top: 10px;
}

#signup-form {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#signup-form input {
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ddd;
    border-radius: 4px;
    width: 100%;
    max-width: 300px;
}

.button-group.custom-button-group {
    display: flex;
    justify-content: center;
    width: 100%;
}

.button-group.custom-button-group button {
    padding: 10px 20px;
    margin: 5px;
    border: none;
    background-color: #6c5ce7;
    color: white;
    cursor: pointer;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.button-group.custom-button-group button:hover {
    background-color: #5649b8;
}

.site-header, .site-footer {
    background-color: transparent;
    border-radius: 10px;
}

.button-group {
    display: flex;
    justify-content: center;
    width: 100%;
}

.button-group button {
    padding: 10px 20px;
    margin: 5px;
    border: none;
    background-color: #6c5ce7;
    color: white;
    cursor: pointer;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.button-group button:hover {
    background-color: #5649b8;
}

.site-header, .site-footer {
    background-color: transparent;
    border-radius: 10px;
}

.site-footer {
    margin-top: 20px;
    
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #ffffff;
    border-radius: 10px 10px 0 0;
    padding: 20px;
}

.logo img {
    height: 50px;
}

a {
    position: relative;
    text-decoration: none;
    color: #6c5ce7;
    font-weight: bold;
    transition: color 0.3s ease;
}

a:hover {
    color: #897dec !important;
}

a::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #6c5ce7;
    visibility: hidden;
    transform: scaleX(0);
    transition: all 0.3s ease-in-out;
}

a:hover::before {
    visibility: visible;
    transform: scaleX(1);
}

nav ul {
    list-style: none;
    display: flex;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    text-decoration: none;
    color: #E5D0CC;
    font-weight: bold;
}

nav ul li a.active {
    font-size: 1.2em;
    color: #FFD700;
    border-bottom: 2px solid #FFD700;
}

.search-bar input {
    padding: 5px 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.header-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.user-area {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 252px;
}

.user-icon img {
    height: 100px;
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.login-form {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.login-form input {
    padding: 10px;
    margin: 5px 0;
    border: 1px solid #ddd;
    border-radius: 4px;
    width: 100%;
    max-width: 200px;
}

.button-group {
    display: flex;
    justify-content: space-between;
    width: 100%;
    max-width: 200px;
}

.button-group button {
    padding: 10px 20px;
    margin: 5px;
    border: none;
    background-color: #6c5ce7;
    color: white;
    cursor: pointer;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.button-group button:hover {
    background-color: #5649b8;
}

.banner {
    height: 300px;
    flex: 2;
}

.banner-image img {
    width: 100%;
    height: auto;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.main-content {
    display: flex;
    flex-wrap: wrap;
}

.sidebar {
    flex: 1;
    padding: 10px;
    background-color: #f4f6fc;
    border-right: 1px solid #ddd;
    max-width: 252px;
}

.sidebar ul {
    list-style: none;
}

.sidebar ul li {
    margin: 10px 0;
}

.sidebar ul li a {
    text-decoration: none;
    color: #242938;
    font-weight: bold;
}

.dropdown-toggle::after {
    margin-left: .255em;
    vertical-align: .255em;
    content: "";
    border-top: .3em solid;
    border-right: .3em solid transparent;
    border-bottom: 0;
    border-left: .3em solid transparent;
}

.dropdown-toggle {
    background-color: #ffffff !important; 
    color: #E5D0CC !important; 
    border: none !important; 
}

.dropdown-toggle:hover,
.dropdown-toggle:focus {
    background-color: #cccccc !important; 
    color: #E5D0CC !important;
}

.dropdown-menu {
    background-color: #ffffff !important; 
    border: none !important; 
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1) !important;
}

.dropdown-item {
    color: #E5D0CC !important; 
}

.dropdown-item:hover,
.dropdown-item:focus {
    background-color: #cccccc !important; 
    color: #E5D0CC !important; 
}







/* My Dolls Dropdown Styling */
.dropdown2 .dropdown-toggle::after {
    margin-left: .255em;
    vertical-align: .255em;
    content: "";
    border-top: .3em solid;
    border-right: .3em solid transparent;
    border-bottom: 0;
    border-left: .3em solid transparent;
}

.dropdown2 .dropdown-toggle {
    background-color: #ffffff !important; 
    color: #E5D0CC !important; 
    border: none !important; 
}

.dropdown2 .dropdown-toggle:hover,
.dropdown2 .dropdown-toggle:focus {
    background-color: #ffffff !important; 
    color: #E5D0CC !important;
}

.dropdown2 .dropdown-menu {
    background-color: none;
    border: none !important; 
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1) !important;
}

.dropdown2 .dropdown-item {
    color: #E5D0CC !important; 
}

.dropdown2 .dropdown-item:hover,
.dropdown2 .dropdown-item:focus {
    background-color: #ffffff !important; 
    color: #E5D0CC !important; 
}









.user-icon img {
    width: 130px;
    height: 130px; 
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 10px; 
    object-fit: cover; 
}

.user-area {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.user-area .dropdown {
    width: 90%; 
    text-align: center; 
}

.user-area .dropdown-toggle {
    width: 90%; 
    border-radius: 4px; 
}

.user-area .dropdown-menu {
    width: 90%; 
    text-align: left; 
}

.content {
    flex: 3;
    padding: 20px;
    background-color: #f4f6fc;
    color: #242938;
    min-width: 300px;
}

.login-error {
    display: none;
    color: #793a3a;
    background-color: rgba(216, 159, 159, 0.8);
    margin-top: 2px;
    text-align: center;
    font-weight: bold;
}

.site-footer {
    <!-- background: #ffffff; -->
    padding: 20px;
    text-align: center;
    <!-- border-radius: 0 0 8px 8px; -->
    box-shadow: 0 -4px 8px rgba(0, 0, 0, 0.2);
}



.site-footer  {
    color: #897dec;
}

.site-footer ul {
    list-style: none;
    padding: 0;
    margin: 20px 10 10 10;
    display: flex;
    justify-content: center;
}

.site-footer ul li {
    margin: 20 15px;
}

.site-footer ul li a {
    color: #40378a;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.site-footer ul li a:hover {
    color: #6c5ce7;
}


<!-- footer ul {
    list-style: none;
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
    
}

footer ul li {
    margin: 0 15px;
    margin-bottom: 20px;
}

footer ul li a {
    text-decoration: none;
    color: #a19c92;
    font-weight: bold;
}

.social-media a {
    margin: 0 10px;
    align-items: center !important;
    text-align: center !important;
}

.social-media img {
    height: 20px;

    align-items: center !important;
    text-align: center !important;
} -->

.form-horizontal .form-group {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.form-horizontal .control-label {
    flex: 0 0 150px;
    max-width: 150px;
    margin-bottom: 0;
    padding-top: 7px;
    text-align: right;
}

.form-horizontal .col-sm-10 {
    flex: 1;
}

.form-horizontal .col-sm-offset-2 {
    margin-left: 150px;
}

#settings-form .btn-primary {
    margin-top: 15px;
}

#settings-form .btn-danger {
    margin-top: 15px;
}

#avatar-preview {
    margin-top: 10px;
}

.profile-header {
    position: relative;
    width: 100%;
    height: 100px; /* Adjust the height as needed */
    <!-- overflow: hidden; -->
}

.cover-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.edit-cover-photo {
    position: absolute;
    top: 10px;
    right: 10px;
    opacity: 0.5;
}

.profile-details {
    position: relative;
    text-align: center;
    margin-top: 75px; /* Adjust this value based on the height of the cover photo and profile picture */
}

.user-picture {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 150px;
}

.user-picture img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
}

.username {
    top: 50px !important;
    margin-top: 50px !important;
    font-size: 2.5em;
    font-weight: bold;
}

.edit-profile-btn {
    position: absolute;
    top: 0px;
    right: 0px;
}

.profile-content {
    margin-top: 50px;
}

.profile-content {
    margin-top: 20px;
}

.form-horizontal .form-group {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.form-horizontal .control-label {
    flex: 0 0 150px;
    max-width: 150px;
    margin-bottom: 0;
    padding-top: 7px;
    text-align: right;
}

.form-horizontal .col-sm-10 {
    flex: 1;
}

.form-horizontal .col-sm-offset-2 {
    margin-left: 150px;
}

#cover-photo-form .btn-primary {
    margin-top: 15px;
}

.new-post-disabled,
.comment-disabled {
    background-color: #f1f1f1;
    border: 1px solid #ddd;
    padding: 10px;
    border-radius: 5px;
    text-align: center;
    color: #888;
    margin-bottom: 20px;
}

.new-post-disabled p,
.comment-disabled p {
    margin: 0;
    font-size: 1em;
}

.comment {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

.comment-header {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
}

.comment-profile-pic {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    margin-right: 10px;
}

.comment-username {
    font-weight: bold;
    color: #6c5ce7;
    text-decoration: none;
}



.speech-bubble {
    <!-- background-color: #f4f6fc; -->
    border-radius: 10px;
    padding: 10px;
    margin-left: 10px;
    position: relative;
    <!-- box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); -->
}

.ql-toolbar {
    background-color: #BDBDBD;
    font-family: Arial, sans-serif;
}

.new-post-disabled,
.comment-disabled {
    background-color: #e9ecef;
    color: #6c757d;
    padding: 10px;
    border-radius: 5px;
    text-align: center;
}

.new-post {
    margin-bottom: 20px;
}

.new-post textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
}

.new-post input[type="file"],
.new-post select {
    margin-bottom: 10px;
}

.new-post button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #6c5ce7;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.new-post button:hover {
    background-color: #5649b8;
}

.feed {
    margin-top: 20px;
}

.post {
    background-color: #ffffff;
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.post img,
.post video {
    max-width: 100%;
    margin-top: 10px;
    border-radius: 5px;
}

.post small {
    display: block;
    margin-top: 10px;
    color: #888;
}

.post-interactions {
    margin-top: 10px;
    color: #555;
}

.post-interactions span {
    margin-right: 15px;
}

.comments {
    margin-top: 20px;
    border-top: 1px solid #ddd;
    padding-top: 10px;
}

.comment {
    margin-bottom: 10px;
}

.comment small {
    display: block;
    color: #888;
}

.comment form {
    display: flex;
    flex-direction: column;
}

.comment textarea {
    width: 100%;
    padding: 5px;
    margin-bottom: 5px;
    border-radius: 5px;
    border: 1px solid #ccc;
}

.comment button {
    align-self: flex-end;
    padding: 5px 10px;
    background-color: #6c5ce7;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.comment button:hover {
    background-color: #5649b8;
}

.comment small {
    display: block;
    color: #888;
}

.comment form {
    display: flex;
    flex-direction: column;
}

.comment textarea {
    width: 100%;
    padding: 5px;
    margin-bottom: 5px;
    border-radius: 5px;
    border: 1px solid #ccc;
}

.comment button {
    align-self: flex-end;
    padding: 5px 10px;
    background-color: #6c5ce7;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.comment button:hover {
    background-color: #5649b8;
}



.about-section {
        background: #ffffff !important;
        color: #242938 !important;
        padding: 20px;
        border-radius: 8px;
    }

    .policy-section, .guidelines-section {
    padding: 20px;
    background: #ffffff !important;
    border-radius: 8px;
    margin-bottom: 20px;
}


.about-section h1, .about-section h2 {
        text-align: center;
        color: #242938 !important;
    }

.about-section p {
        text-align: justify;
        color: #242938 !important;
    }





    
    .contact-section {
        background: #c3c4c9;
        padding: 20px;
        border-radius: 8px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }

    .contact-section h1, .contact-section p {
        text-align: center;
        color: #242938;
    }

    .contact-form {
        max-width: 600px;
        margin: 0 auto;
    }

    .contact-form .form-group {
        margin-bottom: 15px;
    }

    .contact-form label {
        display: block;
        margin-bottom: 5px;
        color: #242938;
    }

    .contact-form input, .contact-form textarea {
        width: 100%;
        padding: 10px;
        border: 1px solid #ddd;
        border-radius: 4px;
        background-color: #ffffff;
        color: #242938;
    }

    .contact-form button {
        padding: 10px 20px;
        background-color: #6c5ce7;
        color: #fff;
        border: none;
        border-radius: 4px;
        cursor: pointer;
    }

    .contact-form button:hover {
        background-color: #5649b8;
    }

















    
/* User info */
.user-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 20px;

    width: 100%;
}

.user-info-row {
    display: flex;
    justify-content: space-between;
    width: 100%;
    max-width: 900px;
    margin-bottom: 10px;
}

.user-info-item {
    flex: 1;
    background-color: #ffffff;
    border-radius: 10px;
    padding: 15px;
    margin-right: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    
}

.user-info-item:last-child {
    /* margin-right: 0; */
}

.user-info-item.bio-item {
    width: 100%;
    /* max-width: 800px; */
}

.user-info-item.social-media-item {
    width: 100%;
    /* max-width: 800px; */
    margin-top: 10px;

}

.user-info-item .label {
    font-weight: bold;
    color: #1c202c;
    display: block;
    margin-bottom: 5px;
}

.user-info-item .value,
.user-info-item .bio-content {
    color: #242938;
}



.social-media-links {
    list-style-type: none;
    padding: 0;
    margin: 0;

}

.social-media-links li {
    margin-bottom: 5px;
}

.social-media-links a {
    text-decoration: none;
    font-weight: bold;
}

.social-media-links a:hover {
    text-decoration: underline;
}












.doll-profile {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
    background: #ffffff;
    color: #242938 !important;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    animation: slideInUp 1s ease-in-out;
}

.doll-name {
    margin: 0;
    font-size: 2.5em;
    color: #242938    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.doll-additional-info {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-top: 10px;
    color: #242938}

.doll-additional-info p {
    margin: 0;
    font-size: 1.1em;
    padding: 5px 10px;
    background: #f4f6fc;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.doll-details h3 {
    font-size: 1.8em;
    color: #f6f8fd;
    margin-top: 20px;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
    text-align: center;
}

.doll-details p {
    font-size: 1.2em;
    color: #242938;
    line-height: 1.6;
    padding: 10px;
    background: #f4f6fc;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: background 0.3s ease-in-out;
}

.doll-details p:hover {
    background: #f2f2f2;
}






.gallery-item {
    <!-- background-color: #c3c4c9; -->
    border: 1px solid #f6f8fd;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    max-width: 250px;
    width: 100%;
    margin-top: 20px;
    margin-right: 30px;
    color: #242938;

}



.gallery-item-info {
    padding: 5px;
    background-color: #f4f6fc;
    text-align: center;
    height: auto; /* Remove fixed height */
    
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex-shrink: 0; /* Ensure info does not shrink */
    text-decoration: none !important;
}

.gallery-item-stats {
    padding: 5px;
    background-color: #f4f6fc;
    /* display: flex;*/
    justify-content: space-between; 
    height: auto; /* Remove fixed height */

    align-items: center;
    font-size: 14px;
    color: #242938;
    flex-shrink: 0; /* Ensure stats do not shrink */
    text-decoration: none !important;
    border: 1px solid #ddd;
    border-radius: 10px;
}




.doll-card {
    background-color: #c3c4c9;
    border: 1px solid #ddd;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    max-width: 250px;
    width: 100%;
    margin-top: 20px;
    margin-right: 30px;
    color: #242938;


}

.dolls-name {
    padding: 10px;
    font-size: 16px;
    font-weight: bold;
    color: #242938;
    text-align: center;
    background-color: #c3c4c9;
    text-decoration: none !important;

}








.preview-thumbnail .form-check {
    position: absolute;
    bottom: 5px;
    left: 5px;
    <!-- background: rgba(255, 255, 255, 0.7); -->
    background: #f4f6fc !important;
     
    padding: 2px 5px;
    border-radius: 3px;
}

.uploading-text {
    font-size: 16px;
    color: #242938 !important;
}

.upload-card {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f4f6fc;
    border: 2px dashed #ddd;
    border-radius: 10px;
    cursor: pointer;
}

.upload-placeholder {
    text-align: center;
    color: #242938;
    font-size: 1.2em;
}

.modal-content {
    border-radius: 10px;
    color: #242938 !important;
    background: #f4f6fc !important;
}

.form-check {
    position: absolute;
    bottom: 5px;
    left: 5px;
    color: #242938 !important;
    background: #ffffff !important;
    padding: 2px 5px;
    border-radius: 3px;
}

.form-check2 {
    position: absolute;
    bottom: 0px;
    left: 20px;
    color: #242938 !important;
    background: #ffffff !important;
    padding: 2px 5px;
    border-radius: 3px;
}


.preview-thumbnail.uploading::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #e5e5e5;
    border-radius: 5px;
    z-index: 1;
}

.preview-thumbnail.uploading::after {
    content: 'Uploading...';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 12px;
    color: #242938 !important;
    z-index: 2;
}

.upload-progress {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
}

.uploading-text {
    font-size: 16px;
    color: #242938 !important;
}

.pagination .page-link {
    margin: 0 5px;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    background-color: #e5e5e5;

}

.pagination .page-link.active {
    background-color: #f5f7fc;
    color: #242938 !important;
    border-color: #e5e5e5;
}



.share-menu {
    display: none;
    position: absolute;
    top: 40px;
    left: 0;
    background-color: #f4f6fc !important;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    width: 200px;
    z-index: 1000;
}


.share-option {
    display: block;
    padding: 10px;
    color: #242938 !important;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.share-option:hover {
    background-color: #f5f7fc;
}





.comment-text {
    margin-top: 5px;
    width: 100% !important;/* Make the bubble take the full width */
    color: #242938;

}


.comment {
    display: flex;
    align-items: flex-start;
    border-radius: 10px;

    margin-bottom: 10px;
    width: 100% !important;/* Make the bubble take the full width */
    background-color: #dbdde2;



}





.comment-form-fixed {
    position: sticky;
    bottom: 0;
    background: #f4f6fc !important;
    padding: 10px;
    border-top: 1px solid #ddd;
    width: 100%;
}

.comment-form textarea {
    width: 100%;
    resize: vertical;
    color: #242938 !important;
    background: #f4f6fc !important;

}




.comment-bubble {
    background-color: #dbdde2;
    padding: 10px;
    border-radius: 10px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100% !important;/* Make the bubble take the full width */
    box-sizing: border-box; /* Include padding and border in the element's total width */
}

.comment-timestamp {
    font-size: 12px;
    color: #242938 !important;
    margin-top: 5px;
}

.description-section {
    margin-bottom: 20px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 10px;
    background-color: #e5e5e5;
    color: #242938 !important;

}



.likes-dropdown {
    position: absolute;
    top: 40px; /* Adjusted to be below the button */
    left: 0;
    width: 250px;
    max-height: 300px;
    overflow-y: auto;
    background: #dbdde2;
    border: 1px solid #ddd;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
    padding: 10px;
}

.likes-dropdown .like-item a {
    text-decoration: none;
    color: #6c5ce7 !important;
}

.likes {
    cursor: pointer;
    color: #6c5ce7 !important;
    display: inline-flex;
    align-items: center;
}

.likes:hover {
    color: #7b6ce9;
}


.likes-dropdown .like-item a:hover {
    text-decoration: none !important;
}















.friend-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #dbdde2;
    color: #242938 !important;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}









.review-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #ffffff !important;
    color: #242938 !important;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    cursor: pointer;
    height: 300px; /* Set a fixed height for the review cards */
    width: 100%; /* Ensure the card takes up the full width of the container */
}









/* Reply Form */
.reply-form textarea {
    background-color: #f4f6fc !important;
    color: var(--text-color);
    border: 1px solid #444;
}

.reply-form button {
    background-color: #6c5ce7 !important;
    border: none;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    margin-top: 10px;
}

.reply-form button:hover {
    background-color: #ffffff !important;
}



/* Reply List */
.reply-item {
    background-color: #f4f6fc;
    margin-bottom: 10px;
    padding: 15px;
    border-radius: 5px;
    border: 1px solid #555;
}

.reply-item strong {
    color: #6c5ce7 !important;
}
.reply-item small {
    color: #242938 !important;
}


.thread-post {
    background-color: #f4f6fc !important;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 5px;
    border: 1px solid #444;
}

/* Username clickable link */
.thread-post a {
    color: #6c5ce7 !important;
    font-weight: bold;
    text-decoration: none;
}
























.search-container input[type="text"] {
    padding: 8px;
    font-size: 16px;
    border: 1px solid #555;
    border-radius: 5px;
    margin-right: 10px;
    background-color: #f4f6fc !important;
    color: #242938 !important;
}

.search-container button {
    background-color: #6c5ce7 !important;
    border: none;
    color: #242938 !important;
    padding: 8px 16px;
    border-radius: 5px;
    cursor: pointer;
}

.search-container button:hover {
    background-color: #0056b3;
}

/* Back to Community Button */
.back-to-community {
    display: inline-block;
    margin-bottom: 20px;
    padding: 10px 20px;
    background-color: #dbdde2;
    color: #242938 !important;
    text-decoration: none;
    border-radius: 5px;
}

.back-to-community:hover {
    background-color: #ffffff !important;
}

.thread-list ul li {
    background-color: #f4f6fc !important;
    padding: 15px;
    margin-bottom: 10px;
    border-radius: 5px;
    transition: all 0.2s ease-in-out;
}

.thread-list ul li:hover {
    background-color: #f4f6fc !important;
}

.thread-list ul li a {
    color: #6c5ce7 !important;
    font-weight: bold;
    text-decoration: none;
}


.thread-list ul li .meta {
    color: #242938 !important;
    font-size: 14px;
    margin-top: 5px;
}

.create-thread-btn {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    background-color: #dbdde2;
    color: #242938 !important;
    text-decoration: none;
    border-radius: 5px;
}

.create-thread-btn:hover {
    background-color: #ffffff !important;
}


































.subforum {
        margin-top: 10px;
        border: 1px solid #eaeaea;
        border-radius: 5px;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    }

    /* Subforum List */
    .subforum ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .forum-section h2 {
        background-color: #dbdde2;
        color: #242938 !important;
        padding: 10px 15px;
        border-left: 5px solid #ff6f61;
        margin-top: 30px;
        font-size: 22px;
        font-weight: bold;
        border-radius: 4px;
        box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    }

    .subforum ul li {
        background-color: #f4f6fc !important;
        padding: 15px;
        border-bottom: 1px solid #eaeaea;
        transition: all 0.2s ease-in-out;
        display: flex;
        justify-content: space-between;
    }

    .subforum ul li a {
        text-decoration: none;
        font-size: 16px;
        color: #7b6ce9;
        font-weight: bold;
        display: flex;
        align-items: center;
    }

    .subforum ul li p {
        margin: 5px 0;
        font-size: 14px;
        color: #242938 !important;
        flex-grow: 1;
        padding-left: 10px;
    }

    .subforum ul li:hover {
        background-color: #f9f9f9;
        cursor: pointer;
    }

    /* Add right-side information, like posts and last post details */
    .subforum ul li .info {
        text-align: right;
        font-size: 12px;
        color: #242938 !important;
    }

    /* Forum Stats */
    .subforum ul li .info .posts-count {
        font-weight: bold;
        color: #242938 !important;
    }

    /* Hover Effect on Links */
    .subforum ul li a:hover {
        color: #242938 !important;
    }

    /* Chat Box */
#chat-box {
    background-color: #f4f6fc !important;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 20px;
    height: 400px;
    overflow-y: scroll;
    color: #242938 !important;
}

#chat-box p {
    margin: 10px 0;
    padding: 5px;
    font-size: 14px;
    color: #242938 !important;
}

#chat-box p strong {
    font-size: 16px;
    color: #242938 !important;
    cursor: pointer;
}

#chat-box p small {
    color: #242938 !important;
    font-size: 12px;
}

/* Username hover effect */
#chat-box p strong:hover {
    text-decoration: underline;
    color: #7b6ce9;
}

#chat-form textarea {
    width: 100%;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
    background-color: #f4f6fc !important;
    color: #242938 !important;
}

#chat-form .btn {
    background-color: #f4f6fc !important;
    border: none;
    color: #242938 !important;
    padding: 10px 20px;
    cursor: pointer;
}

#chat-form .btn:hover {
    background-color: #f4f6fc !important;
}



































.modal-content {
    background-color: #f4f6fc !important;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    max-width: 400px;
    width: 100%;
    text-align: center;
    position: relative;
    margin: auto; /* Centering fix */
}

.close {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 24px;
    color: #7b6ce9;
    cursor: pointer;
}

.close:hover {
    color: #6c5ce7 !important;
}


.modal-content h3 {
    margin-bottom: 20px;
    font-size: 24px;
    font-weight: bold;
    color: #242938 !important;
}

.modal-content .profile-picture {
    border-radius: 50%;
    border: 5px solid #007bff;
    width: 100px;
    height: 100px;
    margin-bottom: 15px;
}

.modal-content h4 {
    font-size: 20px;
    font-weight: 600;
    color: #242938 !important;
    margin-bottom: 25px;
    text-transform: capitalize;
}

/* QR Code Styling */
.card-preview #qrcode img {
    border: 8px solid #f1f1f1;
    padding: 10px;
    border-radius: 8px;
    background: #f5f7fc;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 15px;
}

/* Download Button */
#downloadCardBtn {
    background-color: #6152cf;
    color: #242938 !important;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    box-shadow: 0 6px 12px rgba(40, 167, 69, 0.4);
    transition: background-color 0.3s ease;
}

#downloadCardBtn:hover {
    background-color: #7b6ce9;
}



























/* Media Queries for Responsiveness */
@media (max-width: 1200px) {
    .navbar {
        flex-direction: column;
        align-items: flex-start;
    }

    nav ul {
        flex-direction: column;
        align-items: flex-start;
    }

    .header-main {
        flex-direction: column;
        align-items: flex-start;
    }

    .user-area {
        max-width: 100%;
    }

    .main-content {
        flex-direction: column;
    }

    .sidebar {
        max-width: 100%;
        border-right: none;
        border-bottom: 1px solid #ddd;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 10px;
    }

    nav ul li {
        margin: 5px 0;
    }

    .search-bar input {
        width: 100%;
    }

    .user-icon img {
        height: 60px;
    }

    .login-signup button {
        padding: 8px 16px;
    }

    .banner {
        height: 200px;
    }

    .sidebar ul li {
        margin: 5px 0;
    }

    .content {
        padding: 10px;
    }

    footer ul {
        flex-direction: column;
    }

    footer ul li {
        margin: 5px 0;
    }
}

@media (max-width: 480px) {
    .navbar {
        padding: 5px;
    }

    .user-icon img {
        height: 40px;
    }

    .login-signup button {
        padding: 6px 12px;
        margin: 3px;
    }

    .banner {
        height: 150px;
    }

    .main-content {
        padding: 10px 5px;
    }

    .content {
        padding: 5px;
    }
}

/* =====================================================================
   BJD VAULT — MODERN REVAMP LAYER  (loaded last, so it wins)
   ===================================================================== */

/* ---- Shell & containers ---- */
.container,
.container.custom-container {
    max-width: 1300px;
    border-radius: 22px;
    background-color: #ffffff;
    box-shadow: var(--bjd-shadow);
    overflow: hidden;
}

/* Kill the dated animated underline on every link */
a::before { display: none !important; }
a { font-weight: 600; transition: color .2s ease, background .2s ease, transform .2s ease; }

/* ---- Top navigation ---- */
.navbar,
.navbar.navbar-custom {
    background: #ffffff;
    border-radius: 0;
    padding: 14px 26px;
    box-shadow: 0 2px 14px rgba(60, 50, 130, 0.06);
    position: sticky;
    top: 0;
    z-index: 900;
    gap: 16px;
}
nav ul { gap: 4px; align-items: center; }
nav ul li { margin: 0 2px; }
nav ul li a,
nav ul li a.nav-link {
    color: #3a3f52 !important;
    font-weight: 700;
    padding: 9px 16px;
    border-radius: 999px;
    transition: all .2s ease;
}
nav ul li a:hover,
nav ul li a.nav-link:hover {
    color: #6a3dff !important;
    background: #f0ecff;
}
nav ul li a.active,
nav ul li a.nav-link.active {
    color: #ffffff !important;
    background: var(--bjd-grad);
    border-bottom: none;
    font-size: 1em;
    box-shadow: 0 6px 16px rgba(140, 90, 255, .35);
}

/* Search box */
.search-bar input,
.search-container input[type="text"] {
    padding: 10px 18px !important;
    border: 1px solid #e6e3f5 !important;
    border-radius: 999px !important;
    background: #f6f5ff !important;
    color: #333 !important;
    outline: none;
    min-width: 220px;
}
.search-bar input:focus { border-color: #a06bff !important; background: #fff !important; }

/* ---- Buttons ---- */
.btn-primary,
.button-group button,
.new-post button,
.comment button,
.contact-form button,
.create-thread-btn,
.reply-form button,
#chat-form .btn {
    background: var(--bjd-grad) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 999px !important;
    padding: 10px 22px !important;
    font-weight: 700 !important;
    box-shadow: 0 6px 16px rgba(140, 90, 255, .28) !important;
    transition: transform .15s ease, box-shadow .15s ease, filter .15s ease !important;
}
.btn-primary:hover,
.button-group button:hover,
.new-post button:hover,
.comment button:hover,
.contact-form button:hover,
.create-thread-btn:hover,
.reply-form button:hover,
#chat-form .btn:hover {
    transform: translateY(-2px);
    filter: brightness(1.05);
    box-shadow: 0 10px 22px rgba(140, 90, 255, .38) !important;
    color: #fff !important;
}
.btn-secondary {
    background: #f0ecff !important;
    color: #6a3dff !important;
    border: none !important;
    border-radius: 999px !important;
    font-weight: 700 !important;
    padding: 10px 22px !important;
}
.btn-secondary:hover { background: #e5dcff !important; color: #5a2ee0 !important; }
.btn-danger { border-radius: 999px !important; }

/* ---- User area dropdowns (fix light-on-white text) ---- */
.dropdown-toggle,
.dropdown2 .dropdown-toggle {
    background: #f5f3ff !important;
    color: #4a3f6b !important;
    border-radius: 999px !important;
    font-weight: 700 !important;
}
.dropdown-toggle:hover,
.dropdown-toggle:focus,
.dropdown2 .dropdown-toggle:hover,
.dropdown2 .dropdown-toggle:focus {
    background: #ece7ff !important;
    color: #6a3dff !important;
}
.dropdown-menu,
.dropdown2 .dropdown-menu {
    background: #ffffff !important;
    border-radius: 14px !important;
    box-shadow: 0 12px 30px rgba(60,50,130,.16) !important;
    padding: 8px !important;
}
.dropdown-item,
.dropdown2 .dropdown-item {
    color: #3a3f52 !important;
    border-radius: 10px !important;
    padding: 9px 14px !important;
    font-weight: 600 !important;
}
.dropdown-item:hover,
.dropdown-item:focus,
.dropdown2 .dropdown-item:hover,
.dropdown2 .dropdown-item:focus {
    background: #f0ecff !important;
    color: #6a3dff !important;
}
.user-icon img { border: 3px solid #fff; box-shadow: 0 6px 18px rgba(120,90,220,.25); }

/* ---- Banner ---- */
.banner-image img { border-radius: 18px; box-shadow: var(--bjd-shadow-sm); }

/* ---- Content & sidebar ---- */
.content { background: #ffffff; border-radius: 0; }
.sidebar {
    background: var(--bjd-grad-soft);
    border-right: none;
    border-radius: 0;
}
.sidebar ul li a { color: #4a3f6b; }
.sidebar ul li a:hover { color: #6a3dff; }

/* ---- Cards (dolls, gallery, friends, reviews) ---- */
.doll-card, .gallery-item, .friend-card, .review-card {
    background: #ffffff !important;
    border: 1px solid #eee7fb !important;
    border-radius: 18px !important;
    box-shadow: var(--bjd-shadow-sm) !important;
    transition: transform .2s ease, box-shadow .2s ease !important;
}
.doll-card:hover, .gallery-item:hover, .friend-card:hover, .review-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 34px rgba(120,90,220,.20) !important;
}
.dolls-name { background: transparent !important; color: #2b2b3d !important; }

/* =====================================================================
   FORUM / COMMUNITY — bright & interactive
   ===================================================================== */
.container h1 { font-weight: 800; }

.forum-section { margin-top: 26px; }
.forum-section h2 {
    background: var(--bjd-grad) !important;
    color: #ffffff !important;
    padding: 14px 22px !important;
    border-left: none !important;
    border-radius: 16px !important;
    font-size: 20px !important;
    font-weight: 800 !important;
    letter-spacing: .3px;
    box-shadow: 0 8px 20px rgba(140,90,255,.28) !important;
    display: flex;
    align-items: center;
    gap: 10px;
}
.forum-section h2::before { content: "💬"; font-size: 20px; }

.subforum {
    margin-top: 14px;
    border: none !important;
    border-radius: 18px !important;
    background: #ffffff;
    box-shadow: var(--bjd-shadow-sm) !important;
    overflow: hidden;
}
.subforum ul li {
    background: #ffffff !important;
    padding: 18px 22px !important;
    border-bottom: 1px solid #f0edf9 !important;
    transition: background .2s ease, transform .15s ease, box-shadow .2s ease !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    position: relative;
    border-left: 4px solid transparent;
}
.subforum ul li:last-child { border-bottom: none !important; }
.subforum ul li:hover {
    background: linear-gradient(90deg, #f6f2ff 0%, #ffffff 60%) !important;
    border-left: 4px solid #a06bff;
    transform: translateX(3px);
    cursor: pointer;
}
.subforum ul li a {
    font-size: 17px !important;
    color: #2b2540 !important;
    font-weight: 800 !important;
}
.subforum ul li:hover a { color: #6a3dff !important; }
.subforum ul li p {
    color: #7b7690 !important;
    font-size: 14px !important;
    font-weight: 600;
}
.subforum ul li .info {
    text-align: right;
    font-size: 12px;
    color: #8a85a0 !important;
    white-space: nowrap;
}
.subforum ul li .info .posts-count {
    display: inline-block;
    background: #f0ecff;
    color: #6a3dff !important;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 999px;
    margin-bottom: 4px;
}

/* Thread list */
.thread-list ul li {
    background: #ffffff !important;
    border: 1px solid #eee7fb;
    border-radius: 14px !important;
    padding: 16px 18px !important;
    box-shadow: var(--bjd-shadow-sm);
}
.thread-list ul li:hover { background: #f8f5ff !important; transform: translateY(-2px); }
.thread-list ul li a { color: #2b2540 !important; font-weight: 800; }
.thread-list ul li a:hover { color: #6a3dff !important; }
.thread-list ul li .meta { color: #8a85a0 !important; }

.back-to-community {
    background: #f0ecff !important;
    color: #6a3dff !important;
    border-radius: 999px !important;
    font-weight: 700;
    padding: 9px 18px !important;
}
.back-to-community:hover { background: #e5dcff !important; }

.thread-post, .reply-item {
    background: #ffffff !important;
    border: 1px solid #eee7fb !important;
    border-radius: 16px !important;
    box-shadow: var(--bjd-shadow-sm);
}
.thread-post a, .reply-item strong { color: #6a3dff !important; }

/* Community chat */
#chat-box {
    background: var(--bjd-grad-soft) !important;
    border: 1px solid #eee7fb !important;
    border-radius: 18px !important;
    color: #33304a !important;
}
#chat-box p {
    background: #ffffff;
    border-radius: 14px;
    padding: 10px 14px !important;
    box-shadow: 0 2px 8px rgba(60,50,130,.05);
}
#chat-box p strong { color: #6a3dff !important; }
#chat-form textarea {
    border-radius: 14px !important;
    border: 1px solid #e6e3f5 !important;
    background: #fff !important;
    color: #33304a !important;
}

/* Forms: friendly rounded inputs everywhere */
.form-control,
.new-post textarea,
.contact-form input,
.contact-form textarea,
.login-form input,
#signup-form input {
    border-radius: 12px !important;
    border: 1px solid #e6e3f5 !important;
}
.form-control:focus { border-color: #a06bff !important; box-shadow: 0 0 0 3px rgba(160,107,255,.15) !important; }

/* Footer */
.site-footer { box-shadow: none; margin-top: 26px; }
.site-footer ul li a { color: #6a3dff !important; font-weight: 700; }
.site-footer ul li a:hover { color: #a06bff !important; }

/* Verify alert softer */
.alert-warning { border-radius: 14px; }
