/* ===================== Common Buttons ===================== */

.btn-create {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 8px;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    color: #fff;
    background-color: #0d6efd;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.btn-create i {
    transition: transform 0.3s ease;
}
.btn-create:hover {
    background-color: #0d6efd;
    color: #ffffff;
    border-color: #0d6efd;
}

.btn-create:hover i {
    transform: rotate(270deg);
}
.backmargin{margin-left:10px;}


a.btn-link.preview {
    background: #0d6efd;
    color: #fff !important;
    text-decoration: none !important;
    border-radius: 50px;
    font-weight: 700;
}
a.btn-link.deactive-btn {
    border-radius: 50px;
    background: #dc3545;
    color: #fff !important;
     font-weight: 700;
}

a.btn-link.active-btn {
    border-radius: 50px;
    background: #28a745 ;
    color: #fff !important;
     font-weight: 700;
}

a.btn-link.edit{
    border-radius: 50px;
    background: #ffc107 ;
    color: #fff !important;
     font-weight: 700;
}
a.btn-link.view{
    border-radius: 50px;
    background: #17a2b8  ;
    color: #fff !important;
     font-weight: 700;
}

a.btn-link.deactive-btn {
    border-radius: 50px;
    background: #6c757d;
    color: #fff !important;
    font-weight: 700;
}

td.action_td a.btn-link{ text-decoration:none !important;    height: 35px  !important;line-height: 12px !important;width: auto !important;padding: 5px 10px !important;}

a.btn-link {
    display: inline-block;
    transition: all 0.3s ease;
}



/* HOVER EFFECT (COMMON) */
td.action_td a.btn-link:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 5px 14px rgba(0,0,0,0.2);
}

/* CLICK EFFECT */
td.action_td a.btn-link:active {
    transform: scale(0.96);
    box-shadow: 0 5px 14px rgba(0,0,0,0.2);
}

/* SPECIFIC COLORS */

a.btn-link.preview {
    background: #0d6efd;
    color: #fff !important;
}
a.btn-link.preview:hover {
    background: #0b5ed7;
}

a.btn-link.active-btn {
    background: #28a745;
    color: #fff !important;
}
a.btn-link.active-btn:hover {
    background: #218838;
}

a.btn-link.deactive-btn {
    background: #dc3545;
    color: #fff !important;
}

a.btn-link.edit {
    background: #ffc107;
    color: #000 !important;
}
a.btn-link.edit:hover {
    background: #e0a800;
}

a.btn-link.view {
    background: #17a2b8;
    color: #fff !important;
}
a.btn-link.view:hover {
    background: #138496;
}
.btn-success:hover {
    background: #54a6ef !important;
}

.savebttonxs:hover {
    background: #54a7ef !important;
}
a.btn-link.archive-btn {
    background: #6f77c1;
    color: #fff !important;
    border-radius: 50px;
    font-weight: 700;
}

/* ===================== Breadcrumb ===================== */

.breadcrumb.breadcrumb {
    margin-bottom: 10px !important;
    background: #0f5757 !important;
    padding: 8px 15px !important;
    border-radius: 10px;
    border: 1px solid #d6d1d1;
    color: #fff;
}

.breadcrumb.breadcrumb a,
nav.breadcrumb span {
    color: #fff;
}

nav.breadcrumb {
    position: relative;
    display: block;
}

nav.breadcrumb span {
    font-weight: 600;
    margin-left: 15px;
}

nav.breadcrumb a {
    position: relative;
    padding: 0 15px;
}

nav.breadcrumb a:after,
nav.breadcrumb a:before {
    position: absolute;
    content: '';
    border-right: 3.5px dotted #fff;
    top: 0;
    height: 21px;
}

nav.breadcrumb a:after {
    right: 0;
}

nav.breadcrumb a:before {
    right: 5px;
}

/* ===================== Layout Utilities ===================== */

.flexmg {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
}

.margibottom15 {
    margin-bottom: 15px;
}

.titleRow {
    display: flex;
    justify-content: space-between;
    margin: 0;
}

.boxg {
    background: #f3f3f3;
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #ddd;
}

/* ===================== Table ===================== */

/* table {
    width: 100% !important;
} */

table td,
.tableData td {
    word-break: inherit !important;
}

/* .adbtnrow table {
    min-width: 100% !important;
    max-width: 100% !important;
    width: 100% !important;
} */

/* ===================== Action Buttons ===================== */

.buttonlinks {
      grid-template-columns: repeat(6, 1fr);
    gap: 2px;justify-content: center;
    display:grid;
}
.hide-btn{background:red !important; color:#fff !important;}
.hide-btn span{color:#fff !important;}
.buttonlinks a {
    display: flex !important;
    align-items: center;
    justify-content: center;
    height: auto !important;
}
.table-new-one.tableBotBdr table td,.table-new-one.tableBotBdr table th{padding: 8px !important;    border: 1px solid #e3e3e3 !important;line-height:normal !important;}
.table-new-one.tableBotBdr table td{color:#000 !important;}

.buttonlinks a {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border: none;
    border-radius: 4px;
    text-decoration: none;
    color: #0d6efd;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}



.gridTableWrap td.action_td a {
    font-size: 12px;
    display: block;
    width: 100%;
    color: blue;
    text-decoration: underline;
    line-height: 17px;
    padding: 0;
    margin: 0;
}

td.action_td .buttonlinks a {
    padding: 5px 2px !important;
}

/* ===================== Grid Button Styles ===================== */

.btn-link {
    position: relative;
    display: inline-block;
    padding: 8px 16px;
    border: 2px solid;
    border-radius: 5px;
    text-decoration: none;
    overflow: hidden;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s ease;
}
a.btn-link.deactive-btn {
    border-radius: 50px;
    background: #c1c1c1;
    font-weight: 700;
    color: #17191a !important;
    cursor: not-allowed;
    opacity: 0.65;
}


.btn-link span {
    position: relative;
    z-index: 1;
}

.btn-link:hover::before {
    top: 0;
}
a.btn-link.edit span {
    color: #000 !important;
}



/* Color Variants */

.preview { border-color: #0d6efd !important; color: #0d6efd !important;}
.preview::before { background-color: #0d6efd !important; }

.active-btn { border-color: #198754 !important; color: #198754 !important; }
.active-btn::before { background-color: #198754 !important; }

.edit { border-color: #fd7e14 !important; color: #fd7e14 !important; }
 .edit::before { background-color: #fd7e14 !important; }

.view { border-color: #6f42c1 !important; color: #6f42c1 !important;}
.view::before { background-color: #6f42c1 !important; }

.deactive-btn {
    color: #dc3545 !important;
    border-color: #dc3545 !important;
}



nav.breadcrumb.newbreadcrumb {
    background: white !important; color:#000 !important;
}
nav.breadcrumb.newbreadcrumb a {
    color: #000 !important;
}
.button-back-block {
    text-align: right;
    margin-bottom: 10px;
}
nav.breadcrumb.newbreadcrumb a {
    padding: 0px 8px;
}

.greenbreadcrumb{ background:#0f5757 !important;}
.boxnormal{background:#fff !important;}

 table.cke_dialog.cke_browser_webkit.cke_ltr {
    width: 50% !important;
}
nav.breadcrumb.newbreadcrumb span {
    color: black;
}

a.btn-link.deactive-btn.unarchive-btn {
    background: #742274;
    color: #fff !important;    cursor: pointer;
}

td.action_td .buttonlinks a:hover{ cursor: pointer;}
.custom-tooltip {
    position: fixed;
    background: #333;
    color: #fff;
    padding: 6px 10px;
    font-size: 12px;
    border-radius: 4px;
    transform: translateX(-50%);
    white-space: nowrap;
    z-index: 9999;
    pointer-events: none;
}

/* Triangle arrow */
.custom-tooltip::after {
    content: "";
    position: absolute;
    top: 100%; /* bottom pe attach karega */
    left: 50%;
    transform: translateX(-50%);
    
    border-width: 6px;
    border-style: solid;
    border-color: #333 transparent transparent transparent;
}