.disabled {
    pointer-events: none;
    opacity: 0.4;
}

.actve {
    pointer-events: auto;
    opacity: 1;
}

#page.policy{
    color: #fff;
}

#container-item-section {
    max-height: 180px;
    overflow-y: auto;
    scrollbar-width: thin;  /* auto | thin | none */
    scrollbar-color: var(--light-blue) transparent;
    border: 1px solid #fff2;
    padding: 10px;
    border-radius: 5px;
}

#container-policy-section {
    padding-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

#card-policy {
    background: var(--bg-card);
    width: 900px;
    height: 600px;
    border-radius: 5px;
    border: 1px solid #fff2;
    box-shadow: 2px 4px 6px #0004;
    padding: 20px;
    position: relative;
}

#section-status-policy-dpa{
    padding: 0;
    padding-top: 30px;
}
:root{
    --dark-bg-success-badge: #1b322b;
    --dark-text-success-badge: #029964;
    --dark-bg-error-badge: #362525;
    --dark-text-error-badge: #b4483e;
}

#status-policy-dpa.ok{
    background: var(--dark-bg-success-badge);
    border: 1px solid var(--dark-text-success-badge);
}
#status-policy-dpa.ko{
    background: var(--dark-bg-error-badge);
    border: 1px solid var(--dark-text-error-badge);
}
#status-policy-dpa.ko > span, #status-policy-dpa.ko > i {
    color: var(--dark-text-error-badge);
}
#status-policy-dpa.ok > span, #status-policy-dpa.ok > i {
    color: var(--dark-text-success-badge);
}

#status-policy-dpa{
    padding: 5px 10px;
    width: 100px;
    display: flex;
    align-items: center;
    border-radius: 5px;
}
#status-policy-dpa span {
    margin-left: 15px;
    font-weight: 600;
}
#status-policy-dpa span, #status-policy-dpa i {
    font-size: .8rem;

}

.section{
    width: 100%;
    max-height: 300px;
    display: flex;
    justify-content: center;
    overflow-y: auto
}

#checks-container{
    width: 90%;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-top: 20px;
}

#card-policy .box { 
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-size: .8rem;
}
#card-policy .box b { 
    color: red; 
    padding-left: 6px;
    padding-right: 3px;
}
#header-tc {
    width: 100%;
    position:relative
}

.btn-tc {
    outline: 0px; 
    border: 0px; 
    text-decoration: none; 
    display: inline-block; 
    background: #444; 
    color: #fff;
    font-weight: 600;
    font-size: .8rem;
    border-radius: 4px;
    cursor: pointer;
    transition: 300ms;
}
.btn-tc:hover {
    background: #000; 
}

#t-u{
    width: 80%;
}
#dpa{
    width: 80%;

}

.container-btn-accept {
    width: 90%;
    height: 100px;
    display: flex;
    flex-direction: row;
    gap: 15px;
    align-items: center;
}
.container-btn-accept > button {
   color: #fff;
   border-radius: 5px;
   border:none;
   width: 80px;
   height: 30px;
   cursor: pointer;
   background: green;
   margin-left: 100px;
}

#result-accept {
    font-size: .7rem;
    color: red
}

/* window */
body .screen-t-c{
    position:fixed;
    top:0;
    right:0;
    height: 100vh;
    width: 100vw;
    background: #0004;
    z-index: 100;
    display: flex;
    justify-content: center;
    align-items: center;
}

.screen-t-c .container-t-c {
    width: 70%;
    height: 60%;
    border-radius: 5px;
    border: 1px solid #0002;
    background: #fff;
    color: #000;
    padding: 0px 20px;
}

#page.policy #container-policy-section div.box {
    display: flex;
    flex-direction: row;
    gap:10px;
    justify-content: start;
}

.screen-t-c .container-t-c .btn-close{
   position: absolute;
   left: 10px;
   top: 10px;
   background: red;
   color: #fff;
   border-radius: 5px;
   border:none;
   width: 30px;
   height: 30px;
   cursor: pointer;
}
.iubenda-black.no-brand.iubenda-noiframe.iubenda-embed:hover {
    background: #000;
}
.iubenda-black.no-brand.iubenda-noiframe.iubenda-embed {
  outline: 0px;
  border: 0px;
  text-decoration: none;
  display: inline-block;
  background: #444;
  color: #fff;
  font-weight: 600;
  font-size: .8rem;
  border-radius: 4px;
  cursor: pointer;
  padding: 3px 5px;
  transition: 300ms;
}

#send-policy{
    position: absolute;
    bottom: 10px;
    right: 10px;
}

.card-completed {
  background: var(--bg-card);
  padding: 20px;
  border: 1px solid #fff2;
  border-radius: 5px;
  box-shadow: 2px 2px 2px #0002;
  animation: view 700ms forwards;
  opacity: 0;
}
