/* =========================================================
   Global/Root Variables
   ========================================================= */
:root {
    --primary-color: #0d6efd; /* Bootstrap blue */
    --secondary-color: #6c757d; /* Bootstrap grey */
    --success-color: #198754;
    --info-color: #0dcaf0;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --light-bg: #f8f9fa; /* Lighter background for pages */
    --dark-bg: #2c3e50; /* Dark blue-grey for navbar, footer, etc. */
    --text-light: #ecf0f1; /* Light text for dark backgrounds */
    --text-dark: #212529; /* Dark text for light backgrounds */
    --header-bg: #ffffff; /* White background for content areas / cards */
    --border-color: #e9ecef; /* Light grey border color */
    --card-border-radius: 0.75rem; /* Rounded corners for cards */
    --card-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1); /* Subtle shadow for cards */

    /* Custom RGB values for rgba() function, derived from hex colors */
    --primary-color-rgb: 13, 110, 253;
}

/* =========================================================
   Base Styles
   ========================================================= */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--light-bg);
    color: var(--text-dark);
    line-height: 1.6;
    margin: 0;
    display: flex; /* For full page layouts like chat */
    flex-direction: column; /* For full page layouts */
    min-height: 100vh; /* Ensure body takes full viewport height */
}

/* Scrollbar Styling (Optional, for better aesthetics) */
::-webkit-scrollbar {
    width: 8px;
    height: 8px; /* For horizontal scrollbars */
}
::-webkit-scrollbar-track {
    background: var(--light-bg);
    border-radius: 10px;
}
::-webkit-scrollbar-thumb {
    background: #c0c0c0;
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: #a0a0a0;
}
/* =========================================================
   Navbar Styles
   ========================================================= */
.navbar {
    background-color: var(--dark-bg) !important; /* Ensure dark background */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    z-index: 1030; /* Ensure navbar is on top */
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

.navbar-brand {
    color: var(--text-light) !important;
    font-weight: bold;
    display: flex;
    align-items: center;
}

.navbar-brand img {
    margin-right: 0.5rem;
}

.navbar-nav .nav-link {
    color: var(--text-light) !important;
    padding: 0.5rem 1rem;
    transition: color 0.2s ease-in-out;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary-color) !important;
}

.dropdown-menu {
    border-radius: var(--card-border-radius);
    box-shadow: var(--card-shadow);
    border: none;
    padding: 0.5rem 0;
}

.dropdown-item {
    color: var(--text-dark);
    padding: 0.6rem 1.25rem;
}

.dropdown-item:hover {
    background-color: var(--border-color);
    color: var(--primary-color);
}

.dropdown-item.text-danger:hover {
    background-color: var(--danger-color);
    color: #fff !important;
}

/* =========================================================
   Footer Styles
   ========================================================= */
footer {
    background-color: var(--dark-bg) !important;
    color: var(--text-light);
    padding: 1.5rem 0;
    margin-top: auto; /* Pushes footer to the bottom */
    width: 100%;
}

footer .list-inline-item a {
    color: var(--text-light);
    font-size: 1.2rem;
    margin: 0 0.5rem;
    transition: color 0.2s;
}

footer .list-inline-item a:hover {
    color: var(--primary-color);
}

/* =========================================================
   Card & Form General Styles
   ========================================================= */
.card {
    border-radius: var(--card-border-radius);
    box-shadow: var(--card-shadow);
    border: none; /* Remove default bootstrap border */
    transition: transform 0.2s ease-in-out; /* For hover effects */
}

.card:hover {
    transform: translateY(-3px);
}

.card-header {
    background-color: var(--header-bg);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 1.25rem;
    font-weight: bold;
    color: var(--text-dark);
    border-top-left-radius: var(--card-border-radius);
    border-top-right-radius: var(--card-border-radius);
}

.card-title {
    color: var(--primary-color);
    font-weight: bold;
}

.form-label {
    font-weight: 600;
    color: var(--text-dark);
}

.form-control, .form-select, .btn {
    border-radius: 0.5rem; /* Slightly more rounded for inputs */
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: #0056b3;
    border-color: #0056b3;
}

.btn-success {
    background-color: var(--success-color);
    border-color: var(--success-color);
}

.btn-success:hover {
    background-color: #146c43;
    border-color: #146c43;
}

.btn-info {
    background-color: var(--info-color);
    border-color: var(--info-color);
}

.btn-info:hover {
    background-color: #0aa2c2;
    border-color: #0aa2c2;
}

.btn-warning {
    background-color: var(--warning-color);
    border-color: var(--warning-color);
    color: var(--text-dark); /* Ensure text is dark on warning button */
}

.btn-warning:hover {
    background-color: #ffc720;
    border-color: #ffc720;
}

.btn-danger {
    background-color: var(--danger-color);
    border-color: var(--danger-color);
}

.btn-danger:hover {
    background-color: #bb2d3b;
    border-color: #bb2d3b;
}

/* Form section titles */
.form-section-title {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--border-color);
    font-size: 1.8rem;
    font-weight: 700;
}

/* Alerts */
.alert {
    border-radius: 0.5rem;
}

/* =========================================================
   Login Page Specific Styles
   ========================================================= */
body.login-page-body {
    background-color: #e9eff5; /* Slightly different background for login */
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
}

.login-container {
    max-width: 420px; /* Slightly wider for better spacing */
    width: 100%;
    padding: 30px;
    box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.15); /* More prominent shadow */
    border-radius: 1rem; /* More rounded corners */
    background-color: #ffffff;
    animation: fadeIn 0.8s ease-out; /* Simple fade-in animation */
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

.login-header {
    text-align: center;
    margin-bottom: 30px;
}

.login-header img {
    max-width: 90px; /* Larger logo */
    margin-bottom: 15px;
    border-radius: 50%; /* Make logo round if it's square */
    box-shadow: 0 0 0 5px rgba(var(--primary-color), 0.2); /* Highlight around logo */
}

.login-header h2 {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 2rem;
    margin-bottom: 5px;
}

.login-header p {
    color: var(--secondary-color);
    font-size: 0.95rem;
}

.login-container .form-label {
    font-size: 0.95rem;
    margin-bottom: 0.3rem;
}

/* =========================================================
   Dashboard Layout (Admin & Member)
   ========================================================= */
.main-wrapper {
    display: flex;
    flex-grow: 1; /* Allow content to grow */
    padding-top: 20px;
    padding-bottom: 20px;
}

/* Sidebars */
.sidebar {
    background-color: #ffffff;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    padding: 20px;
    border-radius: var(--card-border-radius);
    position: sticky; /* Keeps sidebar in place on scroll */
    top: 80px; /* Adjust based on navbar height */
    height: calc(100vh - 100px); /* Fill remaining height */
    overflow-y: auto; /* Enable scrolling for long sidebars */
    flex-shrink: 0;
    transition: width 0.3s ease; /* For potential responsive collapse */
}

.sidebar.left {
    width: 260px; /* Slightly wider left sidebar */
    margin-right: 25px;
}

.sidebar.right {
    width: 320px; /* Wider right sidebar for stats */
    margin-left: 25px;
}

.sidebar h5 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: bold;
    font-size: 1.25rem;
}

.sidebar .nav-link {
    color: var(--text-dark);
    padding: 10px 15px;
    border-radius: 0.4rem;
    margin-bottom: 5px;
    transition: background-color 0.2s, color 0.2s;
    display: flex;
    align-items: center;
}

.sidebar .nav-link i {
    margin-right: 10px;
    font-size: 1.1rem;
}

.sidebar .nav-link.active,
.sidebar .nav-link:hover {
    background-color: var(--primary-color);
    color: #fff !important;
}

/* Main Content Area */
.main-content {
    flex-grow: 1;
    background-color: #ffffff;
    padding: 30px; /* More padding */
    border-radius: var(--card-border-radius);
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    margin-bottom: 20px; /* Space above footer if content is short */
}

/* Tab Navigation */
.nav-tabs .nav-link {
    color: var(--secondary-color);
    border: 1px solid var(--border-color);
    border-bottom: none;
    border-top-left-radius: 0.5rem;
    border-top-right-radius: 0.5rem;
    padding: 0.75rem 1.25rem;
    margin-right: 0.25rem; /* Space between tabs */
    transition: all 0.2s ease-in-out;
}

.nav-tabs .nav-link.active {
    color: var(--primary-color);
    background-color: #fff;
    border-color: var(--border-color) var(--border-color) #fff;
    font-weight: 600;
}

.nav-tabs .nav-link:hover:not(.active) {
    background-color: var(--light-bg);
    border-color: var(--border-color);
    color: var(--primary-color);
}

/* Stats in Dashboard and Right Sidebar */
.card.bg-primary, .card.bg-success, .card.bg-warning, .card.bg-danger {
    background-color: var(--primary-color) !important;
    color: #fff !important;
    border: none;
}
.card.bg-success { background-color: var(--success-color) !important; }
.card.bg-warning { background-color: var(--warning-color) !important; color: var(--text-dark) !important;}
.card.bg-danger { background-color: var(--danger-color) !important; }
.card-body .fs-3 {
    font-weight: bold;
}
.card-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.7); /* Slightly transparent white */
}
.card.text-center .card-title {
    color: inherit; /* Inherit color from parent card (e.g., white on primary bg) */
}


/* Badges */
.badge {
    font-size: 0.85em;
    padding: 0.5em 0.8em;
    border-radius: 0.3rem;
    font-weight: 600;
}

/* =========================================================
   Table Styles (for DataTables, Payment Status, Salary Status, Due Members)
   ========================================================= */
.dataTables_wrapper .dataTables_filter input,
.dataTables_wrapper .dataTables_length select {
    border-radius: 0.35rem;
    border: 1px solid var(--border-color);
    padding: 0.4rem 0.8rem;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.075);
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}
.dataTables_wrapper .dataTables_filter input:focus,
.dataTables_wrapper .dataTables_length select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(var(--primary-color-rgb), 0.25);
    outline: 0;
}

.table {
    margin-top: 15px;
    border-collapse: separate; /* Required for border-radius on cells */
    border-spacing: 0; /* Remove default spacing */
}
.table th, .table td {
    padding: 0.85rem;
    vertical-align: middle;
    border-top: 1px solid var(--border-color);
}
.table th {
    background-color: var(--primary-color);
    color: black;
    font-weight: 600;
}
.table-striped tbody tr:nth-of-type(odd) {
    background-color: #f6f8fa; /* Light stripe for rows */
}
.table-bordered th, .table-bordered td {
    border: 1px solid var(--border-color);
}
.table-responsive {
    border-radius: var(--card-border-radius); /* Apply radius to the table container */
    overflow: hidden; /* Hide overflow of inner table */
    box-shadow: var(--card-shadow);
}


/* Specific status colors for tables */
.status-paid {
    color: var(--success-color);
    font-weight: bold;
}
.status-due {
    color: var(--danger-color);
    font-weight: bold;
}
.status-partially-paid {
    color: var(--warning-color);
    font-weight: bold;
}
.status-active {
    color: var(--success-color);
    font-weight: bold;
}
.status-inactive {
    color: var(--secondary-color);
    font-weight: bold;
}
.status-pending {
    color: var(--info-color);
    font-weight: bold;
}

/* =========================================================
   Member Profile Specific Styles
   ========================================================= */
.profile-card {
    background-color: #ffffff;
    border-radius: var(--card-border-radius);
    box-shadow: var(--card-shadow);
    padding: 30px;
    margin-bottom: 20px;
}

.member-profile-img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    border: 5px solid var(--primary-color);
    box-shadow: 0 0 0 8px rgba(var(--primary-color-rgb), 0.2);
    margin-bottom: 20px;
}

.member-name-heading {
    color: var(--primary-color);
    font-weight: bold;
    margin-bottom: 5px;
}

.member-id-text {
    color: var(--secondary-color);
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.profile-info-item {
    padding: 10px 0;
    border-bottom: 1px dashed var(--border-color);
}

.profile-info-item:last-child {
    border-bottom: none;
}

.profile-info-item strong {
    color: var(--text-dark);
}

/* Payment history in profile */
.payment-history-card .card-body {
    padding: 0; /* Remove default card body padding for tables */
}

/* =========================================================
   Salary Input Form Specific Styles
   ========================================================= */
.form-card {
    background-color: #ffffff;
    border-radius: 1rem;
    box-shadow: 0 0.75rem 1.5rem rgba(0, 0, 0, 0.08);
    padding: 3rem;
    margin-top: 2.5rem;
    margin-bottom: 2.5rem;
}
.form-header {
    text-align: center;
    margin-bottom: 2.5rem;
}
.form-header h2 {
    color: var(--primary-color);
    font-weight: bold;
    font-size: 2.2rem;
}
.form-header p {
    color: var(--secondary-color);
    margin-top: 0.5rem;
}
.total-salary-display {
    background-color: var(--primary-color);
    color: #fff;
    padding: 1.5rem;
    border-radius: 0.75rem;
    font-size: 1.8rem;
    font-weight: bold;
    text-align: center;
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.1);
    margin-top: 2rem;
}

/* =========================================================
   Chat Page Specific Styles
   ========================================================= */
body.chat-page-body {
    background-color: #e9eff5;
    height: 100vh;
    overflow: hidden; /* Prevent body scroll, allow chat area to scroll */
}

main.chat-main {
    flex-grow: 1;
    display: flex;
    padding: 20px;
    overflow: hidden; /* Hide scrollbars that are not part of chat-container */
}

.chat-container {
    display: flex;
    height: 100%; /* Take full height of main */
    background-color: #fff;
    border-radius: 1rem;
    box-shadow: var(--card-shadow);
    overflow: hidden; /* Ensures inner components respect border-radius */
}

.chat-sidebar {
    width: 350px; /* Wider sidebar for chat list */
    border-right: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    background-color: #fcfcfc;
}

.sidebar-header {
    padding: 15px 20px;
    border-bottom: 1px solid var(--border-color);
    font-weight: bold;
    color: var(--primary-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sidebar-search {
    padding: 10px 20px;
    border-bottom: 1px solid var(--border-color);
}

.chat-list {
    flex-grow: 1;
    overflow-y: auto;
    padding: 10px 0;
}

.member-item, .group-item {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    cursor: pointer;
    transition: background-color 0.2s;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.member-item:hover, .group-item:hover,
.member-item.active, .group-item.active {
    background-color: var(--primary-color);
    color: #fff;
}

.member-item.active .badge, .group-item.active .badge {
    background-color: #fff;
    color: var(--primary-color);
}

.member-item img, .group-item img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    margin-right: 15px;
    object-fit: cover;
    border: 2px solid var(--primary-color);
}

.member-info, .group-info {
    flex-grow: 1;
}

.member-name, .group-name {
    font-weight: 600;
    margin-bottom: 2px;
}

.last-message {
    font-size: 0.85em;
    color: var(--secondary-color);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.member-item.active .last-message, .group-item.active .last-message {
    color: rgba(255, 255, 255, 0.8);
}


.chat-area {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.chat-header {
    padding: 15px 20px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #fff;
}

.chat-header .item-name {
    font-weight: bold;
    font-size: 1.2rem;
    color: var(--primary-color);
    display: flex;
    align-items: center;
}

.chat-header .item-name img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 10px;
    object-fit: cover;
}

.chat-messages {
    flex-grow: 1;
    overflow-y: auto;
    padding: 20px;
    background-color: #fbfbfb; /* Slightly off-white for message area */
    display: flex; /* For chat bubbles */
    flex-direction: column; /* To stack messages */
}

.message {
    display: flex;
    margin-bottom: 15px;
    max-width: 80%;
}

.message.sent {
    justify-content: flex-end;
    margin-left: auto;
}

.message.received {
    justify-content: flex-start;
    margin-right: auto;
}

.message-bubble {
    padding: 10px 15px;
    border-radius: 1rem;
    font-size: 0.95em;
    position: relative;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.message.sent .message-bubble {
    background-color: var(--primary-color);
    color: #fff;
    border-bottom-right-radius: 0; /* Pointy tail */
}

.message.received .message-bubble {
    background-color: var(--border-color);
    color: var(--text-dark);
    border-bottom-left-radius: 0; /* Pointy tail */
}

.message-time {
    font-size: 0.75em;
    color: var(--secondary-color);
    margin-top: 5px;
    text-align: right;
}
.message.sent .message-time {
    color: rgba(255, 255, 255, 0.7); /* Lighter time for sent messages */
}


.chat-input-area {
    padding: 15px 20px;
    border-top: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    background-color: #fff;
}

.chat-input-area .form-control {
    flex-grow: 1;
    margin-right: 10px;
    border-radius: 0.75rem;
}

.chat-input-area .btn {
    border-radius: 0.75rem;
    padding: 0.75rem 1rem;
}

/* Modal for chat */
.modal-content {
    border-radius: 1rem;
}
.modal-header {
    border-bottom: 1px solid var(--border-color);
}
.modal-footer {
    border-top: 1px solid var(--border-color);
}

/* Member Photo Preview (Add New Member in Admin Dashboard) */
.member-photo-preview-container {
    width: 150px;
    height: 150px;
    border: 2px dashed var(--border-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
    background-color: #f0f2f5;
    margin: 0 auto 15px auto;
}
.member-photo-preview-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}
.member-photo-preview-container .placeholder-icon {
    font-size: 3rem;
    color: var(--secondary-color);
}
.member-photo-input-group {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Mobile Responsiveness (Basic) */
@media (max-width: 991.98px) { /* Lg breakpoint */
    .sidebar.left, .sidebar.right {
        display: none !important; /* Hide sidebars on smaller screens */
    }
    .main-wrapper {
        padding: 15px;
    }
    .main-content {
        padding: 20px;
    }
    .chat-sidebar {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid var(--border-color);
        height: auto; /* Allow sidebar to be flexible */
    }
    .chat-container {
        flex-direction: column;
    }
    .chat-messages {
        height: calc(100vh - 250px); /* Adjust height for chat on mobile */
    }
}

@media (max-width: 767.98px) { /* Md breakpoint */
    .login-container {
        padding: 20px;
        margin: 15px;
    }
    .form-card {
        padding: 1.5rem;
        margin-top: 1.5rem;
        margin-bottom: 1.5rem;
    }
    .form-section-title {
        font-size: 1.5rem;
    }
    .table th, .table td {
        padding: 0.6rem;
        font-size: 0.9rem;
    }
}


/* Custom styles for Admin Dashboard, to be merged with your assets/css/style.css */
        body.admin-dashboard-body {
            background-color: #f8f9fa; /* Light background */
            font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
            color: #333;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
        }
        .navbar {
            background-color: #2c3e50 !important; /* Dark blue-grey for navbar */
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        }
        .navbar-brand {
            font-weight: bold;
            color: #ecf0f1 !important; /* Light text for dark backgrounds */
            display: flex;
            align-items: center;
        }
        .navbar-nav .nav-link {
            color: #ecf0f1 !important;
            transition: color 0.2s ease-in-out;
        }
        .navbar-nav .nav-link:hover,
        .navbar-nav .nav-link.active {
            color: #0d6efd !important; /* Primary Bootstrap blue */
        }
        .main-wrapper {
            display: flex;
            flex-grow: 1;
            padding-top: 20px;
            padding-bottom: 20px;
        }
        .sidebar {
            width: 280px; /* Wider sidebar */
            background-color: #ffffff;
            padding: 20px;
            border-radius: 1rem;
            box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.05);
            margin-right: 20px;
            flex-shrink: 0;
        }
        .sidebar.right {
            margin-left: 20px;
            margin-right: 0;
        }
        .sidebar h5 {
            color: #0d6efd;
            font-weight: bold;
            margin-bottom: 15px;
        }
        .sidebar .nav-link {
            color: #333;
            padding: 10px 15px;
            border-radius: 0.5rem;
            transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
            margin-bottom: 5px;
        }
        .sidebar .nav-link.active,
        .sidebar .nav-link:hover {
            background-color: #0d6efd;
            color: #ffffff;
        }
        .sidebar .nav-link i {
            font-size: 1.1rem;
        }
        .main-content {
            flex-grow: 1;
            background-color: #ffffff;
            padding: 30px;
            border-radius: 1rem;
            box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.05);
        }
        .form-section-title {
            color: #0d6efd;
            margin-bottom: 30px;
            font-weight: bold;
            border-bottom: 2px solid #e9ecef;
            padding-bottom: 10px;
        }
        .card {
            border-radius: 0.75rem;
            box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.05);
            transition: transform 0.2s ease-in-out;
        }
        .card:hover {
            transform: translateY(-5px);
        }
        .card-icon {
            font-size: 3rem;
            margin-bottom: 15px;
        }
        .card.bg-primary .card-icon,
        .card.bg-success .card-icon {
            color: rgba(255, 255, 255, 0.8);
        }
        .card.bg-warning .card-icon {
            color: rgba(0, 0, 0, 0.5);
        }

        /* Member Photo and Blog Image Preview Styles */
        .member-photo-preview-container,
        .blog-image-preview-container,
        .committee-photo-preview-container {
            width: 150px;
            height: 150px;
            border: 2px dashed #ced4da;
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
            position: relative;
            background-color: #f0f2f5;
            margin: 0 auto 15px auto;
        }
        .member-photo-preview-container, .committee-photo-preview-container {
            border-radius: 50%; /* Circular for member and committee photos */
        }
        .blog-image-preview-container {
            border-radius: 0.75rem; /* For blog image, make it rectangular with rounded corners */
            width: 100%;
            height: 200px; /* Adjust height as needed */
        }
        .member-photo-preview-container img,
        .blog-image-preview-container img,
        .committee-photo-preview-container img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            border-radius: inherit; /* Inherit border-radius from parent */
        }
        .member-photo-preview-container .placeholder-icon,
        .blog-image-preview-container .placeholder-icon,
        .committee-photo-preview-container .placeholder-icon {
            font-size: 3rem;
            color: #6c757d;
        }
        .member-photo-input-group,
        .blog-image-input-group,
        .committee-photo-input-group {
            display: flex;
            flex-direction: column;
            align-items: center;
        }
		
		
		
		/* New code */
		/* Custom styles for Admin Dashboard, to be merged with your assets/css/style.css */
        body.admin-dashboard-body {
            background-color: #f8f9fa; /* Light background */
            font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
            color: #333;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
        }
        .navbar {
            background-color: #2c3e50 !important; /* Dark blue-grey for navbar */
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        }
        .navbar-brand {
            font-weight: bold;
            color: #ecf0f1 !important; /* Light text for dark backgrounds */
            display: flex;
            align-items: center;
        }
        .navbar-nav .nav-link {
            color: #ecf0f1 !important;
            transition: color 0.2s ease-in-out;
        }
        .navbar-nav .nav-link:hover,
        .navbar-nav .nav-link.active {
            color: #0d6efd !important; /* Primary Bootstrap blue */
        }
        .main-wrapper {
            display: flex;
            flex-grow: 1;
            padding-top: 20px;
            padding-bottom: 20px;
        }
        .sidebar {
            width: 280px; /* Wider sidebar */
            background-color: #ffffff;
            padding: 20px;
            border-radius: 1rem;
            box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.05);
            margin-right: 20px;
            flex-shrink: 0;
        }
        .sidebar.right {
            margin-left: 20px;
            margin-right: 0;
        }
        .sidebar h5 {
            color: #0d6efd;
            font-weight: bold;
            margin-bottom: 15px;
        }
        .sidebar .nav-link {
            color: #333;
            padding: 10px 15px;
            border-radius: 0.5rem;
            transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
            margin-bottom: 5px;
        }
        .sidebar .nav-link.active,
        .sidebar .nav-link:hover {
            background-color: #0d6efd;
            color: #ffffff;
        }
        .sidebar .nav-link i {
            font-size: 1.1rem;
        }
        .main-content {
            flex-grow: 1;
            background-color: #ffffff;
            padding: 30px;
            border-radius: 1rem;
            box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.05);
        }
        .form-section-title {
            color: #0d6efd;
            margin-bottom: 30px;
            font-weight: bold;
            border-bottom: 2px solid #e9ecef;
            padding-bottom: 10px;
        }
        .card {
            border-radius: 0.75rem;
            box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.05);
            transition: transform 0.2s ease-in-out;
        }
        .card:hover {
            transform: translateY(-5px);
        }
        .card-icon {
            font-size: 3rem;
            margin-bottom: 15px;
        }
        .card.bg-primary .card-icon,
        .card.bg-success .card-icon {
            color: rgba(255, 255, 255, 0.8);
        }
        .card.bg-warning .card-icon {
            color: rgba(0, 0, 0, 0.5);
        }

        /* Member Photo and Blog Image Preview Styles */
        .member-photo-preview-container,
        .blog-image-preview-container,
        .committee-photo-preview-container,
        .staff-photo-preview-container { /* Added staff-photo-preview-container */
            width: 150px;
            height: 150px;
            border: 2px dashed #ced4da;
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
            position: relative;
            background-color: #f0f2f5;
            margin: 0 auto 15px auto;
        }
        .member-photo-preview-container,
        .committee-photo-preview-container,
        .staff-photo-preview-container { /* Circular for member, committee, and staff photos */
            border-radius: 50%;
        }
        .blog-image-preview-container {
            border-radius: 0.75rem; /* For blog image, make it rectangular with rounded corners */
            width: 100%;
            height: 200px; /* Adjust height as needed */
        }
        .member-photo-preview-container img,
        .blog-image-preview-container img,
        .committee-photo-preview-container img,
        .staff-photo-preview-container img { /* Added staff-photo-preview-container img */
            width: 100%;
            height: 100%;
            object-fit: cover;
            border-radius: inherit; /* Inherit border-radius from parent */
        }
        .member-photo-preview-container .placeholder-icon,
        .blog-image-preview-container .placeholder-icon,
        .committee-photo-preview-container .placeholder-icon,
        .staff-photo-preview-container .placeholder-icon { /* Added staff-photo-preview-container placeholder */
            font-size: 3rem;
            color: #6c757d;
        }
        .member-photo-input-group,
        .blog-image-input-group,
        .committee-photo-input-group,
        .staff-photo-input-group { /* Added staff-photo-input-group */
            display: flex;
            flex-direction: column;
            align-items: center;
        }

        /* Responsive adjustments */
        @media (max-width: 991.98px) { /* Lg breakpoint */
            .main-wrapper {
                flex-direction: column;
                padding: 15px;
            }
            .sidebar.left, .sidebar.right {
                width: 100%;
                margin-right: 0;
                margin-bottom: 20px;
            }
            .main-content {
                padding: 20px;
            }
            .sidebar.left {
                display: none; /* Hide left sidebar by default on smaller screens */
            }
            .sidebar.right {
                display: none; /* Hide right sidebar by default on smaller screens */
            }
        }
        @media (max-width: 767.98px) { /* Md breakpoint */
            .login-container {
                padding: 20px;
            }
            .login-header h2 {
                font-size: 1.75rem;
            }
            .login-header img {
                max-width: 70px;
            }
            .form-section-title {
                font-size: 1.5rem;
            }
            .card-title {
                font-size: 1.1rem;
            }
            .card-text.fs-3 {
                font-size: 2rem !important;
            }
        }

        /* Responsive adjustments */
        @media (max-width: 991.98px) { /* Lg breakpoint */
            .main-wrapper {
                flex-direction: column;
                padding: 15px;
            }
            .sidebar.left, .sidebar.right {
                width: 100%;
                margin-right: 0;
                margin-bottom: 20px;
            }
            .main-content {
                padding: 20px;
            }
            .sidebar.left {
                display: none; /* Hide left sidebar by default on smaller screens */
            }
            .sidebar.right {
                display: none; /* Hide right sidebar by default on smaller screens */
            }
        }
        @media (max-width: 767.98px) { /* Md breakpoint */
            .login-container {
                padding: 20px;
            }
            .login-header h2 {
                font-size: 1.75rem;
            }
            .login-header img {
                max-width: 70px;
            }
            .form-section-title {
                font-size: 1.5rem;
            }
            .card-title {
                font-size: 1.1rem;
            }
            .card-text.fs-3 {
                font-size: 2rem !important;
            }
        }
		
/* Custom styles for Admin Dashboard, to be merged with your assets/css/style.css */
        body.admin-dashboard-body {
            background-color: #f8f9fa; /* Light background */
            font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
            color: #333;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
        }
        .navbar {
            background-color: #2c3e50 !important; /* Dark blue-grey for navbar */
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        }
        .navbar-brand {
            font-weight: bold;
            color: #ecf0f1 !important; /* Light text for dark backgrounds */
            display: flex;
            align-items: center;
        }
        .navbar-nav .nav-link {
            color: #ecf0f1 !important;
            transition: color 0.2s ease-in-out;
        }
        .navbar-nav .nav-link:hover,
        .navbar-nav .nav-link.active {
            color: #0d6efd !important; /* Primary Bootstrap blue */
        }
        .main-wrapper {
            display: flex;
            flex-grow: 1;
            padding-top: 20px;
            padding-bottom: 20px;
        }
        .sidebar {
            width: 280px; /* Wider sidebar */
            background-color: #ffffff;
            padding: 20px;
            border-radius: 1rem;
            box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.05);
            margin-right: 20px;
            flex-shrink: 0;
        }
        .sidebar.right {
            margin-left: 20px;
            margin-right: 0;
        }
        .sidebar h5 {
            color: #0d6efd;
            font-weight: bold;
            margin-bottom: 15px;
        }
        .sidebar .nav-link {
            color: #333;
            padding: 10px 15px;
            border-radius: 0.5rem;
            transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
            margin-bottom: 5px;
        }
        .sidebar .nav-link.active,
        .sidebar .nav-link:hover {
            background-color: #0d6efd;
            color: #ffffff;
        }
        .sidebar .nav-link i {
            font-size: 1.1rem;
        }
        .main-content {
            flex-grow: 1;
            background-color: #ffffff;
            padding: 30px;
            border-radius: 1rem;
            box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.05);
        }
        .form-section-title {
            color: #0d6efd;
            margin-bottom: 30px;
            font-weight: bold;
            border-bottom: 2px solid #e9ecef;
            padding-bottom: 10px;
        }
        .card {
            border-radius: 0.75rem;
            box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.05);
            transition: transform 0.2s ease-in-out;
        }
        .card:hover {
            transform: translateY(-5px);
        }
        .card-icon {
            font-size: 3rem;
            margin-bottom: 15px;
        }
        .card.bg-primary .card-icon,
        .card.bg-success .card-icon {
            color: rgba(255, 255, 255, 0.8);
        }
        .card.bg-warning .card-icon {
            color: rgba(0, 0, 0, 0.5);
        }

        /* Member Photo and Blog Image Preview Styles */
        .member-photo-preview-container,
        .blog-image-preview-container,
        .committee-photo-preview-container {
            width: 150px;
            height: 150px;
            border: 2px dashed #ced4da;
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
            position: relative;
            background-color: #f0f2f5;
            margin: 0 auto 15px auto;
        }
        .member-photo-preview-container, .committee-photo-preview-container {
            border-radius: 50%; /* Circular for member and committee photos */
        }
        .blog-image-preview-container {
            border-radius: 0.75rem; /* For blog image, make it rectangular with rounded corners */
            width: 100%;
            height: 200px; /* Adjust height as needed */
        }
        .member-photo-preview-container img,
        .blog-image-preview-container img,
        .committee-photo-preview-container img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            border-radius: inherit; /* Inherit border-radius from parent */
        }
        .member-photo-preview-container .placeholder-icon,
        .blog-image-preview-container .placeholder-icon,
        .committee-photo-preview-container .placeholder-icon {
            font-size: 3rem;
            color: #6c757d;
        }
        .member-photo-input-group,
        .blog-image-input-group,
        .committee-photo-input-group {
            display: flex;
            flex-direction: column;
            align-items: center;
        }

        /* Responsive adjustments */
        @media (max-width: 991.98px) { /* Lg breakpoint */
            .main-wrapper {
                flex-direction: column;
                padding: 15px;
            }
            .sidebar.left, .sidebar.right {
                width: 100%;
                margin-right: 0;
                margin-bottom: 20px;
            }
            .main-content {
                padding: 20px;
            }
            .sidebar.left {
                display: none; /* Hide left sidebar by default on smaller screens */
            }
            .sidebar.right {
                display: none; /* Hide right sidebar by default on smaller screens */
            }
        }
        @media (max-width: 767.98px) { /* Md breakpoint */
            .login-container {
                padding: 20px;
            }
            .login-header h2 {
                font-size: 1.75rem;
            }
            .login-header img {
                max-width: 70px;
            }
            .form-section-title {
                font-size: 1.5rem;
            }
            .card-title {
                font-size: 1.1rem;
            }
            .card-text.fs-3 {
                font-size: 2rem !important;
            }
        }
		
		
		/* ADmin Dashboard new css start*/
		 /* Custom styles for Admin Dashboard, to be merged with your assets/css/style.css */
        body.admin-dashboard-body {
            background-color: #f8f9fa; /* Light background */
            font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
            color: #333;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
        }
        .navbar {
            background-color: #2c3e50 !important; /* Dark blue-grey for navbar */
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        }
        .navbar-brand {
            font-weight: bold;
            color: #ecf0f1 !important; /* Light text for dark backgrounds */
            display: flex;
            align-items: center;
        }
        .navbar-nav .nav-link {
            color: #ecf0f1 !important;
            transition: color 0.2s ease-in-out;
        }
        .navbar-nav .nav-link:hover,
        .navbar-nav .nav-link.active {
            color: #0d6efd !important; /* Primary Bootstrap blue */
        }
        .main-wrapper {
            display: flex;
            flex-grow: 1;
            padding-top: 20px;
            padding-bottom: 20px;
        }
        .sidebar {
            width: 280px; /* Wider sidebar */
            background-color: #ffffff;
            padding: 20px;
            border-radius: 1rem;
            box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.05);
            margin-right: 20px;
            flex-shrink: 0;
        }
        .sidebar.right {
            margin-left: 20px;
            margin-right: 0;
        }
        .sidebar h5 {
            color: #0d6efd;
            font-weight: bold;
            margin-bottom: 15px;
        }
        .sidebar .nav-link {
            color: #333;
            padding: 10px 15px;
            border-radius: 0.5rem;
            transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
            margin-bottom: 5px;
        }
        .sidebar .nav-link.active,
        .sidebar .nav-link:hover {
            background-color: #0d6efd;
            color: #ffffff;
        }
        .sidebar .nav-link i {
            font-size: 1.1rem;
        }
        /* Style for dropdown toggles in sidebar */
        .sidebar .nav-item.dropdown > .nav-link {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        /* Enhanced Dropdown Menu Styling */
        .sidebar .dropdown-menu {
            border: 1px solid #e9ecef; /* Light border */
            box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.08); /* Subtle shadow */
            padding: 5px; /* Add some padding around items */
            margin-top: 5px; /* Space between toggle and menu */
            background-color: #f8f9fa; /* Lighter background for dropdown */
            border-radius: 0.75rem; /* Rounded corners for the menu itself */
            position: absolute; /* Keep absolute for positioning */
            min-width: 100%; /* Ensure it spans the width of the parent link */
            z-index: 1000; /* Ensure it's above other content */
            /* Removed conflicting opacity, visibility, transition, and display: block;
               Bootstrap's JS will handle display: none/block automatically. */
        }
        /* The .show class is handled by Bootstrap's JS to make the dropdown visible.
           No custom CSS needed here for visibility. */

        .sidebar .dropdown-menu .dropdown-item {
            padding: 10px 15px; /* Adjusted padding */
            color: #333; /* Darker text for contrast */
            transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
            border-radius: 0.5rem;
            margin-bottom: 2px; /* Small space between items */
        }
        .sidebar .dropdown-menu .dropdown-item:last-child {
            margin-bottom: 0;
        }
        .sidebar .dropdown-menu .dropdown-item:hover,
        .sidebar .dropdown-menu .dropdown-item.active {
            background-color: #0d6efd; /* Primary blue for hover */
            color: #ffffff; /* White text on hover */
        }
        .sidebar .dropdown-toggle::after {
            margin-left: 0.5em; /* Space for the caret */
        }
        .main-content {
            flex-grow: 1;
            background-color: #ffffff;
            padding: 30px;
            border-radius: 1rem;
            box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.05);
        }
        .form-section-title {
            color: #0d6efd;
            margin-bottom: 30px;
            font-weight: bold;
            border-bottom: 2px solid #e9ecef;
            padding-bottom: 10px;
        }
        .card {
            border-radius: 0.75rem;
            box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.05);
            transition: transform 0.2s ease-in-out;
        }
        .card:hover {
            transform: translateY(-5px);
        }
        .card-icon {
            font-size: 3rem;
            margin-bottom: 15px;
        }
        .card.bg-primary .card-icon,
        .card.bg-success .card-icon {
            color: rgba(255, 255, 255, 0.8);
        }
        .card.bg-warning .card-icon {
            color: rgba(0, 0, 0, 0.5);
        }

        /* Photo Preview Styles */
        .member-photo-preview-container,
        .blog-image-preview-container,
        .committee-photo-preview-container,
        .staff-photo-preview-container,
        .site-logo-preview-container, /* New for site logo */
        .favicon-preview-container { /* New for favicon */
            width: 150px;
            height: 150px;
            border: 2px dashed #ced4da;
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
            position: relative;
            background-color: #f0f2f5;
            margin: 0 auto 15px auto;
        }
        .member-photo-preview-container,
        .committee-photo-preview-container,
        .staff-photo-preview-container,
        .favicon-preview-container { /* Circular for member, committee, staff, and favicon */
            border-radius: 50%;
        }
        .site-logo-preview-container {
            border-radius: 0.75rem; /* For site logo, rectangular with rounded corners */
            width: 100%;
            height: 120px; /* Adjust height as needed */
        }
        .blog-image-preview-container {
            border-radius: 0.75rem; /* For blog image, make it rectangular with rounded corners */
            width: 100%;
            height: 200px; /* Adjust height as needed */
        }
        .member-photo-preview-container img,
        .blog-image-preview-container img,
        .committee-photo-preview-container img,
        .staff-photo-preview-container img,
        .site-logo-preview-container img,
        .favicon-preview-container img {
            width: 100%;
            height: 100%;
            object-fit: contain; /* Use 'contain' for logos/favicons to prevent cropping */
            border-radius: inherit;
        }
        .member-photo-preview-container .placeholder-icon,
        .blog-image-preview-container .placeholder-icon,
        .committee-photo-preview-container .placeholder-icon,
        .staff-photo-preview-container .placeholder-icon,
        .site-logo-preview-container .placeholder-icon,
        .favicon-preview-container .placeholder-icon {
            font-size: 3rem;
            color: #6c757d;
        }
        .member-photo-input-group,
        .blog-image-input-group,
        .committee-photo-input-group,
        .staff-photo-input-group,
        .site-logo-input-group,
        .favicon-input-group {
            display: flex;
            flex-direction: column;
            align-items: center;
        }

        /* Responsive adjustments */
        @media (max-width: 991.98px) { /* Lg breakpoint */
            .main-wrapper {
                flex-direction: column;
                padding: 15px;
            }
            .sidebar.left, .sidebar.right {
                width: 100%;
                margin-right: 0;
                margin-bottom: 20px;
            }
            .main-content {
                padding: 20px;
            }
            .sidebar.left {
                display: none; /* Hide left sidebar by default on smaller screens */
            }
            .sidebar.right {
                display: none; /* Hide right sidebar by default on smaller screens */
            }
        }
        @media (max-width: 767.98px) { /* Md breakpoint */
            .login-container {
                padding: 20px;
            }
            .login-header h2 {
                font-size: 1.75rem;
            }
            .login-header img {
                max-width: 70px;
            }
            .form-section-title {
                font-size: 1.5rem;
            }
            .card-title {
                font-size: 1.1rem;
            }
            .card-text.fs-3 {
                font-size: 2rem !important;
            }
        }
	/* ADmin Dashboard new css end*/
	
	
		/*  Single new css end*/
		body {
            background-color: #f8f9fa; /* Light background */
            font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
            color: #333;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
        }
        .navbar {
            background-color: #2c3e50 !important; /* Dark blue-grey for navbar */
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        }
        .navbar-brand {
            font-weight: bold;
            color: #ecf0f1 !important; /* Light text for dark backgrounds */
            display: flex;
            align-items: center;
        }
        .navbar-nav .nav-link {
            color: #ecf0f1 !important;
            transition: color 0.2s ease-in-out;
        }
        .navbar-nav .nav-link:hover,
        .navbar-nav .nav-link.active {
            color: #0d6efd !important; /* Primary Bootstrap blue */
        }
        main {
            flex-grow: 1;
            padding-top: 30px;
            padding-bottom: 30px;
        }
        .blog-post-container {
            background-color: #ffffff;
            border-radius: 1rem;
            box-shadow: 0 0.75rem 1.5rem rgba(0, 0, 0, 0.08);
            padding: 30px;
        }
        .blog-post-header {
            margin-bottom: 25px;
            padding-bottom: 15px;
            border-bottom: 1px solid #e9ecef;
        }
        .blog-post-title {
            font-size: 2.5rem;
            font-weight: bold;
            color: #0d6efd;
            margin-bottom: 10px;
            line-height: 1.2;
        }
        .blog-post-meta {
            font-size: 0.95rem;
            color: #6c757d;
        }
        .blog-post-meta span {
            margin-right: 15px;
        }
        .blog-post-image {
            width: 100%;
            max-height: 400px;
            object-fit: cover;
            border-radius: 0.75rem;
            margin-bottom: 30px;
        }
        .blog-post-content p {
            line-height: 1.8;
            margin-bottom: 1rem;
            font-size: 1.1rem;
            text-align: justify;
        }
        .blog-post-content h4 {
            color: #0d6efd;
            margin-top: 2rem;
            margin-bottom: 1rem;
        }
        .back-to-blog {
            margin-top: 30px;
            text-align: center;
        }
		
		/* Single new css end*/
		
		
			
		/*  Notice board new css start*/
		 body {
            background-color: #f0f2f5;
            font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
            color: #333;
            height: 100vh;
            display: flex;
            flex-direction: column;
        }
        .navbar-brand {
            font-weight: bold;
            color: #0d6efd !important;
        }
        main {
            flex-grow: 1;
            padding-top: 20px;
            padding-bottom: 20px;
        }
        .notice-board-container {
            background-color: #fff;
            border-radius: 1rem;
            box-shadow: 0 0.75rem 1.5rem rgba(0, 0, 0, 0.08);
            padding: 2rem;
            height: calc(100vh - 120px); /* Adjust height to fit screen */
            display: flex;
            flex-direction: column;
        }
        .notice-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 1.5rem;
            border-bottom: 2px solid #e0e0e0;
            padding-bottom: 1rem;
        }
        .notice-header h2 {
            font-size: 2rem;
            font-weight: 700;
            color: #0d6efd;
            margin-bottom: 0;
        }
        .notice-list {
            flex-grow: 1;
            overflow-y: auto;
            padding-right: 15px; /* For scrollbar space */
        }
        .notice-item {
            background-color: #f8f9fa;
            border: 1px solid #e9ecef;
            border-radius: 0.75rem;
            margin-bottom: 1rem;
            padding: 1.25rem;
            transition: all 0.2s ease-in-out;
            display: flex; /* Make it a flex container */
            flex-direction: column; /* Stack title/date vertically */
        }
        .notice-item:hover {
            transform: translateY(-3px);
            box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
        }
        .notice-item-inner { /* New div to contain title/date and actions */
            display: flex;
            justify-content: space-between;
            align-items: center; /* Vertically align items */
            flex-wrap: wrap; /* Allow wrapping on smaller screens */
            gap: 1rem; /* Space between text and buttons */
        }
        .notice-item-text { /* New div for title and date */
            flex-grow: 1; /* Allow text to grow */
            min-width: 0; /* Ensures content inside can shrink */
        }
        .notice-title {
            font-size: 1.5rem;
            font-weight: 600;
            color: #343a40;
            margin-bottom: 0.5rem;
            word-break: break-word; /* Prevents long titles from overflowing */
        }
        .notice-date {
            font-size: 0.9rem;
            color: #6c757d;
            display: block;
        }
        .notice-actions {
            display: flex;
            justify-content: flex-end; /* Align buttons to the right */
            gap: 0.75rem;
            flex-shrink: 0; /* Prevent actions from shrinking */
        }

        /* Full Notice View */
        .full-notice-view {
            display: none; /* Hidden by default */
            flex-direction: column;
            flex-grow: 1;
        }
        .full-notice-header {
            display: flex;
            align-items: center;
            gap: 1rem;
            margin-bottom: 1.5rem;
            border-bottom: 2px solid #e0e0e0;
            padding-bottom: 1rem;
        }
        .full-notice-header h3 {
            font-size: 2rem;
            font-weight: 700;
            color: #0d6efd;
            margin-bottom: 0;
        }
        .full-notice-content-display {
            flex-grow: 1;
            overflow-y: auto;
            padding-right: 15px;
            font-size: 1.1rem;
            line-height: 1.8;
            color: #333;
            white-space: pre-wrap; /* Preserve formatting for description */
        }
        .full-notice-content-display .content-type {
            font-size: 1.2rem;
            font-weight: 600;
            color: #0d6efd;
            text-align: center;
            margin-bottom: 1rem;
        }
        .full-notice-content-display .content-title {
            font-size: 1.8rem;
            font-weight: 600;
            color: #343a40;
            margin-bottom: 0.75rem;
            text-align: center;
        }
        .full-notice-content-display .content-date {
            font-size: 1rem;
            color: #6c757d;
            margin-bottom: 1.5rem;
            display: block;
            border-bottom: 1px dashed #e9ecef;
            padding-bottom: 0.5rem;
            text-align: center;
        }
        .full-notice-content-display .issuer-info {
            margin-top: 2rem;
            padding-top: 1rem;
            border-top: 1px dashed #e9ecef;
            text-align: right;
            font-size: 1rem;
            color: #555;
        }
        .full-notice-content-display .issuer-info div {
            margin-bottom: 0.2rem;
        }

        /* Styles for the print area (hidden until needed for PDF) */
        /* These styles will directly influence how html2canvas renders the content for PDF */
        #pdfPrintArea {
            position: absolute;
            left: -9999px; /* Hide off-screen */
            top: -9999px;
            width: 210mm; /* A4 width */
            min-height: 297mm; /* A4 height */
            box-sizing: border-box;
            background-color: #fff;
            color: #000;
            font-family: 'Arial', sans-serif; /* A common, safe font for PDF */
            font-size: 12pt;
            line-height: 1.6;
            padding: 20mm; /* Overall padding for the PDF content */
        }

        #pdfPrintArea .pdf-header {
            display: flex;
            align-items: flex-start;
            margin-bottom: 30pt; /* Space below header */
        }
        #pdfPrintArea .pdf-logo {
            max-width: 80pt; /* Control logo size for PDF */
            max-height: 80pt;
            margin-right: 20pt;
            float: left; /* Ensure text wraps around logo */
        }
        #pdfPrintArea .pdf-society-info {
            flex-grow: 1;
            text-align: center; /* Center society info beside logo */
        }
        #pdfPrintArea .pdf-society-name {
            font-size: 16pt;
            font-weight: bold;
            color: #0d6efd;
            margin-bottom: 5pt;
        }
        #pdfPrintArea .pdf-address {
            font-size: 10pt;
            color: #6c757d;
            margin-bottom: 0;
        }
        #pdfPrintArea .pdf-notice-type {
            font-size: 16pt;
            font-weight: bold;
            color: #0d6efd;
            text-align: center;
            margin-top: 20pt;
            margin-bottom: 15pt;
            border-bottom: 1px solid #0d6efd;
            padding-bottom: 5pt;
            display: inline-block; /* To make border-bottom only under text */
            width: auto;
        }
        #pdfPrintArea .pdf-notice-title {
            font-size: 20pt;
            font-weight: bold;
            color: #343a40;
            margin-bottom: 15pt;
            text-align: center;
        }
        #pdfPrintArea .pdf-notice-date {
            font-size: 10pt;
            color: #6c757d;
            margin-bottom: 25pt;
            text-align: right;
            display: block;
        }
        #pdfPrintArea .pdf-description {
            font-size: 12pt;
            white-space: pre-wrap; /* Preserve line breaks from textarea */
            margin-bottom: 40pt;
            text-align: justify; /* Justify text for formal look */
        }
        #pdfPrintArea .pdf-issuer-info {
            text-align: right;
            margin-top: 30pt;
            font-size: 11pt;
            line-height: 1.4;
        }
        #pdfPrintArea .pdf-issuer-name {
            font-weight: bold;
            margin-bottom: 5pt;
        }
        #pdfPrintArea .pdf-issuer-post {
            margin-bottom: 3pt;
        }
        #pdfPrintArea .pdf-issuer-address {
            font-size: 10pt;
            color: #555;
        }
		
		/* Notice Board new css end*/
		
		
			
		/*  Moderator Dsshboar new css start*/
		
		  /* Custom styles for Moderator Dashboard, similar to admin but with specific colors/tweaks if desired */
        body.moderator-dashboard-body {
            background-color: #f8f9fa; /* Light background */
            font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
            color: #333;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
        }
        .navbar {
            background-color: #34495e !important; /* Slightly different dark blue-grey for moderator */
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        }
        .navbar-brand {
            font-weight: bold;
            color: #ecf0f1 !important; /* Light text for dark backgrounds */
            display: flex;
            align-items: center;
        }
        .navbar-nav .nav-link {
            color: #ecf0f1 !important;
            transition: color 0.2s ease-in-out;
        }
        .navbar-nav .nav-link:hover,
        .navbar-nav .nav-link.active {
            color: #2ecc71 !important; /* Success green for moderator emphasis */
        }
        .main-wrapper {
            display: flex;
            flex-grow: 1;
            padding-top: 20px;
            padding-bottom: 20px;
        }
        .sidebar {
            width: 280px; /* Wider sidebar */
            background-color: #ffffff;
            padding: 20px;
            border-radius: 1rem;
            box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.05);
            margin-right: 20px;
            flex-shrink: 0;
        }
        .sidebar.right {
            margin-left: 20px;
            margin-right: 0;
        }
        .sidebar h5 {
            color: #34495e; /* Match navbar background */
            font-weight: bold;
            margin-bottom: 15px;
        }
        .sidebar .nav-link {
            color: #333;
            padding: 10px 15px;
            border-radius: 0.5rem;
            transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
            margin-bottom: 5px;
        }
        .sidebar .nav-link.active,
        .sidebar .nav-link:hover {
            background-color: #2ecc71; /* Success green */
            color: #ffffff;
        }
        .sidebar .nav-link i {
            font-size: 1.1rem;
        }
        .main-content {
            flex-grow: 1;
            background-color: #ffffff;
            padding: 30px;
            border-radius: 1rem;
            box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.05);
        }
        .form-section-title {
            color: #34495e; /* Match navbar background */
            margin-bottom: 30px;
            font-weight: bold;
            border-bottom: 2px solid #e9ecef;
            padding-bottom: 10px;
        }
        .card {
            border-radius: 0.75rem;
            box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.05);
            transition: transform 0.2s ease-in-out;
        }
        .card:hover {
            transform: translateY(-5px);
        }
        .card-icon {
            font-size: 3rem;
            margin-bottom: 15px;
        }
        .card.bg-primary .card-icon,
        .card.bg-success .card-icon,
        .card.bg-info .card-icon,
        .card.bg-danger .card-icon {
            color: rgba(255, 255, 255, 0.8);
        }
        .card.bg-warning .card-icon {
            color: rgba(0, 0, 0, 0.5);
        }

        /* Responsive adjustments */
        @media (max-width: 991.98px) { /* Lg breakpoint */
            .main-wrapper {
                flex-direction: column;
                padding: 15px;
            }
            .sidebar.left, .sidebar.right {
                width: 100%;
                margin-right: 0;
                margin-bottom: 20px;
            }
            .main-content {
                padding: 20px;
            }
            .sidebar.left {
                display: none; /* Hide left sidebar by default on smaller screens */
            }
            .sidebar.right {
                display: none; /* Hide right sidebar by default on smaller screens */
            }
        }
        @media (max-width: 767.98px) { /* Md breakpoint */
            .form-section-title {
                font-size: 1.5rem;
            }
            .card-title {
                font-size: 1.1rem;
            }
            .card-text.fs-3 {
                font-size: 2rem !important;
            }
        }
		/* Moderator Dashboard new css end*/
		
		
		
			
		/*  Member Profile new css start*/
		/* Custom styles for Member Profile */
        body.member-profile-body {
            background-color: #f8f9fa; /* Light background */
            font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
            color: #333;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
        }
        .navbar {
            background-color: #2c3e50 !important; /* Dark blue-grey for navbar */
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        }
        .navbar-brand {
            font-weight: bold;
            color: #ecf0f1 !important; /* Light text for dark backgrounds */
            display: flex;
            align-items: center;
        }
        .navbar-nav .nav-link {
            color: #ecf0f1 !important;
            transition: color 0.2s ease-in-out;
        }
        .navbar-nav .nav-link:hover,
        .navbar-nav .nav-link.active {
            color: #0d6efd !important; /* Primary Bootstrap blue */
        }
        main {
            flex-grow: 1;
            padding-top: 30px;
            padding-bottom: 30px;
        }
        .form-section-title {
            color: #0d6efd;
            margin-bottom: 30px;
            font-weight: bold;
            border-bottom: 2px solid #e9ecef;
            padding-bottom: 10px;
        }
        .profile-card-section { /* New container for the profile photo/info section */
            background-color: #ffffff;
            border-radius: 1rem;
            box-shadow: 0 0.75rem 1.5rem rgba(0, 0, 0, 0.08);
            padding: 30px;
            margin-bottom: 20px;
        }
        .member-profile-img {
            width: 150px;
            height: 150px;
            border-radius: 50%;
            object-fit: cover;
            border: 4px solid var(--primary-color);
            margin-bottom: 15px;
        }
        .member-name-heading {
            font-size: 1.8rem;
            font-weight: bold;
            color: var(--text-dark);
            margin-bottom: 5px;
        }
        .member-id-text {
            font-size: 1.1rem;
            color: var(--secondary-color);
            margin-bottom: 20px;
        }
        .profile-info-item {
            padding: 12px 0;
            border-bottom: 1px solid var(--border-color);
        }
        .profile-info-item:last-child {
            border-bottom: none;
        }
        .status-active {
            color: #198754; /* Bootstrap green for success */
            font-weight: bold;
        }
        .status-inactive {
            color: #6c757d; /* Bootstrap grey */
            font-weight: bold;
        }
        .status-pending {
            color: #ffc107; /* Bootstrap yellow for warning */
            font-weight: bold;
        }
        .status-paid {
            color: #198754; /* Bootstrap green for success */
            font-weight: bold;
        }
        .status-due {
            color: #dc3545; /* Bootstrap red for danger */
            font-weight: bold;
        }
        .status-partially-paid {
            color: #ffc107; /* Bootstrap yellow for warning */
            font-weight: bold;
        }

        /* Styles for Edit Profile Modal */
        .edit-profile-photo-preview-container {
            width: 120px;
            height: 120px;
            border: 2px dashed #ced4da;
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
            position: relative;
            background-color: #f0f2f5;
            margin: 0 auto 15px auto;
            border-radius: 50%;
        }
        .edit-profile-photo-preview-container img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            border-radius: 50%;
        }
        .edit-profile-photo-preview-container .placeholder-icon {
            font-size: 2.5rem;
            color: var(--secondary-color);
        }
        .edit-profile-photo-input-group {
            display: flex;
            flex-direction: column;
            align-items: center;
        }

        /* Payment History At a Glance */
        .at-a-glance-cards .card {
            text-align: center;
            margin-bottom: 15px;
        }
        .at-a-glance-cards .card-body {
            padding: 15px;
        }
        .at-a-glance-cards .card-title {
            font-size: 1.1rem;
            margin-bottom: 5px;
        }
        .at-a-glance-cards .card-text {
            font-size: 1.8rem;
            font-weight: bold;
        }

        /* Payment History Section Styling */
        .payment-history-section {
            background-color: #ffffff;
            border-radius: 1rem;
            box-shadow: 0 0.75rem 1.5rem rgba(0, 0, 0, 0.08);
            padding: 30px;
            margin-top: 20px; /* Space from the row above */
        }
		
		/* Member profile new css end*/
		
		
			
		/*  Member List new css start*/
		 body {
            background-color: #f8f9fa; /* হালকা ধূসর ব্যাকগ্রাউন্ড */
            font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
            color: #333;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
        }
        .navbar-brand {
            font-weight: bold;
            color: #0d6efd !important; /* প্রাইমারি বুটস্ট্র্যাপ কালার */
        }
        main {
            flex-grow: 1;
            padding-top: 30px;
            padding-bottom: 30px;
        }
        .member-list-container {
            background-color: #fff;
            border-radius: 1rem;
            box-shadow: 0 0.75rem 1.5rem rgba(0, 0, 0, 0.08); /* সুন্দর শ্যাডো */
            padding: 2rem;
            margin-bottom: 20px;
        }
        .section-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 1.5rem;
            border-bottom: 2px solid #e0e0e0;
            padding-bottom: 1rem;
        }
        .section-header h2 {
            font-size: 2rem;
            font-weight: 700;
            color: #0d6efd;
            margin-bottom: 0;
        }

        /* Member Table Styling */
        .table-responsive {
            margin-top: 1.5rem;
        }
        .table-striped tbody tr:nth-of-type(odd) {
            background-color: rgba(0, 0, 0, 0.03); /* বিকল্প সারি রঙ */
        }
        .table thead th {
            background-color: #0d6efd; /* টেবিল হেডারের ব্যাকগ্রাউন্ড কালার */
            color: red; /* টেবিল হেডারের টেক্সট কালার */
            vertical-align: middle;
            text-align: center;
            border-bottom: none; /* ডিফল্ট বর্ডার অপসারণ */
            padding: 0.8rem;
        }
        .table tbody td {
            vertical-align: middle;
            text-align: center;
            padding: 0.8rem;
            border-color: #dee2e6; /* স্ট্যান্ডার্ড বর্ডার কালার */
        }
        .table-hover tbody tr:hover {
            background-color: #e2f2ff; /* হোভারে হালকা নীল রঙ */
        }
        .table .member-photo {
            width: 50px;
            height: 50px;
            object-fit: cover; /* ছবির অনুপাত ঠিক রাখে */
            border-radius: 50%; /* গোলাকার ছবি */
            border: 2px solid #0d6efd; /* ছবির চারপাশে বর্ডার */
        }

        /* Search and Filter Styling */
        .filter-section {
            display: flex;
            flex-wrap: wrap; /* ছোট স্ক্রিনে উপাদানগুলো ভেঙে নিচে আসবে */
            gap: 1rem; /* ফিল্টার উপাদানগুলোর মধ্যে ব্যবধান */
            margin-bottom: 1.5rem;
            align-items: center;
        }
        .filter-section .form-control,
        .filter-section .form-select {
            flex: 1; /* ইনপুটগুলো স্থান অনুযায়ী বড় হবে */
            min-width: 180px; /* ইনপুটের সর্বনিম্ন প্রস্থ */
        }
        .filter-section .btn {
            flex-shrink: 0; /* বাটনগুলো ছোট হওয়া থেকে আটকায় */
        }

        /* No results message */
        .no-results {
            text-align: center;
            color: #6c757d;
            font-size: 1.1rem;
            padding: 20px;
            border: 1px dashed #ced4da;
            border-radius: 0.5rem;
            margin-top: 20px;
        }

        /* Footer Styling */
        footer {
            margin-top: auto; /* ফুটারকে নিচের দিকে ঠেলে দেয় */
        }

        /* Admin Only Column Hiding */
        .admin-only-col {
            display: none;
        }

        @media (max-width: 768px) {
            .section-header {
                flex-direction: column;
                align-items: flex-start;
            }
            .section-header h2 {
                margin-bottom: 1rem;
            }
        }
		
		/* Member list new css end*/
		
		
		/*Member Dashboard new Start*/
		
		 body {
            background-color: #f8f9fa; /* Light background */
            font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
        }
        .navbar-brand {
            font-weight: bold;
            color: #0d6efd !important; /* Primary Bootstrap blue */
        }
        .card {
            border-radius: 0.75rem;
            box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.05);
        }
        .card-header {
            border-top-left-radius: 0.75rem;
            border-top-right-radius: 0.75rem;
            font-weight: bold;
        }

        /* Member Profile Section Styles */
        .member-profile-section {
            background-color: #ffffff;
            padding: 2rem;
            border-radius: 0.75rem;
            box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.05);
            margin-bottom: 2rem; /* Space below the profile section */
        }
        .member-profile-img-container {
            text-align: center; /* Center the image within its column */
            margin-bottom: 1rem; /* Space below image on small screens */
        }

        .member-details-container {
            display: flex;
            flex-direction: column;
            justify-content: center; /* Vertically center content */
            height: 100%; /* Take full height of column */
        }
        .member-profile-name {
            font-size: 2rem;
            font-weight: bold;
            color: #343a40; /* Dark text for name */
            margin-bottom: 0.5rem;
        }
        .member-profile-id {
            font-size: 1.1rem;
            color: #6c757d; /* Grey text for ID */
            margin-bottom: 1.5rem;
        }

        /* Responsive adjustments for the profile section */
        @media (max-width: 767.98px) { /* For small devices (phones) */
            .member-profile-section {
                padding: 1.5rem;
            }
            .member-profile-img-container {
                margin-bottom: 1.5rem; /* More space for image on top */
            }
            .member-details-container {
                text-align: center; /* Center text below image on small screens */
            }
            .member-profile-name {
                font-size: 1.8rem;
            }
            .member-profile-id {
                font-size: 1rem;
            }
        }

        /* Custom Modal Styling */
        .custom-modal-header {
            background-color: var(--primary-color);
            color: white;
            border-bottom: none;
            border-top-left-radius: 0.75rem;
            border-top-right-radius: 0.75rem;
        }
        .custom-modal-header .btn-close {
            filter: invert(1) grayscale(100%) brightness(200%); /* White close button */
        }
        .custom-modal-body {
            padding: 2rem;
        }
        .custom-modal-footer {
            border-top: none;
            padding: 1rem 2rem 1.5rem;
        }
        .custom-modal-dialog {
            border-radius: 1rem;
            overflow: hidden;
        }
		
		/* Member Dashboard New End*/
		
		
		/*All members payment status Start*/
		/* Optional: Add custom styles if needed for specific page layout */
        body.payment-status-body {
            background-color: #f8f9fa; /* Light background */
            font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
            color: #333;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
        }
        .navbar {
            background-color: #2c3e50 !important; /* Dark blue-grey for navbar */
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        }
        .navbar-brand {
            font-weight: bold;
            color: #ecf0f1 !important; /* Light text for dark backgrounds */
            display: flex;
            align-items: center;
        }
        .navbar-nav .nav-link {
            color: #ecf0f1 !important;
            transition: color 0.2s ease-in-out;
        }
        .navbar-nav .nav-link:hover,
        .navbar-nav .nav-link.active {
            color: #0d6efd !important; /* Primary Bootstrap blue */
        }
        main {
            flex-grow: 1;
        }
        .form-section-title {
            color: #0d6efd;
            margin-bottom: 30px;
            font-weight: bold;
            border-bottom: 2px solid #e9ecef;
            padding-bottom: 10px;
        }
        .card {
            border-radius: 0.75rem;
            box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.05);
        }
        .card-header {
            background-color: #f0f2f5;
            border-bottom: 1px solid #e9ecef;
            font-weight: bold;
            border-top-left-radius: 0.75rem;
            border-top-right-radius: 0.75rem;
        }
        .status-paid {
            color: #198754; /* Bootstrap green for success */
            font-weight: bold;
        }
        .status-due {
            color: #dc3545; /* Bootstrap red for danger */
            font-weight: bold;
        }
        .status-partially-paid {
            color: #ffc107; /* Bootstrap yellow for warning */
            font-weight: bold;
        }
        .report-actions {
            background-color: #ffffff;
            padding: 20px;
            border-radius: 0.75rem;
            box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.05);
            margin-bottom: 20px;
        }
        .report-actions .btn {
            margin-right: 10px;
            margin-bottom: 10px;
        }
		
		/*All member payments status End*/
		
		/*Committe Page*/
		body {
            background-color: #f8f9fa; /* হালকা ধূসর ব্যাকগ্রাউন্ড */
            font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
            color: #333;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
        }
        .navbar-brand {
            font-weight: bold;
            color: #0d6efd !important; /* প্রাইমারি বুটস্ট্র্যাপ কালার */
        }
        main {
            flex-grow: 1;
            padding-top: 30px;
            padding-bottom: 30px;
        }
        .committee-container {
            background-color: #fff;
            border-radius: 1rem;
            box-shadow: 0 0.75rem 1.5rem rgba(0, 0, 0, 0.08); /* সুন্দর শ্যাডো */
            padding: 2rem;
            margin-bottom: 20px;
        }
        .main-section-header {
            text-align: center;
            margin-bottom: 2.5rem;
            padding-bottom: 1rem;
            border-bottom: 2px solid #e0e0e0;
        }
        .main-section-header h2 {
            font-size: 2.5rem;
            font-weight: 700;
            color: #0d6efd;
            margin-bottom: 0.5rem;
        }
        .main-section-header p {
            font-size: 1.1rem;
            color: #6c757d;
        }

        /* Committee Section Header */
        .committee-section-header {
            margin-top: 3rem;
            margin-bottom: 1.5rem;
            text-align: center;
            border-bottom: 1px solid #e9ecef;
            padding-bottom: 0.75rem;
        }
        .committee-section-header h3 {
            font-size: 2rem;
            font-weight: 600;
            color: #343a40;
        }

        .committee-member {
            text-align: center;
            margin-bottom: 2rem;
            padding: 1rem; /* কার্ডের ভেতরের প্যাডিং কমানো হয়েছে */
            border-radius: 0.75rem;
            background-color: #f8f9fa; /* মেম্বার কার্ডের ব্যাকগ্রাউন্ড */
            box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.05);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }
        .committee-member:hover {
            transform: translateY(-5px);
            box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
        }
        .committee-member img {
            width: 120px; /* ছবির আকার কমানো হয়েছে */
            height: 120px; /* ছবির আকার কমানো হয়েছে */
            object-fit: cover;
            border-radius: 50%;
            border: 4px solid #0d6efd;
            margin-bottom: 0.75rem; /* মার্জিন কমানো হয়েছে */
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
        }
        .committee-member h3 {
            font-size: 1.3rem; /* ফন্ট সাইজ কমানো হয়েছে */
            font-weight: 600;
            color: #212529;
            margin-bottom: 0.25rem; /* মার্জিন কমানো হয়েছে */
        }
        .committee-member p.role {
            font-size: 0.95rem; /* ফন্ট সাইজ কমানো হয়েছে */
            color: #0d6efd;
            font-weight: 500;
            margin-bottom: 0.5rem; /* মার্জিন কমানো হয়েছে */
        }
        .committee-member p.description {
            font-size: 0.85rem; /* ফন্ট সাইজ কমানো হয়েছে */
            color: #6c757d;
            line-height: 1.4;
        }
        .committee-member .contact-info {
            margin-top: 0.75rem; /* মার্জিন কমানো হয়েছে */
            font-size: 0.8rem; /* ফন্ট সাইজ কমানো হয়েছে */
            color: #555;
        }
        .committee-member .contact-info i {
            margin-right: 5px;
            color: #0d6efd;
        }

        footer {
            margin-top: auto;
        }

        @media (max-width: 992px) { /* Medium devices (tablets, 768px and up) */
            .col-md-4 {
                flex: 0 0 auto;
                width: 33.33333333%; /* 3 per row on medium screens */
            }
        }
        @media (max-width: 768px) { /* Small devices (landscape phones, 576px and up) */
            .section-header h2 {
                font-size: 2rem;
            }
            .committee-member img {
                width: 100px;
                height: 100px;
            }
            .committee-member h3 {
                font-size: 1.2rem;
            }
            .committee-member p.role {
                font-size: 0.9rem;
            }
            .committee-member p.description {
                font-size: 0.8rem;
            }
            .col-sm-6 {
                flex: 0 0 auto;
                width: 50%; /* 2 per row on small screens */
            }
        }
        @media (max-width: 576px) { /* Extra small devices (portrait phones, less than 576px) */
            .col-12 {
                flex: 0 0 auto;
                width: 100%; /* 1 per row on extra small screens */
            }
        }
		
		/*Committee Page End*/
		
		
	