* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #f8f9fa;
    color: #333;
    line-height: 1.6;
}

.container-fluid {
    max-width: 1400px;
    margin: 0 auto;
}

/* Promotional Banner */
.promo-banner {
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    padding: 12px 20px;
    text-align: center;
    font-size: 14px;
    color: #333;
}

    .promo-banner strong {
        font-weight: 600;
    }

.promo-link {
    color: #0066cc;
    text-decoration: none;
    font-weight: 500;
}

    .promo-link:hover {
        text-decoration: underline;
    }

/* Main Content Layout */
.main-content {
    display: flex;
    gap: 30px;
    padding: 20px;
    max-width: 1400px;
    margin: 0 auto;
}

/* Filter Sidebar */
.filter-sidebar {
    width: 320px;
    background: white;
    border-radius: 12px;
    padding: 24px;
    height: fit-content;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.filter-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 24px;
    color: #333;
    border-bottom: 1px solid #ebe8e8;
}

.filter-section {
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e9ecef;
}

    .filter-section:last-of-type {
        border-bottom: none;
    }

    .filter-section h3 {
        font-size: 16px;
        font-weight: 600;
        margin-bottom: 12px;
        color: #333;
    }

.date-time-row {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
}

.date-field,
.time-field {
    flex: 1;
}

    .date-field label,
    .time-field label {
        display: block;
        font-size: 12px;
        color: #666;
        margin-bottom: 4px;
        font-weight: 500;
    }

    .date-field input,
    .time-field input {
        width: 100%;
        padding: 8px 12px;
        border: 1px solid #ddd;
        border-radius: 6px;
        font-size: 14px;
        background: #f8f9fa;
    }

.duration-text {
    font-size: 14px;
    color: #666;
}

.search-input-container {
    position: relative;
    margin-bottom: 12px;
}

.search-input {
    width: 100%;
    padding: 10px 40px 10px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
}

.search-btn {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.location-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

    .location-checkbox input[type="checkbox"] {
        margin-top: 2px;
    }

    .location-checkbox label {
        font-size: 13px;
        color: #666;
        line-height: 1.4;
    }

.apply-filter-btn {
    width: 100%;
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s;
}

    .apply-filter-btn:hover {
        transform: translateY(-1px);
    }

/* Content Area */
.content-area {
    flex: 1;
}

/* Sort Section */
.sort-section {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.sort-label {
    font-weight: 600;
    color: #333;
}

.sort-options {
    display: flex;
    gap: 8px;
}

.sort-btn {
    padding: 8px 16px;
    border: 1px solid #ddd;
    background: white;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
}

    .sort-btn.active {
        background: #333;
        color: white;
        border-color: #333;
    }

    .sort-btn:hover:not(.active) {
        border-color: #999;
    }

/* Disclaimer */
.disclaimer {
    font-size: 12px;
    color: #666;
    margin-bottom: 24px;
    font-style: italic;
}

/* Bikes Grid */
.bikes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

/* Bike Card */
.bike-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: relative;
    transition: transform 0.2s, box-shadow 0.2s;
}

    .bike-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    }

.zero-deposit {
    position: absolute;
    top: 16px;
    right: 16px;
    background: #e8f5e8;
    color: #2d5a2d;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}

.bike-name {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #333;
    max-width: 174px;
}

.bike-image {
    text-align: center;
    margin-bottom: 16px;
}

    .bike-image img {
        max-width: 100%;
        height: 120px;
        object-fit: contain;
        border-radius: 8px;
    }

.availability {
    font-size: 12px;
    color: #666;
    margin-bottom: 4px;
}

.location {
    font-size: 13px;
    color: #333;
    margin-bottom: 16px;
    line-height: 1.4;
}

/* Time Info */
.time-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 8px;
}

.time-slot {
    text-align: center;
}

.time {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.date {
    display: block;
    font-size: 12px;
    color: #666;
    margin-top: 2px;
}

.duration-arrow {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

    .duration-arrow::before {
        content: '';
        position: absolute;
        width: 60px;
        height: 1px;
        background: #ddd;
        z-index: 1;
    }

.arrow-circle {
    background: white;
    border: 2px solid #ddd;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 600;
    color: #666;
    z-index: 2;
    position: relative;
}

/* Price Section */
.price-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.price {
    font-size: 16px;
    font-weight: 700;
    color: #333;
}

.km-info {
    font-size: 12px;
    color: #666;
    margin-top: 2px;
}

.book-btn {
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    border: none;
    padding: 10px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s;
    min-width: 80px;
}

    .book-btn:hover {
        transform: translateY(-1px);
    }

/* Time input styling to match datepicker */
.row .input1_inner {
    margin-bottom: 0;
}

/* Style for time inputs */
input[type="time"].form-control.input {
    display: block;
    width: 100%;
    font-size: 14px;
    padding: 12px 9px;
    background: #e9e9e9;
    border: none;
    color: #000;
    box-shadow: none;
    border-radius: 30px;
    line-height: 22px;
}

    input[type="time"].form-control.input:focus {
        outline: none;
        box-shadow: none;
        background: #222;
        color: rgba(255, 255, 255, 0.5) !important;
    }

/* Adjust spacing between date and time inputs */
.col-md-7 .input1_inner {
    margin-right: 5px;
}

.col-md-5 .input1_inner {
    margin-left: 5px;
}

/* Make time inputs match date inputs in height */
input[type="time"].form-control.input::-webkit-calendar-picker-indicator {
    filter: invert(0.5);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .main-content {
        flex-direction: column;
        padding: 16px;
    }

    .filter-sidebar {
        width: 100%;
    }

    .bikes-grid {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    }
}

@media (max-width: 768px) {
    .sort-section {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .sort-options {
        flex-wrap: wrap;
    }

    .date-time-row {
        flex-direction: column;
        gap: 8px;
    }

    .bikes-grid {
        grid-template-columns: 1fr;
    }

    .price-section {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .book-btn {
        width: 100%;
    }

    .col-md-7,
    .col-md-5 {
        width: 100%;
        margin-bottom: 10px;
    }

        .col-md-7 .input1_inner,
        .col-md-5 .input1_inner {
            margin-left: 2px;
            margin-right: 2px;
        }
}

@media (max-width: 480px) {
    .promo-banner {
        padding: 8px 12px;
        font-size: 12px;
    }

    .main-content {
        padding: 12px;
    }

    .filter-sidebar {
        padding: 16px;
    }

    .bike-card {
        padding: 16px;
    }

    .time-info {
        flex-direction: column;
        gap: 12px;
    }

    .duration-arrow {
        transform: rotate(90deg);
    }

        .duration-arrow::before {
            width: 30px;
        }
}

/* Utility classes for the booking page */
.usericon-1 {
    height: 100px;
    width: 100px;
}

.sidebar {
    width: 100%;
    height: 100%;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    margin-bottom: 30px;
}

.content {
    padding: 20px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.booking-card,
.history-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    padding: 12px;
    margin-bottom: 4px;
    transition: all 0.3s ease;
    border-left: 4px solid #ff5400;
}

    .booking-card:hover,
    .history-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    }

.tab-button {
    padding: 12px 25px;
    cursor: pointer;
    background: #f5f5f5;
    border: none;
    border-bottom: 2px solid transparent;
    font-weight: 500;
    transition: all 0.3s ease;
    margin-right: 5px;
    border-radius: 5px 5px 0 0;
}

    .tab-button.active {
        background: #ff5400;
        color: #fff;
        font-weight: bold;
    }

.tab-content {
    display: none;
    padding: 15px;
    border: 1px solid #f0efef;
}

    .tab-content.active {
        display: block;
    }

.sidebar ul {
    padding: 0;
}

.sidebar a:hover {
    display: inline-block;
    text-decoration: none;
    color: #ff5400;
}

.main-content {
    padding: 88px 0 38px 0;
    min-height: 100vh;
    background-color: #f8f9fa;
}

.rounded-full {
    border-radius: 50%;
}

.text-orange-600 {
    color: #ff5400;
}

.bg-orange-100 {
    background-color: #fff3e0;
}

.text-orange-800 {
    color: #d84315;
}

.text-green-600 {
    color: #2e7d32;
}

.text-red-600 {
    color:#ff5400;
}

.bg-blue-500,
.bg-red-500 {
    background-color: #ffd700;
    color: #4f4d4d !important;
    /* font-size: 14px; */
    transition: all 0.3s ease;
}

    .bg-blue-500:hover,
    .bg-red-500:hover {
        opacity: 0.9;
        transform: translateY(-2px);
    }

.hover\:bg-blue-600:hover {
    background-color: #ffd042;
}

.hover\:bg-red-600:hover {
    background-color: #d32f2f;
}

.rounded {
    border-radius: 4px;
}

.px-3 {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
}

.py-1 {
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
}

.space-x-2 > * + * {
    margin-left: 0.5rem;
}

.justify-end {
    justify-content: flex-end;
}

.flex {
    display: flex;
}

.mt-2 {
    margin-top: 0.5rem;
}

.justify-between {
    justify-content: space-between;
}

.items-start {
    align-items: flex-start;
}

.text-lg {
    font-size: 1.125rem;
}

.font-semibold {
    font-weight: 600;
}

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

.text-sm {
    font-size: 0.875rem;
}

.mx-2 {
    margin-left: 0.5rem;
    margin-right: 0.5rem;
}

.text-right {
    text-align: right;
}

.space-y-4 > * + * {
    margin-top: 1rem;
}

.me-2 {
    margin-right: 0.5rem;
}

.usericon-1 {
    width: 80px;
    height: 80px;
    object-fit: cover;
}

.usericon {
    width: 50px;
    height: 50px;
    object-fit: cover;
}

/* Mobile Responsive Styles */
@media (max-width: 991px) {
    .main-content {
        padding-top: 100px;
    }

    .sidebar {
        width: 100%;
        margin-bottom: 20px;
    }

    .content {
        margin-left: 0;
    }

    .booking-card,
    .history-card {
        padding: 15px;
    }

    .tab-button {
        padding: 10px 15px;
        font-size: 14px;
    }

    .tab-buttons-container {
        display: flex;
        justify-content: space-between;
        width: 100%;
    }
}

@media (max-width: 767px) {
    .main-content {
        padding-top: 80px;
    }

    .flex.justify-between {
        flex-direction: column;
    }

        .flex.justify-between .text-right {
            text-align: left;
            margin-top: 10px;
        }

    .mt-2.flex.justify-end {
        justify-content: flex-start;
        margin-top: 15px;
    }

    .tab-button {
        padding: 8px 12px;
        font-size: 13px;
        margin-right: 2px;
        flex: 1;
        text-align: center;
    }

    #sidebar {
        display: none;
    }

        #sidebar.show {
            display: block;
        }
}

@media (max-width: 575px) {
    .main-content {
        padding-top: 82px;
    }

    .booking-card,
    .history-card {
        padding: 12px;
        margin-bottom: 15px;
    }

    .flex.mb-4 {
        flex-wrap: wrap;
    }

    .tab-button {
        margin-bottom: 5px;
        border-radius: 5px;
        width: 100%;
        text-align: center;
        white-space: nowrap;
    }
}

.text-2xl {
    font-size: 26px;
}

.booking-card p,
.booking-card h3,
.history-card p,
.history-card h3 {
    margin-bottom: 0px;
    font-size: 15px;
}

/* Search Container Styles */
.search-container {
    margin-bottom: 20px;
}

    .search-container .input-group {
        display: flex;
        border-radius: 5px;
        overflow: hidden;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
    }

    .search-container .form-control {
        border: 1px solid #e2e8f0;
        padding: 10px 15px;
        flex-grow: 1;
        border-radius: 5px 0 0 5px;
        outline: none;
        height: 40px;
    }

    .search-container .btn-primary {
        background-color: #ffc107;
        border: none;
        font-size: 14px;
        color: white;
        padding: 0 20px;
        border-radius: 0 5px 5px 0;
        cursor: pointer;
        transition: all 0.3s;
        height: 40px;
        line-height: 40px;
    }

        .search-container .btn-primary:hover {
            background-color: #e55c00;
        }

    .search-container .btn-secondary {
        background-color: #718096;
        border: none;
        color: white;
        padding: 0 15px;
        font-size: 14px;
        cursor: pointer;
        transition: all 0.3s;
        height: 40px;
        border-radius: 5px 0 0 5px;
        line-height: 40px;
    }

.message p {
    padding-bottom: 0;
}

.search-container .btn-secondary:hover {
    background-color: #4a5568;
}

@media (max-width: 767px) {
    .search-container .input-group {
        flex-direction: column;
    }

    .search-container .form-control {
        border-radius: 5px 5px 0 0;
    }

    .search-container .input-group-append {
        display: flex;
        width: 100%;
    }

        .search-container .input-group-append .btn {
            flex: 1;
            padding: 8px;
            border-radius: 0;
        }

    .search-container .btn-secondary {
        border-radius: 0 0 0 5px;
    }

    .search-container .btn-secondary {
        border-radius: 0 0 0 5px;
        padding: 0 8px;
        height: 40px;
        line-height: 40px;
    }

    .search-container .btn-primary {
        border-radius: 0 0 5px 0;
        padding: 0 8px;
        height: 40px;
        line-height: 40px;
    }
}

@media (max-width: 575px) {
    .search-container .form-control {
        font-size: 14px;
        padding: 8px 12px;
    }
}

.chat-container {
    max-height: 500px;
    overflow-y: auto;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 8px;
    margin-bottom: 20px;
}

.complaint-card {
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
    background-color: #fff;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

    .complaint-card:hover {
        transform: translateY(-3px);
    }

.message {
    width: 100%;
    padding: 10px 20px 40px 20px;
    /* padding: 9px 12px;*/
    position: relative;
}

.message-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1px;
}

.message-title {
    font-weight: 600;
    margin: 0;
    font-size: 14px;
    color: #333;
}

.message-date {
    font-size: 12px;
    color: #777;
}

.message-content {
    margin: 0;
    line-height: 1.5;
}

.user-message {
    background: #f0f7ff;
    border-bottom: 1px solid #e0e0e0;
    border-left: 4px solid #ff6600;
}

.support-message {
    background: #f8f9fa;
    border-right: 4px solid #2ecc71;
}

.message-actions {
    display: flex;
    justify-content: flex-end;
    padding: 10px 15px;
    background-color: #f9f9f9;
}

    .message-actions button {
        margin-left: 10px;
        transition: all 0.3s;
    }

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

.modal-content {
    background: #fff;
    margin: 10% auto;
    padding: 20px;
    border-radius: 10px;
    width: 600px;
   /* max-width: 90%;*/
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.close {
    float: right;
    font-size: 24px;
    cursor: pointer;
    transition: color 0.3s;
}

    .close:hover {
        color: #ff6600;
    }

.form-group {
    margin-bottom: 15px;
}

    .form-group label {
        display: block;
        margin-bottom: 5px;
        font-weight: 500;
        color: #333;
    }

    .form-group input,
    .form-group textarea {
        width: 100%;
        padding: 10px;
        border: 1px solid #ddd;
        border-radius: 5px;
        transition: border-color 0.3s;
    }

        .form-group input:focus,
        .form-group textarea:focus {
            border-color: #ff6600;
            outline: none;
        }

/* Mobile responsive styles */
@media (max-width: 768px) {
    .sidebar {
        position: fixed;
        left: -280px;
        top: 0;
        height: 100%;
        width: 280px;
        z-index: 999;
        background-color: #fff;
        transition: all 0.3s ease;
    }

        .sidebar.active {
            left: 0;
        }

    .content {
        margin-left: 0;
        padding: 15px;
    }

    .message {
        width: 100%;
    }

    .complaint-card {
        margin-bottom: 15px;
    }
}

.profile-container {
    max-width: 800px;
    margin: 0 auto;
}

.profile-card {
    border: 1px solid #e0e0e0;
    overflow: hidden;
    background-color: #fff;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    padding: 30px;
    border-top: 4px solid #ff6600;
}

    .profile-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 12px 20px rgba(0, 0, 0, 0.15);
    }

.form-group {
    margin-bottom: 20px;
}

    .form-group label {
        display: block;
        margin-bottom: 5px;
        font-weight: 500;
        color: #333;
    }

    .form-group input,
    .form-group textarea {
        width: 100%;
        padding: 12px 15px;
        border: 1px solid #ddd;
        border-radius: 8px;
        transition: all 0.3s ease;
        font-size: 1rem;
    }

        .form-group input:focus,
        .form-group textarea:focus {
            border-color: #ff6600;
            outline: none;
            box-shadow: 0 0 0 3px rgba(255, 102, 0, 0.2);
        }

.photo-preview {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 20px;
    border: 3px solid #ff6600;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

    .photo-preview:hover {
        transform: scale(1.05);
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
    }

.document-preview {
    width: 120px;
    height: 120px;
    overflow: hidden;
    margin: 0 auto 20px;
    border: 3px solid #ff6600;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

    .document-preview:hover {
        transform: scale(1.05);
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
    }


.button-1 {
    background-color: #ff6600;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 1rem;
}

    .button-1:hover {
        background-color: #e55c00;
        transform: translateY(-2px);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    }

/* Mobile responsive styles */
@media (max-width: 768px) {
    .profile-card {
        margin-bottom: 15px;
        padding: 20px;
    }
}
