/*
=========================================================================
📁 ફાઈલ: style.css
📍 પાથ: public_html/assets/css/style.css
🎯 કામ: વેબસાઈટની મુખ્ય ડીઝાઇન, સ્પીડ ઓપ્ટિમાઇઝ્ડ અને ડુપ્લિકેટ ફ્રી
=========================================================================
*/
/* --- ૧. પાયાનું સેટિંગ (Base Setup) --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
    line-height: 1.6;
    overscroll-behavior-y: contain;
}

html.modal-open,
body.modal-open {
    overflow: hidden !important;
    height: 100vh !important;
    overscroll-behavior: none !important;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* --- ૨. લોડિંગ સ્ક્રીન (Loader) --- */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.95);
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
}

.loading-overlay[style*="display: flex"],
.loading-overlay.active {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

body:has(.loading-overlay[style*="display: flex"]),
body:has(.loading-overlay.active) {
    overflow: hidden !important;
}

.spinner {
    width: 60px;
    height: 60px;
    border: 6px solid #e0e0e0;
    border-top: 6px solid #0ea318;
    border-radius: 50%;
    animation: spin 1s infinite;
    margin: 0 auto;
}

.mini-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(0,0,0,0.1);
    border-top-color: #00970a;
    border-radius: 50%;
    animation: spin 1s infinite;
    vertical-align: middle;
}


@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* --- ૩. હેડર અને નેવિગેશન (Header & Nav) --- */
/* --- ૩. હેડર અને નેવિગેશન (Header & Nav) --- */
header {
    background: white;
    padding: 10px 20px;
    border-radius: 50px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 15px;
    /* આ માર્જિન હેડર અને નીચેના કન્ટેન્ટ વચ્ચે જગ્યા રાખશે */
    position: sticky;
    top: 10px;
    z-index: 1000;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.logo {
    margin-left: 15px;
}

.logo a {
    text-decoration: none;
    color: inherit;
}

.logo h1 {
    font-size: 1.8rem;
    color: #075E54;
    margin: 0;
}

.logo span {
    color: #0ea318;
    font-size: 1rem;
}

nav {
    display: flex;
    align-items: center;
}

.nav-right-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.profile-section {
    display: flex;
    align-items: center;
    background: #e8f5e9;
    padding: 5px 15px 5px 5px;
    border-radius: 50px;
    transition: background-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.user-link {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #075E54;
    font-weight: 600;
    transition: color 0.2s ease;
}

.user-link img {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #0ea318;
    transition: border-color 0.2s ease;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    display: block;
}

.profile-section:hover {
    transform: scale(1.04) translateZ(0);
}

.profile-section:hover .user-link {
    color: #ffffff;
}

.profile-section:hover .user-link img {
    border-color: #ffffff;
}

.notif-bell,
.header-search-btn,
.header-menu-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background-color: #e8f5e9;
    color: #075E54;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
    border: none;
    cursor: pointer;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.bell-icon,
.search-icon,
.header-menu-btn svg {
    font-size: 1.3rem;
    color: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.notif-bell:hover,
.header-search-btn:hover,
.header-menu-btn:hover,
.header-menu-btn.active {
    transform: scale(1.06) translateZ(0);
}

.notif-bell:hover .bell-icon,
.header-menu-btn:hover svg,
.header-menu-btn.active svg,
.header-search-btn:hover .search-icon {
    color: #ffffff;
}

.notif-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    background-color: #e74c3c;
    color: white;
    font-size: 0.8rem;
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 50px;
    border: 2px solid white;
    line-height: 1;
}

/* --- ૪. ગ્લોબલ બટન્સ (Buttons) --- */
.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    text-align: center;
    font-family: inherit;
    line-height: 1.5;
}

.btn-primary {
    background: #0ea318;
    color: white;
}

.btn-primary:hover {
    background: #075E54;
    transform: translateY(-2px);
}

.btn-post-ad {
    display: block;
    width: 100%;
    background: linear-gradient(135deg, #0ea318, #075E54);
    color: white;
    padding: 12px 20px;
    font-size: 1.2rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: bold;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 151, 10, 0.2);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-post-ad:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 151, 10, 0.3);
}

/* કોલ અને વોટ્સએપ બટન (સિંગલ પોસ્ટ અને પ્રોફાઈલ માટે) */
.call-btn-p,
.wa-btn-p,
.disabled-btn-p {
    flex: 1;
    padding: 14px;
    text-align: center;
    border-radius: 50px;
    font-weight: 800;
    text-decoration: none;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-sizing: border-box;
    color: white;
}

.call-btn-p {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
}

.wa-btn-p {
    background: linear-gradient(135deg, #22c55e, #16a34a);
}

.disabled-btn-p {
    background: #f8f9fa;
    color: #adb5bd;
    box-shadow: none;
    border: 1px solid #dee2e6;
    cursor: not-allowed;
    pointer-events: none;
}

.call-btn-p:hover:not(.disabled-btn-p),
.wa-btn-p:hover:not(.disabled-btn-p) {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(7, 94, 84, 0.25);
}

/* જુના એક્શન બટન્સ */
.action-btn {
    flex: 1;
    text-align: center;
    padding: 0 5px;
    height: 35px;
    border-radius: 8px;
    font-weight: 700;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 0.9rem;
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    text-decoration: none;
    box-sizing: border-box;
}

.action-btn:hover {
    transform: translateY(-2px);
}

.save-btn-light {
    background: #ffd9d9;
    color: #c82333;
    border: 1px solid #ffb3b3;
}

.save-btn-light:hover {
    background: #ffc2c2;
    color: #b01a2b;
}

.save-btn-dark {
    background: #c82333;
    color: white;
    border: 1px solid #b01a2b;
    box-shadow: 0 3px 8px rgba(200, 35, 51, 0.3);
}

.comment-btn {
    background: #ffe0b2;
    color: #b83200;
    border: 1px solid #ffcc80;
}

.comment-btn:hover {
    background: #ffd180;
    color: #a02c00;
}

.share-btn {
    background: #cce5ff;
    color: #004085;
    border: 1px solid #99caff;
}

.share-btn:hover {
    background: #b3d7ff;
    color: #003366;
}

.repost-btn-action {
    background: #007bff;
    color: white;
    border: 1px solid #0056b3;
}

.repost-btn-action:hover {
    background: #0056b3;
    box-shadow: 0 4px 8px rgba(0, 123, 255, 0.3);
}

.repost-today-btn-action {
    background: #6c757d;
    color: white;
    border: 1px solid #545b62;
    cursor: default;
}

.edit-btn-action {
    background: #ffc107;
    color: #000;
    border: 1px solid #e0a800;
}

.edit-btn-action:hover {
    background: #e0a800;
    box-shadow: 0 4px 8px rgba(255, 193, 7, 0.3);
}

.delete-btn-action,
.perm-delete-btn-action {
    background: #dc3545;
    color: white;
    border: 1px solid #bd2130;
}

.delete-btn-action:hover,
.perm-delete-btn-action:hover {
    background: #c82333;
    box-shadow: 0 4px 8px rgba(220, 53, 69, 0.3);
}

.sold-btn-action {
    background: #28a745;
    color: white;
    border: 1px solid #1e7e34;
}

.sold-btn-action:hover {
    background: #218838;
    box-shadow: 0 4px 8px rgba(40, 167, 69, 0.3);
}

.undo-deal-btn-action {
    background: #0369a1;
    color: white;
    border: 1px solid #0284c7;
}

.undo-deal-btn-action:hover {
    background: #075985;
    box-shadow: 0 4px 8px rgba(3, 105, 161, 0.3);
}

/* --- ૫. કેટેગરી સ્લાઈડર (Home Categories) --- */
.filter-container {
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 0 15px 0 !important;
}

.category-scroll-container {
    display: flex;
    overflow-x: auto;
    gap: 15px;
    padding: 8px 0 15px 0;
    cursor: grab;
    scrollbar-width: thin;
    border: none;
}

.category-scroll-container:active {
    cursor: grabbing;
}

.category-scroll-container::-webkit-scrollbar {
    display: none !important;
}

.cat-label {
    cursor: pointer;
    flex-shrink: 0;
    margin: 0;
    padding: 0;
}

.cat-label input[type="radio"] {
    display: none;
}

.cat-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 90px;
    gap: 8px;
    transition: transform 0.2s ease, margin 0.2s ease;
    margin: 0;
}

.cat-circle {
    width: 85px !important;
    height: 85px !important;
    border-radius: 18px !important;
    background: #ffffff;
    border: 2px solid #e0e0e0 !important;
    box-sizing: border-box !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem !important;
    transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease !important;
}

.cat-text {
    font-size: 0.9rem;
    color: #444;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
    font-weight: 700;
}

.cat-label:hover .cat-circle {
    border-color: #0ea318 !important;
    background: #f9f9f9;
}

.cat-label:hover .cat-text {
    color: #0ea318;
}

.cat-label input[type="radio"]:not([value=""]):checked+.cat-box {
    transform: scale(1.1);
    margin: 0 5px;
}

.cat-label input[type="radio"]:checked+.cat-box .cat-circle {
    border-color: #0ea318 !important;
    background: #f1f8f1 !important;
    box-shadow: 0 4px 10px rgba(14, 163, 24, 0.2);
}

.cat-label input[type="radio"]:checked+.cat-box .cat-text {
    color: #0ea318;
    text-shadow: 0 0 1px rgba(14, 163, 24, 0.3);
}

/* --- ૬. પોસ્ટ કાર્ડ્સની ગ્રીડ (Post Cards Layout) --- */
/* આ લાઇન શોધો અને સુધારો */
.posts-grid,
#myPostsGrid,
#profilePostsGrid {
    display: grid;
    gap: 25px;
    margin-top: 0;
    /* ૨૦px માંથી ૦ કરી નાખ્યું */
    align-items: stretch;
}

@media (min-width: 1025px) {

    .posts-grid,
    #myPostsGrid,
    #profilePostsGrid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 601px) and (max-width: 1024px) {

    .posts-grid,
    #myPostsGrid,
    #profilePostsGrid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.post-card,
.profile-post-card {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
    position: relative;
}

.post-card:hover,
.profile-post-card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

/* 🌟 Premium Pinned Post Styles */
.pinned-post-card {
    border: 1px solid rgba(245, 158, 11, 0.5) !important;
    /* Lighter/Thinner Golden Orange Border */
    box-shadow: 0 3px 15px rgba(245, 158, 11, 0.1) !important;
    background: linear-gradient(to bottom, #FFFBEB, #FFFFFF) !important;
}



.profile-post-card .post-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: none;
    border-radius: 0;
}

.card-content {
    padding: 18px 18px 18px;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
}

.title-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
}

.title-row h3 {
    margin: 0;
    flex: 1;
    min-width: 0;
    padding-right: 10px;
    font-size: 1.4rem;
    line-height: 1.4;
    color: #075E54;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.my-profile-icon {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #0ea318;
    box-shadow: 0 3px 6px rgba(0, 151, 10, 0.3);
    flex-shrink: 0;
    background: #eee;
}

.post-details {
    color: #495057;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 10px;
    flex-grow: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.card-images-container {
    display: flex;
    gap: 8px;
    margin-top: auto !important;
    padding-top: 10px;
}

.image-wrapper {
    position: relative;
    width: calc(33.333% - 6px);
    aspect-ratio: 1 / 1;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #ddd;
}

.card-post-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.image-wrapper:hover .card-post-image {
    transform: scale(1.08);
}

.more-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: bold;
    text-align: center;
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
    pointer-events: none;
}

.card-meta {
    background: #f1f3f5;
    padding: 10px 15px;
    margin: 0 18px 12px;
    border-radius: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.meta-location,
.meta-datetime {
    font-size: 0.85rem;
    color: #6c757d;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.card-actions {
    display: flex;
    gap: 8px;
    padding: 0 15px 15px;
}

.sold-status-msg {
    background: #e8f5e9;
    color: #155724;
    padding: 10px;
    border-radius: 8px;
    text-align: center;
    font-weight: bold;
    border: 1px dashed #c3e6cb;
    margin-bottom: 10px;
}

.status-sold,
.status-portfolio {
    opacity: 1;
    filter: none;
}


/* Load More બટન */
.load-more-btn {
    display: block;
    margin: 40px auto 20px;
    padding: 10px 25px;
    background: #075E54;
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    width: fit-content;
}

.loading {
    text-align: center;
    padding: 20px;
    font-size: 1.2rem;
    color: #666;
    display: none;
}

/* --- ૭. સિંગલ પોસ્ટ વ્યૂ (Single Post - post.php) --- */
.post-details-container,
.card-images-grid,
.final-deal-box {
    margin-top: 15px !important;
}

.post-details-container {
    padding-top: 0 !important;
}

.final-deal-box {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    background: #f1f3f5;
    padding: 10px 15px;
    border-radius: 8px;
    border-left: 5px solid #0ea318;
}

.deal-label-plain {
    font-size: 1rem;
    font-weight: bold;
    color: #333;
}

.deal-money-badge {
    display: flex;
    align-items: center;
    border: 1px solid #0ea318;
    border-radius: 6px;
    overflow: hidden;
}

.deal-rupee {
    background: #0ea318;
    color: white;
    padding: 3px 8px;
    font-weight: bold;
    font-size: 0.95rem;
}

.deal-amount {
    background: #e8f5e9;
    color: #0ea318;
    padding: 3px 8px;
    font-weight: bold;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

.blurred-msg {
    filter: blur(5px);
    user-select: none;
    pointer-events: auto;
    opacity: 0.8;
}

.blurred-amount {
    filter: blur(5px);
    user-select: none;
    pointer-events: none;
}

.deal-msg-tag {
    background: #f1f8f1;
    color: #155724;
    padding: 3px 10px;
    border-radius: 5px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid #c3e6cb;
    white-space: nowrap;
}

.card-images-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.grid-img-wrapper {
    position: relative;
    aspect-ratio: 1 / 1;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid #ddd;
}

.grid-img-wrapper:hover .card-post-image {
    transform: scale(1.05);
    border-color: #0ea318;
}

.gradient-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.4), transparent);
    z-index: 1;
    pointer-events: none;
}

.anti-theft-shield {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.title-report-btn {
    background: #fff8e1;
    color: #f57f17;
    border: 1px solid #ffe082;
    padding: 5px 5px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: all 0.2s;
    white-space: nowrap;
}

.title-report-btn:hover {
    background: #ffecb3;
    color: #e65100;
    transform: scale(1.05);
}

.title-repost-btn {
    background: #e3f2fd;
    color: #1976d2;
    border: 1px solid #bbdefb;
    padding: 5px 8px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: all 0.2s;
    white-space: nowrap;
}

.title-repost-btn:hover {
    background: #1976d2;
    color: white;
    transform: scale(1.05);
}

.title-repost-btn.disabled-repost {
    background: #e8f5e9;
    color: #075E54;
    border: 1px solid #c3e6cb;
    cursor: pointer;
}

.title-repost-btn.disabled-repost:hover {
    background: #d4edda;
    transform: none;
}


/* --- ૮. કોમેન્ટ સેક્શન (Comments) --- */
.comment-section {
    width: 100%;
    margin: 0 auto 16px;
    background: #ffffff;
    border-radius: 20px;
    padding: 18px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e7eb;
    box-sizing: border-box;
}

.comment-header {
    border-bottom: 1px solid #eee;
    margin-bottom: 20px;
    padding-bottom: 10px;
}

.comment-header h4 {
    color: #075E54;
    margin: 0;
    font-size: 1.2rem;
}

.comment-form {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
}

.comment-form input {
    flex: 1;
    padding: 6px 20px;
    border-radius: 30px;
    border: 1px solid #ddd;
    outline: none;
    font-size: 1rem;
    transition: border 0.3s;
    background: #f9f9f9;
}

.comment-form input:focus {
    border-color: #0ea318;
    background: white;
}

.comment-form button {
    background: linear-gradient(135deg, #0ea318, #075E54);
    color: white;
    border: none;
    padding: 0 25px;
    border-radius: 30px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s;
    font-size: 1.1rem;
}

.comment-login-prompt {
    text-align: center;
    background: #f8f9fa;
    padding: 20px;
    border-radius: 15px;
    margin-bottom: 25px;
}

.no-comments {
    text-align: center;
    color: #888;
    font-style: italic;
    padding: 20px 0;
}

.comment-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    transition: opacity 0.3s;
}

.comment-item img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #e8f5e9;
}

.comment-body {
    background: #f8f9fa;
    padding: 12px 18px;
    border-radius: 0 20px 20px 20px;
    flex: 1;
    border: 1px solid #f0f0f0;
}

.comment-meta-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
}

.comment-author-name {
    text-decoration: none;
    color: #075E54;
    font-weight: bold;
    font-size: 0.95rem;
}

.comment-date {
    font-size: 0.75rem;
    color: #888;
}

.comment-text-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
}

.comment-text {
    margin: 0;
    color: #333;
    font-size: 0.95rem;
    line-height: 1.4;
    flex: 1;
    word-break: break-word;
}

.comment-delete-btn {
    background: #ffebee;
    border: 1px solid #ffcdd2;
    color: #d32f2f;
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    padding: 2px 8px;
    border-radius: 6px;
    transition: all 0.2s ease;
    white-space: nowrap;
    flex-shrink: 0;
    box-shadow: 0 2px 4px rgba(211, 47, 47, 0.1);
    margin: 0;
}

.comment-delete-btn:hover {
    background: #d32f2f;
    color: white;
    box-shadow: 0 4px 8px rgba(211, 47, 47, 0.2);
}

/* --- ૯. લાઈટબોક્સ (Lightbox Gallery) --- */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.2s;
    touch-action: none;
}

.lightbox.show {
    opacity: 1;
    pointer-events: auto;
}

.lightbox-img-wrapper {
    position: relative;
    max-width: 90%;
    max-height: 80vh;
    overflow: visible;
    touch-action: none;
}

.lightbox-content {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    object-fit: contain;
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10000;
    transition: 0.2s;
}

.prev-btn,
.next-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    padding: 15px;
    user-select: none;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    z-index: 10000;
    transition: 0.2s;
}

.prev-btn:hover,
.next-btn:hover {
    background: rgba(0, 0, 0, 0.8);
}

.prev-btn {
    left: 20px;
}

.next-btn {
    right: 20px;
}

.lightbox-dots {
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10001;
}

.dot {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
}

.dot.active {
    background: #0ea318;
    transform: scale(1.4);
}

.image-counter {
    position: absolute;
    bottom: -55px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 1rem;
    font-weight: bold;
    text-shadow: 0 1px 3px black;
}

.no-scroll {
    overflow: hidden !important;
    touch-action: none !important;
}

/* --- ૧૦. ફોર્મ્સ અને ઇનપુટ્સ (Forms & Add Post) --- */
.form-container {
    max-width: 800px;
    margin: 30px auto;
    padding: 15px;
}

.form-container h2 {
    font-size: 1.6rem;
    margin-top: 0;
    margin-bottom: 20px;
    color: #075E54;
    text-align: center;
}

.MyForm {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
    position: relative;
    border: 1px solid #eaeaea;
    border-top: 6px solid #0ea318;
}

.input-container {
    position: relative;
    width: 100%;
    margin-bottom: 18px;
}

.input-container:has(.voice-btn) input,
.input-container:has(.address-voice-btn) input,
.input-container:has(.voice-btn) textarea,
.input-container:has(.address-voice-btn) textarea,
.input-container:has(.username-status) input {
    padding-right: 48px;
}

.price-container {
    background: #f9f9f9;
    padding: 20px 15px;
    border-radius: 12px;
    border: 1px solid #e4e4e4;
    margin-bottom: 18px;
}

input[type="text"],
input[type="number"],
select,
textarea,
.Whatsapp {
    width: 100%;
    padding: 15px 20px;
    background-color: #f8f9fa;
    border: 2px solid #e4e4e4;
    border-radius: 12px;
    color: #333;
    font-size: 1.1rem;
    box-sizing: border-box;
    font-family: inherit;
    transition: all 0.3s;
}

input:focus,
select:focus,
textarea:focus {
    border-color: #0ea318;
    background-color: #ffffff;
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 151, 10, 0.1);
}

input[type="text"],
textarea {
    padding-right: 50px;
}

textarea {
    min-height: 120px;
    line-height: 1.5;
    resize: vertical;
}

#price_display {
    padding-left: 35px;
    font-weight: bold;
    color: #0ea318;
}

#price_display::placeholder {
    font-weight: normal;
}

select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="%23333" viewBox="0 0 16 16"><path d="M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 16px;
    padding-right: 40px;
}

select:disabled,
input:disabled,
textarea:disabled,
.Whatsapp:disabled {
    -webkit-opacity: 0.7;
    -webkit-text-fill-color: #94a3b8;
    background-color: #f1f5f9;
    color: #94a3b8;
    border-color: #e2e8f0;
    opacity: 0.7;
    cursor: not-allowed;
}

input[type="radio"] {
    appearance: auto;
    -webkit-appearance: auto;
    width: 18px;
    height: 18px;
    margin: 0 8px 0 0;
    cursor: pointer;
}

#deal_type_section {
    display: flex;
    gap: 25px;
    align-items: center;
    margin-bottom: 15px;
}

#deal_type_section label {
    display: flex;
    align-items: center;
    font-size: 1.1rem;
    cursor: pointer;
    font-weight: bold;
    color: #444;
}

.voice-btn,
.address-voice-btn {
    position: absolute;
    right: 12px;
    top: 15px;
    background: transparent;
    border: none;
    font-size: 1.4rem;
    cursor: pointer;
    z-index: 10;
    padding: 0;
}

.username-status {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.25rem;
    pointer-events: none;
    z-index: 5;
    margin: 0;
    padding: 0;
}

.char-counter {
    display: block;
    text-align: right;
    margin-top: 5px;
    padding-right: 5px;
    font-size: 0.85rem;
    color: #888;
    font-weight: normal;
}

.mic-active {
    color: #d32f2f;
    animation: mic-glow-safe 0.8s infinite alternate;
}

@keyframes mic-glow-safe {
    0% {
        opacity: 1;
        text-shadow: 0 0 2px #d32f2f;
    }

    100% {
        opacity: 0.4;
        text-shadow: 0 0 12px #d32f2f;
    }
}

.error-border {
    border: 2px solid #dc3545 !important;
    background-color: #fff8f8 !important;
    transition: all 0.3s ease;
}

#categorySlider.error-border {
    border-radius: 12px;
    padding: 5px;
}

/* પ્રાઈવસી ટોગલ સ્વીચ */
.switch-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f8f9fa;
    padding: 15px 20px;
    border-radius: 12px;
    border: 2px solid #e4e4e4;
    margin-bottom: 18px;
    transition: 0.3s;
}

.switch-container:hover {
    border-color: #0ea318;
    background: #ffffff;
}

.switch-label {
    font-weight: normal;
    color: #333;
    font-size: 1.1rem;
}

.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked+.slider {
    background-color: #0ea318;
}

input:checked+.slider:before {
    transform: translateX(24px);
}

/* ઈમેજ અપલોડ */
.photo-circle {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 25px;
    gap: 8px;
}

.photo-circle img {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #cbd5e1;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: 0.2s;
}

.photo-circle img:hover {
    transform: scale(1.05);
}

.custom-file-upload {
    border: 2px dashed #0ea318;
    border-radius: 10px;
    padding: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin-top: 10px;
    margin-bottom: 15px;
    background: #f4fff4;
    transition: background 0.3s;
}

.custom-file-upload:hover {
    background: #e8f5e9;
}

.preview-container {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.preview-box {
    width: calc(33.333% - 6px);
    aspect-ratio: 1/1;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid #0ea318;
    cursor: grab;
}

.preview-box:active {
    cursor: grabbing;
}

.preview-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.remove-btn {
    position: absolute;
    top: 4px;
    right: 4px;
    background: red;
    color: white;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
}

.btn-group {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 15px;
    margin-top: 10px;
    width: 100%;
}

.submit-btn,
.cancel-btn {
    flex: 1;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    font-weight: bold;
    text-decoration: none;
    box-sizing: border-box;
}

.submit-btn {
    background: linear-gradient(135deg, #0ea318, #075E54);
    color: white;
}

.cancel-btn {
    background: #6c757d;
    color: white;
}

/* ક્રોપર અને reCaptcha */
#cropperModal .modal-content {
    animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.cropper-view-box,
.cropper-face {
    border-radius: 50%;
}

.grecaptcha-badge {
    visibility: hidden !important;
}

/* --- ૧૧. વેરિફિકેશન બેજ (Badges) --- */
.v-badge {
    display: inline-block;
    width: 18px;
    height: 18px;
    line-height: 19px;
    text-align: center;
    border-radius: 50%;
    font-size: 10px;
    font-weight: 900;
    font-family: Arial, sans-serif;
    color: white;
    margin-left: 6px;
    vertical-align: middle;
    cursor: help;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.v-blue {
    background: #007bff;
}

.v-green {
    background: #28a745;
}

.v-yellow {
    background: #ffc107;
    color: black;
}

.v-white {
    background: #6c757d;
    color: white;
}

.v-badge-inline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    font-size: 14px;
    font-weight: 900;
    margin-left: 10px;
    vertical-align: middle;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
    border: none;
}

/* --- ૧૨. માસ્ટર મોડલ (Modals/Pop-ups) --- */
.modal {
    display: none;
    position: fixed;
    z-index: 99999 !important;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5) !important;
    backdrop-filter: blur(6px) !important;
    -webkit-backdrop-filter: blur(6px) !important;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    outline: none;
}

/* 🌟 સ્માર્ટ અને સિસ્ટમ એલર્ટ મોડલ્સને સૌથી ઉપર રાખવા માટે (જેથી બીજા મોડલની પાછળ ના છુપાઈ જાય) */
#smartWarningModal,
#smartSuccessModal,
#smartConfirmModal,
#formErrorModal,
#systemMessageModal,
#repostTodayWarningModal,
#limitModal {
    z-index: 100005 !important;
}

.modal-content {
    background: #fff;
    border-radius: 20px !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25) !important;
    animation: modalPopIn 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    border-top: 6px solid #075E54;
    text-align: center;
    padding: 30px 20px;
    width: 90%;
    max-width: 400px;
    margin: 0 auto;
    will-change: transform, opacity;
    position: relative;
    box-sizing: border-box;
}

#systemMessageModal .modal-content {
    border-radius: 20px !important;
}

#deletePostModal .modal-content,
#deleteAccountModal .modal-content,
#logoutModal .modal-content,
#unsaveModal .modal-content,
#deviceLockModal .modal-content,
#phoneLockModal .modal-content {
    border-top-color: #dc3545;
}

#smartSuccessModal .modal-content {
    border-top-color: #28a745;
}

#smartWarningModal .modal-content,
#repostTodayWarningModal .modal-content,
#limitModal .modal-content,
#formErrorModal .modal-content {
    border-top-color: #ffc107;
}

#repostConfirmModal .modal-content {
    border-top-color: #00970a;
}

@keyframes modalPopIn {
    0% {
        opacity: 0;
        transform: scale(0.6) translateY(-20px);
    }

    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes modalPopOut {
    0% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }

    100% {
        opacity: 0;
        transform: scale(0.8) translateY(20px);
    }
}

.bounce-icon {
    font-size: 4.5rem;
    display: inline-block;
    margin-bottom: 10px;
    animation: modalBounceIcon 2s infinite ease-in-out !important;
    transform: translate3d(0, 0, 0);
}

@keyframes modalBounceIcon {

    0%,
    100% {
        transform: translate3d(0, 0, 0);
    }

    50% {
        transform: translate3d(0, -15px, 0);
    }
}

.modal-header h2 {
    color: #075E54;
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.modal-header p {
    color: #666;
    margin-bottom: 20px;
}

.close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    color: #aaa;
    cursor: pointer;
    transition: color 0.2s;
}

.close:hover {
    color: #333;
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    color: #333;
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    border-radius: 40px;
    border: 1px solid #ddd;
    font-size: 1rem;
    transition: border 0.2s;
    box-sizing: border-box;
}

.form-group input:focus {
    border-color: #0ea318;
    outline: none;
}

.form-group small {
    display: block;
    margin-top: 5px;
    color: #888;
}

.form-group input[readonly] {
    cursor: not-allowed;
    border-color: #ced4da;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05);
}

.form-group input[type="password"] {
    letter-spacing: 4px;
    font-family: monospace;
}

.form-group input[type="password"]::placeholder {
    letter-spacing: normal;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.btn-block {
    width: 100%;
    padding: 12px;
    font-size: 1.1rem;
    border-radius: 40px;
}

.modal-message {
    background: #d1ecf1;
    color: #0c5460;
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.modal-error {
    background: #f8d7da;
    color: #721c24;
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 0.95rem;
    font-weight: 700;
}

.toggle-eye {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 1.2rem;
    color: #555;
    user-select: none;
    transition: 0.2s;
}

.toggle-eye:hover {
    transform: translateY(-50%) scale(1.2);
}

.phone-box-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.1rem;
    pointer-events: none;
    z-index: 5;
}

#step3_existingUserBox,
#step4_setPasswordBox,
#statusSection {
    animation: slideDownFade 0.4s ease-out forwards;
}

@keyframes slideDownFade {
    0% {
        opacity: 0;
        transform: translateY(-15px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

#dynamicForgotLink a {
    text-decoration: none;
}

.loader-box {
    padding: 15px 0;
    text-align: center;
    background: #e8f5e9;
    border-radius: 12px;
    margin-bottom: 20px;
}

#loadingText {
    color: #075E54;
    margin-top: 10px;
    font-size: 1.05rem;
    font-weight: 700;
}

#timerText {
    color: #666;
    margin: 5px 0 0;
    font-size: 0.9rem;
}

/* --- ૧૩. ફૂટર (Footer Layout) --- */
.site-footer {
    flex-shrink: 0;
    background-color: #075E54;
    color: #ffffff;
    padding: 25px 20px 15px;
    max-width: 1200px;
    margin: 40px auto 0 auto;
    width: 100%;
    box-sizing: border-box;
    border-top-left-radius: 25px;
    border-top-right-radius: 25px;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
}

.footer-section {
    flex: 1;
    min-width: 250px;
}

.footer-section h2 {
    margin-bottom: 15px;
    font-size: 2rem;
    color: #ffffff;
}

.footer-section h2 span {
    color: #81c784;
}

.footer-section h3 {
    margin-bottom: 20px;
    font-size: 1.2rem;
    border-bottom: 2px solid #81c784;
    padding-bottom: 8px;
    display: inline-block;
    color: #ffffff;
}

.footer-section p {
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 15px;
    color: #e0e0e0;
}

.social-icons a {
    display: inline-block;
    margin-right: 15px;
    font-size: 1.5rem;
    text-decoration: none;
    transition: transform 0.3s ease;
    filter: grayscale(100%) brightness(200%);
}

.social-icons a:hover {
    transform: scale(1.2) translateY(-3px);
    filter: grayscale(0%);
}

.links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.links ul li {
    margin-bottom: 12px;
}

.links ul li a {
    color: #e0e0e0;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.links ul li a:hover {
    color: #ffffff;
    transform: translateX(5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 25px;
    margin-top: 25px;
    font-size: 0.9rem;
    color: #cccccc;
    line-height: 1.6;
}


/* --- ૧૪. રીલેટેડ પોસ્ટ હેડિંગ (Related Posts Title) --- */
.related-ads-title-box {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 40px 0 25px;
    padding: 0 10px;
    width: 100%;
    box-sizing: border-box;
}

.title-main-text {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    gap: 8px;
    font-size: 1.4rem;
    /* Desktop font size */
    font-weight: 800;
    color: #075E54;
    text-align: center;
}

@media (max-width: 768px) {
    .title-main-text {
        font-size: 1.55rem !important;
        /* Mobile font size */
    }
}

.title-main-text::before,
.title-main-text::after {
    content: "";
    flex: 1;
    height: 3px;
    opacity: 0.8;
}

.title-main-text::before {
    background: linear-gradient(to left, #0ea318, transparent);
    margin-right: 15px;
}

.title-main-text::after {
    background: linear-gradient(to right, #0ea318, transparent);
    margin-left: 15px;
}

.title-main-text.red-line::before {
    background: linear-gradient(to left, #c82333, transparent);
}

.title-main-text.red-line::after {
    background: linear-gradient(to right, #c82333, transparent);
}

/* ========================================================================
   ૧૫. પ્રોફાઇલ અને માય પોસ્ટ પેજ (Profile & My Post Specific CSS)
======================================================================== */
.pr-card,
.pr-section-card,
.contact-action-card {
    width: 100%;
    box-sizing: border-box;
    border-radius: 20px;
    margin-bottom: 16px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e7eb;
    background: #ffffff;
}

.pr-card {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 16px;
}

.pr-section-card {
    padding: 18px 20px;
}

.contact-action-card {
    padding: 14px 18px;
}

.top-shop-bar {
    padding: 10px 20px;
    text-align: center;
}

.top-shop-name {
    font-size: 1.8rem;
    font-weight: 900;
    margin: 0;
    letter-spacing: 0.5px;
}

.pr-cover {
    width: 100%;
    aspect-ratio: 3 / 1;
    position: relative;
}

.cover-image-bg {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 20px 20px 0 0;
}

.cover-gradient {
    width: 100%;
    height: 100%;
    border-radius: 20px 20px 0 0;
}

.pr-header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px 20px;
    position: relative;
    z-index: 2;
    border-radius: 0 0 20px 20px;
}

.pr-header-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.pr-avatar-wrapper {
    position: relative;
    width: 140px;
    height: 70px;
    flex-shrink: 0;
}

.pr-avatar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 140px;
    height: 140px;
}

.pr-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    background-color: white;
}

.pr-badge {
    position: absolute;
    bottom: 8px;
    right: 8px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-weight: 900;
    font-family: Arial, sans-serif;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid white;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
    z-index: 10;
}

.pr-user-details {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
}

.pr-owner-big {
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0;
    display: inline-block;
    padding: 6px 18px;
    border-radius: 25px;
}

.pr-username {
    font-size: 1.1rem;
    color: #6b7280;
    margin: 0;
    font-weight: bold;
}

.pr-actions {
    display: flex;
    gap: 15px;
    align-items: center;
}

.pr-follow-btn,
.pr-share-btn {
    min-width: 150px;
    padding: 12px 20px;
    text-align: center;
    border: 1px solid #e5e7eb;
    border-radius: 30px;
    font-weight: 700;
    font-size: 1.05rem;
    cursor: pointer;
    white-space: nowrap;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
    transition: all 0.2s;
}

.pr-follow-btn:hover,
.pr-share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.08);
}

.pr-share-btn {
    background: #eef2ff;
    color: #2563eb;
    border-color: #2563eb;
}

.section-title {
    font-size: 1.1rem;
    color: #374151;
    margin: 0 0 15px;
    border-bottom: 2px solid #e5e7eb;
    padding-bottom: 10px;
    font-weight: 800;
}

.bio-quote-card {
    position: relative;
    overflow: hidden;
}

.bio-content {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.quote-icon {
    font-size: 3rem;
    line-height: 1;
    font-family: serif;
    margin-top: -10px;
}

.bio-text {
    font-size: 1.15rem;
    color: #333;
    line-height: 1.6;
    font-weight: 600;
    font-style: normal;
    margin: 0;
    flex: 1;
}

.map-embed-container {
    margin-top: 20px;
    border-radius: 15px;
    border: 1px solid #e5e7eb;
    background: #fff;
    padding: 15px;
}

.map-iframe-box {
    border-radius: 10px;
    overflow: hidden;
    height: 150px;
    background: #eee;
}

.map-link-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 15px;
    color: #374151;
    font-weight: bold;
    text-decoration: none;
    padding: 12px;
    background: #fff;
    border: 1px solid #d1d5db;
    border-radius: 50px;
    transition: 0.2s;
    font-size: 1rem;
}

.map-link-btn:hover {
    background: #f3f4f6;
}

.official-social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    height: 48px;
    border-radius: 12px;
    text-decoration: none;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.official-social-btn svg {
    width: 24px;
    height: 24px;
}

.official-social-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
}

.website-btn {
    background: #1f2937;
    color: #fff;
}

.instagram-btn {
    background: #E1306C;
    color: #fff;
}

.facebook-btn {
    background: #1877F2;
    color: #fff;
}

.youtube-btn {
    background: #FF0000;
    color: #fff;
}

.detail-list-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 0px;
}

@media (min-width: 768px) {
    .detail-list-grid {
        gap: 18px;
    }
}

.detail-item-grid {
    display: grid;
    grid-template-columns: 32px 1fr;
    align-items: start;
    gap: 10px;
    font-size: 1.05rem;
    color: #333;
    line-height: 1.4;
}

.detail-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.25rem;
    height: 1.47rem;
}

.detail-text {
    word-wrap: break-word;
}

.limit-premium-card {
    background: #fdfdfd;
}

.limit-title-p {
    font-size: 1.15rem;
    color: #111827;
    margin: 0 0 15px 0;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 8px;
}

.limit-status-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 12px;
}

.ls-type {
    font-size: 0.95rem;
    color: #6b7280;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.limit-progress-track {
    width: 100%;
    height: 12px;
    background-color: #f3f4f6;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05);
}

.limit-progress-fill {
    height: 100%;
    border-radius: 20px;
    transition: width 0.5s ease-in-out;
}

.limit-stats-row {
    display: flex;
    justify-content: space-between;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 12px 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
    margin-bottom: 15px;
}

.ls-stat-box {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.ls-stat-lbl {
    font-size: 0.8rem;
    color: #9ca3af;
    font-weight: 700;
    text-transform: uppercase;
}

.ls-stat-val {
    font-size: 1.1rem;
    color: #111827;
    font-weight: 800;
    display: flex;
    align-items: center;
    height: 30px;
}

.limit-expiry-box {
    text-align: center;
    font-size: 0.95rem;
    color: #b45309;
    background: #fffbeb;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #fde68a;
    font-weight: 600;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
}

/* પ્રીમિયમ ટેબ્સ (Available/Sold/Portfolio) */
.post-tabs-container {
    display: flex;
    background: #f8fafc;
    padding: 8px;
    border-radius: 18px;
    margin-bottom: 16px;
    gap: 10px;
    border: 1px solid #e2e8f0;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.02);
}

.post-tab-btn {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    color: #64748b;
    font-weight: 800;
    font-size: 1.05rem;
    border-radius: 14px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
    cursor: pointer;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-direction: row;
}

.tab-count,
.tab-count-badge {
    min-width: 26px;
    height: 26px;
    padding: 0 7px;
    border-radius: 50px;
    background: #e2e8f0;
    color: #475569;
    font-size: 0.85rem;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    white-space: nowrap;
    transition: all 0.25s ease;
}

.post-tab-btn:hover {
    background: #e2e8f0;
    color: #334155;
}

.post-tab-btn.active {
    background: var(--vip-tab-bg, #6c757d);
    color: var(--vip-tab-text, #ffffff);
    border-color: var(--vip-tab-bg, #6c757d);
    box-shadow: 0 6px 18px var(--vip-tab-shadow, rgba(108, 117, 125, 0.4));
    transform: translateY(-2px);
}

.post-tab-btn.active .tab-count,
.post-tab-btn.active .tab-count-badge {
    background: var(--vip-tab-badge-bg, #ffffff);
    color: var(--vip-tab-badge-text, #6c757d);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}


/* ========================================================================
   📱 ૧૬. ચાર સ્ક્રીન વ્યુ (Responsive Design - Media Queries)
======================================================================== */

/* ૧. કોમ્પ્યુટર (Desktop) માટેનો કોડ ઉપર લખેલો જ છે (તેમાં કોઈ @media નહિ આવે) */

/* ૨. ટેબલેટ અને નાના લેપટોપ (Tablet View - 1024px સુધી) */
@media (max-width: 1024px) {

    .posts-grid,
    #myPostsGrid,
    #profilePostsGrid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    header {
        margin-bottom: 15px;
        padding: 10px 15px;
        top: 5px;
    }
}

/* ૬. રેગ્યુલર મોબાઈલ (Mobile View - 768px સુધી) */
@media (max-width: 768px) {

    .prev-btn,
    .next-btn {
        display: none !important;
    }

    .posts-grid,
    #myPostsGrid,
    #profilePostsGrid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    header {
        margin-bottom: 20px;
        padding: 8px 12px;
        border-radius: 40px;
        top: 5px;
    }

    .report-text,
    .repost-text {
        display: none !important;
    }

    .footer-container {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .footer-section h3 {
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 10px;
    }

    .site-footer {
        border-top-left-radius: 20px;
        border-top-right-radius: 20px;
        padding: 25px 15px 15px;
        margin-top: 15px;
    }

    .category-scroll-container {
        padding: 5px 0 10px 0;
        gap: 12px;
        margin-bottom: 5px;
    }

    .cat-box {
        width: 80px;
        gap: 6px;
    }

    .cat-circle {
        width: 75px !important;
        height: 75px !important;
        font-size: 2.5rem !important;
        border-radius: 14px !important;
    }

    .cat-text {
        font-size: 0.85rem;
    }

    .btn-post-ad {
        padding: 10px;
        font-size: 1.1rem;
    }

    .form-container {
        margin: 15px auto;
        padding: 10px;
    }

    .btn-group {
        gap: 10px;
    }

    .submit-btn,
    .cancel-btn {
        font-size: 1.1rem;
        height: 48px;
    }

    .call-btn-p,
    .wa-btn-p,
    .disabled-btn-p {
        font-size: 0.95rem;
        padding: 12px 8px;
    }

    .pr-section-card {
        padding: 16px 18px;
    }

    .contact-action-card {
        padding: 12px 16px;
    }

    /* પ્રોફાઈલ પેજ વિશિષ્ટ */
    .pr-header-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 15px;
        padding: 0 18px 18px;
    }

    .pr-header-left {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }

    .pr-avatar-wrapper {
        width: 100%;
        height: auto;
        display: flex;
        justify-content: center;
        margin-top: -65px;
        margin-bottom: 10px;
    }

    .pr-avatar {
        position: relative;
        bottom: auto;
    }

    .pr-user-details {
        flex-direction: column;
        align-items: center;
        gap: 5px;
    }

    .pr-owner-big {
        font-size: 1.4rem;
    }

    .pr-username {
        margin-left: 0;
        margin-top: 5px;
    }

    .pr-actions {
        width: 100%;
        justify-content: space-between;
        gap: 12px;
        margin-top: 5px;
    }

    .pr-follow-btn,
    .pr-share-btn {
        flex: 1;
        min-width: auto;
        padding: 10px 5px;
        font-size: 0.95rem;
    }

    .pr-cover {
        aspect-ratio: 2 / 1;
        height: auto;
    }

}

/* ૪. પાતળો મોબાઈલ (Small Mobile View - 480px સુધી) */
@media (max-width: 480px) {
    .container {
        padding: 10px;
    }

    header {
        padding: 8px 10px;
        margin-bottom: 15px;
        top: 0;
        border-radius: 30px;
    }

    .logo {
        margin-left: 8px;
    }

    .logo h1 {
        font-size: 1.8rem;
    }

    /* 1.5rem થી વધારીને 1.8rem કરી દીધું */
    .nav-right-actions {
        gap: 8px;
    }

    .profile-section {
        padding: 4px 10px 4px 4px;
    }

    .user-link img {
        width: 32px;
        height: 32px;
    }

    .user-link span {
        font-size: 0.95rem;
    }

    .notif-badge {
        font-size: 0.7rem;
        padding: 2px 4px;
        top: -2px;
        right: -2px;
    }

    .title-main-text {
        font-size: 1.1rem;
    }

    .title-line {
        display: none;
    }

    /* મોબાઈલ માટે ટેબ્સના ફોન્ટ નાના કરવા */
    .post-tabs-container {
        padding: 6px;
        gap: 6px;
        margin-bottom: 12px;
    }

    .post-tab-btn {
        padding: 10px 5px;
        font-size: 0.95rem;
        gap: 6px;
        border-radius: 12px;
    }

    .tab-count,
    .tab-count-badge {
        min-width: 20px;
        height: 20px;
        font-size: 0.8rem;
        padding: 0 4px;
    }

    /* નાના મોબાઇલમાં કાર્ડ્સના પેડિંગ અને ફોન્ટ સુધારો */
    .pr-card,
    .pr-section-card,
    .contact-action-card,
    .comment-section {
        border-radius: 16px;
        margin-bottom: 12px;
    }

    .pr-section-card {
        padding: 14px 15px;
    }

    .contact-action-card {
        padding: 10px 12px;
    }

    .top-shop-name {
        font-size: 1.4rem;
    }

    .top-shop-bar {
        padding: 8px 12px;
    }

    .pr-avatar-wrapper {
        margin-top: -50px;
    }

    .pr-avatar {
        width: 110px;
        height: 110px;
    }

    .pr-badge {
        width: 26px;
        height: 26px;
        font-size: 13px;
        bottom: 4px;
        right: 4px;
    }

    .action-btn {
        font-size: 0.82rem;
        height: 33px;
        padding: 0 3px;
    }

    .call-btn-p,
    .wa-btn-p,
    .disabled-btn-p {
        font-size: 0.9rem;
        padding: 10px 5px;
    }
}



/* ટચુકડી ટીમ સિસ્ટમ મેસેજ મોડલ CSS */
#sys_images_container::-webkit-scrollbar {
    height: 6px;
}

#sys_images_container::-webkit-scrollbar-thumb {
    background: #075E54;
    border-radius: 10px;
}

.sys-img-thumb {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    border: 1px solid #ddd;
    transition: 0.2s;
}

.sys-img-thumb:hover {
    filter: brightness(0.8);
}




/* 🌫️ બ્લર જાદુ: લોગીન વગર ફોટા ધૂંધળા દેખાડવા માટે */
.blur-image {
    filter: blur(8px) !important;
    -webkit-filter: blur(8px) !important;
    pointer-events: none;
    user-select: none;
}





/* ==========================================
   🌟 VIP પ્રોફાઇલ અને હેડર કલર ક્લાસ 
========================================== */
.vip-head-none,
.vip-head-white {
    background: #e9ecef;
}

.vip-head-green {
    background: #e8f5e9;
}

.vip-head-blue {
    background: #e3f2fd;
}

.vip-head-yellow {
    background: #fff3cd;
}

.vip-btn-none,
.vip-btn-white {
    background: #e9ecef;
    color: #495057;
}

.vip-btn-green {
    background: #e8f5e9;
    color: #075E54;
}

.vip-btn-blue {
    background: #e3f2fd;
    color: #004085;
}

.vip-btn-yellow {
    background: #fff3cd;
    color: #856404;
}

.vip-head-none .user-link,
.vip-head-white .user-link,
.vip-head-green .user-link,
.vip-head-blue .user-link,
.vip-head-yellow .user-link {
    color: inherit;
}

/* માઉસ ઉપર લઈ જતાં (Hover) અને એક્ટિવ (Active) ઇફેક્ટ */
.vip-head-none:hover,
.vip-head-white:hover,
.vip-btn-none:hover,
.vip-btn-white:hover,
.vip-head-none.active,
.vip-head-white.active,
.vip-btn-none.active,
.vip-btn-white.active {
    background: #6c757d !important;
    color: white !important;
    box-shadow: 0 4px 10px rgba(108, 117, 125, 0.4) !important;
}

.vip-head-green:hover,
.vip-btn-green:hover,
.vip-head-green.active,
.vip-btn-green.active {
    background: #075E54 !important;
    color: white !important;
    box-shadow: 0 4px 10px rgba(7, 94, 84, 0.4) !important;
}

.vip-head-blue:hover,
.vip-btn-blue:hover,
.vip-head-blue.active,
.vip-btn-blue.active {
    background: #004085 !important;
    color: white !important;
    box-shadow: 0 4px 10px rgba(0, 64, 133, 0.4) !important;
}

.vip-head-yellow:hover,
.vip-btn-yellow:hover,
.vip-head-yellow.active,
.vip-btn-yellow.active {
    background: #ffc107 !important;
    color: black !important;
    box-shadow: 0 4px 10px rgba(255, 193, 7, 0.4) !important;
}

/* યલો ટીક માર્ક (Yellow VIP) માં ટેક્સ્ટ અને આઇકોન કાળા જ રહેવા જોઈએ (White નહિ) */
.vip-head-yellow:hover .user-link,
.vip-head-yellow.active .user-link,
.vip-btn-yellow:hover .bell-icon,
.vip-btn-yellow.active .bell-icon,
.vip-btn-yellow:hover svg,
.vip-btn-yellow.active svg,
.vip-btn-yellow:hover .search-icon,
.vip-btn-yellow.active .search-icon {
    color: #000000 !important;
}


/* Premium Map Button for Profile */
.premium-map-btn {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 14px 20px;
    background: linear-gradient(135deg, #e8f0fe 0%, #ffffff 100%);
    border: 1px solid #d2e3fc;
    border-radius: 16px;
    color: #1967d2;
    font-weight: 700;
    font-size: 1.05rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(25, 103, 210, 0.08);
    box-sizing: border-box;
}

.premium-map-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(25, 103, 210, 0.15);
    background: linear-gradient(135deg, #d2e3fc 0%, #e8f0fe 100%);
}

.premium-map-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: #fff;
    border-radius: 50%;
    margin-right: 15px;
    box-shadow: 0 2px 6px rgba(234, 67, 53, 0.2);
}


/* =========================================
   USER MENU VIP BORDERS
========================================= */
.vip-modal-none.modal-content,
.vip-modal-white.modal-content {
    border-top: 6px solid #6c757d !important;
}

.vip-modal-green.modal-content {
    border-top: 6px solid #075E54 !important;
}

.vip-modal-blue.modal-content {
    border-top: 6px solid #004085 !important;
}

.vip-modal-yellow.modal-content {
    border-top: 6px solid #ffca28 !important;
}

/* =========================================================================
   USER DROPDOWN MENU STYLES (APP STYLE)
========================================================================= */
.header-menu-container {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.menu-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(2px);
    z-index: 998;
    /* Below dropdown (1000) */
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.menu-backdrop.active {
    opacity: 1;
    visibility: visible;
}

.user-dropdown-menu {
    position: absolute;
    top: calc(100% + 18px);
    right: -5px;
    /* Shifted slightly to avoid arrow overlapping the corner radius */
    min-width: 250px;
    width: max-content;
    max-width: 280px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.16), 0 4px 12px rgba(0, 0, 0, 0.06), inset 0 4px 0 #6c757d;
    /* Default top border matching dark hover */
    padding: 10px;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px) scale(0.96);
    transform-origin: top right;
    transition: opacity 0.22s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.22s cubic-bezier(0.16, 1, 0.3, 1),
        visibility 0.22s ease;
    pointer-events: none;
}

/* Dropdown Arrow Pointer matching top border */
.user-dropdown-menu::before {
    content: '';
    position: absolute;
    bottom: 100%;
    /* Sits precisely on the top edge */
    margin-bottom: -1px;
    /* Closes the sub-pixel hairline gap */
    right: 14px;
    /* 26px (shifted button center) - 12px (border-width) */
    width: 0;
    height: 0;
    border-width: 12px;
    border-style: solid;
    border-color: transparent transparent #6c757d transparent;
    /* Upward triangle, matches dark hover */
}

.user-dropdown-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.user-dropdown-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 10px;
    position: relative;
    z-index: 2;
}

.user-dropdown-avatar img {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #94a3b8;
    /* Default for normal user */
    flex-shrink: 0;
    display: block;
    /* Removes baseline gap for perfect centering */
}

.user-dropdown-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.user-dropdown-name {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 700;
    font-size: 0.95rem;
    color: #1e293b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
}

.user-dropdown-phone {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    color: #64748b;
    margin-top: 3px;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
}

.user-dropdown-divider {
    height: 1px;
    background: #f1f5f9;
    margin: 4px 4px 8px;
}

.user-dropdown-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.user-dropdown-list li {
    margin: 0;
    padding: 0;
    list-style: none;
}

.user-dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 10px 12px;
    margin: 0;
    background: #f8fafc;
    border: 1px solid rgba(0, 0, 0, 0.07);
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #334155;
    text-decoration: none;
    text-align: left;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.user-dropdown-item:hover,
.user-dropdown-item:focus {
    background: #f1f5f9;
    border-color: rgba(0, 0, 0, 0.15);
    color: #1e293b;
    transform: translateX(3px);
}

.dropdown-cnt {
    background: #475569;
    color: #ffffff;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 600;
    min-width: 24px;
    text-align: center;
}

.vip-dropdown-none .dropdown-cnt,
.vip-dropdown-white .dropdown-cnt {
    background: #6c757d;
    color: #ffffff;
}

.vip-dropdown-green .dropdown-cnt {
    background: #075E54;
    color: #ffffff;
}

.vip-dropdown-blue .dropdown-cnt {
    background: #004085;
    color: #ffffff;
}

.vip-dropdown-yellow .dropdown-cnt {
    background: #ffc107;
    color: #333333;
}

.dropdown-item-icon {
    font-size: 1.2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #e9ecef;
    color: #495057;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.user-dropdown-item:hover .dropdown-item-icon {
    transform: scale(1.12) rotate(5deg);
    background: #6c757d;
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(108, 117, 125, 0.3);
}

/* Edit Profile Button Styling */
.user-dropdown-item.edit-profile-item {
    background: #ffc107 !important;
    color: #333333 !important;
    border: 1px solid rgba(224, 168, 0, 0.6) !important;
    margin: 0;
}

.user-dropdown-item.edit-profile-item .dropdown-item-icon {
    background: #ffffff !important;
    color: #333333 !important;
}

.user-dropdown-item.edit-profile-item:hover {
    background: #ffca2a !important;
}

.user-dropdown-item.edit-profile-item:hover .dropdown-item-icon {
    background: #ffffff !important;
    transform: scale(1.12) rotate(5deg);
    box-shadow: 0 4px 10px rgba(255, 193, 7, 0.4) !important;
}

/* Logout Button Styling */
.user-dropdown-item.logout-item {
    background: #dc3545 !important;
    color: #ffffff !important;
    border: 1px solid rgba(200, 35, 51, 0.6) !important;
    margin: 0;
}

.user-dropdown-item.logout-item .dropdown-item-icon {
    background: #ffffff !important;
    color: #475569 !important;
}

.user-dropdown-item.logout-item:hover {
    background: #c82333 !important;
}

.user-dropdown-item.logout-item:hover .dropdown-item-icon {
    transform: scale(1.12) rotate(5deg);
    box-shadow: 0 4px 10px rgba(200, 35, 51, 0.4) !important;
}

/* VIP Themes for Dropdown */
.vip-dropdown-none,
.vip-dropdown-white {
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.16), 0 4px 12px rgba(0, 0, 0, 0.06), inset 0 4px 0 #6c757d;
}

.vip-dropdown-none::before,
.vip-dropdown-white::before {
    border-bottom-color: #6c757d;
}

.vip-dropdown-none .user-dropdown-avatar img,
.vip-dropdown-white .user-dropdown-avatar img {
    border-color: #6c757d;
}

.vip-dropdown-none .user-dropdown-item:not(.edit-profile-item):not(.logout-item),
.vip-dropdown-white .user-dropdown-item:not(.edit-profile-item):not(.logout-item) {
    background: #f8f9fa;
    border: 1px solid rgba(108, 117, 125, 0.2);
}

.vip-dropdown-none .user-dropdown-item:not(.edit-profile-item):not(.logout-item):hover,
.vip-dropdown-white .user-dropdown-item:not(.edit-profile-item):not(.logout-item):hover {
    background: #e9ecef;
    border-color: rgba(108, 117, 125, 0.45);
    color: #212529;
}

.vip-dropdown-none .dropdown-item-icon,
.vip-dropdown-white .dropdown-item-icon {
    background: #e9ecef;
    color: #495057;
}

.vip-dropdown-none .user-dropdown-item:hover .dropdown-item-icon,
.vip-dropdown-white .user-dropdown-item:hover .dropdown-item-icon {
    background: #6c757d;
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(108, 117, 125, 0.3);
}

.vip-dropdown-green {
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.16), 0 4px 12px rgba(0, 0, 0, 0.06), inset 0 4px 0 #075E54;
}

.vip-dropdown-green::before {
    border-bottom-color: #075E54;
}

.vip-dropdown-green .user-dropdown-avatar img {
    border-color: #28a745;
}

.vip-dropdown-green .user-dropdown-item:not(.edit-profile-item):not(.logout-item) {
    background: #f4fbf6;
    border: 1px solid rgba(7, 94, 84, 0.15);
}

.vip-dropdown-green .user-dropdown-item:not(.edit-profile-item):not(.logout-item):hover {
    background: #dcfce7;
    border-color: rgba(7, 94, 84, 0.45);
    color: #075E54;
}

.vip-dropdown-green .dropdown-item-icon {
    background: #e8f5e9;
    color: #075E54;
}

.vip-dropdown-green .user-dropdown-item:hover .dropdown-item-icon {
    background: #075E54;
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(7, 94, 84, 0.3);
}

.vip-dropdown-blue {
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.16), 0 4px 12px rgba(0, 0, 0, 0.06), inset 0 4px 0 #004085;
}

.vip-dropdown-blue::before {
    border-bottom-color: #004085;
}

.vip-dropdown-blue .user-dropdown-avatar img {
    border-color: #007bff;
}

.vip-dropdown-blue .user-dropdown-item:not(.edit-profile-item):not(.logout-item) {
    background: #f4f8fe;
    border: 1px solid rgba(0, 64, 133, 0.15);
}

.vip-dropdown-blue .user-dropdown-item:not(.edit-profile-item):not(.logout-item):hover {
    background: #dbeafe;
    border-color: rgba(0, 64, 133, 0.45);
    color: #004085;
}

.vip-dropdown-blue .dropdown-item-icon {
    background: #e3f2fd;
    color: #004085;
}

.vip-dropdown-blue .user-dropdown-item:hover .dropdown-item-icon {
    background: #004085;
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(0, 64, 133, 0.3);
}

.vip-dropdown-yellow {
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.16), 0 4px 12px rgba(0, 0, 0, 0.06), inset 0 4px 0 #ffc107;
}

.vip-dropdown-yellow::before {
    border-bottom-color: #ffc107;
}

.vip-dropdown-yellow .user-dropdown-avatar img {
    border-color: #ffc107;
}

.vip-dropdown-yellow .user-dropdown-item:not(.edit-profile-item):not(.logout-item) {
    background: #fefdf5;
    border: 1px solid rgba(255, 193, 7, 0.28);
}

.vip-dropdown-yellow .user-dropdown-item:not(.edit-profile-item):not(.logout-item):hover {
    background: #fef9c3;
    border-color: rgba(255, 193, 7, 0.65);
    color: #854d0e;
}

.vip-dropdown-yellow .dropdown-item-icon {
    background: #fff3cd;
    color: #856404;
}

.vip-dropdown-yellow .user-dropdown-item:hover .dropdown-item-icon {
    background: #ffc107;
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(255, 193, 7, 0.3);
}

/* =========================================================================
   🌟 સ્માર્ટ ટોસ્ટ (Smart Floating Toast Notifications) અને કાર્ડ એનિમેશન્સ
   ========================================================================= */
.smart-toast-container {
    position: fixed;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 999999;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    pointer-events: none;
    max-width: 90vw;
    width: auto;
}

.smart-toast {
    pointer-events: auto;
    background: #1e293b;
    color: #ffffff;
    padding: 12px 22px;
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 600;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
    display: flex;
    align-items: center;
    gap: 10px;
    animation: toastPopIn 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    white-space: nowrap;
}

.smart-toast.toast-success {
    background: #065f46;
    border-color: #10b981;
}

.smart-toast.toast-danger {
    background: #991b1b;
    border-color: #ef4444;
}

.smart-toast.toast-warning {
    background: #92400e;
    border-color: #f59e0b;
}

.smart-toast.toast-info {
    background: #1e40af;
    border-color: #3b82f6;
}

.smart-toast.hide {
    opacity: 0;
    transform: translateY(20px) scale(0.9);
}

@keyframes toastPopIn {
    0% {
        opacity: 0;
        transform: translateY(25px) scale(0.85);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}


.card-anim-removing {
    transition: all 0.4s ease !important;
    opacity: 0 !important;
    transform: scale(0.9) !important;
    pointer-events: none !important;
}

.card-anim-highlight {
    animation: cardPulseGlow 1.5s ease-in-out;
}

@keyframes cardPulseGlow {
    0% {
        box-shadow: 0 0 0 rgba(7, 94, 84, 0);
    }

    50% {
        box-shadow: 0 0 20px rgba(7, 94, 84, 0.6);
        transform: scale(1.02);
    }

    100% {
        box-shadow: 0 0 0 rgba(7, 94, 84, 0);
        transform: scale(1);
    }
}

/* Float animation for modal icons */
.float-animation {
    animation: floatingIcon 2s ease-in-out infinite;
}

@keyframes floatingIcon {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* હેડરમાં બ્લોગ બટનની ડીઝાઈન */
.btn-blog-nav {
    background: #e2e8f0;
    color: #0f172a;
}

.btn-blog-nav:hover {
    background: #075E54;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(7, 94, 84, 0.2);
}