/* Digi4you Contact Pro V3 - Premium Styling */

.d4y-form-container {
    max-width: 600px;
    margin: 2rem auto;
    padding: 2.5rem;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.d4y-field {
    margin-bottom: 1.5rem;
}

.d4y-field label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #2c3e50;
    font-size: 0.95rem;
}

.d4y-field input,
.d4y-field textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 2px solid #edf2f7;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.d4y-field input:focus,
.d4y-field textarea:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.d4y-radio-group {
    display: flex;
    gap: 20px;
    margin-top: 5px;
}

.d4y-radio-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    cursor: pointer;
    font-size: 0.9rem;
    color: #4a5568;
}

.d4y-radio-group input[type="radio"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #2563eb;
}

.d4y-privacy-check {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 1.5rem;
}

.d4y-privacy-check input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 3px;
    cursor: pointer;
}

.d4y-privacy-check label {
    font-size: 0.85rem;
    color: #4a5568;
    line-height: 1.5;
}

.d4y-privacy-check a {
    color: #2563eb;
    text-decoration: underline;
    font-weight: 500;
}

#d4y-btn {
    width: 100%;
    padding: 1rem;
    background: #2563eb;
    border: none;
    border-radius: 10px;
    color: white;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

#d4y-btn:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 99, 235, 0.2);
}

#d4y-btn:disabled {
    background: #cbd5e0;
    cursor: not-allowed;
    transform: none;
}

#d4y-msg {
    margin-top: 1.5rem;
    padding: 1rem;
    border-radius: 8px;
    font-weight: 500;
    display: none;
    text-align: center;
}

#d4y-msg.success {
    background: #f0fff4;
    color: #285e3e;
    border: 1px solid #c6f6d5;
}

#d4y-msg.error {
    background: #fff5f5;
    color: #9b2c2c;
    border: 1px solid #fed7d7;
}

.cf-turnstile {
    margin-bottom: 1.5rem;
}