@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;600;700&display=swap');

:root {
  --primary-color: #0d6efd;
  --secondary-color: #f6f9ff;
  --text-color: #444444;
  --input-border: #ced4da;
  --input-focus: #86b7fe;
  --card-shadow: 0px 0px 30px 0px rgba(1, 41, 112, 0.1);
  --font-family: 'Open Sans', sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-family);
  background-color: var(--secondary-color);
  color: var(--text-color);
  min-height: 100vh;
  margin: 0;
}

#root {
  width: 100%;
}

.glitch-btn {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background-color: #2db341;
  border: 2px solid #ffffff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  padding: 0;
  outline: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.glitch-btn:active {
  transform: scale(0.95);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.plus-sign {
  color: #ffffff;
  font-size: 20px;
  font-weight: 500;
  line-height: 0;
  margin-top: -1px;
  user-select: none;
}

.glitch-btn-minus {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background-color: #cf3030;
  border: 2px solid #ffffff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  padding: 0;
  outline: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.glitch-btn-minus:active {
  transform: scale(0.95);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.minus-sign {
  color: #ffffff;
  font-size: 20px;
  font-weight: 500;
  line-height: 0;
  margin-top: -2px;
  user-select: none;

}/* Dashboard.css */

body {
    font-family: "Open Sans", sans-serif;
    background: #f6f9ff;
    color: #444444;
}

a {
    color: #4154f1;
    text-decoration: none;
}

a:hover {
    color: #717ff5;
    text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Nunito", sans-serif;
}

/* Layout Utilities */
#main {
    margin-top: 60px;
    padding: 20px 30px;
    transition: all 0.3s;
    margin-left: 300px;
}

@media (max-width: 1199px) {
    #main {
        padding: 20px;
        margin-left: 0;
    }
}

.pagetitle {
    margin-bottom: 10px;
}

.pagetitle h1 {
    font-size: 24px;
    margin-bottom: 0;
    font-weight: 600;
    color: #012970;
}

.breadcrumb {
    font-size: 14px;
    font-family: "Nunito", sans-serif;
    color: #899bbd;
    font-weight: 600;
    background-color: transparent;
    padding: 0;
    margin-top: 5px;
}

.breadcrumb a {
    color: #899bbd;
    transition: 0.3s;
}

.breadcrumb a:hover {
    color: #51678f;
}

.breadcrumb .active {
    color: #51678f;
    font-weight: 600;
}

/* Header Styles */
.header {
    transition: all 0.5s;
    z-index: 997;
    height: 60px;
    box-shadow: 0px 2px 20px rgba(1, 41, 112, 0.1);
    background-color: #fff;
    padding-left: 20px;
}

.logo {
    line-height: 1;
}

@media (min-width: 1200px) {
    .logo {
        width: 200px;
    }
}

.logo img {
    max-height: 56px;
    margin-right: 6px;
}

.header .toggle-sidebar-btn {
    font-size: 32px;
    padding-left: 10px;
    cursor: pointer;
    color: #012970;
}

.header-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.header-nav .nav-profile {
    color: #012970;
}

.header-nav .nav-profile img {
    max-height: 36px;
}

.header-nav .nav-profile span {
    font-size: 14px;
    font-weight: 600;
}

/* Sidebar Styles */
.sidebar {
    position: fixed;
    top: 60px;
    left: 0;
    bottom: 0;
    width: 300px;
    z-index: 996;
    transition: all 0.3s;
    padding: 20px;
    overflow-y: auto;
    box-shadow: 0px 0px 20px rgba(1, 41, 112, 0.1);
    background-color: #172e5c;
}

@media (max-width: 1199px) {
    .sidebar {
        left: -300px;
    }
}

.sidebar-nav {
    padding: 0;
    margin: 0;
    list-style: none;
}

.sidebar-nav .nav-item {
    margin-bottom: 5px;
}

.sidebar-nav .nav-link {
    display: flex;
    align-items: center;
    font-size: 15px;
    font-weight: 600;
    color: #ffffff;
    transition: 0.3s;
    background: #172e5c;
    padding: 10px 15px;
    border-radius: 4px;
    border-bottom: 1px solid #9fb5df;
}

.sidebar-nav .nav-link i {
    font-size: 16px;
    margin-right: 10px;
    color: #ffffff;
    font-weight: 100;
    -webkit-text-stroke: 0.5px #172e5c;
}

.sidebar-nav .nav-link.active {
    background: #fff;
    color: #4154f1;
}

.sidebar-nav .nav-link.active i {
    color: #4154f1;
    -webkit-text-stroke: 0.5px #fff;
}

.sidebar-nav .nav-link:hover {
    color: #4154f1;
    background: #f6f9ff;
}

.sidebar-nav .nav-link:hover i {
    color: #4154f1;
    -webkit-text-stroke: 0.5px #f6f9ff;
}

.sidebar-nav .nav-link .ms-auto {
    margin-left: auto;
    transition: transform 0.2s ease-in-out;
}

.sidebar-nav .nav-link:not(.collapsed) .ms-auto {
    transform: rotate(180deg);
}

.sidebar-nav .nav-content li {
    padding: 0;
    margin: 0;
    list-style: none;
    border-bottom: none;
    /* Move border to the link to match your code */
}

.sidebar-nav .nav-content li:first-child {
    border-top: none;
    /* No top border needed on first item */
    margin-top: 5px;
}

.sidebar-nav .nav-content {
    padding: 0;
    margin: 0;
    list-style: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out;
}

.sidebar-nav .nav-content.show {
    max-height: 300px;
}

.sidebar-nav .nav-content a {
    display: flex;
    align-items: center;
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    padding: 10px 0 10px 40px;
    transition: 0.3s;
    /* User wants this code: */
    border-bottom: 1px solid #9fb5df;
    border-radius: 4px;
    margin-right: 15px;
    /* So it doesn't hit the right edge and shows the curve */
}

.sidebar-nav .nav-content a:hover,
.sidebar-nav .nav-content a.active {
    color: #4154f1;
    background: #f6f9ff;
    border-radius: 4px;
}

/* Dashboard Cards */
.card-gradient-custom {
    background-color: #002674;
    border: 0;
    -webkit-box-shadow: 0 1px 6px 1px rgb(69 65 78 / 10%);
    -moz-box-shadow: 0 1px 6px 1px rgba(69, 65, 78, 0.1);
    box-shadow: 0 1px 6px 1px rgb(69 65 78 / 10%);
    margin-bottom: 2rem;
    border-radius: 5px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    height: 100px;
}

.card-gradient-custom a {
    color: white;
}

.ms-card-body {
    color: #fff;
    position: relative;
    padding: 1rem;
    font-size: 14px;
    border: 0;
    justify-content: space-between;
    align-items: center;
    -webkit-transition: 0s;
    transition: 0s;
    display: flex;
    align-items: flex-start;
}

.ms-card-body h6 {
    color: #fff;
    text-transform: uppercase;
    margin-bottom: 1rem;
    font-size: 16px;
    font-weight: normal;
}

.ms-card-change {
    margin-bottom: 0px;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
}

.card-gradient-custom i {
    position: absolute;
    top: 0;
    right: 0;
    color: rgb(255, 255, 255);
    background: #00bafa;
    padding: 20px 20px 20px 10px;
    /* Reduced left padding slightly */
    border-radius: 50px 0px 0px 50px;
    text-align: center;
    line-height: 2;
    width: 30%;
    height: 100%;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    /* Align closer to the curve on the left */
}

.card-gradient-custom i img {
    filter: brightness(0) invert(1);
    max-width: 100%;
    max-height: 100%;
}

.new-section {
    padding-top: 15px;
}

.padtp20 {
    padding-top: 20px;
}

/* Ensure the sub-menu is visible when the 'show' class is present */
.sidebar-nav .nav-content.show {
    max-height: 500px !important;
    display: block !important;
    opacity: 1 !important;
}.searchable-dropdown {
    position: relative;
    width: 100%;
}

.dropdown-toggle-box {
    position: relative;
    cursor: pointer;
}

.dropdown-toggle-box input {
    cursor: pointer;
    background-color: #fff !important;
}

.dropdown-icon {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #899bbd;
    pointer-events: none;
}

.dropdown-content {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1000;
    background: #fff;
    border: 1px solid #ced4da;
    border-radius: 4px;
    margin-top: 2px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.search-box {
    padding: 8px;
    border-bottom: 1px solid #eee;
}

.search-box input {
    width: 100%;
    padding: 6px 10px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    outline: none;
}

.search-box input:focus {
    border-color: #86b7fe;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.options-list {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 200px;
    overflow-y: auto;
}

.options-list li {
    padding: 10px 15px;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.2s;
}

.options-list li:hover {
    background-color: #0d6efd;
    color: #fff;
}

.no-options {
    color: #999;
    font-style: italic;
    text-align: center;
}

.add-new {
    color: #0d6efd;
    font-weight: bold;
    padding: 10px 15px;
    cursor: pointer;
    text-align: center;
    border-top: 1px dashed #eee;
}

.add-new:hover {
    background-color: #f8f9fa;
}/* TotalOfficeInvoice.css */
.main {
    transition: margin-left 0.3s ease-in-out;
    background-color: #f8fafc;
    min-height: 100vh;
    padding: 20px 0;
    margin-top: 60px; /* Space for fixed header */
}

.color-blue {
    color: #012970;
}

.pagetitle,
.section {
    padding: 0 40px;
}

.pagetitle h1 {
    font-size: 26px;
    margin-bottom: 5px;
    font-weight: 700;
    color: #4154f1;
}

.breadcrumb {
    font-size: 14px;
    font-family: "Nunito", sans-serif;
    color: #899bbd;
    font-weight: 600;
}

.office-invoice-table {
    border-collapse: separate;
    border-spacing: 0;
    width: 100%;
}

.office-invoice-table thead th {
    background-color: #f1f5f9 !important;
    color: #334155 !important;
    font-weight: 700;
    font-size: 13px;
    padding: 16px 20px;
    border-bottom: 2px solid #e2e8f0;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

.office-invoice-table tbody tr.parent-row {
    cursor: pointer;
    background-color: #ffffff;
    transition: all 0.2s ease;
}

.office-invoice-table tbody tr.parent-row:hover {
    background-color: #f8fafc;
}

.office-invoice-table tbody tr.parent-row.expanded {
    background-color: #f1f5f9;
}

.office-invoice-table tbody td {
    padding: 16px 20px;
    font-size: 14px;
    color: #475569;
    border-bottom: 1px solid #f1f5f9;
    vertical-align: middle;
}

.expand-icon {
    font-size: 18px;
    display: inline-flex;
    align-items: center;
}

.child-row td {
    padding: 0 !important;
    border: none !important;
}

.shadow-inner {
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.05);
}

.btn-edit-blue {
    background-color: #0d6efd !important;
    border-color: #0d6efd !important;
    color: white !important;
    border-radius: 4px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
}

.btn-edit-blue:hover,
.btn-edit-blue:focus,
.btn-edit-blue:active {
    background-color: #0b5ed7 !important;
    border-color: #0a58ca !important;
    color: white !important;
}

.btn-view-yellow {
    background-color: #ffc107 !important;
    border-color: #ffc107 !important;
    color: #212529 !important;
    border-radius: 4px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
}

.btn-view-yellow:hover,
.btn-view-yellow:focus,
.btn-view-yellow:active {
    background-color: #ffca2c !important;
    border-color: #ffc720 !important;
    color: #212529 !important;
}

.btn-print-grey {
    background-color: #6c757d !important;
    border-color: #6c757d !important;
    color: white !important;
    border-radius: 4px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
}

.btn-print-grey:hover,
.btn-print-grey:focus,
.btn-print-grey:active {
    background-color: #5c636a !important;
    border-color: #565e64 !important;
    color: white !important;
}

.rounded-3 {
    border-radius: 12px !important;
}

.bg-light {
    background-color: #ffffff !important;
}

@media (max-width: 1200px) {

    .pagetitle,
    .section {
        padding: 0 20px;
    }
}

/* Modal Custom Styles */
.modal-overlay-custom {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1050;
    backdrop-filter: blur(4px);
}

.modal-content-custom {
    background-color: #fff;
    border-radius: 12px;
    width: 100%;
    max-width: 500px;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-header-custom {
    padding: 1rem 1.5rem;
}

.modal-body-custom {
    padding: 1.5rem;
}

.modal-footer-custom {
    padding: 1rem 1.5rem;
}.marathi-font {

    font-family: 'Open Sans', sans-serif;


    font-weight: 600;

}



.invoice-form-section .card {

    border-radius: 8px;

    box-shadow: 0px 0 30px rgba(1, 41, 112, 0.1);

}



.custom-blue-table {

    border-collapse: collapse;

    width: 100%;

}



.custom-blue-table th {

    background-color: #012970 !important;

    color: white !important;

    text-align: left;

    padding: 12px;

}



.custom-blue-table td {

    border: 1px solid #dee2e6;

    padding: 10px;

}



.table-responsive .table thead th {

    background-color: #012970;

    color: white;

    font-weight: normal;

}



.border-end {

    border-right: 1px solid #dee2e6 !important;

}



.submit-details-btn {

    background-color: #007bff;

    border: none;

    border-radius: 4px;

}