* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Segoe UI",Arial,sans-serif;
    background: #f5f7fb;
    color: #1e293b;
}

@font-face {
    font-family: "Kruti Dev 010";
    src: url("fonts/KrutiDev010.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}
/* =========================================================
   LOGIN
========================================================= */
.form-group.barcodeblock {
    width: 202px !important;
}

.kruicovert span.btn.btn-primary {
    cursor: default;
}

.final_datapaste .btn.btn-primary {
    width: 155px;
    margin: 8px 0 0 9px;
}

.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at 10% 20%,rgba(255,255,255,.25),transparent 25%), radial-gradient(circle at 90% 80%,rgba(255,255,255,.18),transparent 30%), linear-gradient(135deg,#6d28d9,#2563eb,#0891b2);
}

    .login-page:before,
    .login-page:after {
        content: "";
        position: absolute;
        border-radius: 50%;
        background: rgba(255,255,255,.10);
    }

    .login-page:before {
        width: 500px;
        height: 500px;
        left: -180px;
        top: -200px;
    }

    .login-page:after {
        width: 550px;
        height: 550px;
        right: -220px;
        bottom: -250px;
    }

.login-wrapper {
    width: min(1050px,92%);
    min-height: 610px;
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    position: relative;
    z-index: 2;
    border-radius: 30px;
    overflow: hidden;
    background: rgba(255,255,255,.14);
    border: 1px solid rgba(255,255,255,.3);
    backdrop-filter: blur(20px);
    box-shadow: 0 30px 80px rgba(0,0,0,.25);
}

.login-left {
    color: #fff;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.brand-icon {
    width: 75px;
    height: 75px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 22px;
    font-size: 34px;
    background: rgba(255,255,255,.18);
    margin-bottom: 28px;
}

.login-left h1 {
    font-size: 46px;
    line-height: 1.08;
    font-weight: 800;
    margin-bottom: 20px;
}

.login-left p {
    max-width: 520px;
    line-height: 1.7;
    color: rgba(255,255,255,.85);
}

.feature-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 25px;
}

.feature {
    padding: 9px 14px;
    border-radius: 30px;
    background: rgba(255,255,255,.13);
    border: 1px solid rgba(255,255,255,.2);
    font-size: 12px;
}

.login-card {
    margin: 28px;
    padding: 45px 40px;
    border-radius: 25px;
    background: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

    .login-card h2 {
        font-size: 30px;
        font-weight: 800;
        margin-bottom: 7px;
    }

.login-subtitle {
    color: #94a3b8;
    margin-bottom: 30px;
    font-size: 14px;
}

.form-label {
    font-size: 13px;
    font-weight: 700;
}

.login-input {
    position: relative;
    margin-bottom: 20px;
}

    .login-input i {
        position: absolute;
        left: 15px;
        top: 50%;
        transform: translateY(-50%);
        color: #7c3aed;
    }

    .login-input input {
        width: 100%;
        height: 52px;
        padding: 0 15px 0 44px;
        border: 1px solid #e2e8f0;
        border-radius: 13px;
        outline: none;
        background: #f8fafc;
    }

        .login-input input:focus {
            border-color: #7c3aed;
            box-shadow: 0 0 0 4px rgba(124,58,237,.08);
            background: #fff;
        }

.login-button {
    width: 100%;
    padding: 11px;
    border: 0;
    border-radius: 14px;
    color: #fff;
    font-weight: 700;
    background: linear-gradient(135deg, #7c3aed, #2563eb);
    box-shadow: 0 12px 25px rgba(79, 70, 229, .28);
    display: block;
    text-align: center;
    text-decoration: none;
}

.demo-text {
    text-align: center;
    font-size: 11px;
    color: #94a3b8;
    margin-top: 18px;
}


/* =========================================================
   DASHBOARD
========================================================= */

.dashboard {
    min-height: 100vh;
}

.sidebar {
    width: 260px;
    height: 100vh;
    position: fixed;
    left: 0;
    top: 0;
    background: #111827;
    color: #fff;
    padding: 20px 15px;
    z-index: 1000;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 10px 23px;
    border-bottom: 1px solid rgba(255,255,255,.08);
    margin-bottom: 20px;
}


.logo-icon {
    width: 44px;
    height: 44px;
    border-radius: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg,#7c3aed,#06b6d4);
    font-size: 21px;
}

.logo strong {
    font-size: 17px;
}

.menu-title {
    color: #6b7280;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0 12px;
    margin-bottom: 7px;
}

.sidebar a {
    text-decoration: none;
    color: #9ca3af;
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 13px;
    border-radius: 11px;
    margin-bottom: 4px;
    font-size: 14px;
    transition: .2s;
}

    .sidebar a:hover,
    .sidebar a.active {
        color: #fff;
        background: linear-gradient( 90deg, rgba(124,58,237,.85), rgba(37,99,235,.65) );
    }

    .sidebar a i {
        font-size: 18px;
    }

.sidebar-bottom {
    position: absolute;
    left: 15px;
    right: 15px;
    bottom: 18px;
}

.user-box {
    padding: 12px;
    border-radius: 13px;
    background: rgba(255,255,255,.05);
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #7c3aed;
}

.user-box strong {
    display: block;
    font-size: 12px;
}

.user-box span {
    font-size: 10px;
    color: #9ca3af;
}

.logout {
    width: 100%;
    height: 40px;
    border-radius: 9px;
    border: 1px solid rgba(255,255,255,.08);
    background: transparent;
    color: #9ca3af;
}

    .logout:hover {
        color: #fff;
        background: rgba(239,68,68,.15);
    }


/* =========================================================
   MAIN
========================================================= */

.main {
    margin-left: 260px;
    min-height: 100vh;
    padding: 25px;
}

.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 25px;
}

.heading h3 {
    margin: 0;
    font-size: 25px;
    font-weight: 800;
}

.heading p {
    margin: 4px 0 0;
    color: #94a3b8;
    font-size: 13px;
}

.mobile-menu {
    display: none;
}


/* =========================================================
   DOCUMENT LIST
========================================================= */

.document-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(15,23,42,.04);
}

.card-top {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    border-bottom: 1px solid #edf0f4;
}

    .card-top h5 {
        margin: 0;
        font-weight: 800;
        font-size: 17px;
    }

    .card-top small {
        color: #94a3b8;
    }

.search {
    position: relative;
    width: 280px;
}

    .search i {
        position: absolute;
        left: 13px;
        top: 50%;
        transform: translateY(-50%);
        color: #94a3b8;
    }

    .search input {
        width: 100%;
        height: 42px;
        padding-left: 40px;
        border: 1px solid #e2e8f0;
        border-radius: 10px;
        outline: none;
    }

.table-wrap {
    overflow-x: auto;
}

.doc-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 1050px;
}

    .doc-table th {
        background: #f8fafc;
        color: #64748b;
        font-size: 10px;
        text-transform: uppercase;
        letter-spacing: .5px;
        padding: 14px 18px;
        white-space: nowrap;
    }

    .doc-table td {
        padding: 15px 18px;
        border-top: 1px solid #f0f2f5;
        font-size: 13px;
        vertical-align: middle;
    }

    .doc-table tr:hover {
        background: #fafaff;
    }

.doc-name {
    display: flex;
    align-items: center;
    gap: 12px;
}

.doc-icon {
    width: 42px;
    height: 42px;
    border-radius: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.pdf-icon {
    background: #fee2e2;
    color: #dc2626;
}

.jpg-icon {
    background: #dbeafe;
    color: #2563eb;
}

.doc-name strong {
    display: block;
    font-size: 13px;
}

.doc-name span {
    font-size: 10px;
    color: #94a3b8;
}

.barcode-value {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 10px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-family: monospace;
    font-size: 11px;
}

.no-barcode {
    color: #94a3b8;
    font-size: 11px;
}

.code-value {
    font-family: monospace;
    color: #475569;
    font-size: 11px;
}

.type {
    display: inline-block;
    padding: 5px 9px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 700;
}

    .type.pdf {
        color: #dc2626;
        background: #fee2e2;
    }

    .type.jpg {
        color: #2563eb;
        background: #dbeafe;
    }

.action-btn {
    border: 0;
    border-radius: 8px;
    padding: 8px 10px;
    font-size: 14px;
    font-weight: 700;
    margin-right: 4px;
    display: inline-block;
    text-decoration: none;
}

.view-btn {
    background: #ede9fe;
    color: #6d28d9;
}

.edit-btn {
    background: #dbeafe;
    color: #2563eb;
}

.action-btn:hover {
    filter: brightness(.95);
}

.status {
    display: inline-block;
    padding: 5px 9px;
    border-radius: 20px;
    color: #15803d;
    background: #dcfce7;
    font-size: 10px;
    font-weight: 700;
}

.pagination-area {
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #edf0f4;
}

.page-info {
    color: #94a3b8;
    font-size: 11px;
}

.pagination {
    margin: 0;
}

    .pagination .page-link {
        border: 0;
        margin: 0 2px;
        border-radius: 7px !important;
        font-size: 11px;
    }

    .pagination .active .page-link {
        background: #7c3aed;
        color: #fff;
    }


/* =========================================================
   VIEWER
========================================================= */

.viewer-page {
    /* display:none;*/
}

.viewer-toolbar {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 12px;
}

.toolbar-left,
.toolbar-right {
    display: flex;
    align-items: center;
    gap: 6px;
}

.tool {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    background: #fff;
    color: #475569;
}

    .tool:hover {
        background: #7c3aed;
        border-color: #7c3aed;
        color: #fff;
    }

.zoom-text {
    min-width: 55px;
    text-align: center;
    font-size: 11px;
    font-weight: 700;
}

.back {
    height: 38px;
    border: 1px solid #e2e8f0;
    background: #fff;
    border-radius: 8px;
    padding: 0 12px;
    font-size: 11px;
    font-weight: 700;
}


/* IMPORTANT:
   PDF/JPG dono ke liye scroll container
*/

.viewer {
    height: calc(100vh - 260px);
    min-height: 450px;
    overflow: auto;
    padding: 30px;
    border-radius: 15px 15px 0 0;
    background: #1e293b;
}

.viewer-stage {
    min-width: max-content;
    min-height: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

#imageViewer {
    display: none;
    width: 900px;
    max-width: none;
    height: auto;
    transform-origin: top center;
    box-shadow: 0 20px 50px rgba(0,0,0,.35);
    user-select: none;
}

#pdfViewer {
    display: none;
    width: max-content;
    min-width: 100%;
}

.pdf-page {
    display: block;
    margin: 0 auto 20px;
    background: #fff;
    box-shadow: 0 15px 35px rgba(0,0,0,.4);
}

.viewer-empty {
    color: #94a3b8;
    text-align: center;
    margin-top: 100px;
}


/* =========================================================
   BOTTOM EDIT BAR
========================================================= */

.bottom-bar {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-top: 0;
    border-radius: 0 0 15px 15px;
    padding: 13px;
    display: flex;
    align-items: center;
    gap: 10px;
}

    .bottom-bar label {
        font-size: 11px;
        font-weight: 800;
        white-space: nowrap;
    }

.title-input {
    flex: 1;
    height: 42px;
    border: 1px solid #e2e8f0;
    border-radius: 9px;
    padding: 0 12px;
    outline: none;
    font-size: 12px;
}

    .title-input:focus {
        border-color: #7c3aed;
    }

.save-btn {
    height: 42px;
    border: 0;
    border-radius: 9px;
    padding: 0 18px;
    color: #fff;
    font-weight: 700;
    color: #fff;
    background-color: #28a745;
    border-color: #28a745;
}


/* =========================================================
   CODE PANEL
========================================================= */

.overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.45);
    z-index: 2000;
}

    .overlay.show {
        display: block;
    }

.code-panel {
    width: 390px;
    height: 100vh;
    position: fixed;
    right: -410px;
    top: 0;
    z-index: 2100;
    background: #111827;
    color: #fff;
    transition: .3s;
    box-shadow: -20px 0 50px rgba(0,0,0,.25);
}

    .code-panel.open {
        right: 0;
    }

.code-head {
    height: 65px;
    padding: 0 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255,255,255,.08);
}

    .code-head h5 {
        margin: 0;
        font-size: 15px;
    }

.code-close {
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 8px;
    color: #fff;
    background: rgba(255,255,255,.08);
}

.code-body {
    padding: 20px;
}

.code-label {
    display: block;
    color: #9ca3af;
    font-size: 10px;
    margin-bottom: 7px;
}

.code-box {
    background: #020617;
    border: 1px solid rgba(255,255,255,.07);
    padding: 14px;
    border-radius: 9px;
    color: #67e8f9;
    font-family: monospace;
    font-size: 13px;
}

.copy-btn {
    width: 100%;
    height: 40px;
    margin-top: 10px;
    border: 0;
    border-radius: 9px;
    color: #fff;
    background: #7c3aed;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media(max-width:1000px) {

    .login-wrapper {
        grid-template-columns: 1fr;
        max-width: 550px;
    }

    .login-left {
        display: none;
    }
}

@media(max-width:768px) {

    .sidebar {
        transform: translateX(-100%);
        transition: .3s;
    }

        .sidebar.show {
            transform: translateX(0);
        }

    .main {
        margin-left: 0;
        padding: 15px;
    }

    .mobile-menu {
        display: flex;
        width: 40px;
        height: 40px;
        border: 1px solid #e5e7eb;
        background: #fff;
        border-radius: 9px;
        align-items: center;
        justify-content: center;
        margin-right: 10px;
    }

    .card-top {
        flex-direction: column;
        align-items: stretch;
    }

    .search {
        width: 100%;
    }

    .viewer-toolbar {
        flex-wrap: wrap;
    }

    .viewer {
        height: calc(100vh - 320px);
        padding: 15px;
    }

    .bottom-bar {
        flex-wrap: wrap;
    }

        .bottom-bar label {
            width: auto;
        }

    .title-input {
        min-width: 150px;
    }

    .code-panel {
        width: min(390px,92%);
    }
}

@media(max-width:500px) {

    .login-card {
        margin: 12px;
        padding: 35px 25px;
    }

    .login-page {
        padding: 10px;
    }

    .login-card h2 {
        font-size: 25px;
    }

    .toolbar-left {
        width: 100%;
    }

    .toolbar-right {
        width: 100%;
        justify-content: flex-end;
    }

    .bottom-bar label {
        width: 100%;
    }

    .title-input {
        width: 100%;
        flex-basis: 100%;
    }

    .save-btn {
        width: 100%;
    }
}

/*---------------------pdf---------------jpg--------------*/
/* =========================
           TOP TOOLBAR
        ========================= */

.viewer-toolbar {
    height: 60px;
    width: 100%;
    background: #1e293b;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 18px;
    box-shadow: 0 2px 8px rgba(0,0,0,.15);
}

.document-info {
    min-width: 0;
}

.document-title-view {
    font-size: 19px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
    background: #111827;
    padding: 6px 18px;
    color: #fff;
}

.document-barcode-view {
    font-size: 11px;
    opacity: .75;
    margin-top: 2px;
}

.toolbar-controls {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    justify-content: space-between;
}

.filetools {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0 0 6px 0;
    justify-content: space-between;
}

.pdftitlbox {
    font-size: 18px;
    color: #000;
    font-weight: 600;
}


.tool-btn {
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 7px;
    background: rgb(37 99 235);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

    .tool-btn:hover {
        background: rgb(24 78 195);
    }

.zoom-value {
    min-width: 58px;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
}

/* =========================
           PDF VIEWER
 ========================= */

.viewer-container object {
    height: 500px;
    width: 100%;
}

.image-preview {
    height: calc(100vh - 180px - 172px);
    width: 100%;
    overflow: auto;
    padding: 25px;
    background: #dfe5ec;
}

    .image-preview img {
        display: block;
        margin: 0 auto;
    }

#pdfViewer {
    width: max-content;
    min-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.pdf-page {
    display: block;
    background: #fff;
    box-shadow: 0 4px 18px rgba(0,0,0,.18);
}

.loading {
    padding: 40px;
    text-align: center;
    color: #475569;
}

.error {
    padding: 40px;
    text-align: center;
    color: #b91c1c;
    background: #fff;
    border-radius: 10px;
}

/* =========================
           BOTTOM DETAILS BAR
        ========================= */

.document-form {
    /* height: 82px; */
    width: 100%;
    background: #fff;
    border-top: 1px solid #d9dee7;
    /*   display: grid;*/
    align-items: center;
    /* gap: 12px; */
    padding: 0px 18px;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, .06);
    /* justify-content: space-between; */
    grid-template-columns: repeat(6, 1fr);
}

.form-group {
    /* display: flex; */
    align-items: center;
    gap: 8px;
    width: 100%;
    margin-top: 7px;
}

    .form-group:nth-child(13) {
        grid-column: 1 / -3;
    }

        .form-group:nth-child(13) input#documentTitle {
            width: 100%;
            max-width: 100%;
        }

.form-label {
    font-size: 12px;
    font-weight: 700;
    color: #475569;
    white-space: nowrap;
    display: block;
    margin-bottom: 0;
}

/*    .form-input {
		height: 40px;
		border: 1px solid #d1d5db;
		border-radius: 7px;
		padding: 0 12px;
		outline: none;
		font-size: 13px;
		max-width: 97%;
		width: 100%;
	}*/
.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 20px;
}

.cancel-btn {
    border: 0;
    background: #6c757d;
    color: #fff;
    padding: 7px 20px;
    border-radius: 6px;
    cursor: pointer;
    width: 210px;
}

.form-input {
    height: 36px;
    border: 1px solid #d1d5db;
    border-radius: 7px;
    padding: 0 12px;
    outline: none;
    font-size: 15px;
    max-width: 97%;
    width: 100%;
    margin-bottom: 10px;
}

input.form-input.editable {
    border: 1px solid #d1d5db;
    border-radius: 7px;
}

.form-input:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37,99,235,.1);
}

/* .barcode-input {
            width: 220px;
        }*/

.save-btn {
    height: 40px;
    border: 0;
    border-radius: 7px;
    /* background: #2563eb; */
    color: #fff;
    padding: 0 18px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    width: 10%;
    margin-top: 10px;
}



    .save-btn:hover {
        background: #1d4ed8;
    }

/* =========================
           FULLSCREEN
        ========================= */

.viewer-container:fullscreen {
    height: 100vh;
}

button.menu-toggle {
    display: flex;
    width: 40px;
    height: 40px;
    border: 1px solid #e5e7eb;
    background: #fff;
    border-radius: 9px;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
}
/* =========================
           MOBILE
        ========================= */

@media (max-width: 768px) {

    .viewer-toolbar {
        padding: 0 10px;
    }

    .document-title-view {
        /*     max-width: 180px;*/
    }

    .viewer-container {
        height: calc(100vh - 60px - 150px);
        padding: 12px;
    }

    .document-form {
        height: 250px;
        flex-wrap: wrap;
        /*   align-content: center;*/
    }

    .form-group {
        width: 100%;
    }

    .form-input,
    .barcode-input {
        flex: 1;
        width: auto;
        max-width: 100%;
    }

    .save-btn {
        /*width: 100%;*/
    }
}

/* =========================================================
           STATS
        ========================================================= */

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-bottom: 22px;
}

.stat-card {
    padding: 20px;
    background: #fff;
    border-radius: 18px;
    border: 1px solid #e8ebf1;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 7px 25px rgba(15,23,42,.04);
}

button#editBtn {
    border: 0;
    background: #ffffff;
    color: #000000;
    padding: 5px 18px;
    border-radius: 6px;
    font-size: 15px;
    cursor: pointer;
    transition: 0.2s;
    float: right;
    text-transform: uppercase;
}

.stat-icon {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

    .stat-icon.red {
        background: #fedbdb;
        color: #ff0000;
    }

    .stat-icon.purple {
        background: #ede9fe;
        color: #7c3aed;
    }

    .stat-icon.blue {
        background: #dbeafe;
        color: #2563eb;
    }

    .stat-icon.cyan {
        background: #cffafe;
        color: #0891b2;
    }

    .stat-icon.green {
        background: #dcfce7;
        color: #16a34a;
    }

.stat-card small {
    color: #8b93a4;
    display: block;
    margin-bottom: 4px;
}

.stat-card strong {
    font-size: 23px;
}

.content-card {
    background: #fff;
    border: 1px solid #e7eaf0;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(15, 23, 42, .04);
    overflow: hidden;
}

.card-header-custom {
    padding: 20px;
    display: flex;
    /* align-items: center; */
    /* justify-content: space-between; */
    gap: 15px;
    border-bottom: 1px solid #edf0f4;
}

    .card-header-custom h5 {
        margin: 0;
        font-size: 17px;
        font-weight: 800;
    }
/*---------------------------------------------------------*/
.trnalater {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding-top: 16px;
}

    .trnalater > .krui {
        width: 40%;
    }

    .trnalater > .unicode {
        width: 50%;
        display: flex;
    }

.unicode .mangalfon {
    width: 80%;
}

.unicode .unicopy {
    width: 18%;
    padding-top: 32px;
}

.trnalater > .kruicovert {
    width: 15%;
    display: flex;
    justify-content: center; /* Button ko horizontal center karne ke liye */
    align-items: center; /* Button ko vertical center karne ke liye */
}

.trnalater div label {
    display: block;
}

.trnalater div textarea {
    width: 100%;
    min-height: 54px;
}

#krutidevText {
    font-family: "Kruti Dev 010", "Kruti Dev", sans-serif;
}

.kruicovert {
    text-align: center;
    display: flex;
    width: 100%;
    padding: 0;
    height: 35px;
    justify-content: center;
    margin: 29px 0px;
}

.final_datapaste .form-group {
    width: 90%;
}

.final_datapaste {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding-top: 16px;
}

.kruti {
    font-family: "Kruti Dev 010";
}
@media (max-width: 768px) {
    .trnalater {
        display: block;
        width: 100%;
    }

        .trnalater > .krui {
            width: 100%;
        }

        .trnalater div textarea {
            width: 100%;
            min-height: 54px;
            margin: 0;
        }

        .trnalater > .kruicovert {
            width: 100%;
            display: block;
            margin: 0;
        }

        .trnalater > .unicode {
            width: 100%;
            display: block;
        }

    .unicode .mangalfon {
        width: 100%;
    }

    .unicode .unicopy {
        width: 100%;
        padding-top: 0;
        display: block;
        text-align: center;
    }

    .final_datapaste {
        display: block;
        align-items: center;
        width: 100%;
        padding-top: 16px;
    }

    .form-input, .barcode-input {
        width: 100% !important;
    }

    .final_datapaste .form-group {
        width: 100%;
    }

    .save-btn {
        width: 49%;
    }

    .final_datapaste .btn.btn-primary {
        width: 49%;
        margin: -5px 0 0 0;
    }
}