/*
Theme Name:     Pablo RideShare
Theme URI:      https://pablo-guides.com
Author:         Pablo Rotem
Author URI:     https://pablo-guides.com
Description:    תבנית שיתוף נסיעות עם RTL ותמיכה ב-WooCommerce
Version:        1.0.1
Text Domain:    pablo-rideshare
Domain Path:    /languages
Requires PHP:   8.3
Tags:           RTL, Carpool, WooCommerce
*/

body { direction: rtl; font-family: Arial, sans-serif; }
h1, h2, h3, h4, h5, h6 { font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; }
/* Select2 – גובה קבוע, טקסט ממורכז, RTL */
/* פס-מסננים אופקי מודרני */
#filter-bar{
	display:flex;justify-content:center;flex-wrap:wrap;gap:12px;margin-bottom:20px
}
.filter-field{
	height:38px;padding:4px 10px;border:1px solid #8c8f94;border-radius:6px;
	font-size:15px;text-align:center;min-width:150px
}
.ui-autocomplete{
	max-height:260px;overflow-y:auto;overflow-x:hidden;
	border-radius:6px;border:1px solid #8c8f94;background:#fff
}
.ui-state-hover{background:#2271b1!important;color:#fff!important;cursor:pointer}
/* --- HERO ------------------------------------------------- */
.rs-hero{
	background:linear-gradient(140deg,#111 0%,#333 100%) url(/assets/img/ride-bg.jpg) center/cover no-repeat;
	color:#fff;text-align:center;direction:rtl
}
.rs-inner{padding:120px 20px;max-width:720px;margin:auto}
.rs-headline{font-size:46px;font-weight:700;margin:0 0 20px}
.rs-sub{font-size:20px;margin:0 0 34px}

/* כפתורים גדולים ומעוגלים יותר */
.rs-btn,
.rs-btn--primary,
.rs-btn--ghost {
    background-color: #28a745 !important; /* ירוק */
    color: #ffffff !important;            /* לבן */
    border: none !important;
    padding: 16px 36px !important;        /* גובה + רוחב פנימי גדולים יותר */
    font-size: 18px !important;           /* גודל כתב גדול יותר */
    border-radius: 12px !important;       /* עיגול קל בפינות */
    transition: none !important;
}

/* --- FEATURES --------------------------------------------- */
.rs-features{padding:80px 20px;background:#f9f9f9}
.rs-wrap{display:flex;justify-content:center;gap:40px;flex-wrap:wrap;max-width:1024px;margin:auto}
.rs-feature{text-align:center;max-width:300px}
.rs-feature img{width:64px;margin-bottom:14px}
.rs-feature h3{font-size:22px;margin:0 0 10px;font-weight:700;color:#111}
.rs-feature p{font-size:15px;color:#444;margin:0}
/**
 * rides.css
 *
 * Styles for rides templates.
 */
.rides-container { padding: 20px; }
.filter-group select { margin: 0 5px 15px 0; padding: 6px; font-size: 16px; }
#rides-table table { width:100%; border-collapse: collapse; }
#rides-table th, #rides-table td { border:1px solid #ccc; padding:10px; text-align:right; font-size: 16px; }
.ride-row.taken { background: #fdd; }
.single-ride { max-width: 800px; margin: 20px auto; }
.ride-details p { margin: 8px 0; font-size: 16px; }
.driver-profile { border:1px solid #ddd; padding:10px; margin-bottom:20px; }
#chat-box { border:1px solid #ccc; padding:10px; }
#messages { max-height:200px; overflow-y:auto; margin-bottom:10px; }
#chat-input { width:100%; padding:10px; font-size:16px; }
button { background:#0073aa; color:#fff; border:none; padding:10px 16px; cursor:pointer; font-size:16px; border-radius:6px; }
button:hover { background:#005177; }

/* Registration form styling */
.rs-register-form label { display: block; margin-bottom: 8px; font-size: 16px; color: #333; }
.rs-register-form input[type="text"],
.rs-register-form input[type="email"],
.rs-register-form input[type="password"] {
    width: 100%;
    padding: 12px 14px;
    margin-bottom: 16px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 16px;
    color: #333;
}
.rs-register-form button {
    width: 100%;
    padding: 14px;
    font-size: 16px;
    background-color: #28a745;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}
.rs-register-form button:hover {
    background-color: #218838;
}
/* הורדת השקיפות וצבע ירוק לכותרת הראשית */
.rs-headline {
    color: #28a745 !important;  /* ירוק בהיר */
    opacity: 1 !important;      /* ביטול כל שקיפות */
}
