/***
* Custom style to give similar UI
*/

:root {
    --brand-color: #00acd6; 
    /* --footer-text: #cb4b43;  rgb(72, 204, 251)*/
}

#footer {
    padding: 25px;
    color: #ccc;
    list-style: none;
  }
  
  .contact > li a {
    color: var(--brand-color);
    font-size: 16px;
  }
  
  #footer ul {
    list-style-type: none !important;
  }
  
  #footer ul li {
    padding-top: 5px;
  }
  
  .sidebar-menu > li > a {
    padding: 12px 5px 10px 6px;
  }
  
  .main-header .logo {
    width: 198px;
  }
  
  .main-header .navbar {
    margin-left: 198px;
  }
  
  .content-wrapper {
    margin-top: 46px !important;
    margin-left: 12% !important;
  }
  /*change left navigation style*/
  .sidebar-menu > li {
    font-size: 76%;
  }
  .sidebar-menu > li > a > .fa {
    background-color: rgb(0 29 58);
    color: rgb(255, 255, 255);
    height: 35px;
    width: 35px;
    padding: 10px;
    border-radius: 4px;
  }
  
  /* Default sidebar styles */
  .main-sidebar {
    width: 12%; /* Adjust width as needed */
    -webkit-transition: -webkit-transform .3s ease-in-out, width .3s ease-in-out;
    -moz-transition: -moz-transform .3s ease-in-out, width .3s ease-in-out;
    -o-transition: -o-transform .3s ease-in-out, width .3s ease-in-out;
    transition: transform .3s ease-in-out, width .3s ease-in-out;
  }
  
  /* Responsive styles for smaller screens */
  @media (max-width: 767px) {
    .main-header .logo {
      width: auto;
    }
    .main-header .navbar {
      margin-left: 0;
    }
    .content-wrapper {
      margin-top: 0px !important;
      margin-left: 0px !important;
    }
  }
  
  /*breadcrumb*/
  .breadcrumb {
    background-color: #fff;
  }
  
  .userName .sftpUserName {
    text-align: -webkit-center;
  }
  .userName .small-box p {
    width: 100%;
    max-width: 270px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  
  /*files*/
  /*basic settings */
  
  a:focus {
    outline: none !important;
    outline-offset: none !important;
  }
  
  body {
    background: #f5f6f5;
    color: #333;
  }
  
  /* helper classses */
  
  .margin-top-20 {
    margin-top: 20px;
  }
  
  .margin-bottom-20 {
    margin-top: 20px;
  }
  
  .no-margin {
    margin: 0px;
  }
  
  /* box component */
  
  .box {
    border-color: #e6e6e6;
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
    padding: 10px;
    margin-bottom: 30px;
  }
  
  .box-center {
    margin: 20px auto;
  }
  
  /* input [type = file]
  ----------------------------------------------- */
  
  input[type="file"] {
    display: block !important;
    right: 1px;
    top: 1px;
    height: 34px;
    opacity: 0;
    width: 100%;
    background: none;
    position: absolute;
    overflow: hidden;
    z-index: 2;
  }
  
  .control-fileupload {
    display: block;
    border: 1px solid #d6d7d6;
    background: #fff;
    border-radius: 4px;
    width: 100%;
    height: 36px;
    line-height: 36px;
    padding: 0px 10px 2px 10px;
    overflow: hidden;
    position: relative;
  
    &:before,
    input,
    label {
      cursor: pointer !important;
    }
    /* File upload button */
    &:before {
      /* inherit from boostrap btn styles */
      padding: 4px 12px;
      margin-bottom: 0;
      font-size: 14px;
      line-height: 20px;
      color: #333333;
      text-align: center;
      text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75);
      vertical-align: middle;
      cursor: pointer;
      background-color: #f5f5f5;
      background-image: linear-gradient(to bottom, #ffffff, #e6e6e6);
      background-repeat: repeat-x;
      border: 1px solid #cccccc;
      border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
      border-bottom-color: #b3b3b3;
      border-radius: 4px;
      box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2),
        0 1px 2px rgba(0, 0, 0, 0.05);
      transition: color 0.2s ease;
  
      /* add more custom styles*/
      content: "Browse";
      display: block;
      position: absolute;
      z-index: 1;
      top: 2px;
      right: 2px;
      line-height: 20px;
      text-align: center;
    }
    &:hover,
    &:focus {
      &:before {
        color: #333333;
        background-color: #e6e6e6;
        color: #333333;
        text-decoration: none;
        background-position: 0 -15px;
        transition: background-position 0.2s ease-out;
      }
    }
  
    label {
      line-height: 24px;
      color: #999999;
      font-size: 14px;
      font-weight: normal;
      overflow: hidden;
      white-space: nowrap;
      text-overflow: ellipsis;
      position: relative;
      z-index: 1;
      margin-right: 90px;
      margin-bottom: 0px;
      cursor: text;
    }
  }
  /* box css */
  .box-custom {
      border: solid 1px #ccc;
      border-radius: 5px;
      background: #f8f8f8;
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
      transition: all 0.3s ease-in-out;
      position: relative;
      overflow: hidden;
      color: #000;
  }

  .box-custom:hover {
      transform: translateY(-5px);
      box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
      color: #333;
  }

  .box-custom .inner {
      padding: 20px;
      text-align: center;
  }

  .box-custom .user-data {
      font-size: 26px;
      font-weight: bold;
      color: #000000;

  }

  .box-custom .sftpUserName p {
      font-size: 18px;
      margin-top: 10px;
      color: #333;
  }

  .box-custom .custom-footer {
      display: block;
      padding: 10px;
      color: #fff;
      background-color: #005968;
      text-align: center;
      font-weight: bold;
      text-transform: capitalize;
      border-top: 1px solid #ddd;
      border-radius: 0 0 5px 5px;
      position: relative;
      z-index: 1;
      transition: background-color 0.3s ease;
  }

  .box-custom:hover {
        background-color: rgb(233, 233, 233);
    }

    .custom-footer:hover {
        background-color: rgb(0, 0, 0);

    }
  .box-custom .custom-footer i {
      margin-left: 5px;
  }

  @media (max-width: 768px) {
      .box-custom .inner {
          padding: 15px;
      }

      .box-custom .user-data {
          font-size: 22px;
      }

      .box-custom .sftpUserName p {
          font-size: 16px;
      }
  }

  .file-input-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%; /* Ensure the wrapper adjusts to its parent container */
  }

  .infinite-scroll {
      max-height: 80vh; /* Adjust to fit your layout */
      /* overflow: auto;   Enable scrolling */
  }

  .search-button, .custom-button {
      background-image: linear-gradient(-180deg, #00acd6 0%, #1E96C8 100%);
      border-radius: .5rem;
      box-sizing: border-box;
      color: #FFFFFF;
      display: flex;
      font-size: 16px;
      justify-content: center;
      padding: 1rem 1.75rem;
      text-decoration: none;
      width: 100%;
      border: 0;
      cursor: pointer;
      user-select: none;
      -webkit-user-select: none;
      touch-action: manipulation;
  }

  .search-button:hover, .custom-button:hover {
      background-image: linear-gradient(-180deg, #1D95C9 0%, #17759C 100%);
  }

  @media (min-width: 768px) {
      .search-button, .custom-button {
          padding: 1rem 2rem;
      }
  }

  .custom-form-design input, .custom-form-design select {
      box-shadow: rgba(0, 0, 0, 0.04) 0px 3px 5px;
      width: 100%;
      border: 1px solid #dce1e7;
      outline: none;
      border-radius: 6px;
      font-size: 15px;
      margin-top: 5px;
      transition: all .6s ease;
  }
  .custom-form-design label {
      display: inline-block;
      margin-bottom: 8px;
      font-size: initial;
  }
  