/* GRABBYCLOUD V2 UI */
:root{
  --gc-bg:#f6f7f9;
  --gc-card:#ffffff;
  --gc-text:#20242b;
  --gc-muted:#6f7682;
  --gc-border:#e5e7eb;
  --gc-gold:#e7b24b;
  --gc-radius:14px;
}

body{
  background:var(--gc-bg);
}

main.container{
  max-width:1440px;
}

.card,
.modal-content{
  border:1px solid var(--gc-border);
  border-radius:var(--gc-radius);
  box-shadow:0 8px 28px rgba(0,0,0,.05);
}

.btn{
  border-radius:9px;
  font-weight:600;
}

.form-control,
.custom-select{
  border-radius:9px;
}

@media(max-width:767px){
  main.container{
    padding-left:16px;
    padding-right:16px;
  }

  .modal-dialog{
    margin:10px;
  }

  .modal-content{
    border-radius:16px;
  }

  .table-responsive{
    border-radius:14px;
  }
}

/* HEADER V2 */
.gc-header{
  background:rgba(255,255,255,.92);
  backdrop-filter:blur(18px);
  -webkit-backdrop-filter:blur(18px);
  border-bottom:1px solid var(--gc-border);
  box-shadow:0 8px 24px rgba(0,0,0,.04);
}

.gc-navbar{
  min-height:76px;
  background:transparent!important;
  padding:10px 22px;
}

.gc-navbar .navbar-brand img{
  width:175px;
  max-width:42vw;
}

.gc-navbar .nav-link{
  border-radius:9px;
  padding:10px 14px!important;
  font-weight:600;
  color:var(--gc-text)!important;
}

.gc-navbar .nav-item.active .nav-link,
.gc-navbar .nav-link:hover{
  background:rgba(231,178,75,.14);
}

.gc-pagebar{
  background:transparent!important;
  border:0!important;
  padding:18px 0!important;
}

.gc-pagebar #title{
  font-size:24px;
  font-weight:700;
}

@media(max-width:767px){
  .gc-navbar{
    min-height:66px;
    padding:8px 16px;
  }

  .gc-navbar .navbar-brand img{
    width:145px;
  }

  .gc-navbar .navbar-collapse{
    background:var(--gc-card);
    border:1px solid var(--gc-border);
    border-radius:14px;
    margin-top:10px;
    padding:10px;
    box-shadow:0 16px 40px rgba(0,0,0,.10);
  }

  .gc-navbar .nav-link{
    padding:12px 14px!important;
  }

  .gc-pagebar{
    padding:12px 16px!important;
  }

  .gc-pagebar #title{
    font-size:21px;
  }
}

/* DASHBOARD KPI V2 */
.gc-kpi-card{
  overflow:hidden;
  border:0!important;
  background:var(--gc-card);
}

.gc-kpi-card .card-header{
  background:transparent;
  border:0;
  padding:22px 22px 4px;
}

.gc-kpi-card .card-header h4{
  font-size:15px;
  font-weight:600;
  color:var(--gc-muted);
}

.gc-kpi-card .card-body{
  padding:8px 22px 24px;
}

.gc-kpi-card .card-body h4{
  font-size:32px;
  font-weight:700;
  letter-spacing:-1px;
  color:var(--gc-text);
}

.gc-section-card{
  border:0!important;
  overflow:hidden;
}

.gc-section-card > .card-header{
  background:transparent;
  border-bottom:1px solid var(--gc-border);
  padding:20px 22px;
}

.gc-section-card > .card-header h4{
  font-size:18px;
  font-weight:700;
}

@media(max-width:767px){
  .gc-kpi-grid{
    display:grid!important;
    grid-template-columns:1fr 1fr;
    gap:12px;
    margin:0 0 18px!important;
  }

  .gc-kpi-grid .gc-kpi-card{
    margin:0!important;
    min-width:0;
  }

  .gc-kpi-card .card-header{
    padding:16px 14px 2px;
  }

  .gc-kpi-card .card-body{
    padding:6px 14px 16px;
  }

  .gc-kpi-card .card-body h4{
    font-size:25px;
  }

  .gc-kpi-card .card-header h4{
    font-size:13px;
  }
}





@media(max-width:767px){

  .gc-profile-table .gc-profile-row td:nth-child(5)::before{
    content:"Scans";
  }

  .gc-profile-table .gc-profile-row td:nth-child(6)::before{
    content:"Opgeslagen";
  }

  .gc-profile-table .gc-profile-row td:nth-child(5),
  .gc-profile-table .gc-profile-row td:nth-child(6){
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:10px 0!important;
    border-top:1px solid var(--gc-border)!important;
  }

  .gc-profile-table .gc-profile-row td:nth-child(5)::before,
  .gc-profile-table .gc-profile-row td:nth-child(6)::before{
    font-weight:700;
    color:var(--gc-text);
  }

  .gc-profile-table .gc-profile-row td:nth-child(3){
    font-size:18px;
    font-weight:700;
    margin-top:8px;
  }

  .gc-profile-table .gc-profile-row td:nth-child(4){
    color:var(--gc-muted);
    padding-bottom:12px!important;
  }

  .gc-profile-table .gc-profile-row td:last-child::before{
    content:"Acties";
    font-weight:700;
    margin-right:auto;
  }
}

/* GRABBYCLOUD APP BACKGROUND */


main.container{
  background:transparent!important;
}

.gc-pagebar{
  background:#f4f5f7!important;
}

.grabby-dark body{
  background:#0d0f12!important;

}

.grabby-dark .gc-pagebar{
  background:#0d0f12!important;
}

@media(max-width:767px){
  
}

@media(max-width:767px){

  .gc-profile-table .gc-profile-row{
    padding:18px!important;
  }

  .gc-profile-table .gc-profile-row td{
    background:transparent!important;
  }

  .gc-profile-table .gc-profile-row td:first-child,
  .gc-profile-table .gc-profile-row td:nth-child(2){
    margin-bottom:10px;
  }

  .gc-profile-table .gc-profile-row td:nth-child(3),
  .gc-profile-table .gc-profile-row td:nth-child(4){
    padding-left:4px!important;
    padding-right:4px!important;
  }

  .gc-profile-table .gc-profile-row td:nth-child(5),
  .gc-profile-table .gc-profile-row td:nth-child(6){
    margin-top:6px;
    padding:12px 4px!important;
  }

  .gc-profile-table .gc-profile-row td:last-child{
    margin-top:14px!important;
    padding:14px 4px 2px!important;
  }
}


/* MOBILE PROFILE CARDS V2 */
@media(max-width:767px){

  .gc-profile-table{
    border:0!important;
    background:transparent!important;
  }

  .gc-profile-table thead{
    display:none!important;
  }

  .gc-profile-table tbody{
    display:block!important;
  }

  .gc-profile-table .gc-profile-row{
    display:grid!important;
    grid-template-columns:auto 1fr!important;
    background:#fff!important;
    border:1px solid #e1e5ea!important;
    border-radius:16px!important;
    padding:18px!important;
    margin:0 0 16px 0!important;
    box-shadow:0 6px 20px rgba(0,0,0,.05)!important;
  }

  .gc-profile-table .gc-profile-row td{
    background:transparent!important;
    border:0!important;
    padding:0!important;
    margin:0!important;
    text-align:left!important;
    width:auto!important;
  }

  .gc-profile-table .gc-profile-row td:nth-child(1){
    grid-column:1;
    grid-row:1;
    font-size:18px!important;
    font-weight:700!important;
    padding-right:10px!important;
    margin-bottom:12px!important;
  }

  .gc-profile-table .gc-profile-row td:nth-child(2){
    grid-column:2;
    grid-row:1;
    align-self:center;
    margin-bottom:12px!important;
  }

  .gc-profile-table .gc-profile-row td:nth-child(2) img{
    width:28px!important;
    display:block;
  }

  .gc-profile-table .gc-profile-row td:nth-child(3){
    grid-column:1 / -1;
    grid-row:2;
    font-size:19px!important;
    font-weight:700!important;
    margin-bottom:4px!important;
  }

  .gc-profile-table .gc-profile-row td:nth-child(4){
    grid-column:1 / -1;
    grid-row:3;
    color:#747b87!important;
    font-size:15px!important;
    padding-bottom:15px!important;
    border-bottom:1px solid #e7e9ed!important;
  }

  .gc-profile-table .gc-profile-row td:nth-child(5),
  .gc-profile-table .gc-profile-row td:nth-child(6){
    grid-column:1 / -1;
    display:flex!important;
    align-items:center;
    justify-content:space-between;
    padding:13px 0!important;
    border-bottom:1px solid #e7e9ed!important;
    font-size:15px!important;
  }

  .gc-profile-table .gc-profile-row td:nth-child(5){
    grid-row:4;
  }

  .gc-profile-table .gc-profile-row td:nth-child(6){
    grid-row:5;
  }

  .gc-profile-table .gc-profile-row td:nth-child(5)::before{
    content:"Scans";
    font-weight:700;
  }

  .gc-profile-table .gc-profile-row td:nth-child(6)::before{
    content:"Opgeslagen";
    font-weight:700;
  }

  .gc-profile-table .gc-profile-row td:nth-child(7){
    grid-column:1 / -1;
    grid-row:6;
    display:flex!important;
    align-items:center;
    padding-top:15px!important;
  }

  .gc-profile-table .gc-profile-row td:nth-child(7)::before{
    content:"Acties";
    font-weight:700;
    margin-right:auto;
  }

  .gc-profile-table .gc-profile-row td:nth-child(7) a{
    margin:0 0 0 16px!important;
    font-size:20px!important;
  }
}


/* GRABBYCLOUD MOBILE POLISH V7 */
@media(max-width:767px){

  /* Gele GrabbyCloud achtergrond terug */
  

  /* Hoofdcontent transparant zodat gele achtergrond zichtbaar blijft */
  main,
  main.container,
  .container.gc-main,
  .gc-main{
    background:transparent!important;
  }

  /* Buitenste witte DataTables kaart */
  .gc-profile-table{
    background:transparent!important;
  }

  /* Profielkaart zelf */
  .gc-profile-table .gc-profile-row{
    background:#fff!important;
    padding:18px 16px!important;
    border:1px solid #e0e4e9!important;
    border-radius:16px!important;
    box-shadow:0 8px 24px rgba(22,28,45,.06)!important;
    overflow:hidden!important;
  }

  /* BELANGRIJK: DataTables zebra/grijze achtergronden verwijderen */
  .gc-profile-table .gc-profile-row td,
  .gc-profile-table.table-striped tbody tr:nth-of-type(odd) td,
  .gc-profile-table.table-striped tbody tr:nth-of-type(even) td{
    background:#fff!important;
  }

  /* Nummer */
  .gc-profile-table .gc-profile-row td:nth-child(1){
    font-size:18px!important;
    line-height:28px!important;
    font-weight:700!important;
    padding:0!important;
    margin:0 10px 14px 0!important;
  }

  /* Vlag */
  .gc-profile-table .gc-profile-row td:nth-child(2){
    display:flex!important;
    align-items:center!important;
    min-height:28px!important;
    margin:0 0 14px 0!important;
  }

  .gc-profile-table .gc-profile-row td:nth-child(2) img{
    width:27px!important;
    height:auto!important;
    margin:0!important;
  }

  /* Naam */
  .gc-profile-table .gc-profile-row td:nth-child(3){
    background:#fff!important;
    font-size:19px!important;
    line-height:1.3!important;
    font-weight:700!important;
    margin:0!important;
    padding:0!important;
  }

  /* Functie */
  .gc-profile-table .gc-profile-row td:nth-child(4){
    background:#fff!important;
    color:#737b88!important;
    font-size:15px!important;
    line-height:1.4!important;
    margin:4px 0 8px 0!important;
    padding:0 0 14px 0!important;
    border-bottom:1px solid #e8ebef!important;
  }

  /* Scans + opgeslagen */
  .gc-profile-table .gc-profile-row td:nth-child(5),
  .gc-profile-table .gc-profile-row td:nth-child(6){
    background:#fff!important;
    min-height:48px!important;
    padding:13px 0!important;
    margin:0!important;
    border-bottom:1px solid #e8ebef!important;
    font-size:15px!important;
    line-height:22px!important;
  }

  .gc-profile-table .gc-profile-row td:nth-child(5)::before,
  .gc-profile-table .gc-profile-row td:nth-child(6)::before{
    font-weight:700!important;
    color:#20242b!important;
  }

  /* Acties */
  .gc-profile-table .gc-profile-row td:nth-child(7){
    background:#fff!important;
    min-height:52px!important;
    padding:15px 0 0 0!important;
    margin:0!important;
    border:0!important;
  }

  .gc-profile-table .gc-profile-row td:nth-child(7)::before{
    color:#20242b!important;
    font-weight:700!important;
  }

  .gc-profile-table .gc-profile-row td:nth-child(7) a{
    margin-left:17px!important;
    font-size:20px!important;
    line-height:1!important;
  }
}

/* PROFILE CARD CLEAN FIX */
@media(max-width:767px){

  /* Originele GrabbyCloud achtergrond NIET overschrijven */

  .gc-profile-table .gc-profile-row{
    background-color:#fff!important;
    background-image:none!important;
  }

  .gc-profile-table .gc-profile-row > td,
  .gc-profile-table.table-striped tbody .gc-profile-row > td,
  .gc-profile-table tbody .gc-profile-row:nth-of-type(odd) > td,
  .gc-profile-table tbody .gc-profile-row:nth-of-type(even) > td{
    background-color:#fff!important;
    background-image:none!important;
    box-shadow:none!important;
  }

  .gc-profile-table tbody .gc-profile-row:nth-of-type(odd),
  .gc-profile-table tbody .gc-profile-row:nth-of-type(even){
    background-color:#fff!important;
    background-image:none!important;
  }

}


/* GRABBYCLOUD MOBILE DARK MODE PROFILE FIX */
@media(max-width:767px){

  html.grabby-dark .gc-profile-table .gc-profile-row{
    background:#171d23!important;
    border-color:#3b4550!important;
    box-shadow:0 8px 24px rgba(0,0,0,.22)!important;
  }

  html.grabby-dark .gc-profile-table .gc-profile-row,
  html.grabby-dark .gc-profile-table .gc-profile-row > td,
  html.grabby-dark .gc-profile-table.table-striped tbody .gc-profile-row > td,
  html.grabby-dark .gc-profile-table tbody .gc-profile-row:nth-of-type(odd) > td,
  html.grabby-dark .gc-profile-table tbody .gc-profile-row:nth-of-type(even) > td{
    background:#171d23!important;
    background-image:none!important;
    color:#f3f5f7!important;
  }

  html.grabby-dark .gc-profile-table .gc-profile-row td:nth-child(4){
    color:#aab2bd!important;
    border-bottom-color:#303943!important;
  }

  html.grabby-dark .gc-profile-table .gc-profile-row td:nth-child(5),
  html.grabby-dark .gc-profile-table .gc-profile-row td:nth-child(6){
    border-bottom-color:#303943!important;
  }

  html.grabby-dark .gc-profile-table .gc-profile-row td:nth-child(5)::before,
  html.grabby-dark .gc-profile-table .gc-profile-row td:nth-child(6)::before,
  html.grabby-dark .gc-profile-table .gc-profile-row td:nth-child(7)::before{
    color:#f3f5f7!important;
  }

  html.grabby-dark .gc-profile-table .gc-profile-row td:nth-child(7) a{
    color:#d7dde8!important;
  }

}
