/* Dynamic Styles Generated from Settings */
/* Primary Gradient: linear-gradient(135deg, #2d3436 0%, #000000 100%) */
/* Text Color Mode: light */
/* Primary Color: #667eea */
/* Primary RGB: 102,126,234 */
/* Secondary RGB: 118,75,162 */

:root {
    --primary-gradient: linear-gradient(135deg, #2d3436 0%, #000000 100%);
    --primary-color: #667eea;
    --secondary-color: #764ba2;
    --primary-rgb: 102,126,234;
    --secondary-rgb: 118,75,162;
    --text-color-mode: #ffffff;
    --heading-color-mode: #ffffff;
}

/* Apply gradient to body */
body {
    <!-- background: var(--primary-gradient) !important; -->
}

/* Apply gradient to buttons */
button, .btn, .btn-primary {
    background: var(--primary-gradient) !important;
    color: var(--text-color-mode) !important;
}

/* Apply gradient to sections and cards */
.hero, .hero-section, .booking-section {
    background: var(--primary-gradient);
    color: var(--text-color-mode);
}

/* Apply gradient to headers */
header, .page-header, .booking-header {
    background: var(--primary-gradient) !important;
    color: var(--heading-color-mode) !important;
}

/* Apply gradient to navigation */
nav, .navbar {
    background: var(--primary-gradient);
    color: var(--heading-color-mode);
}

nav a, .navbar a, nav li, .navbar li {
    color: var(--heading-color-mode) !important;
}

nav a:hover, .navbar a:hover {
    color: var(--heading-color-mode) !important;
    opacity: 0.9;
}

.nav-links a, nav-item a {
    color: var(--heading-color-mode) !important;
}

header a {
    color: var(--heading-color-mode) !important;
}

/* Apply gradient to tabs */
.tab {
    background: #f0f0f0 !important;
    color: #666 !important;
    border: none !important;
    padding: 10px 16px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.tab.active {
    background: var(--primary-gradient) !important;
    color: var(--text-color-mode) !important;
}

/* Apply gradient to booking page elements */
.trip-type-btn.active,
.btn-next,
.btn-home {
    background: var(--primary-gradient) !important;
    color: var(--text-color-mode) !important;
}
}

.tab:hover:not(.active) {
    background: #e0e0e0 !important;
    color: #333 !important;
}

/* Apply gradient to links and interactive elements */
a:hover, button:hover {
    filter: brightness(1.1);
}

/* Apply gradient to form elements */
input:focus, textarea:focus, select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

/* Apply gradient to badges and badges */
.badge, .label, .tag {
    background: var(--primary-gradient);
    color: var(--text-color-mode);
}

/* Apply gradient to progress bars */
.progress-bar, .progress {
    background: var(--primary-gradient);
}

/* Apply gradient to alerts and highlights */
.highlight, .featured {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
}

/* Ensure text is readable on gradient backgrounds */
button, .btn, .btn-primary,
header, .page-header,
nav, .navbar,
.hero, .hero-section, .booking-section {
    text-shadow: none;
    font-weight: 500;
}

/* Apply gradient to call-to-action sections */
.cta, .call-to-action, .cta-box {
    background: var(--primary-gradient) !important;
    color: var(--text-color-mode) !important;
}

.cta h3, .call-to-action h3, .cta-box h3 {
    color: var(--text-color-mode) !important;
}

.cta p, .call-to-action p, .cta-box p {
    color: var(--text-color-mode) !important;
}

.cta-btn, .cta-box .cta-btn {
    background: rgba(255, 255, 255, 0.2) !important;
    border: 2px solid var(--text-color-mode) !important;
    color: var(--text-color-mode) !important;
}

.cta-btn:hover, .cta-box .cta-btn:hover {
    background: rgba(255, 255, 255, 0.3) !important;
}

/* Apply gradient to tables */
table, .table {
    width: 100%;
}

.fare-table thead, table thead, .table thead {
    background: var(--primary-gradient) !important;
}

.fare-table thead th, table thead th, .table thead th {
    color: var(--text-color-mode) !important;
    background: var(--primary-gradient) !important;
    font-weight: 600;
    padding: 15px;
    text-align: left;
    border: none;
}

.fare-table tbody tr, table tbody tr, .table tbody tr {
    border-bottom: 1px solid #e9ecef;
}

.fare-table tbody tr:hover, table tbody tr:hover, .table tbody tr:hover {
    background: rgba(102, 126, 234, 0.05);
}

.fare-table td, table td, .table td {
    padding: 12px 15px;
    vertical-align: middle;
}

/* Apply gradient to highlight boxes */
.highlight-box {
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.08) 0%, rgba(var(--secondary-rgb), 0.08) 100%);
    padding: 15px;
    border-radius: 5px;
}

.highlight-box i {
    color: var(--primary-color) !important;
    margin-right: 8px;
}

.highlight-box strong {
    color: var(--primary-color);
    font-weight: 700;
}

/* Apply gradient to taxi cards */
.taxi-card {
    border: 2px solid var(--secondary-color);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.taxi-card:hover {
    border-color: var(--secondary-color);
    box-shadow: 0 8px 24px rgba(var(--secondary-rgb), 0.2);
}

.taxi-card .taxi-icon {
    background: var(--primary-gradient);
    color: var(--text-color-mode);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 10px;
}

.taxi-card .taxi-specs i {
    color: var(--primary-color) !important;
    margin-right: 8px;
}

.taxi-card .taxi-price {
    color: var(--secondary-color) !important;
    font-weight: 700;
}

.taxi-card .taxi-details h3 {
    color: var(--primary-color) !important;
}

.taxi-card .book-taxi-btn {
    background: var(--primary-gradient) !important;
    color: var(--text-color-mode) !important;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.taxi-card .book-taxi-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.3);
}

/* Apply gradient to trip type selector and buttons */
.trip-type-selector {
    margin-bottom: 20px;
    display: flex;
    gap: 10px;
    align-items: center;
}

.trip-type-selector i {
    color: var(--primary-color);
    margin-right: 10px;
}

.trip-type-btn {
    background: #f0f0f0 !important;
    color: #666 !important;
    border: none !important;
    padding: 8px 16px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.trip-type-btn.active {
    background: var(--primary-gradient) !important;
    color: var(--text-color-mode) !important;
}

.trip-type-btn:hover:not(.active) {
    background: #e0e0e0 !important;
}

/* Apply gradient color to booking form icons */
.booking-form i,
.form-group i {
    color: var(--primary-color) !important;
    position: absolute;
    left: 12px;
    top: 65%;
    transform: translateY(-50%);
    pointer-events: none;
}

.booking-form .form-group {
    position: relative;
}

.booking-form .form-group input,
.booking-form .form-group select,
.booking-form .form-group textarea {
    padding-left: 40px;
}

.booking-form .search-btn {
    background: var(--primary-gradient) !important;
    color: var(--text-color-mode) !important;
    border: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    vertical-align: middle !important;
}

.booking-form .search-btn i {
    color: var(--text-color-mode) !important;
    position: static !important;
    left: auto !important;
    top: auto !important;
    transform: none !important;
    vertical-align: middle !important;
    display: inline-block !important;
    line-height: 1 !important;
}

/* Ensure text is readable on gradient backgrounds */
button, .btn, .btn-primary,
header, .page-header,
nav, .navbar,
.hero, .hero-section, .booking-section,
.cta-box, .call-to-action {
    text-shadow: none;
    font-weight: 500;
}

/* Smooth transitions */
* {
    transition: background-color 0.3s ease;
}

/* Apply gradient to footer */
footer, .footer {
    background: var(--primary-gradient) !important;
    color: var(--text-color-mode) !important;
}

footer a, .footer a {
    color: var(--text-color-mode) !important;
}

footer h4, .footer h4 {
    color: var(--text-color-mode) !important;
}

footer p, .footer p {
    color: var(--text-color-mode) !important;
}

.footer-bottom, footer .footer-bottom {
    background: rgba(0, 0, 0, 0.1);
    color: var(--text-color-mode) !important;
}
