/*==================================================
    TALKTOLEADER UI FRAMEWORK v2.0
    MODULE 01 : FOUNDATION
====================================================*/

/*=========================================
=            CSS VARIABLES1
=========================================*/

:root{

    /* Brand */

    --primary:#2563eb;
    --primary-dark:#1d4ed8;
    --secondary:#4f46e5;

    /* Status */

    --success:#16a34a;
    --warning:#f59e0b;
    --danger:#dc2626;
    --info:#0ea5e9;

    /* Text */

    --dark:#111827;
    --text:#475569;
    --muted:#64748b;
    --light:#94a3b8;

    /* Background */

    --white:#ffffff;
    --body:#f8fafc;
    --surface:#ffffff;

    /* Border */

    --border:#e5e7eb;

    /* Radius */

    --radius-sm:8px;
    --radius-md:12px;
    --radius-lg:18px;
    --radius-xl:25px;
    --radius-round:999px;

    /* Shadows */

    --shadow-sm:
        0 2px 8px rgba(0,0,0,.05);

    --shadow-md:
        0 8px 20px rgba(0,0,0,.08);

    --shadow-lg:
        0 20px 45px rgba(0,0,0,.12);

    /* Transition */

    --transition:.30s ease;

    /* Container */

    --container:1320px;

}

/*=========================================
=            RESET
=========================================*/

*,
*::before,
*::after{

    margin:0;
    padding:0;
    box-sizing:border-box;

}

html{

    scroll-behavior:smooth;

}

body{

    background:var(--body);

    color:var(--dark);

    font-family:
    "Segoe UI",
    Roboto,
    Arial,
    sans-serif;

    font-size:15px;

    line-height:1.6;

    overflow-x:hidden;

}

img{

    display:block;

    max-width:100%;

}
.img-md{
    width:120px;
    height:120px;
    object-fit:cover;
}

.img-thumb{
    width:400px;
    height:400px;
    object-fit:cover;
    border-radius:10px;
}




.topic-hero img.img-thumb{
    max-width:100%;
    height:400px;
    object-fit:cover;
    display:block;
    margin:auto;
}
a{

    text-decoration:none;

    color:inherit;

    transition:var(--transition);

}

button{

    cursor:pointer;

    font-family:inherit;

}

input,
textarea,
select,
button{

    outline:none;

    font-family:inherit;

}

ul{

    list-style:none;

}

table{

    width:100%;

    border-collapse:collapse;

}

/*=========================================
=            TYPOGRAPHY
=========================================*/

h1{

    font-size:42px;
    font-weight:800;

}

h2{

    font-size:34px;
    font-weight:700;

}

h3{

    font-size:28px;
    font-weight:700;

}

h4{

    font-size:22px;
    font-weight:700;

}

h5{

    font-size:18px;
    font-weight:600;

}

h6{

    font-size:16px;
    font-weight:600;

}

p{

    color:var(--text);

}

small{

    color:var(--muted);

}

/*=========================================
=            LAYOUT
=========================================*/

.container{

    width:100%;

    max-width:var(--container);

    margin:auto;

    padding-left:15px;
    padding-right:15px;

}

.section{

    padding:50px 0;

}

.page-wrapper{

    min-height:100vh;

}

.row-gap{

    row-gap:25px;

}

/*=========================================
=            UTILITIES
=========================================*/

.text-center{

    text-align:center;

}

.text-left{

    text-align:left;

}

.text-right{

    text-align:right;

}

.d-flex{

    display:flex;

}

.flex-column{

    flex-direction:column;

}

.justify-between{

    justify-content:space-between;

}

.justify-center{

    justify-content:center;

}

.align-center{

    align-items:center;

}

.flex-wrap{

    flex-wrap:wrap;

}

.gap-10{

    gap:10px;

}

.gap-15{

    gap:15px;

}

.gap-20{

    gap:20px;

}

.gap-25{

    gap:25px;

}

.w-100{

    width:100%;

}

.mt-10{

    margin-top:10px;

}

.mt-20{

    margin-top:20px;

}

.mt-30{

    margin-top:30px;

}

.mb-10{

    margin-bottom:10px;

}

.mb-20{

    margin-bottom:20px;

}

.mb-30{

    margin-bottom:30px;

}

.rounded{

    border-radius:var(--radius-lg);

}

.shadow{

    box-shadow:var(--shadow-md);

}

.bg-white{

    background:#fff;

}

/*=========================================
=            ANIMATIONS
=========================================*/

.fade-up{

    animation:fadeUp .5s ease;

}

@keyframes fadeUp{

    from{

        opacity:0;

        transform:translateY(20px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}

.hover-lift{

    transition:var(--transition);

}

.hover-lift:hover{

    transform:translateY(-5px);

}

/*=========================================
=            SCROLLBAR
=========================================*/

::-webkit-scrollbar{

    width:10px;

}

::-webkit-scrollbar-track{

    background:#eef2f7;

}

::-webkit-scrollbar-thumb{

    background:var(--primary);

    border-radius:20px;

}

::-webkit-scrollbar-thumb:hover{

    background:var(--primary-dark);

}

/*=========================================
=            RESPONSIVE
=========================================*/

@media(max-width:992px){

    h1{

        font-size:36px;

    }

    h2{

        font-size:30px;

    }

}

@media(max-width:768px){

    h1{

        font-size:30px;

    }

    h2{

        font-size:26px;

    }

    .section{

        padding:35px 0;

    }

}

@media(max-width:576px){

    .container{

        padding-left:12px;

        padding-right:12px;

    }

}

/*==================================================
    TALKTOLEADER UI FRAMEWORK v2.0
    MODULE 02 : COMPONENTS
====================================================*/

/*=========================================
=            BUTTONS
=========================================*/

.btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    padding:12px 22px;
    border:none;
    border-radius:var(--radius-md);
    font-size:15px;
    font-weight:600;
    cursor:pointer;
    transition:var(--transition);
    text-decoration:none;
    white-space:nowrap;
}

.btn:hover{
    transform:translateY(-2px);
}

.btn-primary{
    background:var(--primary);
    color:#fff;
}

.btn-primary:hover{
    background:var(--primary-dark);
}

.btn-success{
    background:var(--success);
    color:#fff;
}

.btn-warning{
    background:var(--warning);
    color:#fff;
}

.btn-danger{
    background:var(--danger);
    color:#fff;
}

.btn-outline{
    background:#fff;
    color:var(--primary);
    border:2px solid var(--primary);
}

.btn-outline:hover{
    background:var(--primary);
    color:#fff;
}

.btn-light{
    background:#f1f5f9;
    color:var(--dark);
}

.btn-block{
    width:100%;
}

/*=========================================
=            BADGES
=========================================*/

.badge{
    display:inline-block;
    padding:6px 12px;
    border-radius:999px;
    font-size:12px;
    font-weight:700;
}

.badge-primary{
    background:#dbeafe;
    color:var(--primary);
}

.badge-success{
    background:#dcfce7;
    color:var(--success);
}

.badge-warning{
    background:#fef3c7;
    color:#92400e;
}

.badge-danger{
    background:#fee2e2;
    color:var(--danger);
}

/*=========================================
=            FORMS
=========================================*/

.form-group{
    margin-bottom:20px;
}

.form-label{
    display:block;
    margin-bottom:8px;
    font-weight:600;
    color:var(--dark);
}

.form-control,
.form-select{
    width:100%;
    height:52px;
    padding:0 16px;
    border:1px solid var(--border);
    border-radius:var(--radius-md);
    background:#fff;
    transition:var(--transition);
}

textarea.form-control{
    min-height:140px;
    padding:15px;
    resize:vertical;
}

.form-control:focus,
.form-select:focus{
    border-color:var(--primary);
    box-shadow:0 0 0 4px rgba(37,99,235,.10);
}

.form-card{
    background:#fff;
    padding:30px;
    border-radius:var(--radius-xl);
    box-shadow:var(--shadow-md);
}

/*=========================================
=            INPUT GROUP
=========================================*/

.input-group{
    display:flex;
}

.input-group-text{
    display:flex;
    align-items:center;
    justify-content:center;
    min-width:52px;
    background:#eef2ff;
    border:1px solid var(--border);
    border-right:none;
    border-radius:var(--radius-md) 0 0 var(--radius-md);
}

.input-group .form-control{
    border-radius:0 var(--radius-md) var(--radius-md) 0;
}

/*=========================================
=            CARDS
=========================================*/

.card{
    background:#fff;
    border-radius:var(--radius-xl);
    box-shadow:var(--shadow-sm);
    overflow:hidden;
    transition:var(--transition);
}

.card:hover{
    box-shadow:var(--shadow-md);
}

.card-header{
    padding:20px 25px;
    border-bottom:1px solid var(--border);
}

.card-title{
    font-size:20px;
    font-weight:700;
    color:var(--dark);
}

.card-body{
    padding:25px;
}

.card-footer{
    padding:20px 25px;
    border-top:1px solid var(--border);
}

/*=========================================
=            STAT CARD
=========================================*/

.stat-card{
    background:#fff;
    border-radius:var(--radius-xl);
    padding:25px;
    text-align:center;
    box-shadow:var(--shadow-sm);
    transition:var(--transition);
}

.stat-card:hover{
    transform:translateY(-4px);
    box-shadow:var(--shadow-md);
}

.stat-icon{
    width:70px;
    height:70px;
    margin:auto auto 15px;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    background:#eef4ff;
    color:var(--primary);
    font-size:30px;
}

.stat-number{
    font-size:36px;
    font-weight:800;
    color:var(--primary);
}

.stat-label{
    margin-top:8px;
    color:var(--muted);
    font-weight:600;
}

/*=========================================
=            SIDEBAR CARD
=========================================*/

.sidebar-card{
    background:#fff;
    padding:22px;
    border-radius:var(--radius-lg);
    box-shadow:var(--shadow-sm);
    margin-bottom:20px;
}

.sidebar-card h4{
    margin-bottom:12px;
}

.sidebar-card p{
    margin-bottom:15px;
}

/*=========================================
=            TABLE
=========================================*/

.table-wrapper{
    overflow-x:auto;
}

.table{
    width:100%;
}

.table thead{
    background:#f8fafc;
}

.table th{
    padding:16px;
    text-align:left;
    font-weight:700;
    color:var(--muted);
}

.table td{
    padding:16px;
    border-top:1px solid var(--border);
    vertical-align:middle;
}

.table tbody tr:hover{
    background:#f8fafc;
}

/*=========================================
=            ALERTS
=========================================*/

.alert{
    padding:16px 20px;
    border-radius:var(--radius-md);
    margin-bottom:20px;
}

.alert-success{
    background:#dcfce7;
    color:#166534;
}

.alert-danger{
    background:#fee2e2;
    color:#991b1b;
}

.alert-warning{
    background:#fef3c7;
    color:#92400e;
}

.alert-info{
    background:#dbeafe;
    color:#1d4ed8;
}

/*=========================================
=            PAGINATION
=========================================*/

.pagination{
    display:flex;
    justify-content:center;
    gap:10px;
    margin-top:30px;
}

.page-link{
    width:42px;
    height:42px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:#fff;
    border-radius:10px;
    color:var(--dark);
    box-shadow:var(--shadow-sm);
}

.page-link:hover,
.page-link.active{
    background:var(--primary);
    color:#fff;
}

/*=========================================
=            RESPONSIVE
=========================================*/

@media(max-width:768px){

    .btn{
        width:100%;
    }

    .form-card{
        padding:20px;
    }

    .card-body{
        padding:18px;
    }

    .table th,
    .table td{
        padding:12px;
    }

}

/*==================================================
    TALKTOLEADER UI FRAMEWORK v2.0
    MODULE 03 : NAVIGATION & LAYOUT
====================================================*/

/*=========================================
=            NAVBAR
=========================================*/

.navbar-custom{

    position:sticky;
    top:0;
    z-index:1000;

    background:linear-gradient(
        135deg,
        var(--primary),
        var(--secondary)
    );

    padding:14px 0;

    box-shadow:var(--shadow-sm);

}

.navbar-container{

    max-width:var(--container);

    margin:auto;

    padding:0 15px;

    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:25px;

}

.logo{

    display:flex;
    align-items:center;
    gap:12px;

    color:#fff;

    font-size:28px;
    font-weight:800;

}

.logo img{

    height:45px;

}

.nav-menu{

    display:flex;
    align-items:center;
    gap:20px;

}

.nav-link{

    color:#fff;

    font-weight:600;

    padding:10px 14px;

    border-radius:12px;

    transition:var(--transition);

}

.nav-link:hover{

    background:rgba(255,255,255,.15);

}

.nav-right{

    display:flex;
    align-items:center;
    gap:15px;

}

/*=========================================
=            SEARCH
=========================================*/

.search-box{

    position:relative;

}

.search-box input{

    width:280px;

    height:45px;

    border:none;

    border-radius:30px;

    padding-left:45px;
    padding-right:20px;

    background:#fff;

}

.search-box i{

    position:absolute;

    left:16px;
    top:14px;

    color:#94a3b8;

}

/*=========================================
=            PROFILE
=========================================*/

.profile-box{

    display:flex;
    align-items:center;
    gap:10px;

}

.profile-photo{

    width:45px;
    height:45px;

    border-radius:50%;

    object-fit:cover;

    border:2px solid rgba(255,255,255,.3);

}

/*=========================================
=            HERO
=========================================*/

.hero{

    background:linear-gradient(
        135deg,
        var(--primary),
        var(--secondary)
    );

    color:#fff;

    border-radius:var(--radius-xl);

    padding:45px;

    margin-bottom:30px;

    box-shadow:var(--shadow-lg);

}

.hero h1{

    margin-bottom:12px;

}

.hero p{

    color:rgba(255,255,255,.9);

    max-width:750px;

}

.hero-buttons{

    margin-top:25px;

    display:flex;

    gap:15px;

    flex-wrap:wrap;

}

/*=========================================
=            PAGE LAYOUT
=========================================*/

.page-layout{

    display:flex;

    gap:25px;

    align-items:flex-start;

}

.main-content{

    flex:1;

    min-width:0;

}

.sidebar{

    width:320px;

    flex-shrink:0;

}

/*=========================================
=            DASHBOARD
=========================================*/

.dashboard-wrapper{

    display:flex;

    min-height:100vh;

    background:var(--body);

}

.dashboard-sidebar{

    width:280px;

    background:#0f172a;

    color:#fff;

    padding:30px 20px;

    position:sticky;

    top:0;

    height:100vh;

}

.dashboard-sidebar h3{

    color:#fff;

    margin-bottom:30px;

}

.dashboard-menu{

    display:flex;

    flex-direction:column;

    gap:8px;

}

.dashboard-menu a{

    display:flex;

    align-items:center;

    gap:12px;

    color:#cbd5e1;

    padding:14px 16px;

    border-radius:14px;

    transition:var(--transition);

}

.dashboard-menu a:hover{

    background:#1e293b;

    color:#fff;

}

.dashboard-menu .active{

    background:var(--primary);

    color:#fff;

}

.dashboard-content{

    flex:1;

    padding:30px;

}

/*=========================================
=            TOPBAR
=========================================*/

.topbar{

    background:#fff;

    border-radius:20px;

    padding:18px 25px;

    margin-bottom:25px;

    display:flex;

    justify-content:space-between;

    align-items:center;

    box-shadow:var(--shadow-sm);

}

/*=========================================
=            FOOTER
=========================================*/

.footer{

    margin-top:60px;

    background:#0f172a;

    color:#cbd5e1;

    padding:50px 0;

}

.footer h4{

    color:#fff;

    margin-bottom:15px;

}

.footer a{

    color:#cbd5e1;

}

.footer a:hover{

    color:#fff;

}

.footer-bottom{

    border-top:1px solid rgba(255,255,255,.08);

    margin-top:30px;

    padding-top:20px;

    text-align:center;

}

/*=========================================
=            MOBILE MENU
=========================================*/

.mobile-toggle{

    display:none;

    background:none;

    border:none;

    color:#fff;

    font-size:28px;

}

/*=========================================
=            RESPONSIVE
=========================================*/

@media(max-width:1200px){

    .sidebar{

        width:280px;

    }

}

@media(max-width:992px){

    .dashboard-wrapper{

        flex-direction:column;

    }

    .dashboard-sidebar{

        width:100%;

        height:auto;

        position:relative;

    }

    .page-layout{

        flex-direction:column;

    }

    .sidebar{

        width:100%;

    }

}

@media(max-width:768px){

    .navbar-container{

        flex-wrap:wrap;

    }

    .nav-menu{

        width:100%;

        flex-direction:column;

        display:none;

    }

    .nav-menu.show{

        display:flex;

    }

    .mobile-toggle{

        display:block;

    }

    .search-box{

        width:100%;

    }

    .search-box input{

        width:100%;

    }

    .hero{

        padding:30px;

    }

    .hero-buttons{

        flex-direction:column;

    }

    .topbar{

        flex-direction:column;

        gap:15px;

        align-items:flex-start;

    }

}

.post-card{
    background:var(--white);
    border-radius:var(--radius-xl);
    box-shadow:var(--shadow-sm);
    overflow:hidden;
    margin-bottom:24px;
    transition:var(--transition);
}

.post-card:hover{
    box-shadow:var(--shadow-md);
    transform:translateY(-2px);
}

.post-header{
    display:flex;
    align-items:center;
    gap:15px;
    padding:20px 24px;
}

.user-avatar{
    width:52px;
    height:52px;
    border-radius:50%;
    object-fit:cover;
    border:2px solid var(--border);
}

.user-info h5{
    margin:0;
    font-size:16px;
    font-weight:700;
}

.user-info span{
    font-size:13px;
    color:var(--muted);
}

.post-body{
    padding:0 24px 20px;
}

.post-content{
    color:var(--text);
    line-height:1.7;
    margin-bottom:16px;
}

.post-image{
    width:100%;
    max-height:500px;
    object-fit:cover;
}

.post-footer{
    display:flex;
    justify-content:space-around;
    align-items:center;
    border-top:1px solid var(--border);
    padding:14px;
}

.action-btn{
    display:flex;
    align-items:center;
    gap:8px;
    padding:10px 16px;
    border-radius:12px;
    color:var(--text);
    transition:var(--transition);
}

.action-btn:hover{
    background:#eff6ff;
    color:var(--primary);
}

/*==================================================
    TALKTOLEADER UI FRAMEWORK v2.0
    MODULE 05 : SOCIAL COMPONENTS
====================================================*/

/*=========================================
=            FEED LAYOUT
=========================================*/

.feed-layout{
    display:grid;
    grid-template-columns:280px 1fr 320px;
    gap:25px;
    align-items:start;
}

.feed-main{
    min-width:0;
}

.feed-sidebar{
    display:flex;
    flex-direction:column;
    gap:20px;
}

/*=========================================
=            POST CARD
=========================================*/

.post-card{
    background:var(--white);
    border-radius:var(--radius-xl);
    box-shadow:var(--shadow-sm);
    overflow:hidden;
    margin-bottom:25px;
    transition:var(--transition);
}

.post-card:hover{
    box-shadow:var(--shadow-md);
}

/*=========================================
=            POST HEADER
=========================================*/

.post-header{
    display:flex;
    align-items:center;
    gap:15px;
    padding:20px 24px;
}

.user-avatar{
    width:55px;
    height:55px;
    border-radius:50%;
    object-fit:cover;
    border:2px solid var(--border);
}

.user-info{
    flex:1;
}

.user-name{
    font-size:16px;
    font-weight:700;
    color:var(--dark);
}

.post-time{
    font-size:13px;
    color:var(--muted);
}

.post-menu{
    font-size:22px;
    color:var(--muted);
    cursor:pointer;
}

/*=========================================
=            TAG
=========================================*/

.topic-badge{
    display:inline-block;
    margin:0 24px 15px;
    padding:7px 14px;
    border-radius:999px;
    background:#e0f2fe;
    color:var(--info);
    font-size:13px;
    font-weight:700;
}

/*=========================================
=            POST BODY
=========================================*/

.post-body{
    padding:0 24px 20px;
}

.post-text{
    line-height:1.8;
    color:var(--text);
}

.post-image{
    width:100%;
    max-height:550px;
    object-fit:cover;
}

/*=========================================
=            ACTION BAR
=========================================*/

.action-bar{
    display:flex;
    justify-content:space-around;
    align-items:center;
    border-top:1px solid var(--border);
    padding:12px;
}

.action-btn{
    display:flex;
    align-items:center;
    gap:8px;
    padding:10px 16px;
    border-radius:12px;
    font-weight:600;
    transition:var(--transition);
    color:var(--text);
}

.action-btn:hover{
    background:#eff6ff;
    color:var(--primary);
}

.action-btn.active{
    background:var(--primary);
    color:#fff;
}

/*=========================================
=            COMMENT BOX
=========================================*/

.comment-box{
    padding:20px;
    border-top:1px solid var(--border);
    background:#f8fafc;
}

.comment-input{
    width:100%;
    border:1px solid var(--border);
    border-radius:30px;
    padding:12px 18px;
}

/*=========================================
=            WIDGET
=========================================*/

.sidebar-widget{
    background:#fff;
    border-radius:20px;
    padding:22px;
    box-shadow:var(--shadow-sm);
}

.widget-title{
    font-size:18px;
    font-weight:700;
    margin-bottom:18px;
}

/*=========================================
=            TRENDING ITEM
=========================================*/

.trending-item{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:14px 0;
    border-bottom:1px solid var(--border);
}

.trending-item:last-child{
    border-bottom:none;
}

/*=========================================
=            SURVEY CARD
=========================================*/

.feature-card{
    background:#fff;
    border-radius:20px;
    padding:22px;
    box-shadow:var(--shadow-sm);
    margin-bottom:20px;
}

.feature-card h5{
    margin-bottom:10px;
}

.feature-card p{
    margin-bottom:15px;
}

/*=========================================
=            EMPTY STATE
=========================================*/

.empty-state{
    background:#fff;
    border-radius:20px;
    text-align:center;
    padding:60px 30px;
    box-shadow:var(--shadow-sm);
}

.empty-state img{
    width:140px;
    margin:auto auto 20px;
}

.empty-state h4{
    margin-bottom:10px;
}

.empty-state p{
    color:var(--muted);
}

/*=========================================
=            MOBILE
=========================================*/

@media(max-width:1200px){

.feed-layout{
    grid-template-columns:1fr 300px;
}

.feed-layout .left-sidebar{
    display:none;
}

}

@media(max-width:992px){

.feed-layout{
    display:block;
}

.feed-sidebar{
    margin-top:25px;
}

}

@media(max-width:768px){

.post-header{
    padding:18px;
}

.post-body{
    padding:0 18px 18px;
}

.topic-badge{
    margin:0 18px 15px;
}

.action-bar{
    flex-wrap:wrap;
    gap:10px;
}

.action-btn{
    flex:1 1 calc(50% - 10px);
    justify-content:center;
}

.user-avatar{
    width:48px;
    height:48px;
}

}

/*==================================================
    TALKTOLEADER UI FRAMEWORK v2.0
    MODULE 06 : ADMIN • PROFILE • CHAT • RESPONSIVE
====================================================*/

/*=========================================
=            PROFILE CARD
=========================================*/

.profile-card{
    background:var(--white);
    border-radius:var(--radius-xl);
    overflow:hidden;
    box-shadow:var(--shadow-sm);
    margin-bottom:25px;
}

.profile-cover{
    height:180px;
    background:linear-gradient(135deg,var(--primary),var(--secondary));
}

.profile-content{
    padding:25px;
    text-align:center;
}

.profile-avatar{
    width:120px;
    height:120px;
    border-radius:50%;
    object-fit:cover;
    border:5px solid #fff;
    margin:-80px auto 15px;
    box-shadow:var(--shadow-md);
}

.profile-name{
    font-size:24px;
    font-weight:700;
}

.profile-role{
    color:var(--muted);
    margin-top:6px;
}

/*=========================================
=            NOTIFICATIONS
=========================================*/

.notification-list{
    display:flex;
    flex-direction:column;
    gap:15px;
}

.notification-card{
    display:flex;
    gap:15px;
    background:#fff;
    padding:18px;
    border-radius:18px;
    box-shadow:var(--shadow-sm);
    transition:var(--transition);
}

.notification-card:hover{
    box-shadow:var(--shadow-md);
}

.notification-icon{
    width:52px;
    height:52px;
    border-radius:50%;
    background:#eef4ff;
    display:flex;
    align-items:center;
    justify-content:center;
    color:var(--primary);
    font-size:22px;
}

.notification-body{
    flex:1;
}

.notification-title{
    font-weight:700;
}

.notification-time{
    font-size:12px;
    color:var(--muted);
}

/*=========================================
=            CHAT
=========================================*/

.chat-wrapper{
    background:#fff;
    border-radius:20px;
    box-shadow:var(--shadow-sm);
    overflow:hidden;
}

.chat-header{
    padding:20px;
    border-bottom:1px solid var(--border);
}

.chat-body{
    padding:20px;
    max-height:500px;
    overflow-y:auto;
}

.message{
    display:flex;
    margin-bottom:18px;
}

.message.sent{
    justify-content:flex-end;
}

.message.received{
    justify-content:flex-start;
}

.message-bubble{
    max-width:75%;
    padding:12px 18px;
    border-radius:18px;
    line-height:1.6;
}

.sent .message-bubble{
    background:var(--primary);
    color:#fff;
}

.received .message-bubble{
    background:#f1f5f9;
}

.chat-footer{
    padding:18px;
    border-top:1px solid var(--border);
    display:flex;
    gap:10px;
}

/*=========================================
=            ANALYTICS
=========================================*/

.analytics-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:20px;
}

.citizen-analytics-card{
    background:#fff;
    padding:25px;
    border-radius:20px;
    box-shadow:var(--shadow-sm);
}

/* =========================================
   CITIZEN ANALYTICS CONTAINER
========================================= */

.citizen-analytics-container{

    max-width:1400px;

    margin:30px auto;

    padding:20px;

    width:100%;

}

/* Tablet */

@media (max-width:992px){

.citizen-analytics-container{

    margin:20px auto;

    padding:15px;

}

}

/* Mobile */

@media (max-width:768px){

.citizen-analytics-container{

    margin:15px auto;

    padding:12px;

}

}

/*=========================================
=       CITIZEN ANALYTICS BANNER
=========================================*/

.citizen-banner{

    background:linear-gradient(135deg,#6a11cb,#8e2de2);

    color:#fff;

    border-radius:25px;

    padding:40px;

    margin-bottom:30px;

    box-shadow:0 15px 35px rgba(106,17,203,.25);

    overflow:hidden;

    position:relative;

}

/* Decorative circles */

.citizen-banner::before{

    content:"";

    position:absolute;

    width:220px;

    height:220px;

    border-radius:50%;

    background:rgba(255,255,255,.08);

    top:-80px;

    right:-60px;

}

.citizen-banner::after{

    content:"";

    position:absolute;

    width:140px;

    height:140px;

    border-radius:50%;

    background:rgba(255,255,255,.06);

    bottom:-40px;

    left:-30px;

}

/* Content */

.citizen-banner-content{

    position:relative;

    z-index:2;

}

.citizen-banner h2{

    color:#fff;

    font-size:36px;

    font-weight:800;

    margin-bottom:12px;

}

.citizen-banner p{

    color:rgba(255,255,255,.92);

    font-size:17px;

    max-width:700px;

    line-height:1.7;

    margin-bottom:25px;

}

/* Buttons */

.citizen-banner-buttons{

    display:flex;

    gap:15px;

    flex-wrap:wrap;

}

.citizen-banner-buttons .btn{

    border-radius:30px;

    padding:12px 26px;

    font-weight:700;

}

.citizen-banner-buttons .btn-light{

    background:#fff;

    color:#6a11cb;

}

.citizen-banner-buttons .btn-light:hover{

    background:#f8f9fa;

}

.citizen-banner-buttons .btn-outline-light{

    border:2px solid rgba(255,255,255,.7);

    color:#fff;

}

.citizen-banner-buttons .btn-outline-light:hover{

    background:#fff;

    color:#6a11cb;

}

/* Mobile */

@media(max-width:768px){

.citizen-banner{

    padding:25px;

}

.citizen-banner h2{

    font-size:28px;

}

.citizen-banner p{

    font-size:15px;

}

.citizen-banner-buttons{

    flex-direction:column;

}

.citizen-banner-buttons .btn{

    width:100%;

}

}

.analytics-value{
    font-size:36px;
    font-weight:800;
    color:var(--primary);
}

.analytics-label{
    color:var(--muted);
}

/*=========================================
=            ADMIN
=========================================*/

.admin-wrapper{
    display:flex;
    min-height:100vh;
}

.admin-sidebar{
    width:270px;
    background:#0f172a;
    color:#fff;
}

.admin-sidebar a{
    display:block;
    color:#cbd5e1;
    padding:14px 20px;
}

.admin-sidebar a:hover{
    background:#1e293b;
    color:#fff;
}

.admin-content{
    flex:1;
    padding:30px;
}

.admin-header{
    background:#fff;
    border-radius:18px;
    padding:18px 24px;
    margin-bottom:25px;
    box-shadow:var(--shadow-sm);
}

/*=========================================
=            ADMIN TABLE
=========================================*/

.admin-table{
    width:100%;
    border-collapse:collapse;
}

.admin-table th{
    background:#f8fafc;
    padding:15px;
    text-align:left;
}

.admin-table td{
    padding:15px;
    border-top:1px solid var(--border);
}

.admin-table tr:hover{
    background:#f8fafc;
}

/*=========================================
=            LOADER
=========================================*/

.loader{
    width:42px;
    height:42px;
    border:4px solid #dbeafe;
    border-top:4px solid var(--primary);
    border-radius:50%;
    animation:spin 1s linear infinite;
}

@keyframes spin{

to{
transform:rotate(360deg);
}

}

/*=========================================
=            MODAL
=========================================*/

.modal-overlay{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.55);
    display:flex;
    justify-content:center;
    align-items:center;
    z-index:9999;
}

.modal-box{
    background:#fff;
    width:95%;
    max-width:550px;
    border-radius:22px;
    padding:25px;
}

/*=========================================
=            RESPONSIVE
=========================================*/

@media(max-width:1200px){

.analytics-grid{
grid-template-columns:repeat(2,1fr);
}

}

@media(max-width:992px){

.admin-wrapper{
flex-direction:column;
}

.admin-sidebar{
width:100%;
}

}

@media(max-width:768px){

.analytics-grid{
grid-template-columns:1fr;
}

.profile-avatar{
width:100px;
height:100px;
}

.chat-footer{
flex-direction:column;
}

.message-bubble{
max-width:100%;
}

.admin-content{
padding:20px;
}

}

@media(max-width:576px){

.profile-content{
padding:20px;
}

.notification-card{
flex-direction:column;
text-align:center;
}

.notification-icon{
margin:auto;
}

.admin-header{
padding:16px;
}

}
.page-layout{

display:grid;

grid-template-columns:

300px
1fr
320px;

gap:25px;

}

/*==================================================
 TALKTOLEADER CONSTITUENCY ROOM
==================================================*/


/* HERO */

.room-hero{

    background:linear-gradient(
        135deg,
        #2563eb,
        #4f46e5
    );

    padding:35px;

    border-radius:30px;

    color:white;

    margin-bottom:30px;

    box-shadow:0 20px 45px rgba(37,99,235,.25);

}


.room-title{

    font-size:34px;

    font-weight:800;

    margin-bottom:10px;

}


.room-subtitle{

    color:rgba(255,255,255,.9);

    font-size:16px;

    max-width:700px;

}



/* STATS */

.stats-grid{

    display:grid;

    grid-template-columns:
    repeat(4,1fr);

    gap:20px;

    margin-top:30px;

}


.stat-card{

    background:white;

    padding:22px;

    border-radius:22px;

    text-align:center;

    box-shadow:0 8px 25px rgba(0,0,0,.08);

    transition:.3s;

}


.stat-card:hover{

    transform:translateY(-5px);

}


.stat-number{

    font-size:35px;

    font-weight:800;

    color:#2563eb;

}


.stat-label{

    color:#64748b;

    font-weight:600;

}



/* QUICK BUTTON */

.quick-links{

    margin-top:25px;

}


.hero-btn{

    display:inline-flex;

    background:white;

    color:#2563eb;

    padding:12px 25px;

    border-radius:30px;

    font-weight:700;

}



/* MAIN ROOM LAYOUT */


.room-layout{

    display:grid;

    grid-template-columns:

    320px
    1fr;

    gap:25px;

    align-items:start;

}



.room-sidebar{

    position:sticky;

    top:90px;

}


.main-feed{

    min-width:0;

}




/* SIDEBAR */


.sidebar-card{

    background:white;

    padding:22px;

    border-radius:22px;

    margin-bottom:20px;

    box-shadow:0 8px 20px rgba(0,0,0,.06);

}


.sidebar-card h3{

    font-size:20px;

    margin-bottom:10px;

}


.sidebar-card a{

    display:inline-block;

    margin-top:10px;

    background:#2563eb;

    color:white;

    padding:10px 18px;

    border-radius:12px;

}



/* SURVEY */


.survey-card{

    background:white;

    padding:22px;

    border-radius:22px;

    margin-bottom:20px;

    box-shadow:0 8px 20px rgba(0,0,0,.08);

}




/* POST PROFILE */


.user-photo{

    width:55px;

    height:55px;

    border-radius:50%;

    object-fit:cover;

    border:3px solid #e0e7ff;

}



.post-tag{

    display:inline-block;

    margin:0 24px 15px;

    background:#dbeafe;

    color:#2563eb;

    padding:7px 15px;

    border-radius:20px;

    font-weight:700;

    font-size:13px;

}



.post-content{

    padding:0 24px 20px;

    font-size:16px;

}



/* DISCUSSION FORM */


#createDiscussion textarea{

    font-size:15px;

}



#createDiscussion input[type=file]{

    padding:10px;

    border:1px solid #ddd;

    border-radius:10px;

}



/* MOBILE */


@media(max-width:992px){


.stats-grid{

grid-template-columns:
repeat(2,1fr);

}


.room-layout{

grid-template-columns:1fr;

}


.room-sidebar{

position:relative;

top:auto;

}


}



@media(max-width:576px){


.room-hero{

padding:25px;

}


.room-title{

font-size:25px;

}


.stats-grid{

grid-template-columns:1fr;

}


.post-footer{

flex-wrap:wrap;

}


.action-btn{

font-size:13px;

padding:8px;

}



}
/*==================================================
 TALKTOLEADER CITIZEN DASHBOARD
==================================================*/


/* SECTION CARD */

.section-card{

    background:#fff;

    padding:30px;

    border-radius:25px;

    margin-top:30px;

    box-shadow:
    0 8px 25px rgba(0,0,0,.06);

    transition:.3s;

}


.section-card:hover{

    box-shadow:
    0 15px 35px rgba(0,0,0,.10);

}



/* QUICK ACTION BUTTON */


.quick-btn{

    width:100%;

    min-height:55px;

    border-radius:16px;

    font-weight:700;

    display:flex;

    align-items:center;

    justify-content:center;

}



/* LEADER CARD */


.leader-card{

    background:#fff;

    border-radius:22px;

    padding:25px;

    text-align:center;

    height:100%;

    box-shadow:
    0 8px 20px rgba(0,0,0,.06);

    transition:.3s;

}



.leader-card:hover{

    transform:translateY(-6px);

    box-shadow:
    0 15px 35px rgba(0,0,0,.12);

}



.leader-photo{

    width:110px;

    height:110px;

    object-fit:cover;

    border-radius:50%;

    margin:auto;

    border:4px solid #dbeafe;

}



.leader-card h4,
.leader-card h5{

    color:#111827;

}



.leader-card p{

    color:#64748b;

    font-weight:600;

}




/* POST PREVIEW */


.post-title{

    font-size:20px;

    font-weight:700;

    color:#111827;

    margin-bottom:8px;

}



.post-meta{

    font-size:14px;

    color:#64748b;

    margin-bottom:15px;

}



.post-content-preview{

    color:#475569;

    line-height:1.7;

}




/* ISSUE ITEM */


.issue-item{

    background:#f8fafc;

    padding:18px;

    border-radius:18px;

    margin-bottom:15px;

    border-left:5px solid #2563eb;

    transition:.3s;

}



.issue-item:hover{

    background:#eff6ff;

    transform:translateX(5px);

}



.issue-item h5{

    margin-bottom:5px;

    color:#111827;

}



/* DASHBOARD ICON */


.stat-card i{

    width:55px;

    height:55px;

    display:flex;

    align-items:center;

    justify-content:center;

    margin:0 auto 15px;

    border-radius:50%;

    background:#eff6ff;

    color:#2563eb;

    font-size:24px;

}



/* HERO BUTTON FIX */


.hero .btn-light{

    background:white;

    color:#2563eb;

    font-weight:700;

    border-radius:15px;

}



/* MOBILE */


@media(max-width:768px){


.section-card{

    padding:20px;

    border-radius:20px;

}



.leader-photo{

    width:90px;

    height:90px;

}



.stat-card{

    padding:20px;

}



.stat-number,
.stat-card h2{

    font-size:30px;

}


.quick-btn{

    min-height:50px;

}


}
/*==================================================
 TALKTOLEADER ISSUE MODULE
 Report Issue + Constituency Issues
==================================================*/


/* Banner */

.banner{

    background:linear-gradient(135deg,#2563eb,#4f46e5);

    color:#fff;

    padding:40px;

    border-radius:28px;

    margin-bottom:30px;

    box-shadow:0 15px 35px rgba(37,99,235,.25);

}

.banner h2{

    color:#fff;

    margin-bottom:10px;

}

.banner p{

    color:rgba(255,255,255,.92);

}



/* Report Card */

.report-card{

    padding:35px;

    border-radius:25px;

    background:#fff;

    box-shadow:0 8px 25px rgba(0,0,0,.08);

}



.report-card .title{

    font-size:28px;

    font-weight:700;

    margin-bottom:8px;

}



.report-card .subtitle{

    color:#64748b;

    margin-bottom:30px;

}



/* Form */

.report-form{

    display:flex;

    flex-direction:column;

    gap:20px;

}



.report-form .row{

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:20px;

}



.report-form input,

.report-form textarea,

.report-form select{

    width:100%;

    padding:14px 16px;

    border:1px solid #dbe2ea;

    border-radius:14px;

    background:#fff;

    transition:.3s;

}



.report-form textarea{

    min-height:150px;

    resize:vertical;

}



.report-form input:focus,

.report-form textarea:focus,

.report-form select:focus{

    border-color:#2563eb;

    box-shadow:0 0 0 4px rgba(37,99,235,.10);

}



.report-form label{

    display:block;

    margin-bottom:8px;

    font-weight:600;

    color:#1f2937;

}



.report-form .btn{

    width:220px;

    margin-top:10px;

}



/* Filters */

.filters{

    display:flex;

    gap:12px;

    flex-wrap:wrap;

    margin:25px 0;

}



.filters a{

    padding:10px 18px;

    border-radius:30px;

    background:#fff;

    color:#475569;

    font-weight:600;

    box-shadow:0 3px 10px rgba(0,0,0,.06);

    transition:.3s;

}



.filters a:hover{

    background:#2563eb;

    color:#fff;

}



/* Issue Card */

.issue-card{

    background:#fff;

    padding:25px;

    border-radius:24px;

    margin-bottom:25px;

    box-shadow:0 8px 25px rgba(0,0,0,.08);

    transition:.3s;

}



.issue-card:hover{

    transform:translateY(-4px);

    box-shadow:0 15px 35px rgba(0,0,0,.12);

}



/* Issue ID */

.issue-id{

    display:inline-block;

    background:#e0ecff;

    color:#2563eb;

    font-size:13px;

    font-weight:700;

    padding:6px 14px;

    border-radius:30px;

    margin-bottom:15px;

}



/* Title */

.issue-title{

    font-size:24px;

    font-weight:700;

    color:#111827;

    margin-bottom:15px;

}



/* Meta */

.issue-meta{

    color:#64748b;

    margin-bottom:10px;

    line-height:1.7;

}



/* Description */

.issue-desc{

    margin:20px 0;

    color:#334155;

    line-height:1.8;

}



/* Image */

.issue-card img{

    width:100%;

    max-height:420px;

    object-fit:cover;

    border-radius:18px;

    margin:20px 0;

}



/* Support */

.support-box{

    display:inline-block;

    background:#dcfce7;

    color:#166534;

    padding:10px 18px;

    border-radius:30px;

    font-weight:700;

    margin-top:15px;

    margin-bottom:20px;

}



/* Status Badge */

.issue-card .badge{

    padding:8px 16px;

    border-radius:30px;

    font-size:13px;

}



/* Mobile */

@media(max-width:768px){

.banner{

padding:25px;

}

.report-card{

padding:20px;

}

.report-form .row{

grid-template-columns:1fr;

}

.report-form .btn{

width:100%;

}

.issue-card{

padding:18px;

}

.issue-title{

font-size:20px;

}

.filters{

overflow-x:auto;

flex-wrap:nowrap;

padding-bottom:5px;

}

.filters a{

white-space:nowrap;

}

}
/* Desktop Layout */
.room-layout{
    display:flex;
    gap:25px;
    align-items:flex-start;
}

.room-sidebar{
    width:320px;
    order:2;
}

.main-feed{
    flex:1;
    order:1;
}

/* Mobile Layout */
@media (max-width:768px){

    .room-layout{
        display:flex;
        flex-direction:column;
    }

    /* Discussion Feed First */
    .main-feed{
        order:1;
    }

    /* Sidebar After Discussions */
    .room-sidebar{
        order:2;
        width:100%;
        margin-top:20px;
    }

}

.survey-card{

background:#fff;

border-radius:18px;

padding:20px;

margin-bottom:20px;

box-shadow:0 8px 30px rgba(0,0,0,.08);

border-left:5px solid #2563eb;

}

.survey-header{

display:flex;

align-items:center;

gap:12px;

margin-bottom:15px;

}

.survey-icon{

width:55px;

height:55px;

background:#2563eb;

color:#fff;

display:flex;

align-items:center;

justify-content:center;

border-radius:50%;

font-size:24px;

}

.survey-card h4{

margin:10px 0;

font-size:18px;

font-weight:700;

color:#111827;

}

.survey-card p{

color:#6b7280;

font-size:14px;

line-height:1.6;

margin-bottom:18px;

}

.survey-btn{

display:block;

text-align:center;

padding:12px;

border-radius:12px;

background:#2563eb;

color:#fff;

font-weight:600;

text-decoration:none;

transition:.3s;

}

.survey-btn:hover{

background:#1d4ed8;

color:#fff;

transform:translateY(-2px);

}
/* Layout */
.room-layout{
    display:flex;
    gap:25px;
    align-items:flex-start;
    margin-top:25px;
}

/* Discussion Feed */
.main-feed{
    flex:1;
    height:calc(100vh - 120px);
    overflow-y:auto;
    padding-right:10px;
    scrollbar-width:thin;
}

/* Right Sidebar */
.room-sidebar{
    width:340px;
    height:calc(100vh - 120px);
    overflow-y:auto;
    padding-right:6px;
    position:sticky;
    top:90px;
    scrollbar-width:thin;
}

/* Chrome Scrollbar */
.main-feed::-webkit-scrollbar,
.room-sidebar::-webkit-scrollbar{
    width:8px;
}

.main-feed::-webkit-scrollbar-thumb,
.room-sidebar::-webkit-scrollbar-thumb{
    background:#cbd5e1;
    border-radius:10px;
}

.main-feed::-webkit-scrollbar-thumb:hover,
.room-sidebar::-webkit-scrollbar-thumb:hover{
    background:#94a3b8;
}
.feed-layout{
    display:flex;
    gap:25px;
    align-items:flex-start;
}

.feed-container{
    flex:1;
    max-height:calc(100vh - 90px);
    overflow-y:auto;
    padding-right:12px;
}

.sidebar-col{
    width:340px;
    max-height:calc(100vh - 90px);
    overflow-y:auto;
    position:sticky;
    top:75px;
    padding-right:8px;
}@media(max-width:992px){

.feed-layout{
    display:block;
}

.feed-container,
.sidebar-col{
    width:100%;
    max-height:none;
    overflow:visible;
    position:static;
}

}
.trending-card{
    border:none;
    border-radius:18px;
    overflow:hidden;
}

.topic-item{

    display:flex;
    justify-content:space-between;
    align-items:center;

    padding:15px 18px;

    color:#222;
    text-decoration:none;

    border-bottom:1px solid #f1f1f1;

    transition:.25s;

}

.topic-item:last-child{
    border-bottom:none;
}

.topic-item:hover{

    background:#f8fbff;

    text-decoration:none;

    transform:translateX(3px);

}

.topic-left{

    display:flex;
    align-items:center;
    gap:12px;

}

.topic-icon{

    width:42px;
    height:42px;

    border-radius:50%;

    background:#2563eb;

    color:#fff;

    display:flex;
    align-items:center;
    justify-content:center;

    font-weight:bold;
    font-size:18px;

}

.topic-name{

    font-weight:700;
    color:#111827;

}

.topic-item small{

    color:#6b7280;

}

.topic-arrow{

    font-size:20px;
    color:#9ca3af;

}

.topic-item:hover .topic-arrow{

    color:#2563eb;

}
.topic-card{

border:none;

border-radius:20px;

box-shadow:0 10px 25px rgba(0,0,0,.08);

transition:.3s;

overflow:hidden;

}

.topic-card:hover{

transform:translateY(-6px);

box-shadow:0 18px 40px rgba(37,99,235,.15);

}

.topic-icon{

width:65px;

height:65px;

border-radius:50%;

background:linear-gradient(135deg,#2563eb,#7c3aed);

display:flex;

align-items:center;

justify-content:center;

color:#fff;

font-size:30px;

font-weight:bold;

}

.topic-stats{

display:flex;

justify-content:space-around;

padding:15px 0;

margin-top:15px;

border-top:1px solid #eee;

border-bottom:1px solid #eee;

text-align:center;

}

.topic-stats strong{

font-size:18px;

color:#111827;

}

.topic-stats small{

color:#6b7280;

}

@media(max-width:768px){

.topic-card{

margin-bottom:20px;

}

.topic-icon{

width:55px;

height:55px;

font-size:24px;

}
.topic-poster{
    width:150px;
    height:150px;
    
}
}
/* Admin Dashboard */

.verification-item{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:18px 0;
    border-bottom:1px solid #eee;
}

.verification-item:last-child{
    border-bottom:none;
}

.status-item{
    display:flex;
    justify-content:space-between;
    margin-bottom:18px;
    padding-bottom:12px;
    border-bottom:1px solid #eee;
}

.status-item:last-child{
    border-bottom:none;
}
/* TOPBAR */

.admin-topbar{

    position:fixed;

    top:0;
    left:280px;
    right:0;

    height:75px;

    background:#ffffff;

    display:flex;

    justify-content:space-between;
    align-items:center;

    padding:0 30px;

    box-shadow:0 2px 10px rgba(0,0,0,0.05);

    z-index:999;

}


/* Left */

.topbar-left h4{

    margin:0;

    font-size:22px;

    font-weight:700;

    color:#0f172a;

}


/* Right */

.topbar-right{

    display:flex;

    align-items:center;

    gap:20px;

}


/* Notification */

.notification-btn{

    width:45px;
    height:45px;

    border:none;

    border-radius:50%;

    background:#eff6ff;

    color:#2563eb;

    font-size:18px;

}
/* Admin Profile */

.admin-profile{

    display:flex;

    align-items:center;

    gap:10px;

}


.admin-profile img{

    width:42px;
    height:42px;

    border-radius:50%;

    object-fit:cover;

}


.admin-profile span{

    font-weight:600;

    color:#0f172a;

}


/* Main Content */

.admin-main-content{

    margin-left:280px;

    margin-top:95px;

    padding:30px;

}
.main-content{

    margin-left:280px;

    margin-top:95px;

    padding:30px;

}
/* FOOTER */

.admin-footer{

    margin-left:280px;

    padding:25px;

    text-align:center;

    background:#ffffff;

    border-top:1px solid #e2e8f0;

    color:#64748b;

    font-size:14px;

}
/* Input */

.admin-search input{

    width:320px;

    height:48px;

    border:none;

    outline:none;

    background:#f8fafc;

    border-radius:30px;

    padding-left:45px;
    padding-right:20px;

    font-size:14px;

    transition:0.3s;

}
.table td{
    vertical-align: middle;
    word-break: break-word;
}

/* Focus */

.admin-search input:focus{

    background:#fff;

    box-shadow:
    0 0 0 4px rgba(37,99,235,0.12);

}
.sidebar a{
    color:#d6e4ff;
}

.sidebar a:hover{
    color:#fff;
    background:#2952cc;
}

.sidebar .active{
    background:#3b82f6;
    color:#fff;
}

.comment-left{
    display:flex;
    justify-content:flex-start;
    margin-bottom:10px;
}

.comment-right{
    display:flex;
    justify-content:flex-end;
    margin-bottom:10px;
}

.comment-bubble-left,
.comment-bubble-right{

    width:48%;
    background:#fff;
    border-radius:18px;
    padding:18px;
    box-shadow:0 5px 20px rgba(0,0,0,.08);
    position:relative;
}

.comment-bubble-left{
    border-left:5px solid #6a11cb;
}

.comment-bubble-right{
    border-right:5px solid #4CAF50;
}

@media(max-width:768px){

.comment-bubble-left,
.comment-bubble-right{

    width:100%;
}

}
.comment-actions{
    display:flex;
    align-items:center;
    gap:10px;
    margin-top:15px;
    flex-wrap:wrap;
}

.comment-actions form{
    margin:0;
}

.comment-actions .btn{
    border-radius:8px;
    padding:6px 14px;
    font-size:14px;
    white-space:nowrap;
}
.reply-user{

display:inline-block;

background:#eef4ff;

color:#0d6efd;

padding:5px 12px;

border-radius:15px;

font-size:12px;

font-weight:600;

margin-bottom:10px;

}
.comments-container{

    margin-top:15px;

    padding-top:15px;

    border-top:1px solid #ddd;

}
.comments-container{
    margin-top:15px;
    padding-top:15px;
    border-top:1px solid #e5e5e5;
}
.sidebar-card{
    border:none;
    border-radius:14px;
    overflow:hidden;
}

.sidebar-card .card-header{
    font-weight:600;
    border-bottom:1px solid #eee;
}

.sidebar-card .card-body{
    padding:15px;
}

.img-thumb{
    width:400px;
    height:400px;
    object-fit:cover;
    border-radius:10px;
    cursor:pointer;
    transition:0.3s;
}

.img-thumb:hover{
    transform:scale(1.03);
}

.comment-actions{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:6px;
    flex-wrap:nowrap;
    margin-top:10px;
}

.comment-actions .btn,
.comment-actions form{
    flex:1;
}

.comment-actions .btn{
    width:100%;
    padding:6px 4px;
    font-size:12px;
    white-space:nowrap;
}

.comment-actions form{
    margin:0;
}

@media (max-width:576px){

    .comment-actions{
        gap:3px;
    }

    .comment-actions .btn{
        font-size:11px;
        padding:6px 2px;
    }

}

@media (max-width:576px){

    .post-footer{
        gap:0px;
    }

    .post-footer .action-btn{
        font-size:11px;
        padding:8px 2px;
    }
}

