#csg-popup-overlay{
    display:none;
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,.65);
    z-index:999999;
}

#csg-popup{
    position:absolute;
    top:50%;
    left:50%;
    transform:translate(-50%,-50%);
    width:420px;
    max-width:90%;
    background:#fff;
    border-radius:12px;
    padding:30px;
    text-align:center;
    box-shadow:0 0 30px rgba(0,0,0,.25);
}

#csg-close{
    position:absolute;
    right:15px;
    top:10px;
    font-size:28px;
    cursor:pointer;
}

#csg-popup h3{
    margin-bottom:10px;
}

.csg-buttons{
    margin-top:20px;
}

.csg-login-btn,
.csg-register-btn{
    display:inline-block;
    padding:12px 24px;
    text-decoration:none;
    border-radius:6px;
    margin:5px;
    color:#fff;
}

.csg-login-btn{
    background:#0073aa;
}

.csg-register-btn{
    background:#28a745;
}

/* registration code css */

/* Main Wrapper */
.csg-register-wrapper {
    max-width: 500px;
    margin: 40px auto;
    padding: 35px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

/* Header Styling */
.csg-register-header {
    text-align: center;
    margin-bottom: 30px;
}

.csg-register-header h2 {
    font-size: 26px;
    color: #2c3e50;
    margin: 0 0 10px 0;
    font-weight: 700;
}

.csg-register-header p {
    font-size: 14px;
    color: #7f8c8d;
    line-height: 1.5;
    margin: 0;
}

/* Form Layout */
.csg-register-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.csg-form-row {
    display: flex;
    flex-direction: column;
}

.csg-form-row label {
    font-size: 14px;
    font-weight: 600;
    color: #34495e;
    margin-bottom: 8px;
}

/* १. सर्व प्रकारच्या इनपुट फील्ड्स (text, email, number) आणि ड्रॉपडाउनसाठी एकसमान स्टायलिंग */
.csg-form-row input[type="text"],
.csg-form-row input[type="email"],
.csg-form-row input[type="number"],
.csg-select-field {
    width: 100% !important;
    height: 46px !important; /* सर्व फील्ड्सना एकसारखी फिक्स उंची दिली */
    padding: 10px 15px !important;
    border: 1px solid #dcdde1 !important;
    border-radius: 8px !important;
    font-size: 15px !important;
    color: #2c3e50 !important;
    background-color: #f8f9fa !important;
    box-sizing: border-box !important;
    transition: all 0.3s ease !important;
    line-height: 1.5 !important;
}

/* टेक्स्टएरियासाठी स्वतंत्र स्टाईल (कारण याची उंची जास्त हवी आहे) */
.csg-form-row textarea {
    width: 100% !important;
    height: 100px !important;
    padding: 12px 15px !important;
    border: 1px solid #dcdde1 !important;
    border-radius: 8px !important;
    font-size: 15px !important;
    color: #2c3e50 !important;
    background-color: #f8f9fa !important;
    box-sizing: border-box !important;
    transition: all 0.3s ease !important;
    resize: vertical;
}

/* सर्व इनपुट आणि टेक्स्टएरिया फोकस इफेक्ट */
.csg-form-row input:focus,
.csg-form-row textarea:focus,
.csg-select-field:focus {
    border-color: #3498db !important;
    background-color: #ffffff !important;
    box-shadow: 0 0 0 4px rgba(52, 152, 219, 0.15) !important;
    outline: none !important;
}

/* २. पासवर्ड फील्ड कंटेनर आणि स्टायलिंग (डोळ्याच्या आयकॉनसह) */
.csg-input-password-container {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.csg-input-password-container input[type="password"],
.csg-input-password-container input[type="text"] {
    width: 100% !important;
    height: 46px !important;
    padding: 12px 45px 12px 15px !important; /* उजवीकडे आयकॉनसाठी अधिक जागा */
    border: 1px solid #dcdde1 !important;
    border-radius: 8px !important;
    font-size: 15px !important;
    color: #2c3e50 !important;
    background-color: #f8f9fa !important;
    box-sizing: border-box !important;
    transition: all 0.3s ease !important;
}

/* ३. डोळ्याचा आयकॉन अचूक मध्यभागी (Center) आणण्यासाठी */
.csg-toggle-password {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #7f8c8d;
    font-size: 20px;
    width: 20px;
    height: 20px;
    user-select: none;
    z-index: 10;
}

.csg-toggle-password:hover {
    color: #2c3e50;
}

/* Submit Button */
.csg-register-btn-submit {
    width: 100%;
    padding: 14px;
    background-color: #3498db;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(52, 152, 219, 0.2);
}

.csg-register-btn-submit:hover {
    background-color: #2980b9;
    box-shadow: 0 6px 12px rgba(41, 128, 185, 0.3);
}

.csg-register-btn-submit:active {
    transform: scale(0.98);
}

/* Select2 डिझाईन फॉर्मशी मॅच करण्यासाठी */
.select2-container--default .select2-selection--single {
    height: 46px !important;
    border: 1px solid #dcdde1 !important;
    border-radius: 8px !important;
    background-color: #f8f9fa !important;
    display: flex !important;
    align-items: center !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #2c3e50 !important;
    font-size: 15px !important;
    padding-left: 15px !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 44px !important;
    right: 10px !important;
}

/* सर्च बॉक्स ड्रॉपडाउनच्या आत आल्यावर त्याची स्टाईल */
.select2-search--dropdown .select2-search__field {
    border: 1px solid #dcdde1 !important;
    border-radius: 6px !important;
    padding: 6px 10px !important;
}


/* subject past page design css*/


/* --- IMPROVED PREMIUM BUSINESS LAYOUT STYLES --- */
/* .csg-premium-layout {
    max-width: 650px;
    margin: 0 auto;
    font-family: 'Poppins', sans-serif;
    background: #fcfcfc;
    padding: 15px;
} */
 /* --- FULL WIDTH PREMIUM BUSINESS LAYOUT STYLES --- */
.csg-premium-layout {
    width: 100%; /* संपूर्ण स्क्रीन कव्हर करण्यासाठी */
    max-width: 1200px; /* कॉम्प्युटरवर डिझाईन जास्त ताणू नये म्हणून एक स्टँडर्ड मर्यादा */
    margin: 0 auto;
    font-family: 'Poppins', sans-serif;
    background: #ffffff;
    }

/* बॅनर डिझाईन - बॅकग्राउंड इमेज सपोर्टसह */
/* .csg-hero-banner {
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
    border-radius: 16px;
    padding: 35px 25px;
    min-height: 200px;
    display: flex;
    align-items: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    margin-bottom: 25px;
    border: 1px solid #f0f0f0;
} */

/* --- सुधारित मोठी आणि देखणी बॅनर हाईट स्टाईल --- */
.csg-hero-banner {
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    border-radius: 16px;
    /* बदल: डाव्या बाजूने (Left) पॅडिंग ५०px वरून ७०px केले, जेणेकरून मजकूर बॉर्डरपासून दूर सरकेल */
    padding: 80px 50px 80px 70px; 
    min-height: 380px;
    display: flex;
    align-items: center;
    box-shadow: 0 6px 25px rgba(0,0,0,0.07);
    margin-bottom: 35px;
    border: 1px solid #eef0f2;
    box-sizing: border-box;
}

.csg-banner-content {
    max-width: 70%; /* डाव्या बाजूला टेक्स्ट बसवण्यासाठी */
    z-index: 2;
}

.csg-badge {
    background: rgba(232, 248, 240, 0.9);
    color: #2e7d32;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 12px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.03);
}

/* .csg-banner-title {
    font-size: 26px;
    font-weight: 700;
    color: #111;
    margin: 0 0 10px 0;
    line-height: 1.25;
}

.csg-banner-text {
    font-size: 13.5px;
    color: #444;
    margin: 0;
    line-height: 1.45;
} */

/* टायटलमधील अंतर सुधारले */
.csg-banner-title {
    font-size: 34px;
    font-weight: 700;
    color: #111;
    /* बदल: टायटलच्या वर आणि खाली व्यवस्थित जागा सोडली */
    margin: 15px 0 15px 0; 
    /* बदल: अक्षरांमध्ये थोडी मोकळी स्पेस दिली */
    letter-spacing: -0.5px;
    line-height: 1.3; 
    text-shadow: 0px 1px 3px rgba(255, 255, 255, 0.9);
}

/* सब-टेक्स्ट मधील अंतर सुधारले */
.csg-banner-text {
    font-size: 16px;
    color: #222;
    margin: 0;
    /* बदल: दोन लाईन्स मधील अंतर वाढवले जेणेकरून वाचायला सोपे जाईल */
    line-height: 1.6; 
    max-width: 85%;
    font-weight: 500;
    text-shadow: 0px 1px 3px rgba(255, 255, 255, 0.9);
}

/* क्विक ॲक्सेस ग्रीड */
.csg-quick-access {
    margin-top: 10px;
}

.csg-section-title {
    font-size: 16px;
    font-weight: 700;
    color: #222;
    margin-bottom: 15px;
}

/* ==========================================================================
   🎯 क्विक ॲक्सेस ग्रीड - बॉक्स मोठे आणि सुंदर करण्यासाठी सुधारित CSS
   ========================================================================== */

.csg-grid-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px; /* बॉक्समधील अंतर वाढवले जेणेकरून ते मोकळे दिसतील */
    margin-bottom: 30px;
}

.csg-grid-item {
    background: #ffffff;
    border: 1px solid #eaeaea; /* बॉर्डर थोडी अजून हलकी केली */
    border-radius: 16px; /* कोपरे जास्त स्मूथ केले (प्रीमियम लुक) */
    padding: 30px 15px; /* वरून आणि खालून पॅडिंग १५px वरून ३०px केले, यामुळे बॉक्स मोठे दिसतील */
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 140px; /* बॉक्सची कमीत कमी उंची निश्चित केली */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03); /* हलकी आणि सुंदर शॅडो */
    cursor: pointer;
    transition: all 0.25s ease;
}

/* बॉक्सवर माउस नेल्यावर येणारा इफेक्ट */
.csg-grid-item:hover {
    transform: translateY(-5px); /* बॉक्स थोडा जास्त वर येईल */
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08); /* शॅडो अधिक गडद होईल */
    border-color: #dcdcdc;
}

/* आयकॉनची डिझाईन मोठी केली */
.csg-icon-box {
    font-size: 32px; /* आयकॉनची साईझ २४ वरून ३२ केली */
    margin-bottom: 12px; /* आयकॉन आणि टेक्स्ट मधील अंतर वाढवले */
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f9f9f9; /* आयकॉनच्या मागे हलका गोल बॅकग्राउंड */
    padding: 12px;
    border-radius: 50%;
    width: 55px;
    height: 55px;
}

/* डॅशआयकोन्सची साईझ मॅनेज करणे */
.csg-icon-box .dashicons {
    font-size: 32px;
    width: 32px;
    height: 32px;
}

/* बॉक्समधील टेक्स्ट (मजकूर) मोठा आणि स्पष्ट केला */
.csg-grid-item span {
    font-size: 13.5px; /* फॉन्ट साईझ ११ वरून १३.५ केली */
    color: #333333; /* रंग थोडा गडद केला */
    font-weight: 600; /* टेक्स्ट थोडे बोल्ड (ठळक) केले */
    line-height: 1.3;
    display: block;
}

/* ==========================================================================
   📱 मोबाईल आणि टॅब्लेट रिस्पॉन्सिव्हनेस (Mobile Responsive)
   ========================================================================== */

@media (max-width: 768px) {
    .csg-grid-container {
        grid-template-columns: repeat(3, 1fr); /* टॅब्लेटवर एका लाईनमध्ये ३ बॉक्स दिसतील */
        gap: 15px;
    }
    .csg-grid-item {
        padding: 25px 10px;
        min-height: 120px;
    }
}

@media (max-width: 480px) {
    .csg-grid-container {
        grid-template-columns: repeat(2, 1fr); /* मोबाईलवर एका लाईनमध्ये २ मोठे बॉक्स दिसतील (ॲपसारखे) */
        gap: 12px;
    }
    .csg-grid-item {
        padding: 20px 10px;
        min-height: 110px;
        border-radius: 14px;
    }
    .csg-icon-box {
        width: 45px;
        height: 45px;
        font-size: 26px;
    }
    .csg-icon-box .dashicons {
        font-size: 26px;
        width: 26px;
        height: 26px;
    }
    .csg-grid-item span {
        font-size: 12px;
    }
}

/* मोबाईल रिस्पॉन्सिव्ह */
/* @media (max-width: 480px) {
    .csg-grid-container {
        grid-template-columns: repeat(3, 1fr);
    }
    .csg-banner-content {
        max-width: 85%;
    }
    .csg-banner-title {
        font-size: 22px;
    }
} */

/* मोबाईलवर बॅनर अवाजवी मोठा दिसू नये म्हणून हाईट मॅनेज केली */
@media (max-width: 480px) {
    .csg-hero-banner {
        /* मोबाईलवर डावे पॅडिंग ३०px केले */
        padding: 45px 20px 45px 30px; 
        min-height: 240px;
    }
    .csg-banner-title {
        font-size: 24px;
        margin: 10px 0 10px 0;
    }
    .csg-banner-text {
        font-size: 13px;
        line-height: 1.4;
    }
}

/*post page madhil feature image lavlyavar varti yenari image kadhanyasathi*/

/* --- थिमची डीफॉल्ट वरची मोठी इमेज लपवण्यासाठी --- */

/* १. मुख्य सिंगल पोस्टवरील थिमची फिचर इमेज लपवणे */
.single-post .wp-post-image:not(.csg-premium-layout .wp-post-image),
.single-post .entry-hero,
.single-post .post-hero,
.single-post .featured-media,
.single-post .ast-single-post-order {
    display: none !important;
}

/* २. जर थिमने बॅकग्राउंड म्हणून इमेज लावली असेल तर ती लपवणे */
.single-post .entry-header-wrap,
.single-post .ast-archive-description {
    background-image: none !important;
    background: none !important;
    padding: 0 !important;
}


/* news and update */


#csg-news-popup{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,.6);
    z-index:99999;
}

.csg-news-popup-inner{
    width:90%;
    max-width:700px;
    background:#fff;
    margin:50px auto;
    padding:20px;
    border-radius:12px;
    max-height:80vh;
    overflow:auto;
}

#csg-news-close{
    float:right;
    cursor:pointer;
    font-size:28px;
    font-weight:bold;
}

.csg-news-item{
    padding:15px;
    border-bottom:1px solid #eee;
}

.csg-news-item h4{
    margin:0 0 5px;
}

.csg-news-item a{
    text-decoration:none;
}

/* popup under post design */

#csg-news-popup{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.65);
    z-index:99999;
    overflow:auto;
}

.csg-news-popup-inner{
    background:#fff;
    width:90%;
    max-width:900px;
    margin:40px auto;
    padding:25px;
    border-radius:12px;
}

.csg-news-list{
    display:flex;
    flex-direction:column;
    gap:18px;
}

.csg-news-item{
    display:flex;
    gap:15px;
    border:1px solid #eee;
    border-radius:10px;
    overflow:hidden;
    transition:.3s;
    background:#fff;
}

.csg-news-item:hover{
    box-shadow:0 8px 20px rgba(0,0,0,.08);
}

.csg-news-thumb{
    width:220px;
    flex-shrink:0;
}

.csg-news-thumb img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}

.csg-news-details{
    padding:15px;
    flex:1;
}

.csg-news-date{
    color:#888;
    font-size:13px;
}

.csg-news-details h4{
    margin:10px 0;
    font-size:18px;
}

.csg-news-details h4 a{
    color:#222;
    text-decoration:none;
}

.csg-news-details p{
    color:#666;
    line-height:1.6;
    margin-bottom:12px;
}

.csg-read-more{
    display:inline-block;
    background:#e67e22;
    color:#fff !important;
    padding:8px 15px;
    border-radius:6px;
    text-decoration:none;
    font-size:14px;
}

#csg-news-close{
    float:right;
    font-size:30px;
    cursor:pointer;
    color:#666;
}

/* Desktop View */

@media (min-width: 993px){

    .csg-news-item{
        display:flex;
        flex-direction:row;
        align-items:stretch;
    }

    .csg-news-thumb{
        width:220px;
        min-width:220px;
        height:auto;
    }

    .csg-news-details{
        flex:1;
        padding:15px;
    }
}

/* new responsive */

/* =========================
   TABLET VIEW
========================= */
@media (max-width: 992px){

    .csg-news-popup-inner{
        width:95%;
        padding:20px;
        margin:20px auto;
    }

    .csg-news-item{
        flex-direction:column;
    }

    .csg-news-thumb{
        width:100%;
        height:250px;
    }

    .csg-news-thumb img{
        width:100%;
        height:100%;
        object-fit:cover;
    }

    .csg-news-details{
        padding:15px;
    }

    .csg-news-details h4{
        font-size:18px;
    }
}

/*theme*/

/* Theme Fix */

.csg-news-thumb{
    overflow:hidden;
    position:relative;
}

.csg-news-thumb img{
    width:100% !important;
    height:100% !important;
    object-fit:cover;
    display:block;
}

/* Theme che overlay hide kara */
.csg-news-thumb .entry-title,
.csg-news-thumb .post-title,
.csg-news-thumb .entry-meta,
.csg-news-thumb .post-meta,
.csg-news-thumb .entry-content,
.csg-news-thumb figcaption,
.csg-news-thumb .overlay,
.csg-news-thumb .caption{
    display:none !important;
}

/* =========================
   MOBILE VIEW
========================= */
@media (max-width: 768px){

    .csg-news-popup-inner{
        width:95%;
        padding:15px;
        margin:10px auto;
        border-radius:10px;
        max-height:95vh;
    }

    .csg-news-item{
        flex-direction:column;
    }

    .csg-news-thumb{
        width:100%;
        height:200px;
    }

    .csg-news-thumb img{
        width:100%;
        height:100%;
        object-fit:cover;
    }

    .csg-news-details{
        padding:12px;
    }

    .csg-news-details h4{
        font-size:17px;
        line-height:1.4;
    }

    .csg-news-details p{
        font-size:14px;
        line-height:1.6;
    }

    .csg-read-more{
        width:100%;
        text-align:center;
        padding:10px;
    }

    #csg-news-close{
        font-size:24px;
    }

}


/* =========================
   SMALL MOBILE
========================= */
@media (max-width: 480px){

    .csg-news-thumb{
        height:170px;
    }

    .csg-news-details h4{
        font-size:15px;
    }

    .csg-news-date{
        font-size:12px;
    }

    .csg-read-more{
        font-size:13px;
    }

}



/* =========================
   Profit Calculator Popup
========================= */

#csg-profit-popup{
    display:none;
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,.65);
    z-index:999999;
    overflow:auto;
}

.csg-profit-popup-inner{
    width:95%;
    max-width:500px;
    background:#fff;
    margin:50px auto;
    padding:25px;
    border-radius:15px;
    position:relative;
    box-shadow:0 10px 40px rgba(0,0,0,.25);
}

#csg-profit-close{
    position:absolute;
    top:12px;
    right:18px;
    font-size:30px;
    cursor:pointer;
    color:#777;
}

#csg-profit-close:hover{
    color:#e74c3c;
}

.csg-profit-popup-inner h3{
    margin:0 0 20px;
    text-align:center;
    font-size:24px;
    color:#2c3e50;
}

.csg-profit-form label{
    display:block;
    margin-bottom:6px;
    font-weight:600;
    color:#444;
}

.csg-profit-form input{
    width:100%;
    padding:12px;
    margin-bottom:15px;
    border:1px solid #ddd;
    border-radius:8px;
    font-size:15px;
    box-sizing:border-box;
}

#csg-calculate-profit{
    width:100%;
    background:#e67e22;
    color:#fff;
    border:none;
    padding:14px;
    font-size:16px;
    font-weight:600;
    border-radius:8px;
    cursor:pointer;
    transition:.3s;
}

#csg-calculate-profit:hover{
    background:#f09f58;
}

/* Result Box */

.csg-profit-summary{
    margin-top:25px;
    background:#f5f8f6;
    border-radius:12px;
    padding:20px;
    text-align:center;
}

.csg-profit-summary h4{
    margin-bottom:10px;
    color:#555;
}

.csg-profit-amount{
    font-size:42px;
    font-weight:700;
    color:#e67e22;
    margin-bottom:20px;
}

.csg-profit-summary table{
    width:100%;
    border-collapse:collapse;
}

.csg-profit-summary table td{
    padding:10px;
    border-bottom:1px solid #e5e5e5;
    text-align:left;
}

.csg-profit-summary table td:last-child{
    text-align:right;
    font-weight:600;
}

@media(max-width:768px){

    .csg-profit-popup-inner{
        width:92%;
        margin:20px auto;
        padding:20px;
    }

    .csg-profit-amount{
        font-size:34px;
    }

}


#csg-clear-profit{
    width:100%;
    background:#e74c3c;
    color:#fff;
    border:none;
    padding:14px;
    font-size:16px;
    font-weight:600;
    border-radius:8px;
    cursor:pointer;
    transition:.3s;
    margin-top:10px;
}

#csg-clear-profit:hover{
    background:#c0392b;
}

/* community */

.csg-community-section{
    margin:25px 0;
    text-align:center;
}

.csg-view-community-btn{
    background:#2563eb;
    color:#fff;
    border:none;
    padding:14px 30px;
    font-size:16px;
    font-weight:600;
    border-radius:10px;
    cursor:pointer;
    transition:.3s;
}

.csg-view-community-btn:hover{
    background:#1d4ed8;
}


/* community popup */

#csg-community-popup{
    display:none;
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.65);
    z-index:999999;
}

.csg-community-popup-inner{
    width:95%;
    max-width:700px;
    background:#fff;
    margin:40px auto;
    padding:25px;
    border-radius:15px;
    max-height:85vh;
    overflow:auto;
}

#csg-community-close{
    float:right;
    font-size:28px;
    cursor:pointer;
}

#csg-create-group-btn{
    background:#16a34a;
    color:#fff;
    border:none;
    padding:10px 18px;
    border-radius:8px;
    cursor:pointer;
    margin-bottom:20px;
}

.csg-community-card{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:15px;
    border:1px solid #eee;
    border-radius:10px;
    margin-bottom:12px;
}

.csg-community-left{
    display:flex;
    gap:12px;
    align-items:center;
}

.csg-community-left img{
    width:60px;
    height:60px;
    border-radius:8px;
    object-fit:cover;
}

.csg-join-btn{
    background:#2563eb;
    color:#fff;
    border:none;
    padding:8px 16px;
    border-radius:8px;
    cursor:pointer;
}


 /* create group*/

 #csg-create-community-popup{
    display:none;
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.65);
    z-index:9999999;
}

.csg-create-community-inner{
    width:95%;
    max-width:500px;
    background:#fff;
    margin:80px auto;
    padding:25px;
    border-radius:15px;
}

#csg-create-community-close{
    float:right;
    font-size:28px;
    cursor:pointer;
}

.csg-community-form label{
    display:block;
    margin-top:15px;
    margin-bottom:5px;
    font-weight:600;
}

.csg-community-form input,
.csg-community-form textarea{
    width:100%;
    padding:12px;
    border:1px solid #ddd;
    border-radius:8px;
    box-sizing:border-box;
}

.csg-community-form textarea{
    height:120px;
}

#csg-save-group{
    width:100%;
    margin-top:20px;
    background:#16a34a;
    color:#fff;
    border:none;
    padding:12px;
    border-radius:8px;
    cursor:pointer;
}

@media(max-width:768px){

    .csg-community-card{
        display:flex;
        align-items:flex-start;
        justify-content:space-between;
        gap:10px;
        padding:12px;
    }

    .csg-community-left{
        display:flex;
        flex:1;
        gap:10px;
        align-items:flex-start;
        min-width:0;
    }

    .csg-community-left img{
        width:50px;
        height:50px;
        min-width:50px;
        border-radius:8px;
        object-fit:cover;
    }

    .csg-community-left h4{
        margin:0 0 5px;
        font-size:14px;
        line-height:1.3;
        word-break:break-word;
    }

    .csg-community-left p{
        margin:0;
        font-size:12px;
        line-height:1.4;
        color:#666;
    }

    .csg-join-btn{
        padding:6px 12px;
        font-size:12px;
        white-space:nowrap;
    }

     .csg-community-card{
        flex-direction:column;
    }

    .csg-join-btn{
        width:100%;
        margin-top:10px;
    }

}
