/* CSS for Custom Forms Plugin to match site aesthetic */

/* Form Container */
form[id^="custom-form-"] {
    max-width: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background: linear-gradient(135deg, #4B0082, #6A0DAD);
    border: 1px solid #7105ff;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 12px 12px 25px rgba(0, 0, 0, 0.5),
                -6px -6px 12px rgba(255, 255, 255, 0.1);
       transition: transform 0.3s ease;
    position: relative;
    color: #FFFFFF;
}


form[id^="custom-form-"]:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://example.com/leather-texture.png');
    background-blend-mode: overlay;
    opacity: 0.1;
    pointer-events: none;
}

/* Form Fields */
form[id^="custom-form-"] .form-field {
    margin-bottom: 20px;
}

form[id^="custom-form-"] .form-field label {
    color: #FFFFFF;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    display: block;
    margin-bottom: 5px;
}

form[id^="custom-form-"] .form-field input[type="text"],
form[id^="custom-form-"] .form-field input[type="email"],
form[id^="custom-form-"] .form-field input[type="number"],
form[id^="custom-form-"] .form-field textarea,
form[id^="custom-form-"] .form-field input[type="file"] {
    background: rgba(255, 255, 255, 0.1);
    color: #FFFFFF;
    border: 1px solid #FFFFFF;
    border-radius: 5px;
    padding: 10px;
    width: 100%;
    box-sizing: border-box;
}

form[id^="custom-form-"] .form-field input[type="file"] {
    padding: 5px; /* Ajuste para input de archivo */
}

form[id^="custom-form-"] .form-field textarea {
    min-height: 100px;
}

form[id^="custom-form-"] .form-field input::placeholder,
form[id^="custom-form-"] .form-field textarea::placeholder {
    color: #BBBBBB;
    opacity: 1;
}

/* Submit Button */
form[id^="custom-form-"] input[type="submit"] {
    color: #FFFFFF;
    font-weight: bold;
    background: linear-gradient(135deg, #6A0DAD, #4B0082);
    border: 2px solid #FFFFFF;
    border-radius: 8px;
    padding: 10px 20px;
    box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s ease, background 0.2s ease;
    cursor: pointer;
    margin-top: 10px;
}

form[id^="custom-form-"] input[type="submit"]:hover {
    background: #4B0082;
    transform: translateY(-2px) scale(1.05);
}

/* Responsive Design */
@media (max-width: 768px) {
    form[id^="custom-form-"] {
        padding: 15px;
        transform: perspective(800px) rotateX(2deg);
    }

    form[id^="custom-form-"] input[type="submit"] {
        width: 100%;
    }
}

@media (max-width: 600px) {
    form[id^="custom-form-"] {
        padding: 10px;
    }
}