/* ================================
   VRS Modern Contact Form CSS
   ================================ */

:root {
    --vrs-purple: #3c1f4b;
    --vrs-magenta: #9b1748;
    --vrs-red: #c4003f;
    --vrs-dark: #111827;
    --vrs-text: #374151;
    --vrs-muted: #6b7280;
    --vrs-border: #d1d5db;
    --vrs-soft-bg: #f9fafb;
}

/* Contact Form Wrapper */
.custom-contact-form-wrapper-eddabe7b {
    max-width: 760px;
    margin: 0 auto;
    font-family: inherit;
    background: #ffffff;
    padding: 42px;
    border-radius: 24px;
    border: 1px solid rgba(17, 24, 39, 0.08);
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.10);
}

/* Form Title */
.custom-contact-form-wrapper-eddabe7b h2 {
    margin-top: 0;
    margin-bottom: 30px;
    font-size: 32px;
    line-height: 1.2;
    font-weight: 800;
    color: var(--vrs-dark);
    letter-spacing: -0.035em;
}

/* Row Layout */
.custom-contact-form-eddabe7b .form-row-eddabe7b {
    display: flex;
    gap: 18px;
    width: 100%;
}

/* Half Width Columns */
.custom-contact-form-eddabe7b .half-width-eddabe7b {
    flex: 1;
    min-width: 0;
}

/* Form Group */
.custom-contact-form-eddabe7b .form-group-eddabe7b {
    margin-bottom: 20px;
}

/* Labels */
.custom-contact-form-eddabe7b label {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
    font-size: 14px;
    color: #1f2937;
}

/* Inputs, Selects, Textarea */
.custom-contact-form-eddabe7b input[type="text"],
.custom-contact-form-eddabe7b input[type="email"],
.custom-contact-form-eddabe7b input[type="tel"],
.custom-contact-form-eddabe7b input[type="number"],
.custom-contact-form-eddabe7b select,
.custom-contact-form-eddabe7b textarea {
    width: 100%;
    min-height: 50px;
    padding: 14px 16px;
    border: 1px solid var(--vrs-border);
    border-radius: 14px;
    box-sizing: border-box;
    font-family: inherit;
    font-size: 15px;
    font-weight: 500;
    color: var(--vrs-dark);
    background: var(--vrs-soft-bg);
    outline: none;
    transition: all 0.25s ease;
}

/* Placeholder */
.custom-contact-form-eddabe7b input::placeholder,
.custom-contact-form-eddabe7b textarea::placeholder {
    color: #9ca3af;
    font-weight: 400;
}

/* Hover State */
.custom-contact-form-eddabe7b input[type="text"]:hover,
.custom-contact-form-eddabe7b input[type="email"]:hover,
.custom-contact-form-eddabe7b input[type="tel"]:hover,
.custom-contact-form-eddabe7b input[type="number"]:hover,
.custom-contact-form-eddabe7b select:hover,
.custom-contact-form-eddabe7b textarea:hover {
    border-color: #b6bcc7;
    background: #ffffff;
}

/* Focus State */
.custom-contact-form-eddabe7b input[type="text"]:focus,
.custom-contact-form-eddabe7b input[type="email"]:focus,
.custom-contact-form-eddabe7b input[type="tel"]:focus,
.custom-contact-form-eddabe7b input[type="number"]:focus,
.custom-contact-form-eddabe7b select:focus,
.custom-contact-form-eddabe7b textarea:focus {
    background: #ffffff;
    border-color: var(--vrs-magenta);
    box-shadow: 0 0 0 4px rgba(155, 23, 72, 0.14);
}

/* Textarea */
.custom-contact-form-eddabe7b textarea {
    min-height: 140px;
    resize: vertical;
    line-height: 1.6;
}

/* Select Styling */
.custom-contact-form-eddabe7b select {
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image:
        linear-gradient(45deg, transparent 50%, #6b7280 50%),
        linear-gradient(135deg, #6b7280 50%, transparent 50%);
    background-position:
        calc(100% - 20px) 21px,
        calc(100% - 14px) 21px;
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
    padding-right: 44px;
}

/* Conditional Sections */
.conditional-group-eddabe7b {
    display: none;
    background: linear-gradient(135deg, #fff8fb 0%, #f9fafb 100%);
    padding: 24px;
    border-radius: 18px;
    border: 1px solid rgba(155, 23, 72, 0.18);
    border-left: 5px solid var(--vrs-magenta);
    margin-bottom: 22px;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.05);
}

/* Conditional Group Fields */
.conditional-group-eddabe7b .form-group-eddabe7b:last-child {
    margin-bottom: 0;
}

/* Error Message */
.error-msg-eddabe7b {
    color: #dc2626;
    font-size: 12px;
    font-weight: 600;
    display: block;
    margin-top: 6px;
}

/* Form Message */
.form-msg-eddabe7b {
    display: inline-block;
    margin-left: 12px;
    font-size: 14px;
    font-weight: 700;
    color: var(--vrs-dark);
}

/* Submit Button */
.custom-contact-form-eddabe7b button[type="submit"] {
    position: relative;
    width: auto;
    min-width: 190px;
    margin-top: 10px;
    background: linear-gradient(
        90deg,
        var(--vrs-purple) 0%,
        var(--vrs-magenta) 55%,
        var(--vrs-red) 100%
    );
    color: #ffffff;
    border: none;
    padding: 15px 30px 15px 60px;
    border-radius: 999px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 0.01em;
    box-shadow: 0 14px 28px rgba(155, 23, 72, 0.28);
    transition: all 0.25s ease;
    overflow: hidden;
}

/* White Arrow Circle */
.custom-contact-form-eddabe7b button[type="submit"]::before {
    content: "→";
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    border-radius: 999px;
    background: #ffffff;
    color: var(--vrs-purple);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 900;
    line-height: 1;
    transition: all 0.25s ease;
}

/* Subtle Shine Effect */
.custom-contact-form-eddabe7b button[type="submit"]::after {
    content: "";
    position: absolute;
    top: 0;
    left: -80%;
    width: 55%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(255, 255, 255, 0.28),
        transparent
    );
    transform: skewX(-20deg);
    transition: all 0.55s ease;
}

/* Submit Hover */
.custom-contact-form-eddabe7b button[type="submit"]:hover {
    transform: translateY(-2px);
    background: linear-gradient(
        90deg,
        #2e173b 0%,
        #8d123f 55%,
        #b30039 100%
    );
    box-shadow: 0 18px 38px rgba(155, 23, 72, 0.36);
}

/* Arrow Hover */
.custom-contact-form-eddabe7b button[type="submit"]:hover::before {
    transform: translateY(-50%) translateX(3px);
}

/* Shine Hover */
.custom-contact-form-eddabe7b button[type="submit"]:hover::after {
    left: 130%;
}

/* Submit Active */
.custom-contact-form-eddabe7b button[type="submit"]:active {
    transform: translateY(0);
    box-shadow: 0 8px 18px rgba(155, 23, 72, 0.24);
}

/* Button Focus Accessibility */
.custom-contact-form-eddabe7b button[type="submit"]:focus {
    outline: none;
    box-shadow:
        0 14px 28px rgba(155, 23, 72, 0.28),
        0 0 0 4px rgba(155, 23, 72, 0.18);
}

/* Mobile Responsive */
@media (max-width: 767px) {
    .custom-contact-form-wrapper-eddabe7b {
        max-width: 100%;
        padding: 28px 20px;
        border-radius: 18px;
        box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
    }

    .custom-contact-form-wrapper-eddabe7b h2 {
        font-size: 25px;
        margin-bottom: 24px;
    }

    .custom-contact-form-eddabe7b .form-row-eddabe7b {
        flex-direction: column;
        gap: 0;
    }

    .custom-contact-form-eddabe7b input[type="text"],
    .custom-contact-form-eddabe7b input[type="email"],
    .custom-contact-form-eddabe7b input[type="tel"],
    .custom-contact-form-eddabe7b input[type="number"],
    .custom-contact-form-eddabe7b select,
    .custom-contact-form-eddabe7b textarea {
        font-size: 16px;
        border-radius: 12px;
    }

    .conditional-group-eddabe7b {
        padding: 20px;
        border-radius: 14px;
    }

    .custom-contact-form-eddabe7b button[type="submit"] {
        width: 100%;
        min-width: unset;
        text-align: center;
        padding: 15px 30px 15px 60px;
    }

    .form-msg-eddabe7b {
        display: block;
        margin-left: 0;
        margin-top: 12px;
    }
}