/*
Theme Name: Twenty Twenty Child (PD Truck Rental)
Template: twentytwenty
Description: Custom PD Truck Rental templates, styles and scripts moved out of the parent theme so theme updates do not overwrite them.
Version: 1.0.0
*/
.text-white h2 { color: #fff !important; }
.hide { display: none !important; }

/* Start fleet page seperate css */
#fleetp-container {
    padding:20px 120px;
    max-width:1500px;
    margin:auto;
    margin-top:100px;
}

/* Fleet Page Header Section */
.fleetp-title {
    font-size: 34px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 10px;
    color: #1e293b;
    letter-spacing: -0.5px;
}

.fleetp-desc {
    max-width: 720px;
    margin: 0 auto 45px auto;
    text-align: center;
    font-size: 16px;
    line-height: 1.6;
    color: #64748b;
}

/* Optional subtle divider */
/*.fleetp-desc::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background: #0073aa;
    margin: 20px auto 0;
    border-radius: 3px;
}*/

/* =========================
   GRID - 4 COLUMNS
========================= */

.fleetp-grid {
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:20px;
}

@media(max-width:1200px){
    .fleetp-grid { grid-template-columns:repeat(3,1fr); }
}
@media(max-width:900px){
    .fleetp-grid { grid-template-columns:repeat(2,1fr); }
}
@media(max-width:600px){
    .fleetp-grid { grid-template-columns:1fr; }
}

/* Mobile */
@media (max-width: 767px) {
    #fleetp-container { padding: 20px 20px; margin-top: 80px; }
}

/* Tablet */
@media (min-width: 768px) and (max-width: 1024px) {
    #fleetp-container { padding: 20px 40px; margin-top: 80px; }
}

/* =========================
   CARD DESIGN (MODERN)
========================= */

.fleetp-card {
    background:#fff;
    border-radius:14px;
    overflow:hidden;
    box-shadow:0 4px 14px rgba(0,0,0,0.06);
    transition:all 0.3s ease;
    opacity:0;
    transform:translateY(15px);
    animation:fleetpFadeIn 0.5s forwards;
}

.fleetp-card:hover {
    transform:translateY(-6px);
    box-shadow:0 10px 25px rgba(0,0,0,0.12);
}

/* Image */

.fleetp-image-wrapper {
    position:relative;
    height:180px;
    overflow:hidden;
}

.fleetp-image {
    width:100%;
    height:100%;
    object-fit:cover;
    transition:transform 0.4s ease;
}

.fleetp-card:hover .fleetp-image {
    transform:scale(1.07);
}

/* Status Badge On Image */

.fleetp-badge {
    position:absolute;
    top:12px;
    right:12px;
    padding:6px 12px;
    border-radius:30px;
    font-size:11px;
    font-weight:600;
    letter-spacing:0.5px;
}

.fleetp-available {
    background:#1db954;
    color:#fff;
}

.fleetp-unavailable {
    background:#e53935;
    color:#fff;
}

.fleetp-maintenance {
    background-color: #FFA500;
    color: #fff;
}

/* Card Content */

.fleetp-content {
    padding:18px;
}

.fleetp-truck-title {
    font-size:16px;
    font-weight:700;
    margin-bottom:8px;
}

.fleetp-location {
    font-size:13px;
    color:#777;
    margin-bottom:15px;
}

/* Price Box */

.fleetp-price-box {
    display:flex;
    justify-content:space-between;
    background:#f3f6fa;
    padding:10px 12px;
    border-radius:8px;
    margin-bottom:12px;
}

.fleetp-price {
    font-size:14px;
    font-weight:600;
}

/* Footer Row */

.fleetp-footer {
    display:flex;
    justify-content:space-between;
    align-items:center;
    font-size:12px;
    color:#666;
}

/* Pagination */

.fleetp-pagination {
    text-align:center;
    margin-top:60px;
}

.fleetp-pagination a,
.fleetp-pagination span {
    display:inline-block;
    margin:0 4px;
    padding:8px 14px;
    border-radius:6px;
    background:#e9edf3;
    text-decoration:none;
    color:#333;
    font-size:13px;
    transition:0.2s;
}

.fleetp-pagination a:hover {
    background:#0073aa;
    color:#fff;
}

.fleetp-pagination .current {
    background:#0073aa;
    color:#fff;
}

/* No trucks found section */
.fleetp-no-trucks {
    text-align: center;
    padding: 60px 20px;
    background: #f5f7fb;
    border-radius: 14px;
    max-width: 600px;
    margin: 80px auto;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

.fleetp-no-trucks{
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    text-align:center;
    padding:80px 20px;
    margin:60px auto;
    max-width:520px;
    background:#ffffff;
    border-radius:16px;
    box-shadow:0 10px 35px rgba(0,0,0,0.05);
}

.fleetp-no-trucks-img{
    width:120px;
    height:auto;
    margin-bottom:25px;
    opacity:0.8;
}

.fleetp-no-trucks h3{
    font-size:26px;
    font-weight:700;
    margin-bottom:12px;
    color:#1e293b;
}

.fleetp-no-trucks p{
    font-size:16px;
    color:#64748b;
    margin-bottom:25px;
    line-height:1.6;
}

.fleetp-no-trucks p a{
    color:#0073aa;
    font-weight:600;
    text-decoration:none;
}

.fleetp-no-trucks p a:hover{
    text-decoration:underline;
}

.fleetp-btn{
    display:inline-block;
    background:#0073aa;
    color:#fff;
    padding:12px 28px;
    border-radius:8px;
    font-weight:600;
    text-decoration:none;
    transition:all .25s ease;
}

.fleetp-btn:hover{
    background:#005f8a;
    transform:translateY(-2px);
}

/* Animation */

@keyframes fleetpFadeIn {
    to {
        opacity:1;
        transform:translateY(0);
    }
}
/* End fleet page seperate css */

.fleetp-lgrg-btn{
    padding: 5px 20px;
    min-height: 56px;
    border-radius: 120px;
    margin-bottom: 5px;
    transition: all .5s ease;
    box-shadow: 5px 5px 10px 2px #0000001a !important;
    margin-inline: auto;
    color: #000;
    text-decoration: navajowhite;
    margin: 0 16px;
    border: 1px solid #000;
}

.fleetp-lgrg-btn:hover{
    border: 2px solid #000;
    max-width: 100%;
    transition: all .5s ease;
}

.fleetp-filters{
margin:40px auto;
max-width:900px;
}

.fleetp-filter-group{
display:flex;
gap:20px;
align-items:flex-end;
justify-content:center;
flex-wrap:wrap;
background:#ffffff;
padding:25px;
border-radius:12px;
box-shadow:0 6px 20px rgba(0,0,0,0.05);
}

.fleetp-filter-field{
display:flex;
flex-direction:column;
min-width:200px;
}

.fleetp-filter-field label{
font-size:14px;
font-weight:600;
margin-bottom:6px;
color:#555;
}

.fleetp-filter-field select{
padding:12px 14px;
border-radius:8px;
border:1px solid #ddd;
font-size:14px;
background:#f9fafc;
transition:all .2s ease;
}

.fleetp-filter-field select:focus{
border-color:#0073ff;
outline:none;
background:#fff;
}

.fleetp-filter-btn{
padding:12px 28px;
background:#0073ff;
color:#fff;
border:none;
border-radius:8px;
font-weight:600;
cursor:pointer;
transition:all .25s ease;
}

.fleetp-filter-btn:hover{
background:#005ad1;
transform:translateY(-1px);
}

.fleetp-reset-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:8px 26px;
    background:#f1f3f7;
    color:#444;
    border-radius:8px;
    font-weight:600;
    text-decoration:none;
    transition:all .25s ease;
    border:1px solid #ddd;
}

.fleetp-reset-btn:hover{
    background:#e5e9f2;
    color:#000;
    transform:translateY(-1px);
}

/* Table Row Layout */
.fleetp-table-row{
display:grid;
grid-template-columns:140px 1fr 180px;
align-items:center;
padding:14px 18px;
border-top:1px solid #e5e7eb;
}

/* Column Styling */
.fleetp-table-col{
font-size:14px;
}

/* Model Column */
.fleetp-col-model{
font-weight:600;
color:#0f172a;
}

/* Location Column */
.fleetp-col-location{
color:#64748b;
}

/* Status */
.fleetp-col-status{
font-weight:700;
text-transform:uppercase;
font-size:13px;
}

/* Status Colors */
.fleetp-status-available{
color:#16a34a;
}

.fleetp-status-maintenance{
color:#f59e0b;
}

.fleetp-status-unavailable{
color:#ef4444;
}

/* Container */
.fleetp-table-container{
width:100%;
margin-top:20px;
text-align: center;
}

/* Header */
.fleetp-table-header{
display:grid;
grid-template-columns:1fr 1fr 1fr;
background:#f1f5f9;
padding:14px 18px;
font-weight:700;
border-radius:8px;
}

/* Body */
.fleetp-table-body{
margin-top:5px;
}

/* Row */
.fleetp-table-row{
display:grid;
grid-template-columns:1fr 1fr 1fr;
padding:16px 18px;
border-bottom:1px solid #e5e7eb;
align-items:center;
transition:0.25s;
}

.fleetp-table-row:hover{
background:#f8fafc;
}

/* Columns */
.fleetp-table-col{
font-size:15px;
}

.fleetp-col-model{
font-weight:600;
color:#0f172a;
}

.fleetp-col-location{
color:#64748b;
}

/* Status Colors */
.fleetp-status-available{
color:#16a34a;
font-weight:700;
}

.fleetp-status-maintenance{
color:#f59e0b;
font-weight:700;
}

.fleetp-status-unavailable{
color:#ef4444;
font-weight:700;
}

/* No Trucks Section */
.fleetp-no-trucks{
text-align:center;
padding:80px 20px;
}

.fleetp-no-trucks-img{
width:120px;
margin-bottom:20px;
opacity:.8;
}

.fleetp-no-trucks-title{
font-size:24px;
margin-bottom:10px;
}

.fleetp-no-trucks-text{
color:#64748b;
margin-bottom:20px;
}

.fleetp-view-btn{
background:#0073aa;
color:#fff;
padding:12px 24px;
border-radius:8px;
text-decoration:none;
}

.fleetp-login-bar{
    display: block ruby;
    align-items:center;
    justify-content:space-between;
    gap:20px;
    margin-bottom:30px;
    flex-wrap:wrap;
    text-align: center;
}

.fleetp-desc{
    margin:0;
    font-size:16px;
    color:#334155;

}

.fleetp-auth-btn{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 5px 20px;
    min-height: 56px;
    border-radius: 120px;
    margin-bottom: 5px;
    box-shadow: 5px 5px 10px 2px #0000001a !important;
    border: .5px solid #000;
    margin-left: 20px;
    color: #000;
    text-decoration: none;
    font-weight: 600;
}

.stores_container .elementor-element {
    text-align: center !important;
}


@media (max-width: 767px) {
    a.fleetp-auth-btn {
        margin-top: 16px !important;
        display: flex;
        justify-content: center;
    }

    .fleetp-login-bar {
        display: block !important;
        text-align: center !important;
    }
}

/* Default Button Style */
.elementor-234 .elementor-element.elementor-element-7eafebf5 .plus-navigation-menu .navbar-nav > .btn-vehicles a {
    border-radius: 40px !important;
    line-height: 1 !important;
    padding: 10px 15px 9px !important;
    text-decoration: none !important;
    border: 2px solid #000;
    color: #000 !important;
}

.elementor-234 .elementor-element.elementor-element-7eafebf5 .plus-navigation-menu .navbar-nav > .btn-vehicles.active a {
    border-radius: 40px !important;
    line-height: 1 !important;
    padding: 10px 15px 9px !important;
    text-decoration: none !important;
    border: 2px solid #5739bd;
    color: #5739bd !important;
}

.elementor-234 .elementor-element.elementor-element-7eafebf5 .plus-navigation-menu .navbar-nav > .btn-vehicles a:hover {
    border-radius: 40px !important;
    line-height: 1 !important;
    padding: 10px 15px 9px !important;
    text-decoration: none !important;
    border: 2px solid #5739bd;
    color: #5739bd !important;
}

.home .elementor-234 .elementor-element.elementor-element-7eafebf5 .plus-navigation-menu .navbar-nav > .btn-vehicles a {
    border-radius: 40px !important;
    line-height: 1 !important;
    padding: 10px 15px 9px !important;
    text-decoration: none !important;
    border: 2px solid #fff!important;
    color: #fff!important;
}

/* Remove Before Background */
.elementor-234 .elementor-element.elementor-element-7eafebf5 .plus-navigation-menu .navbar-nav > .btn-vehicles a::before {
    background: unset !important;
}

/* Sticky Header Style */
header.sticky .elementor-234 .elementor-element.elementor-element-7eafebf5 
.plus-navigation-menu .navbar-nav > .btn-vehicles a {
    border: 2px solid #000 !important;
    color: #000 !important;
}

.home.page-template-home header:not(.sticky) .cs-main-menu #menu-main-menu > li.btn-vehicles > a:hover {
    background: #fff !important;
    color: #5739bd !important;
    text-decoration: none !important;
}

header.sticky .elementor-234 .elementor-element.elementor-element-7eafebf5 
.plus-navigation-menu .navbar-nav > .btn-vehicles a:hover {
    color: #5739bd !important;
    border: 2px solid #5739bd !important;
}