/**
 * assets/css/style.css
 * KA$Hplus Mobility - Main Stylesheet
 */

 :root {
    --kashplus-gold: #D4AF37;
    --kashplus-gold-light: #f1e5b1;
    --kashplus-gold-dark: #AC8C27;
    --kashplus-black: #000000;
    --kashplus-gray-dark: #222222;
    --kashplus-gray-medium: #444444;
    --kashplus-gray-light: #f5f5f5;
    --transition-default: all 0.3s ease;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 12px 24px rgba(0, 0, 0, 0.1);
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #f8f8f8;
    color: #333;
}

/* Mobile container to ensure proper mobile display */
.mobile-container {
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    background-color: white;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    min-height: 100vh;
    position: relative;
}

@media (min-width: 768px) {
    .mobile-container {
        max-width: 100%;
    }
}

/* Enhanced Header Styles */
header {
    background: linear-gradient(145deg, var(--kashplus-black), #222) !important;
    position: relative;
    overflow: hidden;
    padding: 1.5rem 1rem 2rem !important;
}

header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 60%);
    animation: rotate 30s infinite linear;
    z-index: 0;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.header-logo {
    height: 50px;
    width: auto;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
    transition: transform 0.3s ease;
}

.header-logo:hover {
    transform: scale(1.05);
}

.kashplus-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--kashplus-gold);
    margin: 0.5rem 0 0.2rem;
    letter-spacing: 1px;
    position: relative;
    z-index: 1;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.tagline {
    font-size: 0.9rem;
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.8);
    position: relative;
    z-index: 1;
}

/* User profile icon styling */
.user-profile-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.user-profile-icon:active {
    transform: scale(0.95);
    background-color: rgba(255, 255, 255, 0.15);
}

/* User Info Panel */
.user-info-panel {
    background: white;
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 480px;
    z-index: 2000;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    padding: 1.5rem;
    border-radius: 0 0 20px 20px;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.user-info-hidden {
    transform: translate(-50%, -100%);
}

.user-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 1rem;
}

.user-detail-item {
    margin-bottom: 0.5rem;
}

.user-detail-label {
    font-size: 0.8rem;
    color: #888;
    margin-bottom: 0.2rem;
    font-weight: 500;
}

.user-detail-value {
    font-weight: 600;
    color: var(--kashplus-black);
    font-size: 1rem;
}

/* Main Content */
.main-content {
    padding: 1.5rem !important;
}

/* Dashboard Welcome Section */
.dashboard-welcome {
    background: linear-gradient(145deg, var(--kashplus-black), #222);
    border-radius: 16px;
    padding: 1.75rem;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    color: white;
}

.dashboard-welcome::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.welcome-text {
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
    color: var(--kashplus-gold);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.welcome-message {
    font-size: 0.95rem;
    opacity: 0.9;
    margin-bottom: 1.5rem;
}

/* Stat Cards */
.stat-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1rem;
}

.stat-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.25rem 1rem;
    text-align: center;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition-default);
}

.stat-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.stat-card i {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--kashplus-gold);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: white;
}

.stat-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Section Title Styling */
.section-title-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.25rem;
    border-bottom: 2px solid rgba(0, 0, 0, 0.05);
    padding-bottom: 0.75rem;
}

.section-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--kashplus-black);
    margin: 0;
    display: flex;
    align-items: center;
}

.section-title i {
    color: var(--kashplus-gold);
    margin-right: 0.75rem;
    font-size: 1.25rem;
}

.section-action {
    font-size: 0.9rem;
    color: var(--kashplus-gold-dark);
    text-decoration: none;
    display: flex;
    align-items: center;
    font-weight: 600;
}

.section-action:hover {
    color: var(--kashplus-gold);
}

.section-action i {
    margin-left: 0.4rem;
    transition: transform 0.3s ease;
}

.section-action:hover i {
    transform: translateX(3px);
}

/* Header Actions */
.header-actions {
    display: flex;
    gap: 0.75rem;
}

.header-action-btn {
    background: var(--kashplus-gold);
    color: var(--kashplus-black);
    border: none;
    border-radius: 10px;
    padding: 0.4rem 0.8rem;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition-default);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.header-action-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    color: var(--kashplus-black);
}

.header-action-btn i {
    margin-right: 0.5rem;
}

/* Car Item Styling */
.car-item {
    background: white;
    border-radius: 12px;
    padding: 1.25rem;
    margin-bottom: 1rem;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    border-left: 4px solid var(--kashplus-gold);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.car-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.car-info {
    flex: 1;
}

.car-number {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--kashplus-black);
    margin-bottom: 0.25rem;
}

.car-type {
    font-size: 0.8rem;
    color: #666;
    text-transform: capitalize;
    margin-bottom: 0.25rem;
    display: flex;
    align-items: center;
}

.car-type:before {
    content: "•";
    margin-right: 0.5rem;
    color: var(--kashplus-gold);
}

.car-details {
    font-size: 0.8rem;
    color: #888;
}

.car-actions {
    display: flex;
    gap: 0.5rem;
}

.car-actions button {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.car-actions button:hover {
    transform: translateY(-2px);
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 2.5rem 2rem;
    background: linear-gradient(145deg, #f9f9f9, #f5f5f5);
    border-radius: 12px;
    border: 1px dashed rgba(0, 0, 0, 0.1);
    margin: 1rem 0 1.5rem;
}

.empty-icon {
    font-size: 2.5rem;
    color: #aaa;
    margin-bottom: 1rem;
}

.empty-message {
    font-size: 1rem;
    color: #888;
    margin-bottom: 1.5rem;
}

/* Ticket Item */
.ticket-item {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.ticket-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.plate-number {
    font-weight: 700;
    font-size: 1rem;
    background-color: #333;
    color: white;
    padding: 0.3rem 0.6rem;
    border-radius: 6px;
    display: inline-block;
    letter-spacing: 1px;
}

/* History Item */
.history-item {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.history-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Info Buttons */
.info-buttons {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 2rem 0 3rem;
}

.info-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.info-button:hover {
    transform: translateY(-5px);
}

.info-button-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--kashplus-black);
    color: var(--kashplus-gold);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.info-button-text {
    font-weight: 600;
    color: var(--kashplus-black);
    font-size: 0.9rem;
}

/* Footer */
.footer {
    background-color: white;
    padding: 1.5rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

/* Modal styles */
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: white;
    border-radius: 15px;
    width: 90%;
    max-width: 700px;
    max-height: 80vh;
    overflow-y: auto;
    padding: 2rem;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--kashplus-black);
    transition: all 0.3s ease;
}

.modal-close:hover {
    color: var(--kashplus-gold);
    transform: rotate(90deg);
}

/* Loading Overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    backdrop-filter: blur(5px);
}

/* Button Styling */
.btn-primary {
    background-color: var(--kashplus-black);
    border-color: var(--kashplus-black);
    color: var(--kashplus-gold);
    font-weight: 500;
    border-radius: 8px;
    padding: 0.5rem 1.25rem;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #111;
    border-color: #111;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.btn-outline-primary {
    color: var(--kashplus-black);
    border-color: var(--kashplus-black);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background-color: var(--kashplus-black);
    border-color: var(--kashplus-black);
    color: var(--kashplus-gold);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.btn-danger {
    background-color: #dc3545;
    border-color: #dc3545;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-danger:hover {
    background-color: #bb2d3b;
    border-color: #bb2d3b;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.btn-success {
    background-color: #198754;
    border-color: #198754;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-success:hover {
    background-color: #157347;
    border-color: #157347;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.btn-outline-danger {
    color: #dc3545;
    border-color: #dc3545;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-outline-danger:hover {
    background-color: #dc3545;
    border-color: #dc3545;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Badge Styling */
.badge {
    font-weight: 600;
    padding: 0.5em 0.75em;
    border-radius: 6px;
}

/* Scrollable Content Container */
.scrollable-content {
    max-height: 350px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--kashplus-gold) #f1f1f1;
    padding-right: 5px;
    scroll-behavior: smooth;
}

.scrollable-content::-webkit-scrollbar {
    width: 6px;
}

.scrollable-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.scrollable-content::-webkit-scrollbar-thumb {
    background: var(--kashplus-gold);
    border-radius: 10px;
}

/* Scroll Down Button */
.scroll-down-btn {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--kashplus-black);
    color: var(--kashplus-gold);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 10;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    animation: pulse 1.5s infinite;
}

.scroll-down-btn.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-down-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* Filter Panel */
.filter-panel {
    transition: all 0.3s ease;
    overflow: hidden;
}

.filter-panel .card {
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.filter-panel .card-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--kashplus-black);
}

/* Active Filters Bar */
.active-filters {
    background-color: #f8f9fa;
    padding: 0.75rem;
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

/* Filter Badge */
.filter-badge .badge {
    padding: 0.5rem 0.7rem;
    font-weight: 500;
    font-size: 0.85rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.filter-remove {
    background: transparent;
    border: none;
    padding: 0;
    margin-left: 5px;
    color: #6c757d;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.filter-remove:hover {
    opacity: 1;
}

/* Pagination */
.pagination .page-link {
    color: var(--kashplus-black);
    background-color: white;
    border-color: #dee2e6;
}

.pagination .page-item.active .page-link {
    background-color: var(--kashplus-gold);
    border-color: var(--kashplus-gold);
    color: var(--kashplus-black);
}

.pagination .page-link:hover {
    background-color: #f8f9fa;
    color: var(--kashplus-gold-dark);
}

/* Session buttons container */
.session-buttons {
    display: flex;
    gap: 0.5rem;
}

/* Improved Session Buttons */
.session-btn {
    font-size: 0.8rem;
    padding: 0.35rem 0.7rem;
    border-radius: 8px;
    font-weight: 600;
    display: flex;
    align-items: center;
    transition: all 0.25s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    border: none;
    background-color: #D4AF37;
    color: #000;
}

.session-btn i {
    font-size: 0.75rem;
    margin-right: 0.35rem;
}

.session-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.session-btn:active {
    transform: translateY(0);
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

/* Parking type toggle */
.parking-type-container {
    display: flex;
    align-items: center;
}

.parking-type-toggle-wrap {
    position: relative;
    width: 80px;
    height: 24px;
}

.parking-type-toggle {
    opacity: 0;
    width: 0;
    height: 0;
    position: absolute;
}

.parking-type-label {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #dc3545; /* Red for CASUAL */
    border-radius: 12px;
    transition: all 0.3s ease;
    overflow: hidden;
    margin: 0;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.2);
}

.toggle-handle {
    position: absolute;
    height: 18px;
    width: 18px;
    left: 3px;
    top: 3px;
    background-color: white;
    border-radius: 50%;
    transition: all 0.3s ease;
    z-index: 2;
    box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.toggle-text {
    position: absolute;
    top: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    font-size: 9px;
    font-weight: 600;
    color: white;
    transition: opacity 0.3s ease;
}

.toggle-text.casual {
    right: 8px;
    opacity: 1;
}

.toggle-text.season {
    left: 8px;
    opacity: 0;
}

.parking-type-toggle:checked + .parking-type-label {
    background-color: #28a745; /* Green for SEASON */
}

.parking-type-toggle:checked + .parking-type-label .toggle-handle {
    left: calc(100% - 21px);
}

.parking-type-toggle:checked + .parking-type-label .toggle-text.casual {
    opacity: 0;
}

.parking-type-toggle:checked + .parking-type-label .toggle-text.season {
    opacity: 1;
}

/* Dismiss button styling */
.dismiss-session-btn {
    font-size: 0.8rem;
    padding: 0.35rem 0.7rem;
    border-radius: 8px;
    font-weight: 600;
    display: flex;
    align-items: center;
    transition: all 0.25s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    border: 1px solid #dc3545;  
    background-color: transparent;
    color: #dc3545;  
}

.dismiss-session-btn:hover {
    background-color: #dc3545;  
    color: #fff;  
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(220,53,69,0.3);   
}

.dismiss-session-btn:active {
    transform: translateY(0);
    box-shadow: 0 1px 2px rgba(220,53,69,0.2);  
}

.dismiss-session-btn i {
    font-size: 0.75rem;
    margin-right: 0.35rem;
}

/* Overdue session styling */
.ticket-item .text-warning.fw-bold {
    color: #d39e00 !important;
}

/* Badge variations */
.badge.bg-warning {
    background-color: #ffc107 !important;
    color: #000 !important;
}
/* Badge variations */
.badge.bg-warning1 {
    background-color: #ce1010 !important;
    color: #f5f5f5 !important;
}

/* ticket item layout for dismiss functionality */
.ticket-item {
    transition: all 0.3s ease;
}

.ticket-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Responsive adjustments */
@media (max-width: 576px) {
    .dashboard-welcome {
        padding: 1.5rem;
    }
    
    .welcome-text {
        font-size: 1.3rem;
    }
    
    .stat-cards {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.5rem;
    }
    
    .stat-card {
        padding: 1rem 0.5rem;
    }
    
    .stat-card i {
        font-size: 1.2rem;
        margin-bottom: 0.5rem;
    }
    
    .stat-value {
        font-size: 1.2rem;
    }
    
    .stat-label {
        font-size: 0.65rem;
    }
    
    .car-item, .ticket-item, .history-item {
        padding: 1.25rem;
    }
    
    .car-number {
        font-size: 1.1rem;
    }
    
    .info-buttons {
        gap: 1.5rem;
    }
    
    .info-button-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .info-button-text {
        font-size: 0.8rem;
    }
    
    /* Responsive adjustments for dismiss button */
    .dismiss-session-btn {
        font-size: 0.75rem;
        padding: 0.3rem 0.6rem;
    }
    
    .dismiss-session-btn i {
        font-size: 0.7rem;
        margin-right: 0.25rem;
    }
}

/* Notification Badge */
.notification-btn {
    position: relative;
    background: transparent;
    border: none;
    font-size: 1.5rem;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.notification-btn:hover {
    transform: scale(1.1);
}

.notification-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: var(--kashplus-gold);
    color: var(--kashplus-black);
    font-size: 0.7rem;
    font-weight: bold;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

@keyframes bell-ring {
    0% { transform: rotate(0); }
    10% { transform: rotate(10deg); }
    20% { transform: rotate(-10deg); }
    30% { transform: rotate(6deg); }
    40% { transform: rotate(-6deg); }
    50% { transform: rotate(3deg); }
    60% { transform: rotate(-3deg); }
    70% { transform: rotate(1deg); }
    80% { transform: rotate(-1deg); }
    90% { transform: rotate(0); }
    100% { transform: rotate(0); }
}

.has-notification {
    animation: bell-ring 2s infinite;
    color: var(--kashplus-gold);
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
}

/* Notification Cards */
.notification-card {
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    background-color: white;
}

.notification-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.notification-card .card-header {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.notification-card .card-body {
    padding: 1.25rem;
}

.notification-card .card-title {
    font-weight: 700;
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    color: var(--kashplus-black);
}

.notification-card .vehicle-details {
    background-color: rgba(0, 0, 0, 0.02);
    padding: 1rem;
    border-radius: 8px;
    margin: 1rem 0;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

/* Badges for parking type */
.badge-casual {
    background-color: #dc3545;
    color: white;
}

.badge-season {
    background-color: #28a745;
    color: white;
}

.badge {
    display: inline-block;
    padding: 0.35em 0.65em;
    font-size: 0.75em;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: 0.25rem;
}

/* Make sure Bootstrap modals appear above other elements */
.modal {
    z-index: 1060;
}

.modal-backdrop {
    z-index: 1050;
}

/* Make modal content more visible */
.modal-content {
    border: none;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Improve modal header styling */
.modal-header {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    background-color: #f8f9fa;
    border-radius: 15px 15px 0 0;
}

/* Ensure modals open centered */
.modal-dialog {
    display: flex;
    align-items: center;
    min-height: calc(100% - 3.5rem);
}

/* Fix for modals potentially hidden behind overlays */
.modal.show {
    display: block !important;
}