.elementor-591 .elementor-element.elementor-element-cec9c58{--display:flex;}/* Start custom CSS for shortcode, class: .elementor-element-fec4a15 *//* --- Global Form Container Styles --- */
.personalized-rug-form-container {
    max-width: 800px; /* Adjust as needed */
    margin: 40px auto;
    padding: 40px;
    background-color: #f7f7f7; /* Light gray background like the image */
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.05); /* Subtle shadow for depth */
    border-radius: 5px;
    font-family: Arial, sans-serif;
}

/* --- Heading Style --- */
.personalized-rug-form-container h2 {
    font-weight: 500;
    font-size: 24px;
    color: #333;
    margin-bottom: 30px;
    text-align: left;
}

/* --- Field Group Layout (Flexbox for two columns) --- */
.personalized-rug-form-container form {
    display: flex;
    flex-wrap: wrap;
    gap: 20px; /* Space between rows and columns */
}

.form-row {
    display: flex;
    flex-direction: column;
}

.form-row.full-width {
    width: 100%;
}

.form-row.half-width {
    width: calc(50% - 10px); /* 50% minus half the gap */
}

/* --- Label Styles --- */
.form-row label {
    font-size: 14px;
    font-weight: 500;
    color: #444;
    margin-bottom: 5px;
}

/* --- Input, Textarea, and Select Styles (Targeting CF7 classes) --- */
.form-row input[type="text"],
.form-row input[type="email"],
.form-row input[type="tel"],
.form-row .wpcf7-textarea-style, /* Targeting the textarea class */
.form-row .wpcf7-select-style {   /* Targeting the select class */
    width: 100%;
    padding: 15px;
    background-color: #eee; /* Light gray background for fields */
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    color: #444;
    box-sizing: border-box;
}

/* Specific Placeholder text color (light gray/subtle) */
.form-row input::placeholder,
.form-row textarea::placeholder {
    color: #aaa;
}

/* Custom styling for the email icon placement */
.email-row {
    position: relative; /* Needed to position the icon */
}
.email-row input[type="email"] {
    padding-right: 40px !important; /* Make space for the icon */
}
.email-icon {
    position: absolute;
    top: 50%; /* Center vertically within the wrapper */
    right: 15px;
    transform: translateY(-5px); /* Fine-tune vertical position */
    color: #888;
    font-size: 20px;
}

/* Dropdown Arrow/Style */
.wpcf7-select-style {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    padding-right: 35px; /* Space for a custom arrow if desired */
}

/* --- Upload Box Styles --- */
.upload-container {
    margin-top: 10px;
}

.upload-box {
    border: 2px dashed #ccc;
    border-radius: 8px;
    padding: 40px 20px;
    text-align: center;
    background-color: #fff; /* White background inside the dashed border */
    position: relative; /* Needed for positioning the file input */
}

.upload-box p {
    margin: 5px 0;
    color: #666;
    font-size: 15px;
}

.upload-box .supported-formats {
    font-size: 12px;
    color: #888;
    margin-bottom: 20px;
}

/* Style the CF7 file input button */
.upload-box .wpcf7-file {
    background-color: #fff;
    color: #333;
    border: 1px solid #ccc;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 500;
    display: inline-block; /* Make the button itself visible and stylable */
    width: auto;
}

/* --- Submit Button Styles --- */
.submit-button {
    background-color: #000 !important;
    color: #fff !important;
    border: none !important;
    padding: 12px 30px !important;
    border-radius: 5px !important;
    font-size: 16px !important;
    cursor: pointer;
    margin-top: 10px;
    font-weight: 600 !important;
    transition: background-color 0.3s;
    width: auto !important; /* Ensure it's not full width */
}

.submit-button:hover {
    background-color: #333 !important;
}

/* --- Responsive Adjustments --- */
@media (max-width: 600px) {
    .form-row.half-width {
        width: 100%;
    }
    .personalized-rug-form-container {
        padding: 20px;
    }
}/* End custom CSS */