/* =========================================================
   PRINGLES iframe form skin
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap');

:root{
  --pg-white:#fff;
  --pg-black:#1a1a1a;
  --pg-red:#da001a;
  --pg-red-dark:#cd071e;
  --pg-yellow:#ffdc00;
}

body{
  background-color: transparent;
  color: var(--pg-white);
  font-family: 'Barlow', system-ui, -apple-system, Arial, sans-serif;
  padding: 10px 6px;
}

.container{ max-width: 920px; }

form.ledo{
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 16px;
  padding: 18px 16px;
  box-shadow: 0 18px 44px rgba(0,0,0,.22);
}

label{
  color: rgba(255,255,255,.92);
  font-weight: 600;
  letter-spacing: .2px;
}

small, .help-block{ color: rgba(255,255,255,.78); }
.help-block.with-errors{ color: #ff5a5a; }

.form-control{
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.16);
  color: var(--pg-white);
  border-radius: 12px;
  height: calc(1.5em + .95rem + 2px);
}
.form-control::placeholder{ color: rgba(255,255,255,.60); }
.form-control:focus{
  background: rgba(255,255,255,.12);
  border-color: rgba(255,220,0,.65);
  box-shadow: 0 0 0 .2rem rgba(255,220,0,.18);
  color: var(--pg-white);
}
.has-error .form-control{ border-color: rgba(255,90,90,.85); }
.has-success .form-control{ border-color: rgba(90,255,170,.55); }

.custom-file-label{
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  max-width: 100%; display: inline-block;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.16);
  color: rgba(255,255,255,.85);
  border-radius: 12px;
}
.custom-file-label::after{
  content:"Dodaj";
  background: rgba(255,255,255,.14);
  color: #fff;
  border-left: 1px solid rgba(255,255,255,.16);
}
.custom-file-input:focus ~ .custom-file-label{
  border-color: rgba(255,220,0,.65);
  box-shadow: 0 0 0 .2rem rgba(255,220,0,.18);
}

.input-group-append .btn{
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.10);
  color: rgba(255,255,255,.88);
}
.input-group-append .btn:hover{
  background: rgba(255,255,255,.14);
  color: #fff;
}

@media (max-width: 767.98px){ #drag-and-drop-area{ display:none; } }
@media (min-width: 768px){
  #drag-and-drop-area{
    display:flex; align-items:center; justify-content:center;
    height: 100%;
    border: 2px dashed rgba(255,255,255,.28);
    border-radius: 14px; text-align:center;
    position: relative;
    color: rgba(255,255,255,.85);
    background: rgba(255,255,255,.06);
  }
}
#drag-and-drop-area.dragover{
  background: rgba(255,220,0,.14);
  border-color: rgba(255,220,0,.55);
}
#drag-and-drop-area.uploaded{
  border-color: rgba(90,255,170,.60);
  background: rgba(90,255,170,.08);
}
.upload-icon, #drag-and-drop-area .file-icon{
  color: rgba(255,255,255,.9); font-size: 22px;
}

.custom-control-label{ color: rgba(255,255,255,.90); }
.custom-control-input:checked ~ .custom-control-label::before{
  background-color: var(--pg-yellow);
  border-color: var(--pg-yellow);
}

.btn-send{
  font-family: 'Bebas Neue', 'Barlow', sans-serif;
  background: var(--pg-yellow) !important;
  color: var(--pg-black) !important;
  border: 0 !important;
  border-radius: 9999px;
  padding: .85rem 1.35rem;
  font-weight: 800;
  letter-spacing: .6px;
  text-transform: uppercase;
  box-shadow: 0 12px 28px rgba(255,220,0,.22);
}
.btn-send:hover, .btn-send:focus{
  transform: translateY(-1px);
  color: var(--pg-black) !important;
  background: #ffe740 !important;
  box-shadow: 0 16px 36px rgba(255,220,0,.30);
}
.btn-send[disabled]{ opacity: .7; cursor: not-allowed; transform: none; }

.loading-spinner{ display:none; margin-left: 10px; }
.btn-loading .loading-spinner{ display:inline-block; }

.hp-wrap{
  position:absolute !important; left:-10000px !important;
  top:auto !important; width:1px !important; height:1px !important;
  overflow:hidden !important;
}

/* Gate page */
.pg-gate{
  display:flex; align-items:center; justify-content:center;
  background: transparent; color:#fff; padding:18px;
}
.pg-gate-box{
  width:min(760px, 100%);
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  border-radius:16px; padding:22px 18px;
  box-shadow:0 18px 44px rgba(0,0,0,.22);
  text-align:center;
}
.pg-gate-title{ font-family: 'Bebas Neue', 'Impact', sans-serif; margin:0 0 10px 0; font-size:24px; text-transform:uppercase; letter-spacing:1px; }
.pg-gate-text{ margin:0; opacity:.92; font-size:16px; line-height:1.45; }
.pg-gate-html, .pg-gate-html body{ height: auto !important; min-height: 0 !important; }
