
		/* ===============================
   JOIN RIDE – MODERN BOOKING FORM
   =============================== */


/* Title (optional if you add <h3>) */
#wo-join-ride-form h3 {
    font-size: 22px;
    margin-bottom: 20px;
    font-weight: 700;
    color: #0f172a;
}

/* ===============================
   INPUTS & SELECTS
   =============================== */

#wo-join-ride-form input[type="text"],
#wo-join-ride-form input[type="file"],
#wo-join-ride-form select {
    width: 100%;
    margin-bottom: 0;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    font-size: 15px;
    background: #f9fafb;
    transition: all 0.25s ease;
}

#wo-join-ride-form input::placeholder {
    color: #9ca3af;
}

#wo-join-ride-form input:focus,
#wo-join-ride-form select:focus {
    outline: none;
    border-color: #2563eb;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(37,99,235,0.1);
}

/* ===============================
   FILE INPUT
   =============================== */

#wo-join-ride-form input[type="file"] {
    padding: 2px;
    background: #f1f5f9;
    cursor: pointer;
}

/* ===============================
   MANDATORY CHECKBOX SECTION
   =============================== */
/* ===============================
   SOFT CARD CHECKBOX DESIGN
   =============================== */

.mandatory-things {
    margin: 24px 0;
}

.mandatory-things strong {
    display: block;
    margin-bottom: 10px;
    font-size: 16px;
    font-weight: 600;
    color: #111827;
}

/* Card */
.mandatory-things label {
     display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 14px;
    margin-bottom: -9px;
    border-radius: 18px;
    border: 1.5px solid #e5e7eb;
    background: #ffffff;
    cursor: pointer;
    transition: all 0.25s ease;
    font-size: 14px;
    font-weight: 500;
    color: #374151;
}

/* Hover */
.mandatory-things label:hover {
    border-color: #c7d2fe;
    background: #f9fafb;
}

/* Hide default checkbox */
.mandatory-things input[type="checkbox"] {
-webkit-appearance: none;
    width: 15px;
    height: 15px;
    border: 2px solid #c7d2fe;
    background: #ffffff;
    position: relative;
    flex-shrink: 0;
    margin: 0;
    transition: all 0.2s ease;
}

/* Check icon */
.mandatory-things input[type="checkbox"]::after {
    content: "";
    position: absolute;
    inset: 5px;
    border-radius: 4px;
    background: #2563eb;
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.2s ease;
}

/* Checked checkbox */
.mandatory-things input[type="checkbox"]:checked {
    border-color: #2563eb;
    background: #eef2ff;
}

/* Checked indicator */
.mandatory-things input[type="checkbox"]:checked::after {
    opacity: 1;
    transform: scale(1);
}

/* Checked card */
.mandatory-things label:has(input[type="checkbox"]:checked) {
    border-color: #2563eb;
    background: #f0f5ff;
    color: #1e3a8a;
}

/* ===============================
   SUBMIT BUTTON
   =============================== */

/* ===============================
   JOIN RIDE BUTTON
   =============================== */

.wo-join-btn {
    width: 100%;
    padding: 18px;
    margin-top: 24px;
    border-radius: 18px;
    background: linear-gradient(135deg, #2563eb, #1e40af);
    color: #ffffff;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: 0.3px;
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 14px 35px rgba(37,99,235,0.35);
}

/* Hover */
.wo-join-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 45px rgba(37,99,235,0.45);
}

/* Active (click) */
 .wo-join-btn:active {
    transform: translateY(0);
    box-shadow: 0 10px 25px rgba(37,99,235,0.35);
}

/* Focus (accessibility) */
 .wo-join-btn:focus {
    outline: none;
    box-shadow: 0 0 0 4px rgba(37,99,235,0.25);
}

/* Disabled state (future-proof) */
 .wo-join-btn:disabled {
    background: #c7d2fe;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

								
								
								 .wo-join-btn.loading {
    pointer-events: none;
    opacity: 0.8;
}


/* ===============================
   SUCCESS / INFO MESSAGE
   =============================== */

.wo-already-booked {
    max-width: 720px;
    margin: 30px auto;
    padding: 18px;
    border-radius: 14px;
    background: #ecfdf5;
    color: #047857;
    font-weight: 600;
    text-align: center;
}

/* ===============================
   MOBILE OPTIMIZATION
   =============================== */

@media (max-width: 600px) {
    #wo-join-ride-form {
        padding: 20px;
        margin: 20px;
    }
}
								
								
								
								
								
								/* ===============================
   FORM ROW (2 FIELDS IN 1 ROW)
   =============================== */

.wo-form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

/* If only one field exists, it still looks good */
.wo-form-col {
    width: 100%;
}

/* Mobile fallback */
@media (max-width: 600px) {
    .wo-form-row {
        grid-template-columns: 1fr;
    }
}

/* ===============================
   FILE UPLOAD – MODERN STYLE
   =============================== */

.wo-file-label {
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
    color: #111827;
}

.wo-file-label input[type="file"] {
    padding: 14px;
    border-radius: 14px;
    border: 1.5px dashed #c7d2fe;
    background: #f8fafc;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.25s ease;
}

.wo-file-label input[type="file"]:hover {
    border-color: #2563eb;
    background: #f0f5ff;
}
								
								
								
								#wo-join-ride-form select:not(.dokan-form-control):invalid {
    height: auto;
    opacity: initial;
    position: relative;
    display: flex;
}

