/* Fare Management Styles */

.fare-wrapper {
    background: transparent;
    min-height: 100vh;
    padding: 0;
}

.fare-main-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid #E5E7EB;
    border-radius: 30px;
    padding: 40px;
    box-shadow: var(--riden-shadow);
    min-height: 80vh;
}

.fare-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
}

.fare-back-btn {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #111;
    text-decoration: none;
    font-size: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
}

.fare-title {
    font-size: 32px;
    font-weight: 800;
    color: #111;
    margin: 0;
}

/* Page Inner Layout */
.fare-content-layout {
    display: flex;
    gap: 30px;
}

/* Left Car Type Mini-Sidebar */
.car-type-menu {
    width: 200px;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    overflow: hidden;
    height: fit-content;
}

.car-type-item {
    display: block;
    padding: 12px 16px;
    color: #444;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    border-bottom: 1px solid #f8f8f8;
    transition: all 0.2s;
}

.car-type-item:hover {
    background: #fafafa;
    color: var(--riden-red);
}

.car-type-item.active {
    background: var(--riden-red);
    color: #fff;
}

/* Right Content Area */
.fare-table-container {
    flex-grow: 1;
}

.car-type-dropdown-wrapper {
    margin-bottom: 25px;
}

.car-type-select {
    width: 220px;
    height: 48px;
    border-radius: 12px;
    border: 1px solid #ddd;
    padding: 0 15px;
    font-weight: 600;
    appearance: none;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23ff161f' class='bi bi-caret-down-fill' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E") no-repeat right 15px center;
}

/* Fare Table */
.fare-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid #eee;
    border-radius: 20px;
    overflow: hidden;
}

.fare-table thead th {
    background: var(--riden-red);
    color: #fff;
    padding: 18px 15px;
    font-weight: 700;
    font-size: 14px;
    text-align: left;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.fare-table thead th:last-child {
    border-right: none;
}

.fare-table tbody td {
    padding: 18px 15px;
    border-bottom: 1px solid #eee;
    border-right: 1px solid #eee;
    vertical-align: middle;
    font-size: 14px;
    font-weight: 600;
}

.fare-table tbody td:last-child {
    border-right: none;
    text-align: center;
}

.fare-table tbody tr:last-child td {
    border-bottom: none;
}

.btn-save-changes {
    background: var(--riden-red);
    color: #fff;
    border: none;
    padding: 8px 20px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 12px;
    cursor: pointer;
    transition: background 0.2s;
    white-space: nowrap;
}

.btn-save-changes:hover {
    background: #e01319;
}

/* Header Right icons (User, Bell) */
.fare-top-right {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-left: auto;
}

.fare-icon-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--riden-red);
    font-size: 20px;
    position: relative;
    cursor: pointer;
}

.fare-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
}