﻿﻿ /*# sourceMappingURL=custom.min.css.map */
/*/admin_index css/*/
a {
    color: #495057;
}

.btn-soft-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.btn-soft-primary {
    background-color: #cce5ff;
    color: #004085;
    border: 1px solid #b8daff;
}

.btn-soft-info {
    background-color: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

.btn-border {
    border-radius: 6px;
    font-weight: bolder;
    padding: 3px 10px;
    min-width: 60px;
}

.card-height-100 {
    height: 100%;
}

/* Circle icon */
.circle-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    transition: all 0.4s ease;
}

/* Gradient backgrounds for different cards */
.bg-gradient-primary {
    background: linear-gradient(135deg, #272660, #6b63ff);
}

.bg-gradient-success {
    background: linear-gradient(135deg, #198754, #28a745);
}

.bg-gradient-warning {
    background: linear-gradient(135deg, #ffb100, #ffcb66);
}

/* Hover effect for cards */
.hover-effect {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .hover-effect:hover {
        transform: translateY(-8px);
        box-shadow: 0 8px 25px rgba(39, 38, 96, 0.2);
    }

.card-title {
    color: #272660;
}

.nav-pills .nav-link.active {
    background-color: #272660 !important;
    color: #fff !important;
}

.nav-pills .nav-link {
    color: #272660;
    border: 1px solid #272660;
    transition: 0.3s;
}

    .nav-pills .nav-link:hover {
        background-color: #272660;
        color: #fff;
    }

/Support/Inbox css/

.email-menu-sidebar {
    min-width: 250px;
}

/* Email Content Card */
.email-content {
    flex-grow: 1;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* Message Row */
.message-item {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 20px; /* spacing between items */
    border-bottom: 1px solid #e9ecef;
    padding: 12px 15px;
    transition: 0.3s ease;
}

    .message-item:hover {
        background-color: #fff7f0;
        cursor: pointer;
        border-left: 4px solid #ff8c00;
        box-shadow: 0 2px 8px rgba(255,153,0,0.15);
    }

    /* Item styling */
    .message-item h6,
    .message-item .job,
    .message-item .file-link,
    .message-item .date {
        margin: 0;
        white-space: nowrap; /* prevent breaking */
    }

    /* File Link */
    .message-item .file-link {
        background-color: #ff8c00;
        color: #fff !important;
        font-size: 0.85rem;
        border-radius: 30px;
        padding: 4px 10px;
        text-decoration: none;
        transition: 0.3s ease;
    }

        .message-item .file-link:hover {
            background-color: #e06d00;
        }

    /* Flex width for proper alignment */
    .message-item h6 {
        flex: 2;
    }

    .message-item .job {
        flex: 2;
    }

    .message-item .file-link {
        flex: 1;
        text-align: center;
    }

    .message-item .date {
        flex: 1;
        text-align: right;
    }

//Support/Reply css/
/* Card */
.neon-card {
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s ease;
}

/* Avatar */
.avatar-wrapper {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
}

.avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Light Inputs */
.light-input {
    border-radius: 10px;
    background-color: #f9f9f9;
    border: 1px solid #ccc;
    color: #333;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
}

    .light-input:focus {
        outline: none;
        border-color: #272660;
        box-shadow: 0 0 5px rgba(39,38,96,0.2);
    }

/* Buttons */
.btn-primary {
    background-color: #272660;
    color: #fff;
    /* border-radius: 50px;*/
    border: 1px solid #272660;
    /*width:50% !important;*/
}

    .btn-primary:hover {
        background-color: #0056b3;
        border-color: #0056b3;
    }

.btn-outline-primary {
    color: #272660;
    border: 1px solid #272660;
    border-radius: 50px;
}

    .btn-outline-primary:hover {
        background-color: #272660;
        color: #fff;
    }

.btn-custom-padding {
    padding: 0.4rem 1.2rem;
    font-size: 1rem;
}

/read mail css/
/* Sidebar */
.email-menu-sidebar {
    min-width: 250px;
}

/* Email Content Card */
.email-content {
    flex-grow: 1;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* ✅ Mobile-specific spacing */
@media (max-width: 767.98px) {
    .email-wrapper {
        flex-direction: column !important;
    }

    .email-menu-sidebar {
        width: 100% !important;
    }

    .email-content {
        width: 100% !important;
    }
}

/mobile portfolio/


@media (max-width: 767.98px) {
    .card-title

{
    font-size: 1rem;
}

label.form-label {
    font-size: 0.9rem;
}

.btn {
    font-size: 0.875rem;
}

table th, table td {
    font-size: 0.8rem;
    white-space: nowrap;
}

}

@media (max-width: 767.98px) {
    /* Make form labels smaller for mobile */
    .form-label {
        font-size: 14px;
    }

    /* Make breadcrumb fit better */
    .breadcrumb {
        font-size: 13px;
    }

    /* Hide image column in table on very small screens for clarity */
    table td:nth-child(3),
    table th:nth-child(3) {
        display: none;
    }
}

/* ---------- RESPONSIVE STYLES ---------- */


@media (max-width: 767.98px) {
    .page-title-box h4 {
        font-size: 1.2rem;
    }

    .page-title-right {
        margin-top: 5px;
    }

    #btnSubmit, #btnEdit, #btnCancel {
        width: 100%;
        margin-bottom: 10px;
    }

    .card-header h4 {
        font-size: 1rem;
    }
}

/*.btn {
        width: 100% !important;
        margin-top:20px;
    }*/

@media (max-width: 767.98px) {

    .card_resume {
        margin-bottom: 0px;
    }

    .nav-pills .nav-link {
        min-width: 0px;
        height: 33px;
        font-size: 0.875rem;
    }

    table td, table th {
        font-size: 12px;
        padding: 6px;
    }

    .btn-sm {
        padding: 4px 6px;
        font-size: 12px;
    }

    .page-title-box {
        flex-direction: column;
        align-items: flex-start;
    }

    .breadcrumb {
        margin-top: 5px;
    }


    .card-body {
        padding: 1rem;
    }

    .form-label {
        font-size: 14px;
    }

    #imageToShow {
        width: 70px !important;
        height: 70px !important;
    }

    .btn {
        width: 50% !important;
    }

    .page-title-box h4 {
        font-size: 1rem;
    }

    table.table th, table.table td {
        font-size: 13px;
        padding: 0.5rem;
    }

    .page-title-box {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 0.5rem;
    }

    .card-header h4 {
        font-size: 16px;
    }

    .form-label {
        font-size: 14px;
    }

    .card-body .form-control,
    .form-select {
        font-size: 14px;
    }

    #imageToShow {
        width: 60px !important;
        height: auto;
    }

    .btn {
        font-size: 13px !important;
        padding: 6px 10px !important;
    }

    table thead {
        display: none;
    }

    table tbody tr {
        display: block;
        margin-bottom: 15px;
        border: 1px solid #dee2e6;
        border-radius: 10px;
        padding: 10px;
    }

    table tbody td {
        display: flex;
        /*justify-content: space-between;*/
        align-items: center;
        padding: 6px 0;
        font-size: 13px;
    }

        table tbody td:before {
            content: attr(data-label);
            font-weight: 600;
        }

    .card {
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        border-radius: 10px;
    }


    .page-title-box {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 8px;
    }

    .card-header h5, .card-title {
        font-size: 1rem;
    }

    #imageToShow {
        width: 60px !important;
        height: 60px !important;
    }

    .table {
        font-size: 0.85rem;
    }

    .table-responsive {
        overflow-x: auto;
    }

    .btn {
        font-size: 0.85rem;
        padding: 6px 10px;
    }
}

.card-title {
    color: #272660;
}

.nav-pills .nav-link.active {
    color: #fff !important;
}

.nav-pills .nav-link {
    color: #272660;
    border: 1px solid #272660;
    transition: 0.3s;
}

    .nav-pills .nav-link:hover {
        background-color: #272660;
        color: #fff;
    }

.card-title {
    color: #272660;
}

.nav-pills .nav-link.active {
    color: #fff !important;
}

.nav-pills .nav-link {
    color: #272660;
    border: 1px solid #272660;
    transition: 0.3s;
}

    .nav-pills .nav-link:hover {
        background-color: #272660;
        color: #fff;
    }

/* Circle icon */
.circle-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    transition: all 0.4s ease;
}

/* Gradient backgrounds for different cards */
.bg-gradient-primary {
    background: linear-gradient(135deg, #272660, #6b63ff);
}

.bg-gradient-success {
    background: linear-gradient(135deg, #198754, #28a745);
}

.bg-gradient-warning {
    background: linear-gradient(135deg, #ffb100, #ffcb66);
}

/* Hover effect for cards */
.hover-effect {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .hover-effect:hover {
        transform: translateY(-8px);
        box-shadow: 0 8px 25px rgba(39, 38, 96, 0.2);
    }

a {
    color: #495057;
}

.btn-soft-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.btn-soft-primary {
    background-color: #cce5ff;
    color: #004085;
    border: 1px solid #b8daff;
}

.btn-soft-info {
    background-color: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

.btn-border {
    border-radius: 6px;
    font-weight: bolder;
    padding: 3px 10px;
    min-width: 60px;
}

.card-height-100 {
    height: 100%;
}



/* Optional: make it responsive */
@media (max-width: 767.98px) {
    .dashboard-section-heading {
        font-size: 1.3rem;
        margin-top: 20px;
        margin-bottom: 15px;
    }
}

.dashboard-section-heading {
    font-weight: 700;
    font-size: 1.1rem;
    color: #272660;
    margin: 20px 0 24px;
    border-left: 5px solid #6c63ff;
    padding-left: 10px;
    text-transform: uppercase;
}

.section-bg {
    background: #f9fafc;
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 25px;
}

/* ===== Card Design ===== */
.card_resume {
    background: linear-gradient(145deg, #ffffff, #f4f6ff);
    border: none;
    border-radius: 16px;
    transition: all 0.3s ease-in-out;
}

    .card_resume:hover {
        transform: translateY(-6px);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    }

/* ===== Icon Circle ===== */
.circle-icon {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.bg-gradient-success {
    background: linear-gradient(135deg, #28a745, #5cd68b);
}

.bg-gradient-warning {
    background: linear-gradient(135deg, #ffc107, #ffd76f);
}

.bg-gradient-primary {
    background: linear-gradient(135deg, #6c63ff, #928dff);
}

/* ===== Right Panel Circle Cards ===== */

.circle-box:hover {
    transform: scale(1.08);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.circle-box i {
    font-size: 38px;
}

.circle_para {
    font-size: 1.4rem;
    color: #272660;
}

/* ===== Chart Section ===== */
.nav-pills .nav-link {
    padding: 6px 6px;
    font-weight: 600;
    color: #555;
    font-size: 12px;
    height: 32px;
}

    .nav-pills .nav-link.active {
        background-color: #6c63ff;
        color: #fff;
        box-shadow: 0 2px 10px rgba(108, 99, 255, 0.3);
    }

.card-title {
    color: #272660;
}

/* Only Desktop View */
@media(min-width: 992px) {
    .email-menu-sidebar {
        position: sticky;
        top: 90px; /* navbar ke niche jitna gap chahiye utna rakh lo */
        height: calc(100vh - 100px);
        overflow-y: auto;
    }

    /* Right side scroll */
    .email-content {
        max-height: calc(100vh - 100px);
        overflow-y: auto;
    }

        /* Scrollbar hide (optional) */
        .email-content::-webkit-scrollbar,
        .email-menu-sidebar::-webkit-scrollbar {
            width: 5px;
        }
}










file-link:hover {
    background-color: #e06d00;
}

/* Flex width for proper alignment */
.message-item h6 {
    flex: 2;
}

.message-item .job {
    flex: 2;
}

.message-item .file-link {
    flex: 1;
    text-align: center;
}

.message-item .date {
    flex: 1;
    text-align: right;
}

//Support/Reply css/
/* Card */
.neon-card {
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s ease;
}

/* Avatar */
.avatar-wrapper {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
}

.avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Light Inputs */
.light-input {
    border-radius: 10px;
    background-color: #f9f9f9;
    border: 1px solid #ccc;
    color: #333;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
}

    .light-input:focus {
        outline: none;
        border-color: #272660;
        box-shadow: 0 0 5px rgba(39,38,96,0.2);
    }

/* Buttons */
.btn-primary {
    background-color: #272660;
    color: #fff;
    /* border-radius: 50px;*/
    border: 1px solid #272660;
}

    .btn-primary:hover {
        background-color: #0056b3;
        border-color: #0056b3;
    }

.btn-outline-primary {
    color: #272660;
    border: 1px solid #272660;
    border-radius: 50px;
}

    .btn-outline-primary:hover {
        background-color: #272660;
        color: #fff;
    }

.btn-custom-padding {
    padding: 0.4rem 1.2rem;
    font-size: 1rem;
}

/read mail css/
/* Sidebar */
.email-menu-sidebar {
    min-width: 250px;
}

/* Email Content Card */
.email-content {
    flex-grow: 1;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* ✅ Mobile-specific spacing */
@media (max-width: 767.98px) {
    .email-wrapper {
        flex-direction: column !important;
    }

    .email-menu-sidebar {
        width: 100% !important;
    }

    .email-content {
        width: 100% !important;
    }
}

/mobile portfolio/


@media (max-width: 767.98px) {
    .card-title

{
    font-size: 1rem;
}

label.form-label {
    font-size: 0.9rem;
}

.btn {
    font-size: 0.875rem;
}

table th, table td {
    font-size: 0.8rem;
    white-space: nowrap;
}

}

@media (max-width: 767.98px) {
    /* Make form labels smaller for mobile */
    .form-label {
        font-size: 14px;
    }

    /* Make breadcrumb fit better */
    .breadcrumb {
        font-size: 13px;
    }

    /* Hide image column in table on very small screens for clarity */
    table td:nth-child(3),
    table th:nth-child(3) {
        display: none;
    }
}

/* ---------- RESPONSIVE STYLES ---------- */


@media (max-width: 767.98px) {
    .page-title-box h4 {
        font-size: 1.2rem;
    }

    .page-title-right {
        margin-top: 5px;
    }

    #btnSubmit, #btnEdit, #btnCancel {
        width: 100%;
        margin-bottom: 10px;
    }

    .card-header h4 {
        font-size: 1rem;
    }
}

@media (max-width: 767.98px) {

    .card_resume {
        margin-bottom: 0px;
    }

    .nav-pills .nav-link {
        min-width: 0px;
        height: 33px;
        font-size: 0.875rem;
    }

    table td, table th {
        font-size: 12px;
        padding: 6px;
    }

    .btn-sm {
        padding: 4px 6px;
        font-size: 12px;
    }

    .page-title-box {
        flex-direction: column;
        align-items: flex-start;
    }

    .breadcrumb {
        margin-top: 5px;
    }


    .card-body {
        padding: 1rem;
    }

    .form-label {
        font-size: 14px;
    }

    #imageToShow {
        width: 70px !important;
        height: 70px !important;
    }

    .btn {
        width: 100% !important;
    }


    .page-title-box h4 {
        font-size: 1rem;
    }

    table.table th, table.table td {
        font-size: 13px;
        padding: 0.5rem;
    }

    .page-title-box {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 0.5rem;
    }

    .card-header h4 {
        font-size: 16px;
    }

    .form-label {
        font-size: 14px;
    }

    .card-body .form-control,
    .form-select {
        font-size: 14px;
    }

    #imageToShow {
        width: 60px !important;
        height: auto;
    }

    .btn {
        font-size: 13px !important;
        padding: 6px 10px !important;
        margin: 0px 35px 0 0 !important;
    }

    /*.w-100 {
        width: 47% !important;
    }
*/
    table thead {
        display: none;
    }

    table tbody tr {
        display: block;
        margin-bottom: 15px;
        border: 1px solid #dee2e6;
        border-radius: 10px;
        padding: 10px;
    }

    table tbody td {
        display: flex;
        /*justify-content: space-between;*/
        align-items: center;
        padding: 6px 0;
        font-size: 13px;
    }

        table tbody td:before {
            content: attr(data-label);
            font-weight: 600;
        }

    .card {
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        border-radius: 10px;
    }


    .page-title-box {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 8px;
    }

    .card-header h5, .card-title {
        font-size: 1rem;
    }

    #imageToShow {
        width: 60px !important;
        height: 60px !important;
    }

    .table {
        font-size: 0.85rem;
    }

    .table-responsive {
        overflow-x: auto;
    }

    .btn {
        font-size: 0.85rem;
        padding: 6px 10px;
    }
}

.card-title {
    color: #272660;
}

.nav-pills .nav-link.active {
    color: #fff !important;
}

.nav-pills .nav-link {
    color: #272660;
    border: 1px solid #272660;
    transition: 0.3s;
}

    .nav-pills .nav-link:hover {
        background-color: #272660;
        color: #fff;
    }

.card-title {
    color: #272660;
}

.nav-pills .nav-link.active {
    color: #fff !important;
}

.nav-pills .nav-link {
    color: #272660;
    border: 1px solid #272660;
    transition: 0.3s;
}

    .nav-pills .nav-link:hover {
        background-color: #272660;
        color: #fff;
    }

/* Circle icon */
.circle-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    transition: all 0.4s ease;
}

/* Gradient backgrounds for different cards */
.bg-gradient-primary {
    background: linear-gradient(135deg, #272660, #6b63ff);
}

.bg-gradient-success {
    background: linear-gradient(135deg, #198754, #28a745);
}

.bg-gradient-warning {
    background: linear-gradient(135deg, #ffb100, #ffcb66);
}

/* Hover effect for cards */
.hover-effect {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .hover-effect:hover {
        transform: translateY(-8px);
        box-shadow: 0 8px 25px rgba(39, 38, 96, 0.2);
    }

a {
    color: #495057;
}

.btn-soft-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.btn-soft-primary {
    background-color: #cce5ff;
    color: #004085;
    border: 1px solid #b8daff;
}

.btn-soft-info {
    background-color: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

.btn-border {
    border-radius: 6px;
    font-weight: bolder;
    padding: 3px 10px;
    min-width: 60px;
}

.card-height-100 {
    height: 100%;
}



/* Optional: make it responsive */
@media (max-width: 767.98px) {
    .dashboard-section-heading {
        font-size: 1.3rem;
        margin-top: 20px;
        margin-bottom: 15px;
    }
}

.dashboard-section-heading {
    font-weight: 700;
    font-size: 1.1rem;
    color: #272660;
    margin: 20px 0 24px;
    border-left: 5px solid #6c63ff;
    padding-left: 10px;
    text-transform: uppercase;
}

.section-bg {
    background: #f9fafc;
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 25px;
}

/* ===== Card Design ===== */
.card_resume {
    background: linear-gradient(145deg, #ffffff, #f4f6ff);
    border: none;
    border-radius: 16px;
    transition: all 0.3s ease-in-out;
}

    .card_resume:hover {
        transform: translateY(-6px);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    }

/* ===== Icon Circle ===== */
.circle-icon {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.bg-gradient-success {
    background: linear-gradient(135deg, #28a745, #5cd68b);
}

.bg-gradient-warning {
    background: linear-gradient(135deg, #ffc107, #ffd76f);
}

.bg-gradient-primary {
    background: linear-gradient(135deg, #6c63ff, #928dff);
}

/* ===== Right Panel Circle Cards ===== */

.circle-box:hover {
    transform: scale(1.08);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.circle-box i {
    font-size: 38px;
}

.circle_para {
    font-size: 1.4rem;
    color: #272660;
}

/* ===== Chart Section ===== */
.nav-pills .nav-link {
    padding: 6px 6px;
    font-weight: 600;
    color: #555;
    font-size: 12px;
    height: 32px;
}

    .nav-pills .nav-link.active {
        background-color: #6c63ff;
        color: #fff;
        box-shadow: 0 2px 10px rgba(108, 99, 255, 0.3);
    }

.card-title {
    color: #272660;
}

/*slider css*/


/* File link style */
.file-link {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 4px;
    background-color: #0b1d58;
    color: #fff;
    text-decoration: none;
    font-size: 13px;
}

    .file-link:hover {
        background-color: #0d2a82;
    }



.message-item {
    background: #fff;
    padding: 12px 15px;
    border-radius: 8px;
    margin-bottom: 10px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: 0.2s ease;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 15px;
    flex-wrap: nowrap; /* stays in one line */
}

    /* Name */
    .message-item h6 {
        margin: 0;
        font-weight: 600;
        color: #0b1d58;
        flex: 1;
        white-space: normal; /* allow wrapping inside its space */
        word-wrap: break-word; /* break long words */
        overflow-wrap: break-word; /* modern wrap support */
    }

    /* Job */
    .message-item .job {
        color: #555;
        font-size: 14px;
        flex: 1;
        white-space: normal;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    /* File link */
    /*.message-item .file-link {
    background-color: #0b1d58;
    color: #fff !important;
    padding: 0px 0px;           
    border-radius: 4px;
    text-decoration: none;
    font-size: 12px;
    flex-shrink: 0;
    white-space: nowrap;
    line-height: 1.2;         
}*/

    /* Date */
    .message-item .date {
        color: #777;
        font-size: 13px;
        flex-shrink: 0;
        white-space: nowrap;
    }

.message-item {
    align-items: flex-start; /* keeps multi-line text aligned neatly */
}

/*mobile css*/

#imageToShow {
    width: 85px;
    height: auto;
    border-radius: 6px;
    border: 1px solid #ddd;
}

/* Mobile Responsive */
@media(max-width: 767px) {
    .card {
        margin-bottom: 15px;
    }

    table td, table th {
        font-size: 12px;
        white-space: nowrap;
    }

    .table-responsive {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

/* Desktop Sticky Form */
@media(min-width: 992px) {
    .col-lg-4 {
        position: sticky;
        top: 90px;
        align-self: flex-start;
        z-index: 10;
    }
}

/* 📌 Mobile View (width up to 768px) */
@media (max-width: 768px) {

    /* Make form & table full width stacked */
    .col-lg-4, .col-lg-7 {
        width: 100% !important;
        max-width: 100% !important;
    }

    /* Make table scroll horizontally */
    .table-responsive {
        overflow-x: auto !important;
        display: block;
        width: 100%;
    }

    /* Reduce form label and input spacing */
    .form-label {
        font-size: 14px;
        margin-bottom: 2px;
    }

    .form-control, .form-select {
        font-size: 14px;
        /*  padding: 8px;*/
    }

    /* Make small Image preview smaller */
    #imageToShow {
        width: 100px !important;
        height: auto;
    }

    /* Submit / Update / Cancel buttons alignment */
    #btnSubmit, #btnEdit, #btnCancel {
        width: 100%;
        margin-bottom: 6px;
    }

    /* Table cell font-size reduce */
    table td, table th {
        font-size: 13px;
        white-space: nowrap;
    }
}

/* Mobile view: Table to Card */
@media(max-width: 767px) {

    table thead {
        display: none;
    }

    table tr {
        display: block;
        margin-bottom: 12px;
        border: 1px solid #ddd;
        border-radius: 6px;
        padding: 10px;
    }

    table td {
        display: flex;
        /*justify-content: space-between;*/
        padding: 6px 8px;
        border: none !important;
        width: 100%;
        white-space: normal !important;
        text-align: left !important;
    }

        table td::before {
            content: attr(data-label);
            font-weight: 600;
            color: #333;
        }

        /* Image responsive inside card */
        table td img {
            max-width: 100px;
            height: auto;
        }
}

.message-cell {
    max-width: 200px;
    white-space: normal !important;
    word-wrap: break-word;
}

/* Mobile view fixes */
@media (max-width: 767.98px) {
    table thead {
        display: none;
    }

    table tbody tr {
        display: block;
        margin-bottom: 15px;
        border: 1px solid #ddd;
        padding: 10px;
        border-radius: 8px;
    }

    table tbody td {
        display: flex;
        font-size: 14px;
        border: none !important;
    }

        table tbody td:before {
            content: attr(data-label);
            font-weight: 600;
            /*margin-right: 10px;*/
            /*color: #333;*/
        }
}

.message-cell {
    white-space: normal !important;
    word-wrap: break-word;
    max-width: 250px;
}

@media(max-width: 767px) {
    h4.mb-sm-0 {
        font-size: 18px;
    }

    .table-responsive {
        overflow-x: auto;
    }
}



@media(max-width: 767px) {
    .container-fluid {
        padding-left: 5px !important;
        padding-right: 5px !important;
    }

    .table-responsive {
        margin: 0 !important;
        padding: 0 !important;
    }

    table {
        width: 100% !important;
    }
}

/* Mobile responsive improvement */
@media(max-width: 767px) {
    .container-fluid {
        padding-left: 8px !important;
        padding-right: 8px !important;
    }

    .table-responsive {
        margin: 0 !important;
        padding: 0 !important;
    }
}

/* Details column chhota aur padding adjust */
#contactTable td:nth-child(2),
#contactTable th:nth-child(2) {
    width: 18% !important; /* chhota kar diya */
    padding-left: 5px !important; /* left padding thodi */
    padding-right: 5px !important; /* right padding kam */
    white-space: normal !important;
    max-width: 180px; /* max-width to prevent stretching */
}

/* Message column bada */
#contactTable td:nth-child(3),
#contactTable th:nth-child(3) {
    width: 60% !important;
    white-space: normal !important;
    word-break: break-word !important;
}

/* Sr No, Read, Reply columns chhote aur centered */
#contactTable td:nth-child(1),
#contactTable th:nth-child(1),
#contactTable td:nth-child(4),
#contactTable th:nth-child(4),
#contactTable td:nth-child(5),
#contactTable th:nth-child(5) {
    width: 7% !important;
    text-align: center;
    white-space: nowrap;
}

/* Buttons chhote aur neat */
#contactTable .btn-sm,
.read-btn {
    padding: 2px 6px !important;
    font-size: 12px !important;
}

/* Sr No column tight spacing */
#example td:first-child,
#example th:first-child {
    padding-left: 8px !important;
    padding-right: 8px !important;
    text-align: center;
    width: 50px;
    white-space: nowrap;
}

/* Vertical alignment for all cells */
#example td {
    vertical-align: top;
}

/* Mobile view adjustments */
@media (max-width: 768px) {
    /* Stack Details column vertically */
    #example td:nth-child(2) {
        display: block;
        line-height: 1.5;
        white-space: normal;
    }

    /* Smaller buttons */
    #example .btn-sm {
        font-size: 12px !important;
        padding: 3px 6px !important;
    }

    /* Optional: make table scrollable horizontally */
    .table-responsive {
        overflow-x: auto;
    }

    /* Make table cells wrap nicely */
    #example td, #example th {
        white-space: normal;
    }
}

/* Tighten Sr No column */
#example td:first-child,
#example th:first-child {
    padding-left: 6px !important;
    padding-right: 6px !important;
    text-align: center;
    width: 50px;
    white-space: nowrap;
}

/* Vertical alignment for all cells */
#example td {
    vertical-align: top;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    /* Stack Details column vertically */
    #example td:nth-child(2) {
        display: block;
        line-height: 1.5;
        white-space: normal;
    }

    /* Smaller buttons */
    #example .btn-sm {
        font-size: 12px !important;
        padding: 3px 6px !important;
    }

    /* Table scroll horizontally */
    .table-responsive {
        overflow-x: auto;
    }

    /* Allow wrapping for all table cells */
    #example td, #example th {
        white-space: normal;
    }
}

.message {
    height: 100vh;
}

/* Optional: adjust font-size for smaller screens */
@media (max-width: 768px) {
    h1 {
        font-size: 1.8rem !important;
    }

    .btn-sm {
        font-size: 0.85rem !important;
        padding: 2px 10px !important;
    }

    .message {
        height: 50vh;
    }
}

/* Shadow for the box */
.shadow {
    box-shadow: 0 4px 12px rgba(0,0,0,0.15) !important;
}

/* Sr No column tight spacing */
#example td:first-child,
#example th:first-child {
    padding-left: 8px !important;
    padding-right: 8px !important;
    text-align: center;
    width: 50px;
    white-space: nowrap;
}

/* Vertical alignment for all cells */
#example td {
    vertical-align: top;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    /* Stack Enquiry Details */
    #example td:nth-child(2) {
        display: block;
        line-height: 1.5;
        white-space: normal;
    }

    /* Make buttons smaller */
    #example .btn-sm {
        font-size: 12px !important;
        padding: 3px 6px !important;
    }

    /* Allow horizontal scroll */
    .table-responsive {
        overflow-x: auto;
    }

    /* Wrap text in all cells */
    #example td, #example th {
        white-space: normal;
    }
}

@media (max-width: 991px) {
    .app-menu {
        width: 250px !important;
    }
}

/* Read button column ko bada + single line */
#example td:nth-child(5),
#example th:nth-child(5) {
    white-space: nowrap !important;
    width: 150px !important; /* size badha diya */
    text-align: center;
}

/* REPLY button column bhi same line me rahe */
#example td:nth-child(6),
#example th:nth-child(6) {
    white-space: nowrap !important;
    width: 150px !important;
    text-align: center;
}

/* Mobile View ke liye table scroll perfect ho */
@media(max-width: 768px) {
    #example td, #example th {
        font-size: 14px;
    }
}

@media(min-width: 768px) {
    /* #example td .btn {
        margin-top: 30px !important; 
    }*/
}

/* Mobile View (768px se niche) */
@media(max-width: 768px) {
    #example td .btn {
        margin-top: 0 !important;
        margin-bottom: 5px;
    }
}


.wrap-text {
    white-space: normal !important;
    word-break: break-word !important;
    max-width: 350px;
}

/* Mobile View Table Better Responsive */
@media (max-width: 576px) {
    #contactTable td,
    #contactTable th {
        font-size: 13px;
        padding: 6px;
    }

        #contactTable th:nth-child(1),
        #contactTable td:nth-child(1) {
            width: 40px !important;
        }

        #contactTable th:nth-child(2),
        #contactTable td:nth-child(2) {
            width: 180px !important;
            display: block;
        }

    #contactTable {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
}


.contact-table th:nth-child(2),
.contact-table td:nth-child(2) {
    width: 50%;
    min-width: 300px;
    white-space: normal !important;
}

.wrap-text {
    white-space: normal;
    word-wrap: break-word;
}

table td, table th {
    white-space: normal !important;
    vertical-align: top;
}

@media (max-width: 768px) {
    .page-title-box h4 {
        font-size: 18px !important;
    }

    td, th {
        font-size: 12px !important;
    }

    .btn {
        font-size: 12px !important;
        padding: 6px 8px !important;
    }
}

.navbar-nav .nav-item.active .nav-link {
    background-color: #3E4073 !important;
    color: #fff !important;
    font-weight: 500;
}

    /* Icon color */
    .navbar-nav .nav-item.active .nav-link i {
        color: #fff !important;
    }

.navbar-nav .nav-link:hover {
    background-color: #ffb74d !important;
    color: #fff !important;
}

.navbar-nav .menu-dropdown.show ~ .nav-link,
.navbar-nav .menu-dropdown.show > .nav-link,
.navbar-nav .menu-dropdown.show {
    background-color: #ff9800 !important;
    color: #fff !important;
}

    .navbar-nav .menu-dropdown.show i {
        color: #fff !important;
    }

.app-menu.navbar-menu {
    background-color: #1a1a1a;
}

/*report css*/


/* ===== STATUS COLUMN DESIGN ===== */
th.status-col {
    width: 200px;
}

.status-box {
    max-width: 300px;
    /*    max-height: 100px;*/
    overflow-x: auto;
    overflow-y: auto;
    white-space: nowrap;
    background: #f8f9fa;
    padding: 8px 10px;
    border-radius: 6px;
    font-size: 13px;
    line-height: 1.4;
}


    .status-box:hover {
        overflow-y: auto;
    }

.status-badge {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    display: inline-block;
}

.no-reply {
    background: #ffe5e5;
    color: #c70000;
    border: 1px solid #ffb3b3;
}


/* ========= MOBILE VIEW STATUS FULL WIDTH ========= */
@media (max-width: 768px) {
    #example td:nth-child(5), #example th:nth-child(5){
        width:100%!important;
    }
}
