/* Main Form Wrapper */
.dap-form-wrapper {
    max-width: 700px;
    margin: 0 auto;
    padding: 40px;
    background: #ffffff;
    /* Optional: Add a subtle shadow like a card */
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    border-radius: 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Flex Row for Grid Layout */
.dap-form-wrapper .dap-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

/* Mobile Responsiveness */
@media (max-width: 600px) {
    .dap-form-wrapper .dap-row {
        flex-direction: column;
        gap: 0;
    }
    .dap-form-wrapper {
        padding: 20px;
    }
}

/* The Pill Shape Input Container */
.dap-form-wrapper .dap-field-group {
    display: flex;
    align-items: center;
    width: 100%;
    background: #fff;
    border: 1px solid #ef31e3; /* Color from JSON */
    border-radius: 30px; /* Pill Shape from JSON */
    padding: 5px 20px; /* Padding adjusted */
    margin-bottom: 20px;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

/* Hover/Focus Effect on Container */
.dap-form-wrapper .dap-field-group:focus-within {
    border-color: #0d9488; /* Accent Color */
    box-shadow: 0 0 0 4px rgba(13, 148, 136, 0.1);
}

/* Icons */
.dap-form-wrapper .dap-icon {
    color: #0d9488; /* Accent Color */
    font-size: 20px;
    margin-right: 15px;
    opacity: 0.8;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* The Input Fields (Resetting Default Styles) */
.dap-form-wrapper .dap-input {
    width: 100%;
    border: none !important; /* Remove default border */
    background: transparent !important;
    outline: none !important;
    padding: 10px 0;
    font-size: 15px;
    color: #333;
    box-shadow: none !important;
}

/* Select Field Specific Fixes */
.dap-form-wrapper select.dap-input {
    cursor: pointer;
    -webkit-appearance: none; /* Remove default arrow in some browsers */
}

/* Textarea Specifics */
.dap-form-wrapper .dap-textarea {
    min-height: 100px;
    resize: vertical;
    padding-top: 10px;
}

/* Submit Button */
.dap-form-wrapper .dap-submit-btn {
    width: 100%;
    padding: 15px;
    background-color: #0d9488; /* Accent Color */
    color: white;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    border-radius: 30px; /* Pill Shape */
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s;
    margin-top: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.dap-form-wrapper .dap-submit-btn:hover {
    background-color: #0f766e;
    transform: translateY(-2px);
}

/* Success/Error Message */
#dap-form-message {
    margin-top: 20px;
    text-align: center;
    font-weight: 500;
}