/* Add your custom styles here */

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
  }
  
  .container {
    width: 80%;
    margin: auto;
    overflow: hidden;
  }
  
  h1 {
    text-align: center;
    color: #333;
  }
  
  .mb-4 {
    margin-bottom: 20px;
  }
  
  label {
    display: inline-block;
    margin-bottom: 5px;
    font-weight: bold;
  }
  
  input[type='text'],
  select {
    width: 100%;
    padding: 8px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
    /* Important for width calculation */
    font-size: 14px;
    cursor: pointer;
  }
  
  button {
    background-color: #5cb85c;
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
  }
  
  button:hover {
    background-color: #4cae4c;
  }
  
  .table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
  }
  
  .table th,
  .table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #ddd;
  }
  
  .table th {
    background-color: #f0f0f0;
  }
  
  .table tbody tr:hover {
    background-color: #f5f5f5;
  }
  
  a {
    color: #337ab7;
    text-decoration: none;
  }
  
  a:hover {
    text-decoration: underline;
  }
  
  /* Styles for Select2 */
  .select2-container--default .select2-selection--single {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 6px 12px;
    height: 34px;
  }
  
  .select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #444;
    line-height: 22px;
  }
  
  .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 32px;
    position: absolute;
    top: 1px;
    right: 1px;
    width: 20px;
  }
  
  /* Styles for Date Range Picker */
  .daterangepicker {
    border: 1px solid #ddd;
    border-radius: 4px;
  }
  
  .daterangepicker td.active,
  .daterangepicker td.active:hover {
    background-color: #337ab7;
    border-color: #337ab7;
  }
  
  /* Custom Date Range Input Styles */
  #date_range {
    position: relative;
    padding: 8px 30px 8px 10px;
    /* Reduced left padding */
    cursor: pointer;
    background-color: #fff;
    text-align: left;
    /* Align text to the left */
    border-radius: 20px;
    /* Rounded border */
    border: 1px solid #ddd;
    font-size: 14px;
    color: #555;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    /* Subtle shadow */
    transition: all 0.3s ease;
    /* Smooth transition */
    width: auto;
    /* Adjust width to content */
    display: inline-block;
    /* Allows width to adjust */
  }
  
  #date_range:focus {
    outline: none;
    border-color: #aaa;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  }
  
  #date_range:before {
    content: '\f073';
    /* Calendar icon */
    font-family: FontAwesome;
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #777;
  }
  
  #date_range.date-selected {
    background-color: #f0f4ff;
    /* Light blue background */
    color: #333;
  }
  
  #date_range:after {
    content: '\f00d';
    /* Close icon */
    font-family: FontAwesome;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #777;
    cursor: pointer;
  }
  