/* Ride Booking Form – style.css */

.rbf-wrap {
    font-family: 'Inter', sans-serif;
    display: flex;
    justify-content: center;
    padding: 40px 16px 32px;
}

.rbf-card {
    background: #ffffff;
    width: 100%;
    max-width: 420px;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.18);
    overflow: hidden;
}

/* Tabs */
.rbf-tabs {
    display: flex;
    background-color: #f1f3f5;
    border-bottom: 1px solid #e1e4e8;
}

.rbf-tab {
    flex: 1;
    padding: 20px;
    text-align: center;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 18px;
    color: #333333;
    cursor: pointer;
    border: none;
    outline: none;
    transition: background 0.3s, color 0.3s;
}

.rbf-tab--on {
    background: #ffffff;
    color: #000000;
}

.rbf-tab--off {
    background: #f1f3f5;
    color: #333333;
}

.rbf-tab--off:hover {
    background: #e9ecef;
}

/* Body */
.rbf-body {
    padding: 24px;
}

/* Input groups */
.rbf-input-group {
    background-color: #f1f3f5;
    display: flex;
    align-items: center;
    padding: 10px 15px;
    border-radius: 8px;
    margin-bottom: 12px;
    border: 1px solid transparent;
    transition: 0.2s;
}

.rbf-input-group:focus-within {
    border-color: #1464b4;
    background-color: #ffffff;
    box-shadow: 0 0 0 2px rgba(20,100,180,0.1);
}

.rbf-icon {
    color: #70757a;
    font-size: 18px;
    width: 25px;
    margin-right: 12px;
    text-align: center;
}

.rbf-input-box {
    flex: 1;
    min-width: 0;
}

.rbf-lbl {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #5f6368;
    text-transform: capitalize;
    margin-bottom: 2px;
    font-family: 'Inter', sans-serif;
}

.rbf-inp {
    width: 100%;
    border: none;
    background: transparent;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 500;
    color: #202124;
    outline: none;
    padding: 2px 0;
    margin: 0;
    box-shadow: none;
}

.rbf-inp::placeholder {
    color: #9aa0a6;
    font-weight: 400;
}

.rbf-inp[type="date"],
.rbf-inp[type="time"] {
    cursor: pointer;
}

.rbf-inp::-webkit-calendar-picker-indicator {
    cursor: pointer;
    opacity: 0.6;
}

/* Note */
.rbf-note {
    text-align: center;
    font-size: 13px;
    color: #5f6368;
    margin: 18px 0;
    font-family: 'Inter', sans-serif;
}

/* Submit button */
.rbf-btn {
    width: 100%;
    background: #1464b4;
    color: #ffffff;
    border: none;
    padding: 16px;
    border-radius: 30px;
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s, transform 0.1s;
}

.rbf-btn:hover {
    background: #0e5296;
}

.rbf-btn:active {
    transform: scale(0.98);
}

.rbf-btn:disabled {
    background: #7fafd9;
    cursor: not-allowed;
    transform: none;
}

/* Message */
.rbf-msg {
    display: none;
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 13px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    text-align: center;
    margin-top: 14px;
}

.rbf-msg--success {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #6ee7b7;
}

.rbf-msg--error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}
