.alcala-dpo-wrap {
    width: min(100%, 900px);
    margin: 0 auto;
    color: #555;
    font-family: Arial, sans-serif;
    line-height: 1.55;
    scroll-margin-top: 120px;
}

.alcala-dpo-badge {
    display: inline-flex;
    margin-bottom: 12px;
    padding: 4px 14px;
    border-radius: 18px;
    background: #e4efff;
    color: #2454a4;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .7px;
}

.alcala-dpo-wrap h2 {
    margin: 0 0 6px;
    color: #111;
    font-size: clamp(25px, 3vw, 34px);
    line-height: 1.2;
}

.alcala-dpo-intro {
    max-width: 780px;
    margin: 0 0 30px;
    color: #666;
    font-size: 16px;
}

.alcala-dpo-section {
    padding: 0 0 26px;
    border-bottom: 1px solid #e5e5e5;
}

.alcala-dpo-section + .alcala-dpo-section {
    padding-top: 26px;
}

.alcala-dpo-section h3 {
    margin: 0 0 18px;
    color: #888;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 1.1px;
}

.alcala-dpo-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 22px;
}

.alcala-dpo-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.alcala-dpo-field label,
.alcala-dpo-options legend {
    color: #555;
    font-size: 14px;
    font-weight: 700;
}

.alcala-dpo-field input,
.alcala-dpo-field textarea,
.alcala-dpo-other input {
    width: 100%;
    min-height: 44px;
    padding: 10px 13px;
    border: 1px solid #cfcfcf;
    border-radius: 8px;
    background: #fbfbfb;
    box-sizing: border-box;
    color: #333;
    font: inherit;
}

.alcala-dpo-field textarea {
    min-height: 125px;
    resize: vertical;
}

.alcala-dpo-field input:focus,
.alcala-dpo-field textarea:focus,
.alcala-dpo-other input:focus {
    border-color: #2454a4;
    outline: 0;
    box-shadow: 0 0 0 2px rgba(36, 84, 164, .13);
}

.alcala-dpo-options {
    margin: 18px 0 0;
    padding: 0;
    border: 0;
}

.alcala-dpo-options legend {
    margin-bottom: 8px;
}

.alcala-dpo-options legend small {
    color: #999;
    font-size: 13px;
    font-weight: 400;
}

.alcala-dpo-checkbox-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 20px;
    padding: 16px;
    border: 1px solid #cfcfcf;
    border-radius: 8px;
    background: #fbfbfb;
}

.alcala-dpo-links {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.alcala-dpo-checkbox-grid label {
    display: flex;
    align-items: flex-start;
    gap: 7px;
    color: #777;
    font-size: 14px;
    cursor: pointer;
}

.alcala-dpo-checkbox-grid input {
    flex: 0 0 auto;
    width: 16px;
    height: 16px;
    margin-top: 3px;
}

.alcala-dpo-other {
    margin-top: 12px;
}

.alcala-dpo-other label {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    font-weight: 700;
}

.alcala-dpo-description {
    margin-top: 18px;
}

.alcala-dpo-info {
    margin: 26px 0 20px;
    padding: 20px;
    border-radius: 9px;
    background: #f3f3f3;
    color: #555;
    font-size: 14px;
}

.alcala-dpo-info strong {
    color: #222;
}

.alcala-dpo-info p {
    margin: 6px 0 0;
}

.alcala-dpo-info a {
    color: #222;
    font-weight: 700;
}

.alcala-dpo-consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #666;
    font-size: 14px;
}

.alcala-dpo-consent input {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    margin-top: 3px;
}

.alcala-dpo-submit-row {
    display: flex;
    align-items: center;
    gap: 22px;
    margin-top: 24px;
}

.alcala-dpo-submit-row button {
    min-width: 200px;
    min-height: 46px;
    padding: 11px 24px;
    border: 0;
    border-radius: 7px;
    background: #111;
    color: #fff;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
}

.alcala-dpo-submit-row button:hover {
    background: #2454a4;
}

.alcala-dpo-submit-row span {
    color: #999;
    font-size: 13px;
}

.alcala-dpo-footer {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #ddd;
    color: #aaa;
    text-align: center;
    font-size: 12px;
}

.alcala-dpo-footer span {
    padding: 0 7px;
}

.alcala-dpo-footer small {
    display: block;
    margin-top: 4px;
    font-size: 11px;
}

.alcala-dpo-message {
    margin-bottom: 20px;
    padding: 12px 15px;
    border: 1px solid #d63638;
    border-radius: 7px;
    background: #fff3f3;
    color: #9b1c1c;
}

.alcala-dpo-invalid {
    border-color: #d63638 !important;
    box-shadow: 0 0 0 2px rgba(214, 54, 56, .12) !important;
}

.alcala-dpo-honeypot {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

@media (max-width: 767px) {
    .alcala-dpo-grid {
        grid-template-columns: 1fr;
    }

    .alcala-dpo-checkbox-grid,
    .alcala-dpo-links {
        grid-template-columns: 1fr;
    }

    .alcala-dpo-submit-row {
        align-items: stretch;
        flex-direction: column;
        gap: 10px;
    }

    .alcala-dpo-submit-row button {
        width: 100%;
    }

    .alcala-dpo-footer span {
        display: none;
    }

    .alcala-dpo-footer {
        line-height: 1.7;
    }
}
