#sfc-gdpr-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Segoe UI', sans-serif;
}

#sfc-gdpr-modal {
    background: #fff;
    color: #1f2937;
    border-radius: 16px;
    padding: 30px 30px 20px;
    width: 90%;
    max-width: 420px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    animation: fadeIn 0.3s ease-out;
    text-align: center;
}

#sfc-gdpr-modal h2 {
    font-size: 20px;
    color: #01263E;
    margin-bottom: 10px;
}

#sfc-gdpr-modal p {
    font-size: 14px;
    color: #333;
    margin-bottom: 20px;
}

.sfc-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-top: 1px solid #eee;
    font-size: 14px;
    color: #1f2937;
}

.sfc-toggle:first-of-type {
    border-top: none;
}

.sfc-toggle input[type="checkbox"]{
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
  
    /* ВИНАГИ видим бордер */
    border: 2px solid lightgray !important;
    border-radius: 4px;
  
    /* Не-чекнато: бял фон */
    background: #fff;
  
    cursor: pointer;
    display: inline-grid;
    place-content: center;
  }
  
  /* бялата отметка (скрита докато не е чекнато) */
  .sfc-toggle input[type="checkbox"]::before{
    content: "";
    width: 10px;
    height: 10px;
  
    transform: scale(0);
    transition: transform .12s ease-in-out;
  
    background: #fff;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 10'%3E%3Cpath fill='black' d='M4.2 7.6 1.4 4.8 0 6.2 4.2 10.4 12 2.6 10.6 1.2z'/%3E%3C/svg%3E") no-repeat center / contain;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 10'%3E%3Cpath fill='black' d='M4.2 7.6 1.4 4.8 0 6.2 4.2 10.4 12 2.6 10.6 1.2z'/%3E%3C/svg%3E") no-repeat center / contain;
  }
  
  /* чекнато: оранжев фон + бяла отметка */
  .sfc-toggle input[type="checkbox"]:checked{
    background: #A63F1B;
    border-color: #A63F1B !important;
  }
  
  .sfc-toggle input[type="checkbox"]:checked::before{
    transform: scale(1);
  }
  

#sfc-gdpr-buttons {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

#sfc-gdpr-buttons button {
    flex: 1;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 14px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

#sfc-accept-all {
    background: #A63F1B;
    color: white;
}

#sfc-accept-all:hover {
    background: #8E3414;
}

#sfc-save-preferences {
    background: #f5f5f5;
    color: #333;
}

#sfc-save-preferences:hover {
    background: #eaeaea;
}

#sfc-gdpr-modal a {
    display: inline-block;
    margin-top: 16px;
    font-size: 13px;
    color: #01263E;
    font-weight: 700;
    text-decoration: none;
}

#sfc-gdpr-modal a:hover {
    text-decoration: underline;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
