/* Shared compact document/detail screen styles. Print rules stay page-local. */

@media screen {
  body.app-document-page {
    background: #f5f7fb !important;
    color: #172033;
    font-family: "Inter", "Segoe UI", Arial, sans-serif;
    font-size: 14px;
    line-height: 1.45;
    overflow-x: hidden !important;
  }

  body.app-document-page .container {
    max-width: none;
    padding: 0 6px 10px;
    width: 100%;
  }

  body.app-document-page .card,
  .advance-distribution-document .card {
    background: #ffffff;
    border: 1px solid #dbe4ee;
    border-radius: 14px;
    box-shadow: 0 18px 44px rgba(15, 23, 42, 0.08);
    margin: 0 auto;
    max-width: none;
    overflow: visible;
    width: 100%;
  }

  body.app-document-page .card-header,
  .advance-distribution-document .card-header {
    align-items: center;
    background: #ffffff;
    border-bottom: 1px solid #e8eef5;
    display: flex;
    gap: 12px;
    min-height: 40px;
    padding: 6px 10px;
  }

  body.app-document-page .card-title,
  .advance-distribution-document .card-title {
    color: #0f766e;
    font-size: 16px;
    font-weight: 850;
    letter-spacing: 0;
    margin: 0;
  }

  body.app-document-page .card-tools,
  .advance-distribution-document .card-tools {
    align-items: center;
    display: flex;
    gap: 8px;
    margin-left: auto;
  }

  .advance-distribution-document .card-tools > .btn-tool {
    display: none;
  }

  body.app-document-page .box-tools.pull-right,
  .advance-distribution-document .box-tools.pull-right {
    float: none;
  }

  body.app-document-page .btn,
  .advance-distribution-document .btn {
    align-items: center;
    border-radius: 8px !important;
    display: inline-flex;
    font-family: inherit;
    font-size: 12px;
    font-weight: 800;
    justify-content: center;
    line-height: 1.2;
    margin: 0 !important;
    min-height: 31px;
    padding: 6px 11px !important;
    text-decoration: none;
  }

  body.app-document-page .btn-success,
  .advance-distribution-document .btn-success {
    background: #0f766e !important;
    border-color: #0f766e !important;
    box-shadow: 0 8px 18px rgba(15, 118, 110, 0.18);
    color: #ffffff !important;
  }

  body.app-document-page .card-body,
  .advance-distribution-document .card-body {
    overflow: visible;
    padding: 6px !important;
  }

  body.app-document-page .print-header {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid #dbe4ee;
    border-radius: 10px;
    margin-bottom: 6px;
    padding: 7px 10px;
    text-align: center;
  }

  body.app-document-page .company-name {
    color: #172033;
    font-size: 16px;
    font-weight: 850;
    letter-spacing: 0;
    margin-bottom: 1px;
  }

  body.app-document-page .project-name {
    color: #475569;
    font-size: 11px;
    font-weight: 700;
    margin-bottom: 1px;
  }

  body.app-document-page .fund-requisition {
    color: #0f766e;
    display: inline-block;
    font-size: 13px;
    font-weight: 850;
    margin-bottom: 5px;
    text-decoration: none;
  }

  body.app-document-page .details-row {
    background: #ffffff;
    border: 1px solid #dbe4ee;
    border-radius: 8px;
    display: grid;
    gap: 6px;
    grid-template-columns: 1fr 1fr;
    margin-top: 3px;
    padding: 5px 8px;
  }

  body.app-document-page .left-details,
  body.app-document-page .right-details {
    text-align: left;
  }

  body.app-document-page .right-details {
    justify-self: end;
    min-width: 0;
  }

  body.app-document-page .details-row p {
    color: #263446;
    font-size: 11px;
    font-weight: 700;
    margin: 0;
    overflow-wrap: anywhere;
  }

  body.app-document-page .details-row strong,
  body.app-document-page .info-header strong {
    color: #172033;
    font-weight: 850;
  }

  body.app-document-page .info-header {
    display: none;
  }

  body.app-document-page .table-responsive {
    background: #ffffff;
    border: 1px solid #dbe4ee;
    border-radius: 10px;
    box-shadow: none;
    display: block;
    margin-bottom: 6px;
    max-width: 100%;
    overflow: hidden !important;
    overflow-y: visible;
    padding-bottom: 0;
    width: 100%;
  }

  body.app-document-page .excel-table {
    border: 0;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 11.5px;
    max-width: none;
    min-width: 0;
    table-layout: fixed;
    width: 100%;
  }

  body.app-document-page .excel-table th,
  .advance-distribution-document .table-div-area th {
    background: #f8fafc;
    border: 0;
    border-bottom: 1px solid #dbe4ee;
    border-right: 1px solid #edf2f7;
    color: #475569;
    font-size: 11px;
    font-weight: 850;
    letter-spacing: 0.02em;
    line-height: 1.22;
    overflow-wrap: anywhere;
    padding: 5px;
    text-align: center;
    text-transform: uppercase;
    white-space: normal;
  }

  body.app-document-page .excel-table td,
  .advance-distribution-document .table-div-area td {
    background: #ffffff;
    border: 0;
    border-right: 1px solid #edf2f7;
    border-top: 1px solid #e8eef5;
    color: #263446;
    font-size: 11.5px;
    font-weight: 650;
    line-height: 1.28;
    overflow-wrap: anywhere;
    padding: 5px;
    vertical-align: top;
  }

  body.app-document-page .excel-table th:last-child,
  body.app-document-page .excel-table td:last-child,
  .advance-distribution-document .table-div-area th:last-child,
  .advance-distribution-document .table-div-area td:last-child {
    border-right: 0;
  }

  body.app-document-page .excel-table tbody tr:nth-child(even) td,
  .advance-distribution-document .table-div-area tbody tr:nth-child(even) td,
  .advance-distribution-document .table-div-area table tr:nth-child(even) td {
    background: #f8fbff;
  }

  body.app-document-page .category-row td,
  .advance-distribution-document .table-div-area table tr:last-child td,
  .advance-distribution-document .payment-detail-table tr:nth-last-child(2) td {
    background: #eef6f6 !important;
    color: #0f766e;
    font-weight: 850;
  }

  body.app-document-page .total-row td,
  body.app-document-page tfoot tr td {
    background: #eef6f6 !important;
    border-top: 1px solid #d3e8e4;
    color: #0f766e;
    font-weight: 850;
  }

  body.app-document-page .excel-table td.amount,
  body.app-document-page .excel-table th.amount,
  body.app-document-page .excel-table td:nth-child(6),
  body.app-document-page .excel-table td:nth-child(7) {
    text-align: right;
  }

  body.app-document-page .excel-table .btn,
  body.app-document-page .excel-table .btn-sm {
    font-size: 11px;
    min-height: 27px;
    padding: 4px 8px !important;
    white-space: nowrap;
    width: auto;
  }

  body.app-document-page .requisition-detail-table,
  body.app-document-page .approval-detail-table,
  body.app-document-page .summary-table {
    min-width: 0;
  }

  body.app-document-page .requisition-detail-table th:nth-child(1),
  body.app-document-page .requisition-detail-table td:nth-child(1) {
    min-width: 0;
    width: 3.5%;
  }

  body.app-document-page .requisition-detail-table th:nth-child(2),
  body.app-document-page .requisition-detail-table td:nth-child(2) {
    min-width: 0;
    width: 15%;
  }

  body.app-document-page .requisition-detail-table th:nth-child(3),
  body.app-document-page .requisition-detail-table td:nth-child(3) {
    min-width: 0;
    width: 43%;
  }

  body.app-document-page .requisition-detail-table th:nth-child(4),
  body.app-document-page .requisition-detail-table td:nth-child(4),
  body.app-document-page .requisition-detail-table th:nth-child(5),
  body.app-document-page .requisition-detail-table td:nth-child(5) {
    min-width: 0;
    text-align: right;
    white-space: nowrap;
    width: 12%;
  }

  body.app-document-page .requisition-detail-table th:nth-child(6),
  body.app-document-page .requisition-detail-table td:nth-child(6) {
    min-width: 0;
    text-align: center;
    width: 8%;
  }

  body.app-document-page .requisition-detail-table th:nth-child(7),
  body.app-document-page .requisition-detail-table td:nth-child(7) {
    min-width: 0;
    text-align: center;
    width: 6%;
  }

  body.app-document-page .approval-detail-table th:nth-child(1),
  body.app-document-page .approval-detail-table td:nth-child(1) {
    min-width: 0;
    width: 3%;
  }

  body.app-document-page .approval-detail-table th:nth-child(2),
  body.app-document-page .approval-detail-table td:nth-child(2),
  body.app-document-page .approval-detail-table th:nth-child(3),
  body.app-document-page .approval-detail-table td:nth-child(3),
  body.app-document-page .approval-detail-table th:nth-child(4),
  body.app-document-page .approval-detail-table td:nth-child(4) {
    min-width: 0;
    width: 10%;
  }

  body.app-document-page .approval-detail-table th:nth-child(5),
  body.app-document-page .approval-detail-table td:nth-child(5) {
    min-width: 0;
    width: 31%;
  }

  body.app-document-page .approval-detail-table th:nth-child(6),
  body.app-document-page .approval-detail-table td:nth-child(6),
  body.app-document-page .approval-detail-table th:nth-child(7),
  body.app-document-page .approval-detail-table td:nth-child(7) {
    min-width: 0;
    text-align: right;
    white-space: nowrap;
    width: 10%;
  }

  body.app-document-page .approval-detail-table th:nth-child(8),
  body.app-document-page .approval-detail-table td:nth-child(8) {
    min-width: 0;
    width: 8%;
  }

  body.app-document-page .approval-detail-table th:nth-child(9),
  body.app-document-page .approval-detail-table td:nth-child(9) {
    min-width: 0;
    text-align: center;
    width: 7%;
  }

  body.app-document-page .summary-table th:nth-child(1),
  body.app-document-page .summary-table td:nth-child(1) {
    min-width: 0;
    width: 5%;
  }

  body.app-document-page .summary-table th:nth-child(2),
  body.app-document-page .summary-table td:nth-child(2) {
    min-width: 0;
    width: 28%;
  }

  body.app-document-page .summary-table th:nth-child(3),
  body.app-document-page .summary-table td:nth-child(3) {
    min-width: 0;
    width: 55%;
  }

  body.app-document-page .summary-table th:nth-child(4),
  body.app-document-page .summary-table td:nth-child(4) {
    min-width: 0;
    text-align: right;
    white-space: nowrap;
    width: 12%;
  }

  body.app-document-page .excel-table input[type="text"] {
    background: #f8fafc;
    border: 1px solid #dbe4ee;
    border-radius: 8px;
    color: #172033;
    font-family: inherit;
    font-size: 13px;
    font-weight: 700;
    min-height: 32px;
    padding: 6px 8px;
    width: 100%;
  }

  body.app-document-page .signature-container {
    background: #f8fafc;
    border: 1px solid #dbe4ee;
    border-radius: 12px;
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    margin: 16px 0;
    padding: 12px;
    width: 100%;
  }

  body.app-document-page .signature-box {
    background: #ffffff;
    border: 1px solid #dbe4ee;
    border-radius: 10px;
    margin: 0;
    min-width: 0;
    padding: 10px 8px;
    text-align: center;
  }

  body.app-document-page .signature-box img {
    max-height: 34px;
    object-fit: contain;
  }

  body.app-document-page .signature-box p {
    color: #475569;
    font-size: 11px;
    font-weight: 700;
    margin: 2px 0;
  }

  body.app-document-page .signature-box p.name {
    color: #172033;
    font-weight: 850;
  }

  body.app-document-page .signature-box p.designation {
    color: #64748b;
    font-style: normal;
  }

  body.app-document-page .note-box {
    border: 1px solid #dbe4ee;
    border-radius: 10px;
    padding: 12px;
  }

  .advance-distribution-document {
    overflow-x: hidden !important;
    padding: 0 6px 10px !important;
  }

  .advance-distribution-document .container {
    max-width: none !important;
    padding: 0 !important;
    width: 100% !important;
  }

  .advance-distribution-document .my-info-area {
    background: #ffffff;
    border: 1px solid #dbe4ee;
    border-radius: 10px;
    box-shadow: none;
    margin: 0 !important;
    padding: 7px 10px !important;
    width: 100%;
  }

  .advance-distribution-document .header-area {
    border-bottom: 1px solid #dbe4ee;
    color: #172033;
    margin: 0 0 6px;
    padding: 0 0 6px;
    text-align: center;
  }

  .advance-distribution-document .header-area h1,
  .advance-distribution-document .company-name {
    color: #172033;
    font-size: 16px !important;
    font-weight: 850;
    line-height: 1.2;
    margin: 0 0 1px !important;
  }

  .advance-distribution-document .header-area h2,
  .advance-distribution-document .header-area h3,
  .advance-distribution-document .fund-requisition {
    color: #0f766e;
    font-size: 13px !important;
    font-weight: 850;
    line-height: 1.25;
    margin: 1px 0 !important;
  }

  .advance-distribution-document .title-div h2 {
    color: #172033;
    font-size: 16px !important;
    font-weight: 850;
    line-height: 1.25;
    margin: 3px 0 6px !important;
    overflow-wrap: anywhere;
    text-align: center;
  }

  .advance-distribution-document .details-div-area {
    background: #ffffff;
    border: 1px solid #dbe4ee;
    border-radius: 8px;
    font-style: normal;
    margin: 0 0 10px;
    padding: 5px 8px !important;
  }

  .advance-distribution-document .details-div-area table {
    table-layout: fixed;
    width: 100%;
  }

  .advance-distribution-document .details-div-area tr {
    background: transparent !important;
    height: auto;
  }

  .advance-distribution-document .details-div-area td {
    border: 0 !important;
    color: #263446;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.25;
    padding: 2px 4px !important;
    vertical-align: top;
  }

  .advance-distribution-document .details-div-area td:nth-child(1),
  .advance-distribution-document .details-div-area td:nth-child(3) {
    color: #172033;
    font-weight: 850;
    width: 13% !important;
  }

  .advance-distribution-document .details-div-area td:nth-child(2),
  .advance-distribution-document .details-div-area td:nth-child(4) {
    overflow-wrap: anywhere;
  }

  .advance-distribution-document .data-row {
    border-bottom: 0 !important;
  }

  .advance-distribution-document .table-div-area {
    font-style: normal;
    padding: 0 !important;
    width: 100%;
  }

  .advance-distribution-document .table-div-area br {
    display: none;
  }

  .advance-distribution-document .table-div-area p {
    color: #172033;
    font-size: 13px !important;
    font-style: normal;
    font-weight: 850;
    margin: 6px 0 4px !important;
  }

  .advance-distribution-document .table-div-area table {
    background: #ffffff;
    border: 1px solid #dbe4ee;
    border-collapse: separate;
    border-radius: 10px;
    border-spacing: 0;
    margin: 0 0 6px;
    overflow: hidden;
    table-layout: fixed;
    width: 100% !important;
  }

  .advance-distribution-document .form-group {
    margin-bottom: 12px;
  }

  .advance-distribution-create-document form {
    display: block;
    margin-top: 12px;
    width: 100%;
  }

  .advance-distribution-create-document form > div > .row {
    row-gap: 2px;
  }

  .advance-distribution-create-document .my-info-area > .col-sm-12 {
    margin-top: 6px;
  }

  .advance-distribution-create-document .details-div-area + .col-sm-12 {
    border-top: 1px solid #edf2f7;
    padding-top: 12px;
  }

  .advance-distribution-document label {
    color: #172033;
    display: block;
    font-size: 11px;
    font-weight: 850;
    letter-spacing: 0.01em;
    line-height: 1.2;
    margin-bottom: 7px;
    text-transform: uppercase;
  }

  .advance-distribution-document .form-control,
  .advance-distribution-document .select2-container--default .select2-selection--single {
    background: #f8fafc !important;
    border: 1px solid #dbe4ee !important;
    border-radius: 8px !important;
    color: #172033;
    font-size: 12px;
    font-weight: 700;
    min-height: 34px !important;
    padding: 6px 10px;
    width: 100%;
  }

  .advance-distribution-document .form-control:focus,
  .advance-distribution-document .select2-container--default.select2-container--focus .select2-selection--single {
    border-color: #0f766e !important;
    box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.12) !important;
    outline: 0;
  }

  .advance-distribution-document textarea.form-control {
    min-height: 92px;
    resize: vertical;
  }

  .advance-distribution-document .select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #172033;
    line-height: 22px;
    padding-left: 0;
  }

  .advance-distribution-document .select2-container--default .select2-selection--single .select2-selection__arrow {
    min-height: 32px;
  }

  .advance-distribution-document .card-footer {
    background: #f8fafc;
    border-top: 1px solid #e8eef5;
    border-radius: 0 0 10px 10px;
    margin-top: 6px;
    padding: 10px !important;
  }

  .advance-distribution-document .card-footer .box-tools.pull-right {
    align-items: center;
    display: flex;
    float: none;
    gap: 8px;
    justify-content: flex-end;
  }

  .advance-distribution-document .btn-warning {
    background: #ffffff !important;
    border: 1px solid #dbe4ee !important;
    color: #475569 !important;
  }

  .advance-distribution-document .btn-primary {
    background: #0f766e !important;
    border-color: #0f766e !important;
    box-shadow: 0 8px 18px rgba(15, 118, 110, 0.18);
    color: #ffffff !important;
  }

  .advance-distribution-document .table-div-area th,
  .advance-distribution-document .table-div-area td {
    border-right: 1px solid #edf2f7 !important;
    font-style: normal !important;
    vertical-align: top;
  }

  .advance-distribution-document .advance-detail-table th:nth-child(1),
  .advance-distribution-document .advance-detail-table td:nth-child(1) {
    width: 3.5%;
  }

  .advance-distribution-document .advance-detail-table th:nth-child(2),
  .advance-distribution-document .advance-detail-table td:nth-child(2) {
    width: 22%;
  }

  .advance-distribution-document .advance-detail-table th:nth-child(3),
  .advance-distribution-document .advance-detail-table td:nth-child(3) {
    width: 42%;
  }

  .advance-distribution-document .advance-detail-table th:nth-child(4),
  .advance-distribution-document .advance-detail-table td:nth-child(4) {
    text-align: right !important;
    width: 12%;
  }

  .advance-distribution-document .advance-detail-table th:nth-child(5),
  .advance-distribution-document .advance-detail-table td:nth-child(5) {
    text-align: center;
    width: 12%;
  }

  .advance-distribution-document .advance-detail-table th:nth-child(6),
  .advance-distribution-document .advance-detail-table td:nth-child(6) {
    text-align: center;
    width: 8.5% !important;
  }

  .advance-distribution-document .payment-detail-table th:nth-child(1),
  .advance-distribution-document .payment-detail-table td:nth-child(1) {
    width: 3.5%;
  }

  .advance-distribution-document .payment-detail-table th:nth-child(2),
  .advance-distribution-document .payment-detail-table td:nth-child(2) {
    width: 15%;
  }

  .advance-distribution-document .payment-detail-table th:nth-child(3),
  .advance-distribution-document .payment-detail-table td:nth-child(3) {
    width: 22%;
  }

  .advance-distribution-document .payment-detail-table th:nth-child(4),
  .advance-distribution-document .payment-detail-table td:nth-child(4) {
    text-align: right !important;
    width: 10%;
  }

  .advance-distribution-document .payment-detail-table th:nth-child(5),
  .advance-distribution-document .payment-detail-table td:nth-child(5),
  .advance-distribution-document .payment-detail-table th:nth-child(8),
  .advance-distribution-document .payment-detail-table td:nth-child(8) {
    width: 12%;
  }

  .advance-distribution-document .payment-detail-table th:nth-child(6),
  .advance-distribution-document .payment-detail-table td:nth-child(6),
  .advance-distribution-document .payment-detail-table th:nth-child(9),
  .advance-distribution-document .payment-detail-table td:nth-child(9) {
    width: 9%;
  }

  .advance-distribution-document .payment-detail-table th:nth-child(7),
  .advance-distribution-document .payment-detail-table td:nth-child(7),
  .advance-distribution-document .payment-detail-table th:nth-child(10),
  .advance-distribution-document .payment-detail-table td:nth-child(10) {
    text-align: center;
    width: 6%;
  }
}

@media screen and (max-width: 1400px) {
  body.app-document-page .excel-table,
  .advance-distribution-document .table-div-area th,
  .advance-distribution-document .table-div-area td {
    font-size: 10.5px;
  }

  body.app-document-page .excel-table th,
  body.app-document-page .excel-table td,
  .advance-distribution-document .table-div-area th,
  .advance-distribution-document .table-div-area td {
    padding: 4px !important;
  }

  .advance-distribution-document .details-div-area td {
    font-size: 10px;
  }

  body.app-document-page .excel-table .btn,
  body.app-document-page .excel-table .btn-sm,
  .advance-distribution-document .btn {
    font-size: 10px;
    min-height: 25px;
    padding: 3px 6px !important;
  }
}

@media screen and (max-width: 1200px) {
  body.app-document-page .company-name,
  .advance-distribution-document .header-area h1,
  .advance-distribution-document .company-name,
  .advance-distribution-document .title-div h2 {
    font-size: 13px !important;
  }

  body.app-document-page .project-name,
  body.app-document-page .details-row p,
  .advance-distribution-document .details-div-area td {
    font-size: 10px;
  }

  body.app-document-page .fund-requisition,
  .advance-distribution-document .header-area h2,
  .advance-distribution-document .header-area h3,
  .advance-distribution-document .fund-requisition,
  .advance-distribution-document .table-div-area p {
    font-size: 11px !important;
  }

  body.app-document-page .excel-table,
  body.app-document-page .excel-table th,
  body.app-document-page .excel-table td,
  .advance-distribution-document .table-div-area th,
  .advance-distribution-document .table-div-area td {
    font-size: 9.5px;
    padding: 3px !important;
  }

  body.app-document-page .excel-table .btn,
  body.app-document-page .excel-table .btn-sm {
    font-size: 9px;
    min-height: 23px;
    padding: 2px 5px !important;
  }
}

@media screen and (max-width: 991.98px) {
  body.app-document-page .container {
    padding: 0 6px 10px;
  }

  body.app-document-page .card-body {
    padding: 4px !important;
  }

  body.app-document-page .print-header {
    padding: 6px 7px;
  }

  body.app-document-page .fund-requisition {
    font-size: 11px;
  }

  body.app-document-page .excel-table,
  body.app-document-page .excel-table th,
  body.app-document-page .excel-table td {
    font-size: 8.5px;
    padding: 2px !important;
  }

  body.app-document-page .info-header > div,
  body.app-document-page .details-row {
    grid-template-columns: 1fr;
  }

  body.app-document-page .right-details {
    justify-self: stretch;
    min-width: 0;
  }
}

@media print {
  .advance-distribution-document {
    background: #ffffff !important;
    color: #000000 !important;
    font-family: "Calibri", "Segoe UI", Arial, sans-serif !important;
    padding: 0 !important;
  }

  .advance-distribution-document .card {
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    margin: 0 !important;
    width: 100% !important;
  }

  .advance-distribution-document .card-header,
  .advance-distribution-document .card-footer,
  .advance-distribution-document .card-tools,
  .advance-distribution-document .btn,
  .advance-distribution-document .d-print-none {
    display: none !important;
  }

  .advance-distribution-document .card-body,
  .advance-distribution-document .container {
    max-width: 100% !important;
    padding: 0 !important;
    width: 100% !important;
  }

  .advance-distribution-document .my-info-area {
    border: 0 !important;
    box-shadow: none !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
  }

  .advance-distribution-document .header-area {
    border-bottom: 1px solid #000000 !important;
    margin: 0 0 8px !important;
    padding: 0 0 6px !important;
  }

  .advance-distribution-document .header-area h1,
  .advance-distribution-document .company-name {
    color: #000000 !important;
    font-size: 14pt !important;
    font-weight: 700 !important;
    line-height: 1.15 !important;
    margin: 0 0 2px !important;
  }

  .advance-distribution-document .header-area h2,
  .advance-distribution-document .header-area h3,
  .advance-distribution-document .fund-requisition,
  .advance-distribution-document .title-div h2 {
    color: #000000 !important;
    font-size: 11pt !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    margin: 2px 0 !important;
    text-decoration: none !important;
  }

  .advance-distribution-document .details-div-area {
    border: 1px solid #000000 !important;
    border-radius: 0 !important;
    margin: 0 0 10px !important;
    padding: 5px 7px !important;
  }

  .advance-distribution-document .details-div-area td {
    border: 0 !important;
    color: #000000 !important;
    font-size: 8.5pt !important;
    font-style: normal !important;
    font-weight: 600 !important;
    line-height: 1.25 !important;
    padding: 2px 4px !important;
  }

  .advance-distribution-create-document form {
    margin-top: 8px !important;
  }

  .advance-distribution-create-document .details-div-area + .col-sm-12 {
    border-top: 0 !important;
    padding-top: 0 !important;
  }

  .advance-distribution-document label {
    color: #000000 !important;
    font-size: 8.5pt !important;
    font-weight: 700 !important;
    letter-spacing: 0 !important;
    margin: 0 0 3px !important;
    text-transform: uppercase !important;
  }

  .advance-distribution-document .form-group {
    margin-bottom: 7px !important;
  }

  .advance-distribution-document .form-control,
  .advance-distribution-document .select2-container--default .select2-selection--single {
    background: #ffffff !important;
    border: 1px solid #000000 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    color: #000000 !important;
    font-size: 8.5pt !important;
    font-weight: 400 !important;
    min-height: 24px !important;
    padding: 3px 5px !important;
  }

  .advance-distribution-document textarea.form-control {
    min-height: 48px !important;
  }

  .advance-distribution-document .select2-container--default .select2-selection--single .select2-selection__arrow {
    display: none !important;
  }

  .advance-distribution-document .select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #000000 !important;
    line-height: 16px !important;
  }
}
