.junayh-driver-sidebar {
    background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%);
    border-left: 1px solid rgba(39, 174, 96, 0.2);
    box-shadow: 2px 0 20px rgba(0, 0, 0, 0.1);
    min-height: calc(100vh - 160px);
    position: sticky;
    top: 160px;
    direction: rtl;
    font-family: 'Tajawal', sans-serif;
    overflow-y: auto;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 100;
    border-radius: 0 16px 16px 0;
}

.junayh-driver-sidebar-header {
    background: linear-gradient(135deg, #27ae60, #229954);
    padding: 1.75rem 1.5rem;
    border-bottom: 3px solid rgba(255, 255, 255, 0.2);
    position: sticky;
    top: 0;
    z-index: 10;
    border-radius: 0 16px 0 0;
}

.junayh-driver-sidebar-user {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    color: white;
}

.junayh-driver-sidebar-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.junayh-driver-sidebar-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.junayh-driver-sidebar-user-info {
    flex: 1;
}

.junayh-driver-sidebar-user-name {
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0;
    color: white;
    margin-bottom: 0.5rem;
}

.junayh-driver-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.junayh-driver-stars {
    display: flex;
    gap: 2px;
}

.junayh-driver-stars i {
    font-size: 16px;
    color: #ffd700;
}

.junayh-driver-rating-value {
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
}

.junayh-driver-sidebar-user-phone {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.junayh-driver-sidebar-user-phone i {
    font-size: 16px;
}

.junayh-driver-sidebar-toggle {
    position: absolute;
    top: 1.5rem;
    left: 1rem;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: none;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.junayh-driver-sidebar-toggle:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.junayh-driver-sidebar-nav {
    padding: 1.5rem 0;
}

.junayh-driver-sidebar-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.junayh-driver-sidebar-menu-item {
    margin-bottom: 0.25rem;
    padding: 0 1rem;
}

.junayh-driver-sidebar-menu-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    color: #2c3e50;
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    font-weight: 500;
}

.junayh-driver-sidebar-menu-link:hover {
    background: rgba(39, 174, 96, 0.15);
    color: #27ae60;
    transform: translateX(-5px);
}

.junayh-driver-sidebar-menu-link.active {
    background: linear-gradient(135deg, #27ae60, #229954);
    color: white;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(39, 174, 96, 0.3);
}

.junayh-driver-sidebar-menu-icon {
    font-size: 1.4rem;
    color: #7f8c8d;
    transition: all 0.3s ease;
}

.junayh-driver-sidebar-menu-link:hover .junayh-driver-sidebar-menu-icon {
    color: #27ae60;
    transform: scale(1.1);
}

.junayh-driver-sidebar-menu-link.active .junayh-driver-sidebar-menu-icon {
    color: white;
}

.junayh-driver-sidebar-menu-text {
    font-size: 1rem;
    flex: 1;
}

.junayh-driver-sidebar-menu-badge {
    background: #e74c3c;
    color: white;
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-weight: 600;
    min-width: 28px;
    text-align: center;
    animation: junayh-driver-badge-pulse 2s infinite;
}

.junayh-driver-sidebar-stats {
    display: flex;
    justify-content: space-around;
    padding: 1.5rem 1rem;
    background: rgba(39, 174, 96, 0.05);
    border-top: 1px solid rgba(39, 174, 96, 0.2);
    border-bottom: 1px solid rgba(39, 174, 96, 0.2);
}

.junayh-driver-sidebar-stat {
    text-align: center;
}

.junayh-driver-stat-value {
    display: block;
    font-size: 1.25rem;
    font-weight: 700;
    color: #27ae60;
    margin-bottom: 0.25rem;
}

.junayh-driver-stat-label {
    font-size: 0.75rem;
    color: #7f8c8d;
    font-weight: 500;
}

.junayh-driver-status-toggle {
    padding: 1.5rem;
    background: rgba(39, 174, 96, 0.05);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.junayh-driver-status-label {
    font-size: 0.9rem;
    color: #2c3e50;
    font-weight: 600;
}

.junayh-driver-status-switch {
    position: relative;
}

.junayh-driver-status-switch input {
    display: none;
}

.junayh-driver-switch-label {
    display: block;
    width: 50px;
    height: 26px;
    background: #95a5a6;
    border-radius: 13px;
    cursor: pointer;
    position: relative;
    transition: background 0.3s ease;
}

.junayh-driver-status-switch input:checked + .junayh-driver-switch-label {
    background: #27ae60;
}

.junayh-driver-switch-thumb {
    position: absolute;
    top: 3px;
    right: 3px;
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    transition: transform 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.junayh-driver-status-switch input:checked + .junayh-driver-switch-label .junayh-driver-switch-thumb {
    transform: translateX(-24px);
}

.junayh-driver-status-text {
    font-size: 0.85rem;
    color: #27ae60;
    font-weight: 600;
}

.junayh-driver-sidebar-footer {
    position: sticky;
    bottom: 0;
    background: linear-gradient(135deg, #f8f9fa, #ffffff);
    padding: 1.5rem;
    border-top: 1px solid rgba(39, 174, 96, 0.2);
    margin-top: auto;
    border-radius: 0 0 16px 0;
}

.junayh-driver-sidebar-logout {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    color: #e74c3c;
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s ease;
    font-weight: 500;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.junayh-driver-sidebar-logout:hover {
    background: rgba(231, 76, 60, 0.1);
    color: #c0392b;
    border-color: rgba(231, 76, 60, 0.3);
}

.junayh-driver-main-content {
    min-height: calc(100vh - 160px);
    padding: 2rem;
    background: #f5f6fa;
}

.junayh-driver-dashboard-header {
    background: linear-gradient(135deg, #ffffff, #fafafa);
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(39, 174, 96, 0.2);
}

.junayh-driver-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.junayh-driver-dashboard-title {
    color: #2c3e50;
    font-family: 'Tajawal', sans-serif;
    font-weight: 800;
    margin-bottom: 0.5rem;
    font-size: 2.5rem;
}

.junayh-driver-dashboard-subtitle {
    color: #7f8c8d;
    font-size: 1.1rem;
    font-weight: 500;
}

.junayh-driver-earnings-card {
    background: linear-gradient(135deg, #27ae60, #229954);
    color: white;
    padding: 1.5rem 2rem;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(39, 174, 96, 0.3);
    text-align: center;
}

.junayh-driver-earnings-label {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.junayh-driver-earnings-value {
    display: block;
    font-size: 2rem;
    font-weight: 800;
}

.junayh-driver-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.junayh-driver-stat-card {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 1.25rem;
    position: relative;
    overflow: hidden;
}

.junayh-driver-stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, rgba(39, 174, 96, 0.1), transparent);
    border-radius: 50%;
    transform: translate(30px, -30px);
}

.junayh-driver-stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.junayh-driver-stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: white;
    flex-shrink: 0;
}

.junayh-driver-icon-green {
    background: linear-gradient(135deg, #27ae60, #229954);
}

.junayh-driver-icon-blue {
    background: linear-gradient(135deg, #3498db, #2980b9);
}

.junayh-driver-icon-yellow {
    background: linear-gradient(135deg, #f39c12, #e67e22);
}

.junayh-driver-icon-purple {
    background: linear-gradient(135deg, #9b59b6, #8e44ad);
}

.junayh-driver-icon-red {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
}

.junayh-driver-icon-success {
    background: #27ae60;
    width: 32px;
    height: 32px;
    font-size: 18px;
}

.junayh-driver-icon-cancel {
    background: #e74c3c;
    width: 32px;
    height: 32px;
    font-size: 18px;
}

.junayh-driver-stat-content {
    flex: 1;
}

.junayh-driver-stat-value {
    font-size: 2rem;
    font-weight: 800;
    color: #2c3e50;
    margin-bottom: 0.25rem;
}

.junayh-driver-stat-label {
    color: #7f8c8d;
    font-weight: 500;
    font-size: 0.9rem;
}

.junayh-driver-stat-progress {
    margin-top: 0.75rem;
}

.junayh-driver-progress-bar {
    width: 100%;
    height: 6px;
    background: #ecf0f1;
    border-radius: 3px;
    overflow: hidden;
}

.junayh-driver-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #27ae60, #229954);
    border-radius: 3px;
    transition: width 0.3s ease;
}

.junayh-driver-progress-text {
    font-size: 0.75rem;
    color: #95a5a6;
    display: block;
    margin-top: 0.25rem;
}

.junayh-driver-stat-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-top: 0.5rem;
}

.junayh-driver-badge-active {
    background: rgba(39, 174, 96, 0.1);
    color: #27ae60;
    border: 1px solid rgba(39, 174, 96, 0.3);
}

.junayh-driver-reviews-count {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.85rem;
    color: #7f8c8d;
    margin-top: 0.5rem;
}

.junayh-driver-reviews-count i {
    font-size: 16px;
}

.junayh-driver-stat-change {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.85rem;
    margin-top: 0.5rem;
    font-weight: 600;
}

.junayh-driver-positive {
    color: #27ae60;
}

.junayh-driver-positive i {
    font-size: 18px;
}

.junayh-driver-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
}

.junayh-driver-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
}

.junayh-driver-card-header {
    padding: 1.5rem;
    border-bottom: 1px solid #ecf0f1;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.junayh-driver-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.junayh-driver-card-title i {
    color: #27ae60;
    font-size: 1.5rem;
}

.junayh-driver-refresh-btn {
    background: rgba(39, 174, 96, 0.1);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #27ae60;
    cursor: pointer;
    transition: all 0.3s ease;
}

.junayh-driver-refresh-btn:hover {
    background: #27ae60;
    color: white;
    transform: rotate(180deg);
}

.junayh-driver-card-link {
    color: #27ae60;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.junayh-driver-card-link:hover {
    color: #229954;
    transform: translateX(-3px);
}

.junayh-driver-card-body {
    padding: 1.5rem;
}

.junayh-driver-orders {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.junayh-driver-order-item {
    display: flex;
    gap: 1rem;
    padding: 1.25rem;
    background: #f8f9fa;
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.junayh-driver-order-active {
    background: rgba(39, 174, 96, 0.05);
    border-color: rgba(39, 174, 96, 0.3);
}

.junayh-driver-order-item:hover {
    transform: translateX(-5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.junayh-driver-order-status {
    display: flex;
    align-items: center;
}

.junayh-driver-status-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    position: relative;
}

.junayh-driver-status-pickup {
    background: #27ae60;
    animation: junayh-driver-pulse 2s infinite;
}

.junayh-driver-status-pending {
    background: #f39c12;
}

.junayh-driver-order-info {
    flex: 1;
}

.junayh-driver-order-id {
    font-size: 1rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.75rem;
}

.junayh-driver-order-route {
    margin-bottom: 0.75rem;
}

.junayh-driver-location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #7f8c8d;
}

.junayh-driver-location i {
    color: #27ae60;
    font-size: 18px;
}

.junayh-driver-route-line {
    width: 2px;
    height: 20px;
    background: #dee2e6;
    margin-right: 8px;
    margin-top: 0.25rem;
    margin-bottom: 0.25rem;
}

.junayh-driver-order-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.85rem;
    color: #95a5a6;
}

.junayh-driver-order-meta span {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.junayh-driver-order-meta i {
    font-size: 16px;
}

.junayh-driver-order-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.junayh-driver-btn-call,
.junayh-driver-btn-map {
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #7f8c8d;
    cursor: pointer;
    transition: all 0.3s ease;
}

.junayh-driver-btn-call:hover {
    background: #27ae60;
    color: white;
    border-color: #27ae60;
}

.junayh-driver-btn-map:hover {
    background: #3498db;
    color: white;
    border-color: #3498db;
}

.junayh-driver-btn-complete,
.junayh-driver-btn-accept {
    background: #27ae60;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.junayh-driver-btn-complete:hover,
.junayh-driver-btn-accept:hover {
    background: #229954;
    transform: translateY(-2px);
}

.junayh-driver-history {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.junayh-driver-history-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.junayh-driver-history-item:hover {
    background: rgba(39, 174, 96, 0.05);
}

.junayh-driver-history-icon {
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.junayh-driver-history-info {
    flex: 1;
}

.junayh-driver-history-info h5 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.25rem;
}

.junayh-driver-history-info p {
    font-size: 0.85rem;
    color: #7f8c8d;
    margin-bottom: 0.25rem;
}

.junayh-driver-history-time {
    font-size: 0.75rem;
    color: #95a5a6;
}

.junayh-driver-history-amount {
    font-size: 1.1rem;
    font-weight: 700;
    color: #27ae60;
}

.junayh-driver-reviews {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.junayh-driver-review-item {
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.junayh-driver-review-item:hover {
    background: rgba(39, 174, 96, 0.05);
}

.junayh-driver-review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.junayh-driver-reviewer {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.junayh-driver-reviewer-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #27ae60;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 600;
}

.junayh-driver-reviewer span {
    font-size: 0.9rem;
    font-weight: 600;
    color: #2c3e50;
}

.junayh-driver-review-stars {
    display: flex;
    gap: 2px;
}

.junayh-driver-review-stars i {
    font-size: 14px;
    color: #ffd700;
}

.junayh-driver-review-text {
    font-size: 0.9rem;
    color: #7f8c8d;
    margin-bottom: 0.5rem;
}

.junayh-driver-review-time {
    font-size: 0.75rem;
    color: #95a5a6;
}

.junayh-driver-notifications {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.junayh-driver-notification-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.junayh-driver-notification-new {
    background: rgba(39, 174, 96, 0.1);
    border: 1px solid rgba(39, 174, 96, 0.3);
}

.junayh-driver-notification-item:hover {
    transform: translateX(-3px);
}

.junayh-driver-notification-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.junayh-driver-notification-content {
    flex: 1;
}

.junayh-driver-notification-text {
    font-size: 0.9rem;
    color: #2c3e50;
    margin-bottom: 0.25rem;
    font-weight: 500;
}

.junayh-driver-notification-time {
    font-size: 0.75rem;
    color: #95a5a6;
}

.junayh-driver-work-area {
    text-align: center;
}

.junayh-driver-area-map {
    margin-bottom: 1rem;
    border-radius: 12px;
    overflow: hidden;
}

.junayh-driver-area-map img {
    width: 100%;
    height: auto;
}

.junayh-driver-area-info {
    font-size: 0.9rem;
    color: #7f8c8d;
}

.junayh-driver-area-info p {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.junayh-driver-area-info i {
    color: #27ae60;
}

.junayh-driver-btn-change-area {
    background: rgba(39, 174, 96, 0.1);
    color: #27ae60;
    border: 1px solid rgba(39, 174, 96, 0.3);
    border-radius: 8px;
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.junayh-driver-btn-change-area:hover {
    background: #27ae60;
    color: white;
    transform: translateY(-2px);
}

.junayh-driver-sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 1039;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.junayh-driver-sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

.junayh-driver-sidebar-mobile-toggle {
    position: fixed;
    top: 120px;
    right: 1rem;
    background: linear-gradient(135deg, #27ae60, #229954);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: none;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(39, 174, 96, 0.3);
    z-index: 1050;
}

.junayh-driver-sidebar-mobile-toggle:hover {
    background: linear-gradient(135deg, #229954, #1e8449);
    transform: scale(1.1);
}

.junayh-driver-sidebar-mobile-toggle.active {
    background: #e74c3c;
}

.junayh-driver-sidebar-ripple-effect {
    position: relative;
    overflow: hidden;
}

.junayh-driver-sidebar-ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(39, 174, 96, 0.4);
    transform: scale(0);
    animation: junayh-driver-sidebar-ripple-animation 0.6s linear;
    pointer-events: none;
}

@keyframes junayh-driver-badge-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

@keyframes junayh-driver-pulse {
    0%, 100% { 
        box-shadow: 0 0 0 0 rgba(39, 174, 96, 0.7);
    }
    50% { 
        box-shadow: 0 0 0 10px rgba(39, 174, 96, 0);
    }
}

@keyframes junayh-driver-sidebar-ripple-animation {
    to {
        transform: scale(2);
        opacity: 0;
    }
}

@media (max-width: 1399.98px) {
    .junayh-driver-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 991.98px) {
    .junayh-driver-sidebar {
        position: fixed;
        top: 0;
        right: -100%;
        width: 320px;
        height: 100vh;
        z-index: 1041;
        transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        min-height: 100vh;
        border-radius: 16px 0 0 16px;
    }
    
    .junayh-driver-sidebar.sidebar-active {
        right: 0;
    }
    
    .junayh-driver-sidebar-header {
        border-radius: 16px 0 0 0;
    }
    
    .junayh-driver-sidebar-footer {
        border-radius: 0 0 0 16px;
    }
    
    .junayh-driver-main-content {
        padding: 1rem;
        width: 100%;
    }
    
    .junayh-driver-sidebar-mobile-toggle {
        display: flex;
    }
    
    .junayh-driver-sidebar-toggle {
        display: flex;
    }
    
    .junayh-driver-header-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .junayh-driver-stats-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767.98px) {
    .junayh-driver-dashboard-title {
        font-size: 1.75rem;
    }
    
    .junayh-driver-earnings-card {
        width: 100%;
    }
}

@media (max-width: 575.98px) {
    .junayh-driver-sidebar {
        width: 100%;
        max-width: 100%;
    }
}