/**
 * Limo Booking Pro - Public Styles
 * Base styles for all public-facing elements
 */

/* ============================================
   Google Maps Autocomplete Dropdown
   ============================================ */
.pac-container {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
    border-radius: 10px;
    margin-top: 5px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    border: 1px solid #e0e0e0;
    z-index: 100000 !important;
}

.pac-item {
    padding: 12px 15px;
    cursor: pointer;
    border-top: 1px solid #f0f0f0;
}

.pac-item:first-child {
    border-top: none;
}

.pac-item:hover {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.08) 0%, rgba(255, 215, 0, 0.05) 100%);
}

.pac-item-selected {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.12) 0%, rgba(255, 215, 0, 0.08) 100%);
}

.pac-icon {
    margin-right: 10px;
}

.pac-item-query {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
}

.pac-matched {
    color: #D4AF37;
    font-weight: 700;
}

/* ============================================
   Quick Booking Widget
   ============================================ */
.lbp-quick-booking {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.lbp-quick-booking h3 {
    color: #D4AF37;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 24px;
    margin: 0 0 20px;
    text-align: center;
}

.lbp-quick-booking .lbp-input {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(212, 175, 55, 0.3);
    color: #ffffff;
}

.lbp-quick-booking .lbp-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.lbp-quick-booking .lbp-input:focus {
    border-color: #D4AF37;
    background: rgba(255, 255, 255, 0.15);
}

/* ============================================
   Vehicle List (Standalone)
   ============================================ */
.lbp-vehicle-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    padding: 20px 0;
}

.lbp-vehicle-item {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.lbp-vehicle-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

.lbp-vehicle-item-image {
    height: 200px;
    background: #f5f5f5;
    position: relative;
}

.lbp-vehicle-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lbp-vehicle-item-content {
    padding: 25px;
}

.lbp-vehicle-item h4 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 22px;
    color: #1a1a1a;
    margin: 0 0 10px;
}

.lbp-vehicle-item-price {
    display: flex;
    align-items: baseline;
    gap: 5px;
    margin-top: 15px;
}

.lbp-vehicle-item-price .from {
    font-size: 13px;
    color: #888;
}

.lbp-vehicle-item-price .amount {
    font-size: 28px;
    font-weight: 700;
    color: #D4AF37;
}

/* ============================================
   Customer Dashboard
   ============================================ */
.lbp-customer-dashboard {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 20px;
}

.lbp-dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.lbp-dashboard-header h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 28px;
    color: #1a1a1a;
    margin: 0;
}

.lbp-booking-history {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.lbp-booking-history-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    border-bottom: 1px solid #eee;
    transition: background 0.2s ease;
}

.lbp-booking-history-item:last-child {
    border-bottom: none;
}

.lbp-booking-history-item:hover {
    background: #fafafa;
}

.lbp-booking-history-ref {
    font-weight: 700;
    color: #D4AF37;
    font-size: 15px;
}

.lbp-booking-history-date {
    color: #666;
    font-size: 14px;
}

.lbp-booking-history-status {
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.lbp-booking-history-status.confirmed {
    background: #e8f5e9;
    color: #2e7d32;
}

.lbp-booking-history-status.pending {
    background: #fff8e1;
    color: #f9a825;
}

.lbp-booking-history-status.completed {
    background: #e3f2fd;
    color: #1565c0;
}

.lbp-booking-history-status.cancelled {
    background: #ffebee;
    color: #c62828;
}

/* ============================================
   Hero Section Widget
   ============================================ */
.lbp-hero-section {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    padding: 80px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.lbp-hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -25%;
    width: 150%;
    height: 200%;
    background: radial-gradient(ellipse at center, rgba(212, 175, 55, 0.1) 0%, transparent 60%);
    pointer-events: none;
}

.lbp-hero-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 48px;
    color: #D4AF37;
    margin: 0 0 20px;
    position: relative;
}

.lbp-hero-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto 30px;
    line-height: 1.6;
}

.lbp-hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #D4AF37 0%, #FFD700 50%, #D4AF37 100%);
    color: #1a1a1a;
    padding: 18px 40px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
}

.lbp-hero-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.4);
}

/* ============================================
   Notification Messages
   ============================================ */
.lbp-notification {
    padding: 15px 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.lbp-notification i {
    font-size: 20px;
}

.lbp-notification-success {
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.1) 0%, rgba(40, 167, 69, 0.05) 100%);
    border: 1px solid rgba(40, 167, 69, 0.2);
    color: #28a745;
}

.lbp-notification-error {
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.1) 0%, rgba(220, 53, 69, 0.05) 100%);
    border: 1px solid rgba(220, 53, 69, 0.2);
    color: #dc3545;
}

.lbp-notification-warning {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.1) 0%, rgba(255, 193, 7, 0.05) 100%);
    border: 1px solid rgba(255, 193, 7, 0.2);
    color: #856404;
}

.lbp-notification-info {
    background: linear-gradient(135deg, rgba(23, 162, 184, 0.1) 0%, rgba(23, 162, 184, 0.05) 100%);
    border: 1px solid rgba(23, 162, 184, 0.2);
    color: #17a2b8;
}

/* ============================================
   Skeleton Loading
   ============================================ */
.lbp-skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: lbp-skeleton-loading 1.5s infinite;
    border-radius: 6px;
}

@keyframes lbp-skeleton-loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

.lbp-skeleton-text {
    height: 16px;
    margin-bottom: 10px;
}

.lbp-skeleton-title {
    height: 24px;
    width: 60%;
    margin-bottom: 15px;
}

.lbp-skeleton-image {
    height: 160px;
}

/* ============================================
   Utility Classes
   ============================================ */
.lbp-text-gold {
    color: #D4AF37;
}

.lbp-text-center {
    text-align: center;
}

.lbp-hidden {
    display: none !important;
}

.lbp-visible {
    display: block !important;
}

.lbp-mt-20 {
    margin-top: 20px;
}

.lbp-mb-20 {
    margin-bottom: 20px;
}

.lbp-fade-in {
    animation: fadeIn 0.4s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   Responsive Typography
   ============================================ */
@media (max-width: 768px) {
    .lbp-hero-title {
        font-size: 32px;
    }
    
    .lbp-hero-subtitle {
        font-size: 15px;
    }
    
    .lbp-hero-section {
        padding: 50px 25px;
    }
}
