.wpcd-exf-direct-contact-wrapper {
    background: #f0f5fc;
    padding: 30px;
    border-radius: 20px;
    border: 2px solid #0d8b09;
    max-width: 600px;
    margin: 0 auto 30px;
    box-shadow: 0 10px 30px rgba(0, 86, 179, 0.15);
   
}

.wpcd-is-sticky {
    position: -webkit-sticky;
    position: sticky;
    top: 135px; /* Margen superior para el menú fijo si lo hay */
    z-index: 950;
    align-self: flex-start; /* Evita que el contenedor estire el módulo al 100% de la altura */
    height: max-content;
}

.wpcd-contact-header {
    margin-bottom: 25px;
}

.wpcd-contact-pre-title {
    font-size: 13px;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.wpcd-contact-title {
    margin: 0 0 10px 0;
    font-size: 28px;
    font-weight: 800;
    color: #1e293b;
    line-height: 1.2;
    border: none;
    padding: 0;
}

.wpcd-contact-subtitle {
    font-size: 16px;
    color: #475569;
    margin: 0;
}

.wpcd-field-group {
    margin-bottom: 15px;
}

.wpcd-field-group input[type="text"],
.wpcd-field-group input[type="email"],
.wpcd-field-group input[type="number"],
.wpcd-field-group textarea,
.wpcd-field-group select {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 15px;
    color: #1e293b;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.wpcd-field-group input::placeholder,
.wpcd-field-group textarea::placeholder {
    color: #64748b;
}

.wpcd-field-group input:focus,
.wpcd-field-group textarea:focus,
.wpcd-field-group select:focus {
    border-color: #0d6efd;
    outline: none;
    box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.15);
}

.wpcd-select-wrapper {
    position: relative;
}

.wpcd-select-wrapper select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
}

.wpcd-select-wrapper::after {
    content: "";
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231e293b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    pointer-events: none;
}

.wpcd-privacy-box {
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 12px 15px;
    margin-bottom: 15px;
    height: 70px;
    overflow-y: auto;
    font-size: 11px;
    line-height: 1.5;
    color: #475569;
}

.wpcd-privacy-box p {
    margin: 0;
}

.wpcd-privacy-box a {
    color: #0d6efd;
    text-decoration: none;
}

.wpcd-privacy-box::-webkit-scrollbar {
    width: 6px;
}

.wpcd-privacy-box::-webkit-scrollbar-track {
    background: transparent;
}

.wpcd-privacy-box::-webkit-scrollbar-thumb {
    background: #0d8b09;
    border-radius: 10px;
}

.wpcd-comms-group {
    margin-bottom: 25px;
}

.wpcd-checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 14px;
    color: #334155;
    font-weight: 500;
}

.wpcd-custom-checkbox {
    width: 18px !important;
    height: 18px !important;
    margin: 0 10px 0 0 !important;
    appearance: none;
    -webkit-appearance: none;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    background-color: #fff;
    cursor: pointer;
    position: relative;
    padding: 0 !important;
    flex-shrink: 0;
}

.wpcd-custom-checkbox:checked {
    background-color: #0d6efd;
    border-color: #0d6efd;
}

.wpcd-custom-checkbox:checked::after {
    content: "";
    position: absolute;
    left: 5px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.wpcd-form-submit {
    margin-top: 10px;
}

.wpcd-btn-submit {
    background-color: #0d6efd;
    color: #fff;
    border: none;
    padding: 16px 20px;
    font-size: 18px;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 700;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(13, 110, 253, 0.4);
}

.wpcd-btn-submit:hover {
    background-color: #0b5ed7;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(13, 110, 253, 0.5);
}

.wpcd-btn-submit:disabled {
    background-color: #94a3b8;
    box-shadow: none;
    transform: none;
    cursor: not-allowed;
}

.wpcd-form-feedback {
    margin-top: 15px;
    padding: 12px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
}

.wpcd-form-feedback p {
    margin: 0;
}

.wpcd-form-feedback .success {
    color: #166534;
    background-color: #dcfce7;
    border: 1px solid #bbf7d0;
    padding: 12px;
    border-radius: 8px;
}

.wpcd-form-feedback .error {
    color: #991b1b;
    background-color: #fee2e2;
    border: 1px solid #fecaca;
    padding: 12px;
    border-radius: 8px;
}
