/* Custom styling voor de applicatie */
.container-custom {
    margin-left: auto;
    margin-right: auto;
    width: 70%;
}

.auto-width {
    width: auto !important;
    display: inline-block !important;
    min-width: 200px;
}

.top-space {
    margin-top: 20px;
}

.panel-default > .panel-heading {
    background-color: #f47920;
    color: #ffffff;
}

/* Header styling */

#pagehead-left {
    left: 20% !important;
}

/* Table styling */
.table-striped > tbody > tr:nth-of-type(odd) {
    background-color: #f4f4f4;
} 
/* Oranje panel heading met witte tekst en padding */
.panel-default > .panel-heading {
    background-color: #f47920;
    color: #ffffff;
    border-radius: 4px;  /* Afgeronde hoeken */
}

/* Sorteer styling */
th.sortable {
    cursor: pointer;
    position: relative;
    padding-right: 25px !important;
    user-select: none;
}

th.sortable i {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    color: #ccc;
    transition: color 0.2s ease;
}

/* th.sortable.asc i,
th.sortable.desc i {
    color: #f47920;
}

th.sortable:hover i {
    color: #f47920;
} */

/* Voeg een subtiele hover effect toe */
/* th.sortable:hover {
    background-color: rgba(244, 121, 32, 0.1); 
} */

/* Modern select styling */
.select-container {
    position: relative;
    width: fit-content;
}

.modern-select {
    appearance: none;
    padding: 10px 35px 10px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modern-select:hover {
    border-color: #f47920;
}

.select-arrow {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid #f47920;
    pointer-events: none;
}

/* Responsive table */
@media screen and (max-width: 768px) {
    .table-responsive {
        display: block;
        width: 100%;
        overflow-x: auto;
    }
}

/* Animatie voor sorteren */
tbody tr {
    transition: background-color 0.2s ease;
}

/* Hover effect op rijen */
/* tbody tr:hover {
    background-color: rgba(244, 121, 32, 0.05) !important;
} */

/* Actieve sorteer kolom markering */
th.sortable.asc,
th.sortable.desc {
    background-color: rgba(244, 121, 32, 0.1);
}

/* Verbeterde icon transitie */
th.sortable i {
    transition: transform 0.2s ease, color 0.2s ease;
}

th.sortable.asc i {
    transform: translateY(-50%) rotate(0deg);
}

th.sortable.desc i {
    transform: translateY(-50%) rotate(180deg);
}

/* Configuratiepaneel styling */
.config-panel {
    position: sticky;
    top: 20px;
    margin-bottom: 20px;
    border-left: 3px solid #f47920;
}

.config-panel .panel-heading {
    background-color: #f47920;
    color: white;
    border-bottom: none;
}

.config-panel .panel-body {
    padding: 15px;
}

.config-panel select {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: white;
    transition: border-color 0.2s ease;
}

.config-panel select:hover {
    border-color: #f47920;
}

.config-panel select:focus {
    outline: none;
    border-color: #f47920;
    box-shadow: 0 0 0 2px rgba(244, 121, 32, 0.2);
}

.config-panel label {
    display: block;
    margin-bottom: 8px;
    color: #666;
    font-weight: 500;
}

/* Responsive aanpassingen */
@media (max-width: 991px) {
    .config-panel {
        position: static;
        margin-top: 20px;
    }
}

/* Hoofdpaneel aanpassingen */
.panel-default {
    border: 1px solid #ddd;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.panel-default > .panel-heading {
    border-bottom: none;
}

/* Table container aanpassingen */
.table-responsive {
    border: none;
    margin-bottom: 0;
}

/* Container styling */
body .container-fluid {
    width: 100%;
    margin: 0 auto;
    /* padding-left: 30px;
    padding-right: 30px; */
}

/* Responsive aanpassingen voor verschillende schermgroottes
@media (min-width: 1600px) {
    body .container-fluid {
        width: 85%;
        max-width: 1800px;
    }
} */

@media (max-width: 1200px) {
    body .container-fluid {
        width: 95%;
        padding-left: 20px;
        padding-right: 20px;
    }
}

/* Panel margins */
.panel {
    margin: 20px 0;
}

/* Filter styling */
.filter-header {
    padding: 5px !important;
    background-color: #fff;
}

.column-filter {
    width: 100%;
    padding: 6px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.column-filter:focus {
    border-color: #f47920;
    outline: none;
    box-shadow: 0 0 0 2px rgba(244, 121, 32, 0.2);
}

/* Filter styling boven de tabel */
.filter-row {
    margin-bottom: 15px;
    padding: 0 15px;
}

.filter-container {
    display: flex;
    gap: 15px;
}

.column-filter {
    flex: 1;
    padding: 6px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    max-width: 300px;
}

.column-filter:focus {
    border-color: #f47920;
    outline: none;
    box-shadow: 0 0 0 2px rgba(244, 121, 32, 0.2);
}

/* Responsive aanpassing */
@media (max-width: 768px) {
    .filter-container {
        flex-direction: column;
    }
    
    .column-filter {
        max-width: 100%;
    }
}

/* Filter styling */
.filter-row th {
    padding: 8px !important;
    border-top: none !important;
}

.column-filter {
    width: 100%;
    padding: 6px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.column-filter:focus {
    border-color: #f47920;
    outline: none;
    box-shadow: 0 0 0 2px rgba(244, 121, 32, 0.2);
}

/* Productiedatum en versie styling in navbar */
.navbar .productiedatum {
    margin-right: 15px;
    color: #ffffff;
    font-weight: 500;
    font-size: 1.17em;
}

.navbar .productiedatum i {
    margin-right: 5px;
    color: #ffffff;
}

.version-divider {
    margin: 0 10px;
    color: rgba(255, 255, 255, 0.7);
}

/* Responsive aanpassing */
@media (max-width: 768px) {
    .navbar .productiedatum {
        margin-left: 15px;
        float: none;
    }
}

.loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    z-index: 1000;
}

.position-relative {
    position: relative;
}

.reset-filters {
    margin-right: 10px;
}

.table-controls {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.reset-filters {
    padding: 5px 10px;
    cursor: pointer;
}

/* Zorg ervoor dat de tabel een relative parent heeft voor de loading overlay */
.table-wrapper {
    position: relative;
}

.reset-filters i.fa.fa-refresh {
    font-size: 1.2em !important;
    color: #f7941e !important;
}

.alert-dismissible-gs_auth .close {
    position: absolute;
    top: 0;
    right: 0;
    padding: 0.75rem 1.25rem;
    opacity: 1;
}

.alert-dismissible-gs_auth .close span {
    color: #8BC34A !important;  /* Forceer wit met !important */
    text-shadow: none !important;  /* Verwijder schaduwen met !important */
    font-weight: normal;
    opacity: 1 !important;  /* Zorg dat het volledig zichtbaar is */
}

.alert-dismissible-gs_auth .close:hover span {
    color: #8BC34A !important;
    opacity: 0.8 !important;
}

.table thead th {
    background-color: #a4a4a4;
    color: #fff;
}

.form-group {
    gap: 10px;
}

.bestandstype-container {
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
}

.bestandstype-label {
    margin-right: 10px;
    white-space: nowrap;
    margin-bottom: 0;
}
.login-label {
    margin-right: 10px;
    white-space: nowrap;
    margin-bottom: 0;
}
.bestandstype-select {
    width: auto;
}

/* Login pagina styling */
.login-container {
    max-width: 800px;
    margin: 50px 0 0 20%;
    padding: 0 20px;
}

.login-form {
    width: 100%;
    max-width: 500px;
}

.login-container h1 {
    color: #f47321; /* Zelfde oranje kleur als de links */
    margin-bottom: 30px;
    font-weight: bold;
}

.login-form .form-group {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.login-form .form-group label {
    width: 170px; /* Vaste breedte voor labels */
    margin-right: 10px;
    font-weight: normal;
}

.login-form .form-control {
    flex: 1; /* Neemt de overgebleven ruimte in */
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.login-form .btn-primary,
.login-form .btn-primary-forgot{
    text-align: left !important;
    justify-content: flex-start !important;
    padding-left: 20px !important;
    display: flex !important;
    align-items: center !important;
}

.login-form .btn-primary {
    width: 100%;
    background-color: #f47321;
    border: none;
    padding: 8px 20px;
    color: white;
    border-radius: 4px;
    cursor: pointer;
    text-align: left !important;
}

.login-form .btn-primary-forgot {
    background-color: #f47321;
    border: none;
    padding: 8px 20px;
    color: white;
    border-radius: 4px;
    cursor: pointer;
    text-align: left !important;
}

/* Nieuwe container voor de knop */
.login-form .button-group {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.login-form .button-group label {
    width: 120px;
    margin-right: 10px;
    visibility: hidden; /* Maakt de label onzichtbaar maar behoudt de ruimte */
}


.login-form .forgot-links a {
    color: #f47321;
    text-decoration: underline;
}

.password-requirements {
    margin-bottom: 15px;
    width: 1000px;
}

.password-requirements ul {
    margin: 0;
    /* margin-top: 5px; */
    /* margin-bottom: 15px; */
    padding-left: 0; /* Verwijderd de standaard padding */
    list-style-position: inside; /* Plaatst de bullets binnen de lijst */
    white-space: nowrap; /* Voorkomt dat de tekst afbreekt */
}

.password-requirements-text {
    white-space: nowrap; /* Voorkomt dat de tekst afbreekt */
}

.password-requirements label {
    width: 170px;
    margin-right: 10px;
    font-weight: normal;
}

.form-success {
    margin-bottom: 15px;
    white-space: nowrap; /* Voorkomt dat de tekst afbreekt */
}

.flash-notification {
    position: absolute;
    right: 120px;
    z-index: 1080;
    width: 400px;
    height: auto !important;
    max-height: none !important;
    overflow-y: visible !important;
}

.alert-dangerous-gs_auth {
  background-color: 	#f44336;
  border-color: 	#f44336; ;
  color: #ffffff;
  font-family: Lato;
  font-size: 16px;
  font-weight: 400;
  text-align: left;
  padding: 10px 20px;
  padding-left: 10px;
  padding-right: 10px;
  padding-top: 5px;
  padding-bottom: 5px;
  margin-top: 20px;
  margin-bottom: 20px; 
  width: 500px; }
  .alert-fout hr {
    border-top-color: #630303; }
  .alert-fout .alert-link {
    color: #ffffff; }

.alert-dangerous-gs_auth button {
  background-color: white;
  color: #f44336;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}
.alert-successful-gs_auth {
  background-color: #8bc34a;
  border-color: #8bc34a; ;
  color: #ffffff;
  font-family: Lato;
  font-size: 16px;
  font-weight: 400;
  text-align: left;
  padding: 10px 20px;
  padding-left: 10px;
  padding-right: 10px;
  padding-top: 5px;
  padding-bottom: 5px;
  margin-top: 20px;
  margin-bottom: 20px;
  width: 500px;
}
  .alert-fout hr {
    border-top-color: #044b15; }
  .alert-fout .alert-link {
    color: #ffffff; }

.alert-successful-gs_auth button {
  background-color: white;
  color: #8BC34A;
  border: none;
  border-radius: 5px;
  cursor: pointer;}  

  .alert-change_multiple_password_successful-gs_auth {
    background-color: #8bc34a;
    border-color: #8bc34a; ;
    color: #ffffff;
    font-family: Lato;
    font-size: 16px;
    font-weight: 400;
    text-align: left;
    padding: 10px 20px;
    padding-left: 10px;
    padding-right: 55px;
    padding-top: 5px;
    padding-bottom: 5px;
    margin-top: 20px;
    margin-bottom: 20px;
    width: 500px;
  }
    .alert-fout hr {
      border-top-color: #044b15; }
    .alert-fout .alert-link {
      color: #ffffff; }
  
  .alert-change_multiple_password_successful-gs_auth button {
    background-color: white;
    color: #8BC34A;
    border: none;
    border-radius: 5px;
    cursor: pointer;} 


  .close-gs_auth {
  float: right;
  font-size: 21px;
  font-weight: bold;
  line-height: 1;
  color: #000;
  text-shadow: 0 1px 0 #fff;
  opacity: 0.2;
  filter: alpha(opacity=20); }
  .close-.close-gs_auth, .close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
    opacity: 0.5;
    filter: alpha(opacity=50); }

    .flash-message {
        background-color: #9CCC65;
        padding: 12px 15px;
        border-radius: 2px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        max-width: 400px;
        margin: 20px;
        font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
        box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    }
    
    .message-text {
        color: white;
        font-size: 14px;
        margin-right: 25px;
    }
    
    .sub-text {
        color: white;
        font-size: 12px;
        display: block;
        margin-top: 2px;
    }
    
.message-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.success-icon {
  color: white;
  font-size: 60px;
  background-color: #8BC34A;
  width: 120px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  padding-top: 40px;
}

.danger-icon {
  color: white;
  font-size: 60px;
  background-color: #f44336;
  width: 120px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  padding-top: 40px;
}
.close-button {
  margin-left: 0;
  margin-top: 20px;
  background-color: white;
  border: none;
  color: #666;
  padding: 6px 20px;
  font-size: 13px;
  border-radius: 3px;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(0,0,0,0.1);
  align-self: flex-start;
}

.alert-dangerous-gs_auth .message-text {
  padding-left: 10px; /* Zorgt ervoor dat de tekst en de lijst gelijk zijn uitgelijnd */
}

.alert-dangerous-gs_auth ul {
  padding-left: 10px; /* Zorgt ervoor dat de lijst gelijk is uitgelijnd met de koptekst */
}

.input-group {
    display: flex;
    align-items: stretch;
}

.input-group-append {
    display: flex;
    margin-left: -1px;
}

.toggle-password {
    background: white;
    padding: 0.375rem 0.75rem;
    color: #6c757d;
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
    border-left: none;
    /* display: none; Standaard verborgen */
}

.toggle-password:focus {
    outline: none;
    box-shadow: none;
    color: #f47321;
}

.toggle-password:hover {
    color: #f47321;
    background-color: transparent;
}

.input-group .form-control {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border: 3px solid #ff6600;
    border-radius: 50%;
    margin-right: 10px;
    position: relative;
    cursor: pointer;
}

input[type="radio"]:checked {
    background-color: transparent;
}

input[type="radio"]:checked::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 12px;
    border: 3px solid #ff6600;
    border-radius: 50%;
    background-color: transparent;
}

input[type="radio"]:checked::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 3px;
    height: 3px;
    background-color: #ff6600;
    border-radius: 50%;
}

.radio-option {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
}
