/**
 * Travel Booking Pro - Public Styles
 * Light theme design as per user preference
 */

/* Base Styles */
.tbp-search-wrapper,
.tbp-booking-wrapper,
.tbp-bookings-wrapper,
.tbp-pnr-check {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #333;
}

/* Search Container */
.tbp-search-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Tab Navigation */
.tab-btn {
    transition: all 0.3s ease;
    cursor: pointer;
}

.tab-btn.active {
    color: #2563eb;
    border-bottom: 2px solid #2563eb;
}

.tab-btn:hover {
    color: #2563eb;
}

/* Form Inputs */
input[type="text"],
input[type="date"],
select {
    border: 1px solid #d1d5db;
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: #ffffff;
}

input[type="text"]:focus,
input[type="date"]:focus,
select:focus {
    outline: none;
    ring: 2px;
    ring-color: #2563eb;
    border-color: transparent;
}

/* Buttons */
button[type="submit"],
.book-btn {
    background: #2563eb;
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

button[type="submit"]:hover,
.book-btn:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

/* Result Cards */
.tbp-search-results > div > div {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 16px;
    transition: all 0.3s ease;
}

.tbp-search-results > div > div:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

/* Class Options (Train) */
.class-option {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
}

.class-option:hover {
    background: #eff6ff;
    border-color: #2563eb;
}

/* Zero Fee Banner */
.bg-gradient-to-r {
    background: linear-gradient(to right, #10b981, #14b8a6);
}

/* Status Badges */
.bg-green-100 {
    background-color: #d1fae5;
    color: #065f46;
}

.bg-yellow-100 {
    background-color: #fef3c7;
    color: #92400e;
}

.bg-red-100 {
    background-color: #fee2e2;
    color: #991b1b;
}

.bg-gray-100 {
    background-color: #f3f4f6;
    color: #374151;
}

/* Loader Animation */
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.animate-spin {
    animation: spin 1s linear infinite;
}

/* Responsive Design */
@media (max-width: 768px) {
    .tbp-search-wrapper {
        padding: 10px;
    }
    
    .grid.grid-cols-4 {
        grid-template-columns: repeat(1, 1fr);
    }
    
    .grid.grid-cols-3 {
        grid-template-columns: repeat(1, 1fr);
    }
    
    .grid.grid-cols-2 {
        grid-template-columns: repeat(1, 1fr);
    }
}

/* Notification Styles */
.fixed.top-4.right-4 {
    position: fixed;
    top: 16px;
    right: 16px;
    z-index: 9999;
}

/* PNR Check Styles */
.tbp-pnr-check {
    max-width: 600px;
    margin: 0 auto;
}

/* My Bookings Styles */
.tbp-bookings-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
}

/* Accessibility */
button:focus,
input:focus,
select:focus {
    outline: 2px solid #2563eb;
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .book-btn,
    button[type="submit"] {
        display: none;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Light Theme Emphasis */
body {
    background-color: #f9fafb;
    color: #111827;
}

.bg-white {
    background-color: #ffffff;
}

/* Shadow Utilities */
.shadow {
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}

.shadow-lg {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Custom Utilities */
.rounded-lg {
    border-radius: 12px;
}

.rounded {
    border-radius: 8px;
}

/* Text Utilities */
.text-blue-600 {
    color: #2563eb;
}

.text-gray-600 {
    color: #4b5563;
}

.text-gray-700 {
    color: #374151;
}

/* Background Utilities */
.bg-blue-50 {
    background-color: #eff6ff;
}

.bg-blue-600 {
    background-color: #2563eb;
}

.bg-blue-700 {
    background-color: #1d4ed8;
}
