body {
    font-family: Arial, sans-serif;
    background-color: #222;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    color: #eee;
    box-sizing: border-box;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.page-content {
    flex: 1;
    
}


a {
    color: #00b0ff;
    text-decoration: none;
    transition: color 0.2s ease-in-out;
}

a:hover {
    color: #007bff;
    text-decoration: underline;
}

hr {
    border: none;
    border-top: 1px solid #555;
    margin: 20px 0;
}


.container, .form-container {
    background-color: #333;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    width: 95%;
    margin: 20px auto;
    text-align: left;
    box-sizing: border-box;
    
}

.form-container {
    max-width: 600px;
}
body.settings .form-container {
    max-width: 700px;
}

.container {
    max-width: 1200px;
}


h1, h2, h3, h4, h5, h6 {
    color: #ffda63;
    margin-bottom: 15px;
    text-align: center;
}
.container h2, .form-container h2, .login-container h2 {
    text-align: center;
}


.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #eee;
}

.form-control {
    width: 100%;
    padding: 10px;
    border: 1px solid #555;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 1em;
    background-color: #444;
    color: #eee;
    transition: border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.form-control:focus {
    border-color: #ffda63;
    box-shadow: 0 0 0 0.2rem rgba(255, 218, 99, 0.25);
    outline: none;
}

 textarea.form-control {
    min-height: 100px;
    resize: vertical;
 }

.form-control.is-invalid {
    border-color: #dc3545;
}

.invalid-feedback {
    color: #dc3545;
    font-size: 0.8em;
    margin-top: 5px;
    display: block;
}

.form-row {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}
 .form-row .form-group {
     flex: 1;
     min-width: 150px;
     margin-bottom: 0;
 }

.form-group.checkbox {
    display: flex;
    align-items: center;
    margin-top: 10px;
    margin-bottom: 20px;
}
.form-group.checkbox label {
    margin-bottom: 0;
    margin-left: 5px;
    font-weight: normal;
}
 .form-group.checkbox input[type="checkbox"] {
     width: auto;
     margin: 0;
     padding: 0;
 }

.price-with-vat-display {
    margin-top: 10px;
    font-weight: bold;
    color: #ffda63;
    text-align: right;
}
.price-with-vat-display span {
    color: #eee;
    font-weight: normal;
}

input[type="file"] {
    display: block;
    width: 100%;
    padding: 10px 0;
    color: #eee;
    background-color: transparent;
    border: none;
    box-shadow: none;
}

.logo-preview {
    margin-top: 15px;
    border: 1px solid #555;
    padding: 10px;
    border-radius: 4px;
    background-color: #444;
    text-align: center;
}
.logo-preview img {
    max-width: 200px;
    height: auto;
    display: block;
    margin: 0 auto;
}
 .logo-preview p {
     color: #bbb;
     font-size: 0.9em;
     margin-top: 5px;
 }


.btn {
    display: inline-block;
    font-weight: 400;
    text-align: center;
    vertical-align: middle;
    user-select: none;
    border: 1px solid transparent;
    padding: .5rem 1rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: .25rem;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    cursor: pointer;
    text-decoration: none;
}

.btn-primary {
    color: #333;
    background-color: #ffda63;
    border-color: #ffda63;
}

.btn-primary:hover {
    color: #333;
    background-color: #ffc107;
    border-color: #ffc107;
}

.btn-secondary {
    color: #eee;
    background-color: #6c757d;
    border-color: #6c757d;
}

.btn-secondary:hover {
    color: #eee;
    background-color: #5a6268;
    border-color: #545b62;
}

.btn-info {
    color: #fff;
    background-color: #007bff;
    border-color: #007bff;
}
.btn-info:hover {
    color: #fff;
    background-color: #0056b3;
    border-color: #004085;
}

.btn-statement {
    background-color: #28a745;
    color: white;
    border-color: #28a745;
}
.btn-statement:hover {
    background-color: #218838;
    border-color: #1e7e34;
}

.btn-container {
    text-align: right;
    margin-top: 20px;
}
 .btn-container .btn {
     margin-left: 10px;
 }
  .btn-container .btn:first-child {
     margin-left: 0;
 }


.alert {
    padding: .75rem 1.25rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    border-radius: .25rem;
    text-align: center;
    font-weight: bold;
}

.alert-success {
    color: #fff;
    background-color: #28a745;
    border-color: #28a745;
}

.alert-danger {
    color: #fff;
    background-color: #dc3545;
    border-color: #dc3545;
}

.alert-info {
    color: #fff;
    background-color: #007bff;
    border-color: #007bff;
}


body.login-body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    background-color: #222;
    flex-direction: column;
}

.login-container {
    background-color: #333;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    width: 90%;
    max-width: 400px;
    text-align: center;
    margin: auto;
    box-sizing: border-box;
}

.login-container h2 {
     margin-bottom: 10px;
}

.login-container p {
    color: #bbb;
    font-size: 1em;
    margin-bottom: 30px;
}

.login-container .form-group {
    margin-bottom: 20px;
    text-align: left;
}

.login-container .btn-primary {
    width: 100%;
    padding: 12px;
    font-size: 1.1em;
    margin-top: 10px;
}

.login-banner {
    color: #bbb;
    font-size: 0.9em;
    text-align: center;
    margin-top: 30px;
    width: 90%;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}

.login-banner p {
    margin: 5px 0;
    padding: 0;
}


table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
    background-color: #333;
    
}

th, td {
    padding: 12px;
    border: 1px solid #444;
    text-align: left;
    vertical-align: top;
    color: #eee;
    font-size: 0.9em;
}

th {
    background-color: #444;
    font-weight: bold;
    color: #ffda63;
    text-transform: uppercase;
    font-size: 0.8em;
}

tr:nth-child(even) {
    background-color: #3a3a3a;
}

tr:hover {
    background-color: #4a4a4a;
}

.customer-details {
    background-color: #444;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    color: #eee;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}
.customer-details h3 {
    color: #ffda63;
    margin-top: 0;
    margin-bottom: 15px;
    text-align: left;
     border-bottom: 1px solid #555;
     padding-bottom: 10px;
}
.customer-details p {
    margin-bottom: 10px;
    color: #ccc;
     font-size: 0.95em;
}
 .customer-details p strong {
     color: #eee;
     display: inline-block;
     width: 100px;
     margin-right: 10px;
     font-weight: normal;
 }
  .customer-details .notes {
     margin-top: 15px;
     padding-top: 15px;
     border-top: 1px solid #555;
  }
   .customer-details .notes strong {
      display: block;
      margin-bottom: 5px;
      width: auto;
   }

.services-action-buttons {
    margin-bottom: 20px;
    text-align: right;
}
 .services-action-buttons .btn {
     margin-left: 10px;
 }


td .progress-bar-container {
    width: 100px;
    background-color: #555;
    border-radius: 5px;
    overflow: hidden;
    height: 18px;
    position: relative;
    margin: 0 auto;
    margin-top: 2px;
}

.progress-bar {
    height: 100%;
    text-align: center;
    line-height: 18px;
    color: white;
    font-size: 0.8em;
    font-weight: bold;
}

td .progress-bar-container span {
    position: absolute;
    width: 100%;
    left: 0;
    top: 0;
    font-size: 0.8em;
    font-weight: bold;
    text-shadow: 0 0 3px rgba(0,0,0,0.8);
    color: rgba(255, 255, 255, 1);
    z-index: 1;
}

.bar-green { background-color: #28a745; }
.bar-yellow { background-color: #ffc107; }
.bar-orange { background-color: #fd7e14; }
.bar-red { background-color: #dc3545; }
.bar-gray { background-color: #6c757d; }

.type-domain { border-left: 5px solid #00b0ff; }
.type-hosting { border-left: 5px solid #aa00ff; }


.action-links a {
    margin-right: 10px;
    text-decoration: none;
    color: #00b0ff;
    white-space: nowrap;
     font-size: 1.1em;
     display: inline-block;
     vertical-align: middle;
}
 .action-links a:last-child {
    margin-right: 0;
 }
 .action-links a:hover {
    text-decoration: underline;
    color: #007bff;
 }
 .action-links .delete-link {
     color: #dc3545;
 }
  .action-links .delete-link:hover {
      color: #c82333;
  }


td.notes-column {
    max-width: 200px;
    overflow: hidden;
}
 td.notes-column div {
      max-height: 60px;
      overflow-y: auto;
      white-space: normal;
 }

body.settings .form-container {
    max-width: 700px;
}

.password-change-section {
    margin-top: 40px;
     padding-top: 20px;
     border-top: 1px solid #555;
}
.password-change-section h3 {
    text-align: center;
    color: #ffda63;
    margin-bottom: 20px;
}
 .password-change-section .form-group {
     max-width: 400px;
     margin-left: auto;
     margin-right: auto;
     margin-bottom: 15px;
 }
  .password-change-section .btn-container {
      text-align: center;
 }
   .password-change-section .btn-container .btn {
       margin: 0 10px;
   }


body.ekstre {
     
     
}

body.ekstre .container {
     max-width: 900px;
     margin: 20px auto;
     padding: 30px;
     background-color: #fff;
     color: #333;
     box-shadow: 0 0 10px rgba(0,0,0,0.1);
     text-align: left;
     overflow: visible;
}

body.ekstre h2, body.ekstre h3 {
     color: #333;
     text-align: center;
}

body.ekstre .ekstre-top-header {
     
     margin-bottom: 20px;
}

body.ekstre .ekstre-company-info-header {
    float: left;
    width: 48%;
     text-align: left;
}

body.ekstre .ekstre-customer-info-header {
    float: right;
    width: 48%;
    text-align: right;
}
 body.ekstre .ekstre-customer-info-header h3 {
     text-align: right;
     border-bottom: none;
     padding-bottom: 9px;
     margin-bottom: 9px;
     margin-top: 2px;
 }

body.ekstre .ekstre-company-info-header img {
     max-width: 175px;
     height: auto;
     margin-bottom: 3px;
     display: block;
     margin-right: auto;
     }

body.ekstre .ekstre-company-info-header p,
body.ekstre .ekstre-customer-info-header p {
    margin: 3px 0;
    color: #555;
     font-size: 0.9em;
     text-align: right;
}
 body.ekstre .ekstre-company-info-header p {
     text-align: left;
 }

 body.ekstre .ekstre-customer-info-header p strong {
     width: 80px;
     margin-right: 10px;
     color: #333;
     font-weight: bold;
 }

body.ekstre .ekstre-services-title {
    text-align: center;
     margin-top: 30px;
     margin-bottom: 20px;
     border-bottom: none;
}


.ekstre-table {
     width: 100%;
     border-collapse: collapse;
     margin-top: 20px;
     box-shadow: 0 0 10px rgba(0,0,0,0.1);
     background-color: #fff;
     
}
.ekstre-table th, .ekstre-table td {
     padding: 7px;
     border: 1px solid #ddd;
     vertical-align: top;
     color: #333;
     font-size: 0.9em;
 }

.ekstre-table thead tr {
    background-color: #ffda63;
    color: #333;
}
.ekstre-table th {
     background-color: transparent;
     font-weight: bold;
     color: #333;
     text-transform: uppercase;
     font-size: 0.7em;
     border-color: #ddd;
 }

.ekstre-table tbody tr:nth-child(odd) {
     background-color: #444;
     color: #eee;
}
.ekstre-table tbody tr:nth-child(even) {
    background-color: #fff;
    color: #333;
}

.ekstre-table tbody td {
    color: inherit;
    border-color: #555;
}
 .ekstre-table tbody tr:nth-child(even) td {
      border-color: #ddd;
 }

.ekstre-table td:last-child {
    text-align: right;
}


 .ekstre-table td.notes-column div {
     max-height: none;
     overflow-y: visible;
     white-space: normal;
 }


.ekstre-content-clearfix { clear: both; }

.ekstre-summary {
    float: right;
    width: 300px;
    margin-top: 9px;
    text-align: right;
    font-size: 0.9em;
    color: #333;
    border: 1px solid #ddd;
    background-color: #f9f9f9;
    border-radius: 5px;
    box-shadow: 2px 2px 5px rgba(0,0,0,0.1);
}
.ekstre-summary p {
     margin: 5px 0;
     padding: 0;
     line-height: 1.4;
     color: #555;
}
.ekstre-summary p strong {
     color: #333;
     margin-right: 10px;
     font-weight: bold;
     display: inline-block;
     width: 150px;
     text-align: left;
 }

 .ekstre-summary .total-line {
     font-size: 1.3em;
     margin-top: 10px;
     padding-top: 10px;
     border-top: 1px solid #ddd;
     color: #000;
     font-weight: bold;
 }
  .ekstre-summary .total-line strong {
       color: #000;
       font-weight: bold;
  }


.ekstre-footer-message {
    margin-top: 40px;
    text-align: center;
    font-size: 0.9em;
    color: #555;
}
 .ekstre-footer-message p {
     margin: 5px 0;
 }


@media print {
    

    .print-button-container {
        display: none !important;
    }

    .print-manual-trigger {
        display: none !important;
    }

    
}

    


@media (max-width: 768px) {
    .container, .form-container {
        padding: 20px;
    }

    .container table {
         display: block;
         width: 100%;
         overflow-x: auto;
         -webkit-overflow-scrolling: touch;
    }

    th, td {
        padding: 8px;
        font-size: 0.9em;
    }
     th {
         font-size: 0.8em;
         white-space: nowrap;
     }
      td {
          white-space: nowrap;
          overflow: hidden;
          text-overflow: ellipsis;
      }

    .customers-table th:nth-child(1), .customers-table td:nth-child(1),
    .customers-table th:nth-child(3), .customers-table td:nth-child(3)
    {
        display: none;
    }
      .customers-table th, .customers-table td {
          width: auto;
      }
        .customers-table th:last-child, .customers-table td:last-child {
            width: 100px;
            min-width: 80px;
            text-align: center;
        }


    .management-table th:nth-child(1), .management-table td:nth-child(1),
    .management-table th:nth-child(5), .management-table td:nth-child(5)
    {
         display: none;
    }
     .management-table th:nth-child(3), .management-table td:nth-child(3) {
         max-width: 100px;
         min-width: 60px;
     }
       .management-table td:nth-child(3) div { max-height: 60px; overflow-y: auto; white-space: normal; }
      .management-table th, .management-table td {
           width: auto;
      }
       .management-table th:last-child, .management-table td:last-child {
            width: 80px;
            min-width: 60px;
            text-align: center;
       }


     .services-table th:nth-child(1), .services-table td:nth-child(1),
     .services-table th:nth-child(5), .services-table td:nth-child(5),
     .services-table th:nth-child(6), .services-table td:nth-child(6),
     .services-table th:nth-child(7), .services-table td:nth-child(7),
     .services-table th:nth-child(9), .services-table td:nth-child(9),
     .services-table th:nth-child(10), .services-table td:nth-child(10),
     .services-table th:nth-child(12), .services-table td:nth-child(12),
     .services-table th:nth-child(13), .services-table td:nth-child(13)
     {
         display: none;
     }

      .services-table th:nth-child(3), .services-table td:nth-child(3),
      .services-table th:nth-child(14), .services-table td:nth-child(14)
      {
           max-width: 80px;
           min-width: 50px;
      }
       .services-table td:nth-child(3) div { max-height: 60px; overflow-y: auto; white-space: normal; }
       .services-table td:nth-child(14) div { max-height: 60px; overflow-y: auto; white-space: normal; }

      .services-table th, .services-table td {
          width: auto;
      }
      .services-table th:nth-child(2), .services-table td:nth-child(2) { max-width: 80px; min-width: 60px; }
      .services-table th:nth-child(4), .services-table td:nth-child(4) { max-width: 150px; min-width: 100px; }
      .services-table th:nth-child(8), .services-table td:nth-child(8) { max-width: 80px; min-width: 60px; font-size: 0.8em; }
      .services-table th:nth-child(11), .services-table td:nth-child(11) { max-width: 80px; min-width: 60px; text-align: right; }
       .services-table th:last-child, .services-table td:last-child { width: 80px; min-width: 60px; text-align: center; }


    td .progress-bar-container {
        width: 80px;
        height: 15px;
    }
     .progress-bar {
         line-height: 15px;
     }
     td .progress-bar-container span {
         font-size: 0.7em;
     }

    .action-links a {
        margin-right: 5px;
        font-size: 1em;
    }

     .action-buttons .btn {
         padding: 8px 12px;
         font-size: 0.8em;
         margin-left: 0;
     }
      .action-buttons {
           display: flex;
           flex-wrap: wrap;
           justify-content: flex-end;
           gap: 8px;
       }
        .action-buttons a.btn {
             margin-left: 0;
        }


    body.login-body .login-container {
        padding: 25px;
        width: 95%;
    }
    body.login-body .login-banner {
        width: 95%;
        margin-top: 20px;
    }
     body.login-body .login-container h2 {
         font-size: 1.6em;
     }
      body.login-body .login-container p {
         font-size: 0.9em;
         margin-bottom: 20px;
     }
      body.login-body .login-container .btn-primary {
         font-size: 1em;
         padding: 10px;
     }
      body.login-body .login-banner p {
          font-size: 0.85em;
     }


      .btn-container .btn {
         padding: 8px 15px;
         font-size: 0.9em;
         margin-left: 8px;
      }

     .alert {
         padding: 10px;
         font-size: 0.8em;
     }

     .form-row {
         flex-direction: column;
         gap: 0;
     }
      .form-row .form-group {
          width: 100%;
          min-width: auto;
          margin-bottom: 15px;
      }
       .form-row .form-group:last-child {
           margin-bottom: 0;
       }


     .customer-details p strong {
         width: 80px;
         margin-right: 5px;
     }
      body.ekstre .ekstre-customer-info-header p strong {
          width: 70px;
      }

     

}

@media (max-width: 480px) {
    .container, .form-container {
         padding: 15px;
    }

    th, td {
         font-size: 0.8em;
         padding: 5px;
    }
     th {
         font-size: 0.7em;
     }

     .customers-table th:nth-child(4), .customers-table td:nth-child(4) { display: none; }
     .customers-table th:nth-child(2), .customers-table td:nth-child(2) { width: auto; }
     .customers-table th:last-child, .customers-table td:last-child { width: 60px; min-width: 60px; text-align: center; }


     .management-table th:nth-child(3), .management-table td:nth-child(3) { display: none; }
     .management-table th:nth-child(2), .management-table td:nth-child(2) { max-width: 60px; min-width: 50px; }
     .management-table th:nth-child(4), .management-table td:nth-child(4) { width: auto; }
     .management-table th:last-child, .management-table td:last-child { width: 60px; min-width: 50px; text-align: center; }


     .services-table th:nth-child(3), .services-table td:nth-child(3),
     .services-table th:nth-child(14), .services-table td:nth-child(14)
     {
          display: none;
     }
      .services-table th:nth-child(2), .services-table td:nth-child(2) { max-width: 50px; min-width: 40px; }
       .services-table th:nth-child(4), .services-table td:nth-child(4) { max-width: 100px; min-width: 80px; }
        .services-table th:nth-child(8), .services-table td:nth-child(8) { max-width: 60px; min-width: 50px; font-size: 0.65em; }
         .services-table th:nth-child(11), .services-table td:nth-child(11) { max-width: 60px; min-width: 50px; text-align: right; font-size: 0.8em; }
         .services-table th:last-child, .services-table td:last-child { width: 60px; min-width: 50px; text-align: center; }


     .action-links {
        width: 60px;
        min-width: 60px;
     }
     .action-links a {
        display: block;
        margin-right: 0;
        margin-bottom: 3px;
        font-size: 1.2em;
     }
      .action-links a:last-child {
          margin-bottom: 0;
      }

      .action-buttons .btn {
          padding: 5px 8px;
          font-size: 0.7em;
          margin-left: 0;
      }
      .action-buttons {
           gap: 5px;
      }


     body.login-body .login-container {
         padding: 20px;
     }
      body.login-body .login-banner {
         margin-top: 15px;
      }
       body.login-body .login-container h2 {
           font-size: 1.4em;
       }
       body.login-body .login-container p {
           font-size: 0.8em;
           margin-bottom: 20px;
       }
       body.login-body .login-container .btn-primary {
           font-size: 0.9em;
           padding: 10px;
       }
        body.login-body .login-banner p {
             font-size: 0.75em;
        }


     body.settings .form-container {
         padding: 15px;
     }
      body.settings .password-change-section {
          margin-top: 30px;
          padding-top: 15px;
      }
       body.settings .password-change-section h3 {
           font-size: 1.1em;
           margin-bottom: 15px;
       }
       body.settings .password-change-section .form-group {
           max-width: none;
           width: 100%;
       }
        body.settings .password-change-section .btn-container {
            text-align: center;
        }
         body.settings .password_change_section .btn-container .btn {
             margin: 0 5px;
         }
      body.settings .logo-preview img {
          max_width: 100px;
      }
       body.settings .logo-preview {
           padding: 5px;
       }
        body.settings .logo-preview p {
            font-size: 0.8em;
        }


    body.ekstre .container {
         padding: 15px;
    }
     body.ekstre .ekstre-company-info-header img {
         max-width: 100px !important;
          margin-right: auto !important; margin-left: auto !important;
          display: block !important;
          margin-bottom: 5px !important;
     }
      body.ekstre .ekstre-company-info-header h3 {
          font-size: 1em !important;
          margin_bottom: 5px !important;
          text_align: center !important;
           display: block !important;
           vertical_align: top !important;
      }
       body.ekstre .ekstre_company_info_header p,
       body.ekstre .ekstre_customer_info_header p {
            font_size: 0.85em !important;
            margin: 2px 0 !important;
            text_align: center !important;
       }
          body.ekstre .ekstre_company_info_header p {
              text_align: left !important;
          }
        body.ekstre .ekstre_customer_info_header p strong {
           width: auto !important;
           margin_right: 5px !important;
           display: inline !important;
           font_weight: bold !important;
           text_align: center !important;
        }


      .ekstre-table th, .ekstre-table td {
         font_size: 0.8em !important;
         padding: 4px !important;
      }
       .ekstre_table th {
          font_size: 0.7em !important;
       }

    .ekstre-summary {
        font_size: 0.9em;
        padding: 8px;
        width: 100%;
        float: none;
    }
     .ekstre_summary p {
         margin: 4px 0;
     }
     .ekstre_summary .total_line {
         font_size: 1.1em;
         margin_top: 8px;
         padding_top: 8px;
     }
      .ekstre_summary p strong {
          width: 100px;
      }

      .ekstre_footer_message {
          font_size: 0.9em !important;
          margin_top: 20px !important;
      }


}
.services-table tbody tr.row-paid td {
    background-color: #28a745 !important;
    color: #ffffff !important;
}

.services-table tbody tr.row-unpaid td {
    background-color: #dc3545 !important;
    color: #ffffff !important;
}

.services-table tbody tr.row-paid:hover td,
.services-table tbody tr.row-unpaid:hover td {
    
    
}

.btn-toggle-payment {
    padding: 3px 8px;
    font-size: 0.75em;
    margin-left: 5px;
    cursor: pointer;
    border-radius: 3px;
    color: #fff;
    border: 1px solid transparent;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.btn-paid-action {
    background-color: #ffc107;
    border-color: #ffc107;
    color: #212529;
}
.btn-paid-action:hover {
    background-color: #e0a800;
    border-color: #d39e00;
}

.btn-unpaid-action {
    background-color: #17a2b8;
    border-color: #17a2b8;
    color: #ffffff;
}
.btn-unpaid-action:hover {
    background-color: #138496;
    border-color: #117a8b;
}

.services-table th.checkbox-column,
.services-table td.checkbox-column {
    width: 40px;
    text-align: center !important;
    vertical-align: middle !important;
    padding-left: 8px !important;
    padding-right: 8px !important;
}
.services-table .checkbox-column input[type="checkbox"] {
    margin: 0;
    vertical-align: middle;
    cursor: pointer;
    width: 16px;
    height: 16px;
}

.ajax-message-container {
    margin-bottom: 15px;
}
.ajax-message {
    padding: 10px 15px;
    border-radius: 4px;
    text-align: center;
    font-weight: bold;
    display: none;
    border: 1px solid transparent;
    font-size: 0.9em;
}
.ajax-message.success {
    background-color: #28a745;
    color: #ffffff;
    border-color: #1e7e34;
}
.ajax-message.error {
    background-color: #dc3545;
    color: #ffffff;
    border-color: #b21f2d;
}


@media print {
    body {
         background-color: #fff !important;
         color: #000 !important;
         -webkit-print-color-adjust: exact;
         color-adjust: exact;
         display: block !important;
         min-height: auto !important;
         font_size: 10pt !important;
    }
    .container {
         box_shadow: none !important;
         margin: 0 !important;
         padding: 0 !important;
         width: auto !important;
         max_width: none !important;
         background_color: #fff !important;
         color: #000 !important;
          clear: both !important;
          overflow_x: visible !important;
    }

    h2, h3 { color: #000 !important; }

    .alert, .action_buttons, .services_action_buttons, .mobile_action_buttons, .print_button_container, .print_manual_trigger {
        display: none !important;
    }

    .company_info, .customer_info,
    body.ekstre .ekstre_company_info_header, body.ekstre .ekstre_customer_info_header {
        border: none !important;
        padding: 0 !important;
        background_color: #fff !important;
        margin_bottom: 15px !important;
        float: none !important;
        width: auto !important;
        text_align: left !important;
    }
     body.ekstre .ekstre_company_info_header img {
         max_width: 150px !important;
         display: inline_block !important;
         margin_right: 10px !important;
         vertical_align: middle !important;
     }
     body.ekstre .ekstre_company_info_header h3 {
         display: inline_block !important;
         vertical_align: middle !important;
         color: #000 !important;
          margin_bottom: 0 !important;
          padding_bottom: 0 !important;
          border_bottom: none !important;
     }

      .company_info p, .customer_info p,
      body.ekstre .ekstre_company_info_header p, body.ekstre .ekstre_customer_info_header p
      {
          color: #000 !important;
          margin: 3px 0 !important;
          font_size: 0.9em !important;
      }
       .customer_info p strong, body.ekstre .ekstre_customer_info_header p strong {
           color: #000 !important;
           font_weight: bold !important;
           width: 80px !important;
           display: inline_block !important;
           margin_right: 5px !important;
       }
     hr { border_color: #000 !important; }


    table, .ekstre_table {
         box_shadow: none !important;
         background_color: #fff !important;
         border: 1px solid #000 !important;
         display: table !important;
         width: 100% !important;
    }
    table th, table td, .ekstre_table th, .ekstre_table td {
         border: 1px solid #000 !important;
         color: #000 !important;
         background_color: #fff !important;
         padding: 8px !important;
         font_size: 0.9em !important;
         -webkit-print-color-adjust: exact;
         color_adjust: exact;
         white_space: normal !important;
         overflow: visible !important;
         text_overflow: clip !important;
     }
     table thead tr, .ekstre_table thead tr {
         background_color: #fff !important;
         color: #000 !important;
     }
     table th, .ekstre_table th {
          background_color: #ffda63 !important;
          color: #000 !important;
          font_size: 0.8em !important;
          font_weight: bold !important;
     }

     table tbody tr:nth_child(odd), table tbody tr:nth_child(even),
     .ekstre_table tbody tr:nth_child(odd), .ekstre_table tbody tr:nth_child(even)
     {
         background_color: #fff !important;
         color: #000 !important;
     }
     table tbody td, .ekstre_table tbody td {
         color: #000 !important;
         border_color: #000 !important;
     }


     td.notes-column div {
         max_height: none !important;
         overflow_y: visible !important;
     }


    .ekstre_content_clearfix { clear: both !important; }
    .ekstre-summary {
        float: right !important;
        width: 300px !important;
        margin-top: 20px !important;
        color: #000 !important;
        border: 1px solid #000 !important;
        background_color: #fff !important;
        box_shadow: none !important;
        padding: 8px !important;
        font_size: 1em !important;
    }
     .ekstre_summary p {
         color: #000 !important;
         margin: 3px 0 !important;
         padding: 0 !important;
     }
     .ekstre_summary p strong {
         color: #000 !important;
         font_weight: bold !important;
         width: 150px !important;
         display: inline_block !important;
         margin_right: 5px !important;
         text_align: left !important;
     }
      .ekstre_summary .total_line {
          font_size: 1.2em !important;
          margin_top: 10px !important;
          padding_top: 10px !important;
          border_top_color: #000 !important;
          color: #000 !important;
          font_weight: bold !important;
      }
       .ekstre_summary .total_line strong {
            color: #000 !important;
            font_weight: bold !important;
       }


    .ekstre_footer_message {
         color: #000 !important;
         font_size: 0.9em !important;
         margin_top: 30px !important;
         text_align: center !important;
    }


    @page {
         margin: 1.5cm;
    }

}