.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

h2 {
    font-size: 1.3rem;
    color: var(--text_black, #111);
}

.count-badge {
    background: var(--brand, #3c8bd6);
    color: var(--text_white, #fff);
    padding: 4px 10px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.85rem;
}

.sessions-container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.session-card {
    background: var(--surface, #fff);
    border-radius: 12px;
    padding: 0;
    margin-bottom: 14px;
    box-shadow: var(--shadow, rgba(0, 0, 0, 0.05));
    width: 100%;
    max-width: 500px;
    position: relative;
}

.session-card p {
    display: flex;
    padding: 5px 16px;
    justify-content: space-between;
    font-size: 0.8rem;
    font-weight: 200;
    color: var(--text_muted);
}


.session-card p:nth-child(odd) {
    /* background: var(--surface_alt, #eef3ff); */
    padding: 5px 16px;

}


.card-header {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-bottom: 1px solid var(--border_divider, #ddd);
    padding: 20px 0;
    background-color: var(--background_cream, #f5f5dc);
    color: var(--text_color, #fff);
    font-size: 1.1rem;
    font-weight: 700;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}

.card-footer {
    display: flex;
    justify-content: center;
    padding: 10px;
    border-top: 1px solid var(--border_divider, #ddd);

}

.reg-num {
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    color: var(--text_black, #111);
}

.duration {
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--text_red, #db464e);
    background: var(--background_light_red, #ec4d4d6e);
    padding: 4px 8px;
    border-radius: 6px;
}

.details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    font-size: 0.85rem;

    margin-bottom: 14px;
}

.details span {
    font-weight: 200;
    color: var(--text_muted, #555);
}

.checkout-btn {
    width: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: var(--text_white, #fff);
    border: none;
    padding: 10px;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.3s ease;
}

.checkout-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.4);
}

.checkout-btn:active {
    transform: translateY(0);
}

.empty-state {
    text-align: center;
    color: var(--text_muted, #4b4b4b);
    padding: 40px 0;
}

.card-footer button {
    width: 70%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    font-weight: 400;
    padding: 8px 15px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.card-footer button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.4);
}

.parking_cost {
    background: var(--background_white, #696969);
    color: var(--text_sky, #34d5e0);
    padding: 4px 20px;
    border-radius: 15px;
    border: var(--border);
    font-size: 1rem;
    font-weight: 800;

}

.card_header_details {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;

}

.card_header_details p {
    background-color: var(--background_white);
    border-radius: 15px;
    color: var(--text_muted, #555);

    font-weight: 200;
    font-size: 0.6rem;

}

.session_duration {
    color: var(--text_red);
    font-size: 0.8;
    font-weight: 500;

}

.reportViolations {
    position: absolute;
    right: 10px;
    top: 10px;
    text-align: center;
}

.reportViolations h3 {
    background-color: var(--background_red);
    font-size: 0.6rem;
    padding: 5px 20px;
    border-radius: 6px;
    color: var(--text_white);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
}


.reportViolations h3 span {

    font-size: 1.6rem;

}

.traffic_violation_modal_overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(4px);
    display: none;

    padding: 20px;
    z-index: 2000;
}

.traffic_violation_modal_overlay.active {
    display: flex;
}

.traffic_violation_modal {
    position: fixed;
    bottom: 120px;
    left: 50%;
    transform: translateX(-50%);
    width: min(100%, 620px);
    max-height: 78vh;
    overflow-y: auto;
    background: var(--background_white);
    border-radius: 18px;
    box-shadow: 0 25px 50px rgba(15, 23, 42, 0.24);
    padding: 30px 24px 20px;
}

.traffic-close-btn {
    top: 12px;
    right: 14px;
}

.traffic-rules {
    display: grid;
    grid-template-columns: repeat(2, minmax(150px, 1fr));
    gap: 14px;
    margin-top: 10px;
}

.violation-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 140px;
    border: 2px solid #dbeafe;
    background: linear-gradient(180deg, #f8fbff 0%, #eef6ff 100%);
    border-radius: 16px;
    padding: 10px 0;
    color: #0f172a;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    text-align: center;
}

.traffic-rules button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.violation-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 20px rgba(37, 99, 235, 0.1);
}

.violation-card.selected {
    border-color: #ff6c6c;
    background: linear-gradient(180deg, #b44816 0%, #c53d3d 100%);
    box-shadow: 0 12px 20px rgba(37, 99, 235, 0.12);
}

.violation-image {
    font-size: 2.5rem;
    margin-bottom: 8px;
    display: block;
}

.violation-label {
    font-size: 0.85rem;
    font-weight: 700;
    line-height: 1.4;
}

.violation-detail-popup {
    display: none;
    align-items: flex-start;
    gap: 12px;
    background: #fff7ed;
    border: 1px solid #fdba74;
    border-radius: 12px;
    padding: 14px 16px;
    margin-top: 16px;
    color: #7c2d12;
}

.violation-detail-popup.visible {
    display: flex;
}

.popup-icon {
    font-size: 2rem;
    min-width: 38px;
}

.violation-detail-popup strong {
    display: block;
    margin-bottom: 6px;
    color: #9a4d0d;
    font-size: 0.6rem;

}

.violation-detail-popup p {
    margin: 0;
    line-height: 1.5;
    color: #cf4e22;
}

.traffic-report {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 12px;
    padding: 14px 16px;
    margin-top: 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.traffic-report p {
    margin: 0 0 8px;
    color: #1e3a8a;
    font-size: 0.95rem;
}

.traffic-report a {
    display: inline-block;
    margin-bottom: 12px;
    color: #1d4ed8;
    text-decoration: none;
    font-weight: 700;
}

.traffic-report a:hover {
    text-decoration: underline;
}

#sendViolationReport {
    border: none;
    border-radius: 10px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);

    color: #fff;
    font-weight: 700;
    padding: 10px 18px;
    cursor: pointer;
}

#sendViolationReport:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

#reportStatus.sent {
    color: #166534;
    font-weight: 700;
}