/* Container with a subtle shadow for a card-like app feel */
.kpsf-form-container {
    max-width: 550px;
    margin: 20px auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: #2d3436;
    background: #ffffff;
    padding: 25px;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

/* Sections for Pickup and Destination */
.kpsf-form-container hr {
    border: 0;
    height: 1px;
    background: #eee;
    margin: 30px 0;
}

/* Labels with a clean, professional look */
label {
    font-size: 14px;
    font-weight: 700;
    color: #636e72;
    margin-bottom: 8px;
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Inputs with better mobile touch height and soft borders */
.kpsf-input {
    width: 100%;
    padding: 14px 16px;
    margin-bottom: 24px;
    border: 1px solid #dfe6e9;
    background: #f9f9f9;
    font-size: 16px; /* Prevents iOS auto-zoom on focus */
    outline: none;
    border-radius: 10px;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.kpsf-input:focus {
    border-color: #FFCC00;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(255, 204, 0, 0.15);
}

/* Textarea height adjustment */
textarea.kpsf-input {
    height: 120px;
    resize: none;
}

/* Maps with a modern rounded aesthetic */
.kpsf-map-canvas {
    height: 280px;
    width: 100%;
    border-radius: 12px;
    margin-bottom: 25px;
    border: 1px solid #dfe6e9;
}

/* Radio groups converted to easier touch-selectable blocks */
.kpsf-radio-group {
    background: #f9f9f9;
    padding: 10px;
    border-radius: 12px;
    margin-bottom: 25px;
}

.kpsf-radio-group label {
    font-weight: 500;
    padding: 12px;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 8px;
    border: 1px solid #eee;
    text-transform: none;
    letter-spacing: normal;
    color: #2d3436;
    cursor: pointer;
}

.kpsf-radio-group input[type="radio"] {
    margin-right: 12px;
    transform: scale(1.2);
    accent-color: #FFCC00;
}

/* Submit Button with hover and active states */
.kpsf-submit-btn {
    width: 100%;
    background: #FFCC00;
    color: #000;
    padding: 18px;
    border: none;
    border-radius: 12px;
    font-weight: 800;
    cursor: pointer;
    font-size: 18px;
    text-transform: uppercase;
    transition: transform 0.2s ease, background 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 204, 0, 0.3);
}

.kpsf-submit-btn:hover {
    background: #e6b800;
    transform: translateY(-2px);
}

.kpsf-submit-btn:active {
    transform: translateY(0);
}

/* Success message styling */
.kpsf-success {
    background: #fff;
    border-radius: 16px;
    padding: 40px 20px;
    text-align: center;
    border: 2px solid #FFCC00;
}

/* Responsive tweaks */
@media screen and (max-width: 480px) {
    .kpsf-form-container {
        margin: 10px;
        padding: 15px;
        border-radius: 0; /* Optional: full width look on tiny screens */
        box-shadow: none;
    }
    .kpsf-submit-btn {
        padding: 16px;
        font-size: 16px;
    }
}