/* KUPA - Kuşak Pazarlama Teması */
/* ================================= */

/* CSS Variables */
:root {
    --primary-color: #e31e24;
    --secondary-color: #000000;
    --accent-color: #28a745;
    --background-color: #f8f9fa;
    --text-color: #333333;
    --link-color: #e31e24;
    --border-color: #dee2e6;
    --shadow-color: rgba(0,0,0,0.1);
}

/* Base Styles */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

/* Logo Styles */
.logo-ku { 
    color: var(--secondary-color); 
}

.logo-pa { 
    color: var(--primary-color); 
}

/* Header Styles */
.header-top {
    background-color: var(--secondary-color);
    color: white;
    padding: 8px 0;
}

.header-main {
    background-color: white;
    border-bottom: 1px solid var(--border-color);
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 40;
    box-shadow: 0 2px 4px var(--shadow-color);
}

.header-search {
    background-color: var(--primary-color);
    padding: 12px 0;
}

/* Navigation Styles */
.nav-link {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color);
}

/* Button Styles */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-primary:hover {
    background-color: #c71e22;
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: white;
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-secondary:hover {
    background-color: #333;
}

/* Card Styles */
.card {
    background-color: white;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: 0 2px 4px var(--shadow-color);
    overflow: hidden;
}

.card-header {
    background-color: #f8f9fa;
    border-bottom: 1px solid var(--border-color);
    padding: 16px;
}

.card-body {
    padding: 16px;
}

/* Product Card Styles */
.product-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px var(--shadow-color);
}

.product-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
}

.product-title {
    font-weight: 600;
    margin: 12px 0 8px 0;
    color: var(--text-color);
}

.product-price {
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.1em;
}

.product-old-price {
    color: #6c757d;
    text-decoration: line-through;
    font-size: 0.9em;
}

/* Category Styles */
.category-item {
    display: block;
    padding: 12px 16px;
    color: var(--text-color);
    text-decoration: none;
    border-bottom: 1px solid var(--border-color);
    transition: background-color 0.3s ease;
}

.category-item:hover {
    background-color: #f8f9fa;
    color: var(--primary-color);
}

.category-item:last-child {
    border-bottom: none;
}

/* Mobile Sidebar */
.mobile-sidebar {
    transform: translateX(-100%);
    transition: transform 0.3s ease-in-out;
}

.mobile-sidebar.open {
    transform: translateX(0);
}

.mobile-overlay {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
}

.mobile-overlay.open {
    opacity: 1;
    visibility: visible;
}

/* Dropdown Styles */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-menu {
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: white;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: 0 10px 25px var(--shadow-color);
    z-index: 50;
    min-width: 200px;
}

.dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
    padding: 12px 16px;
    color: var(--text-color);
    text-decoration: none;
    border-bottom: 1px solid var(--border-color);
    transition: background-color 0.3s ease;
}

.dropdown-item:hover {
    background-color: #f8f9fa;
    color: var(--primary-color);
}

.dropdown-item:last-child {
    border-bottom: none;
}

/* Hero Banner */
.hero-banner {
    background: linear-gradient(135deg, var(--accent-color), #20c997);
    color: white;
    padding: 60px 20px;
    text-align: center;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

.hero-content {
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Grade Banners */
.grade-banner {
    background: linear-gradient(135deg, var(--primary-color), #c71e22);
    color: white;
    padding: 40px 20px;
    text-align: center;
    border-radius: 8px;
    text-decoration: none;
    display: block;
    transition: all 0.3s ease;
    transform: scale(1);
}

.grade-banner:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px var(--shadow-color);
    color: white;
    text-decoration: none;
}

.grade-banner.grade-5 {
    background: linear-gradient(135deg, #6f42c1, #5a2d91);
}

.grade-banner.grade-6 {
    background: linear-gradient(135deg, var(--accent-color), #20c997);
}

.grade-banner.grade-7 {
    background: linear-gradient(135deg, #007bff, #0056b3);
}

.grade-banner.grade-8 {
    background: linear-gradient(135deg, #fd7e14, #e55a00);
}

/* Footer */
.footer {
    background-color: #343a40;
    color: white;
    padding: 40px 0 20px 0;
    margin-top: 60px;
}

.footer h3 {
    color: white;
    margin-bottom: 20px;
}

.footer a {
    color: #adb5bd;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid #495057;
    margin-top: 30px;
    padding-top: 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-banner {
        padding: 40px 20px;
    }
    
    .grade-banner {
        padding: 30px 20px;
        margin-bottom: 16px;
    }
    
    .product-card {
        margin-bottom: 16px;
    }
}

/* Utility Classes */
.text-primary { color: var(--primary-color) !important; }
.text-secondary { color: var(--secondary-color) !important; }
.text-accent { color: var(--accent-color) !important; }
.bg-primary { background-color: var(--primary-color) !important; }
.bg-secondary { background-color: var(--secondary-color) !important; }
.bg-accent { background-color: var(--accent-color) !important; }

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

.shadow-sm {
    box-shadow: 0 2px 4px var(--shadow-color);
}

.shadow {
    box-shadow: 0 4px 6px var(--shadow-color);
}

.shadow-lg {
    box-shadow: 0 10px 25px var(--shadow-color);
}

.rounded {
    border-radius: 4px;
}

.rounded-lg {
    border-radius: 8px;
}

.border {
    border: 1px solid var(--border-color);
}

.border-0 {
    border: none;
}

.p-0 { padding: 0; }
.p-1 { padding: 4px; }
.p-2 { padding: 8px; }
.p-3 { padding: 12px; }
.p-4 { padding: 16px; }
.p-5 { padding: 20px; }

.m-0 { margin: 0; }
.m-1 { margin: 4px; }
.m-2 { margin: 8px; }
.m-3 { margin: 12px; }
.m-4 { margin: 16px; }
.m-5 { margin: 20px; }

.mb-1 { margin-bottom: 4px; }
.mb-2 { margin-bottom: 8px; }
.mb-3 { margin-bottom: 12px; }
.mb-4 { margin-bottom: 16px; }
.mb-5 { margin-bottom: 20px; }
.mb-6 { margin-bottom: 24px; }

.mt-1 { margin-top: 4px; }
.mt-2 { margin-top: 8px; }
.mt-3 { margin-top: 12px; }
.mt-4 { margin-top: 16px; }
.mt-5 { margin-top: 20px; }
.mt-6 { margin-top: 24px; }

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

.font-bold { font-weight: bold; }
.font-semibold { font-weight: 600; }
.font-medium { font-weight: 500; }

.text-sm { font-size: 0.875rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }
.text-3xl { font-size: 1.875rem; }
.text-4xl { font-size: 2.25rem; }

/* Category Page Specific Styles */
/* ============================== */

/* Filter sidebar */
.filter-sidebar {
    transform: translateX(-100%);
    transition: transform 0.3s ease-in-out;
}

.filter-sidebar.open {
    transform: translateX(0);
}

/* Price range slider */
.price-range {
    -webkit-appearance: none;
    appearance: none;
    height: 4px;
    background: #e5e7eb;
    outline: none;
    border-radius: 2px;
    position: relative;
}

.price-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    cursor: pointer;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.price-range::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    cursor: pointer;
    border-radius: 50%;
    border: none;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

/* View toggle buttons */
.view-toggle {
    transition: all 0.3s ease;
    border-color: var(--border-color);
}

.view-toggle.active {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.view-toggle:hover {
    background-color: #f8f9fa;
    border-color: var(--primary-color);
}

.view-toggle.active:hover {
    background-color: #c71e22;
}

/* Grid layouts */
.grid-2 { 
    grid-template-columns: repeat(2, 1fr); 
}

.grid-3 { 
    grid-template-columns: repeat(3, 1fr); 
}

.grid-4 { 
    grid-template-columns: repeat(4, 1fr); 
}

@media (max-width: 640px) {
    .grid-2, .grid-3, .grid-4 { 
        grid-template-columns: repeat(2, 1fr); 
    }
}

@media (min-width: 641px) and (max-width: 1024px) {
    .grid-4 { 
        grid-template-columns: repeat(3, 1fr); 
    }
}

/* Quantity input */
.quantity-input {
    -moz-appearance: textfield;
    border: none;
    outline: none;
}

.quantity-input::-webkit-outer-spin-button,
.quantity-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.quantity-decrease,
.quantity-increase {
    background: none;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quantity-decrease:hover,
.quantity-increase:hover {
    background-color: #f8f9fa;
}

/* Product cards in category */
.category-product-card {
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.category-product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px var(--shadow-color);
    border-color: var(--primary-color);
}

.category-product-card .product-image {
    aspect-ratio: 4/3;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.category-product-card:hover .product-image {
    transform: scale(1.05);
}

/* Category header */
.category-header {
    background: linear-gradient(135deg, var(--primary-color), #c71e22);
    position: relative;
    overflow: hidden;
}

.category-header::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
}

/* Breadcrumb */
.breadcrumb {
    background-color: white;
    border-bottom: 1px solid var(--border-color);
}

.breadcrumb a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: var(--primary-color);
}

/* Filter checkboxes */
input[type="checkbox"] {
    accent-color: var(--primary-color);
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.pagination a,
.pagination span {
    padding: 0.5rem 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 0.375rem;
    text-decoration: none;
    color: var(--text-color);
    transition: all 0.3s ease;
}

.pagination a:hover {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.pagination .active {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* Line clamp utilities */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Category specific animations */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-slide-in-left {
    animation: slideInLeft 0.6s ease-out;
}

.animate-slide-in-up {
    animation: slideInUp 0.6s ease-out;
}

/* Mobile filter improvements */
@media (max-width: 1024px) {
    .filter-sidebar {
        box-shadow: 0 0 20px rgba(0,0,0,0.3);
    }
    
    .category-product-card {
        margin-bottom: 1rem;
    }
}

/* Sticky filter button on mobile */
.mobile-filter-sticky {
    position: sticky;
    top: 1rem;
    z-index: 10;
}

/* Category stats */
.category-stats {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 0.5rem;
    padding: 1rem;
    margin-top: 1rem;
}

/* Filter section styling */
.filter-section {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
}

.filter-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.filter-section h4 {
    color: var(--text-color);
    font-weight: 600;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Sort dropdown styling */
.sort-dropdown {
    border: 1px solid var(--border-color);
    border-radius: 0.375rem;
    padding: 0.5rem 0.75rem;
    background: white;
    color: var(--text-color);
    font-size: 0.875rem;
    transition: border-color 0.3s ease;
}

.sort-dropdown:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(227, 30, 36, 0.1);
}

/* Cart and Toast Styles */
.cart-count-badge {
    transition: all 0.3s ease;
}

.cart-count-badge.animate-pulse {
    animation: pulse 1s ease-in-out;
}

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

/* Toast Notification */
.toast-notification {
    transition: transform 0.3s ease-in-out;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.toast-notification.slide-in {
    transform: translateX(0);
}

.toast-notification.slide-out {
    transform: translateX(100%);
}

/* Add to Cart Button States */
.add-to-cart-btn {
    transition: all 0.3s ease;
    position: relative;
}

.add-to-cart-btn:disabled {
    cursor: not-allowed;
    opacity: 0.8;
}

.add-to-cart-btn.loading {
    background-color: #6b7280;
}

.add-to-cart-btn.success {
    background-color: #059669;
}

.add-to-cart-btn.success:hover {
    background-color: #047857;
}

/* Cart Modal Enhancements */
.cart-modal {
    backdrop-filter: blur(4px);
}

.cart-item {
    transition: all 0.3s ease;
}

.cart-item:hover {
    background-color: #f9fafb;
}

.cart-item-remove {
    transition: color 0.2s ease;
}

.cart-item-remove:hover {
    color: #dc2626;
    transform: scale(1.1);
}

/* Loading Spinner */
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.fa-spin {
    animation: spin 1s linear infinite;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.5s ease-out;
}

/* Manufacturer Filter Styles */
.manufacturer-filter {
    accent-color: #dc2626;
    cursor: pointer;
    transition: all 0.2s ease;
}

.manufacturer-filter:checked + label {
    color: #dc2626;
    font-weight: 500;
}

.manufacturer-filter + label {
    transition: all 0.2s ease;
    padding: 0.25rem 0.5rem;
    margin: -0.25rem -0.5rem;
    border-radius: 0.25rem;
    cursor: pointer;
}

.manufacturer-filter + label:hover {
    color: #dc2626;
    background-color: #fef2f2;
}

/* Filter sections scrollbar styling */
.max-h-48::-webkit-scrollbar {
    width: 4px;
}

.max-h-48::-webkit-scrollbar-track {
    background: #f3f4f6;
    border-radius: 2px;
}

.max-h-48::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 2px;
}

.max-h-48::-webkit-scrollbar-thumb:hover {
    background: #9ca3af;
}

/* Shopping Cart Styles */
.cart-item {
    transition: all 0.3s ease;
}

.cart-item.removing {
    opacity: 0;
    transform: translateX(-100%);
}

.quantity-input {
    -moz-appearance: textfield;
}

.quantity-input::-webkit-outer-spin-button,
.quantity-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.quantity-input:focus {
    outline: none;
    box-shadow: none;
}

/* Toast notification styles */
.toast-notification {
    transform: translateX(0);
    transition: transform 0.3s ease;
}

.toast-notification.slide-out {
    transform: translateX(100%);
}

/* Checkout Styles */
.step-indicator {
    position: relative;
}

.step-indicator::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 100%;
    width: 100%;
    height: 2px;
    background-color: #e5e7eb;
    transform: translateY(-50%);
}

.step-indicator:last-child::after {
    display: none;
}

.step-indicator.completed::after {
    background-color: #10b981;
}

/* Payment method cards */
.payment-method {
    transition: all 0.2s ease;
    cursor: pointer;
}

.payment-method:hover {
    border-color: #dc2626;
    background-color: #fef2f2;
}

.payment-method.selected {
    border-color: #dc2626;
    background-color: #fef2f2;
}

/* Form validation */
.field-validation-error {
    color: #dc2626;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.input-validation-error {
    border-color: #dc2626 !important;
}

.field-validation-valid {
    display: none;
}

/* Checkout loading */
.checkout-loading {
    opacity: 0.6;
    pointer-events: none;
    position: relative;
}

.checkout-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #dc2626;
    border-radius: 50%;
    animation: checkout-spin 1s linear infinite;
    transform: translate(-50%, -50%);
    z-index: 10;
}

@keyframes checkout-spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Address form styles */
.address-form input:focus,
.address-form select:focus,
.address-form textarea:focus {
    outline: none;
    border-color: #dc2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

/* Product Detail Styles */
.product-image {
    transition: transform 0.3s ease;
}

.product-image:hover {
    transform: scale(1.05);
}

/* Product tabs */
.tab-button {
    transition: all 0.2s ease;
}

.tab-button:hover {
    color: #dc2626;
    border-color: #fca5a5;
}

.tab-button.active {
    color: #dc2626;
    border-color: #dc2626;
}

.tab-content {
    animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Product specifications */
.prose {
    color: #374151;
    line-height: 1.7;
}

.prose h1, .prose h2, .prose h3, .prose h4 {
    color: #111827;
    font-weight: 600;
    margin-top: 1.5em;
    margin-bottom: 0.5em;
}

.prose p {
    margin-bottom: 1em;
}

.prose ul, .prose ol {
    margin: 1em 0;
    padding-left: 1.5em;
}

.prose li {
    margin: 0.5em 0;
}

/* Product attributes */
.product-attributes select:focus,
.product-attributes input:focus {
    outline: none;
    border-color: #dc2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

/* Related products */
.related-product {
    transition: all 0.3s ease;
}

.related-product:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Product reviews */
.review-rating-bar {
    transition: width 0.5s ease;
}

.rating-star {
    transition: all 0.2s ease;
    cursor: pointer;
}

.rating-star:hover {
    transform: scale(1.1);
}

/* Review modal */
.review-modal {
    animation: fadeIn 0.3s ease-out;
}

.review-modal-content {
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from { transform: translateY(-20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* Review scrollbar */
.reviews-container::-webkit-scrollbar {
    width: 6px;
}

.reviews-container::-webkit-scrollbar-track {
    background: #f3f4f6;
    border-radius: 3px;
}

.reviews-container::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 3px;
}

.reviews-container::-webkit-scrollbar-thumb:hover {
    background: #9ca3af;
}

/* Product image thumbnails */
.product-thumbnail {
    transition: all 0.2s ease;
}

.product-thumbnail:hover {
    border-color: #dc2626;
    transform: scale(1.05);
}

.product-thumbnail.active {
    border-color: #dc2626;
    border-width: 2px;
}

/* Customer Account Styles */
.account-menu-item {
    transition: all 0.2s ease;
    border-left: 4px solid transparent;
}

.account-menu-item:hover {
    background-color: #fef2f2;
    border-left-color: #dc2626;
}

.account-menu-item.active {
    background-color: #fef2f2;
    border-left-color: #dc2626;
    color: #dc2626;
    font-weight: 600;
}

/* Stats cards */
.stats-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

/* Customer form styles */
.customer-form input:focus,
.customer-form select:focus,
.customer-form textarea:focus {
    outline: none;
    border-color: #dc2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

/* Customer info sections */
.customer-section {
    transition: all 0.2s ease;
}

.customer-section:hover {
    border-color: #e5e7eb;
}

/* Order status badges */
.order-status-pending {
    background-color: #fef3c7;
    color: #92400e;
}

.order-status-processing {
    background-color: #dbeafe;
    color: #1e40af;
}

.order-status-complete {
    background-color: #d1fae5;
    color: #065f46;
}

.order-status-cancelled {
    background-color: #fee2e2;
    color: #991b1b;
}

/* Profile avatar */
.profile-avatar {
    transition: all 0.2s ease;
}

.profile-avatar:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.2);
}

/* Customer navigation active state */
.customer-nav-active {
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
    border-left: 4px solid #dc2626;
    color: #dc2626;
    font-weight: 600;
}

/* Recent orders hover effect */
.recent-order-item {
    transition: all 0.2s ease;
}

.recent-order-item:hover {
    border-color: #fca5a5;
    background-color: #fefefe;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* Customer stats animation */
.customer-stat {
    animation: fadeInUp 0.5s ease-out;
}

.customer-stat:nth-child(1) { animation-delay: 0.1s; }
.customer-stat:nth-child(2) { animation-delay: 0.2s; }
.customer-stat:nth-child(3) { animation-delay: 0.3s; }
.customer-stat:nth-child(4) { animation-delay: 0.4s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Form validation states */
.form-field-valid {
    border-color: #10b981;
}

.form-field-valid:focus {
    border-color: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.form-field-error {
    border-color: #ef4444;
}

.form-field-error:focus {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

/* Order Pages Styles */
.order-card {
    transition: all 0.3s ease;
}

.order-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

/* Timeline styles */
.timeline-item {
    position: relative;
}

.timeline-item:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 1rem;
    top: 2.5rem;
    width: 2px;
    height: calc(100% - 1.5rem);
    background-color: #e5e7eb;
}

.timeline-item.completed:not(:last-child)::after {
    background-color: #10b981;
}

.timeline-dot {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 10;
    font-size: 0.75rem;
}

.timeline-dot.completed {
    background-color: #10b981;
    color: white;
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.1);
}

.timeline-dot.current {
    background-color: #3b82f6;
    color: white;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

.timeline-dot.pending {
    background-color: #e5e7eb;
    color: #6b7280;
    border: 2px solid #d1d5db;
}

/* Order status badges */
.order-status-badge {
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

/* Product card in order details */
.order-product-card {
    transition: all 0.2s ease;
    border: 1px solid #e5e7eb;
}

.order-product-card:hover {
    border-color: #dc2626;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.1);
    transform: translateY(-1px);
}

/* Order filters */
.order-filter-form {
    background: linear-gradient(135deg, #fafafa 0%, #f5f5f5 100%);
}

.order-filter-input:focus {
    border-color: #dc2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
    outline: none;
}

/* Order actions buttons */
.order-action-btn {
    transition: all 0.2s ease;
    font-weight: 500;
    border-radius: 0.5rem;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.order-action-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.order-action-btn.primary {
    background-color: #dc2626;
    color: white;
}

.order-action-btn.primary:hover {
    background-color: #b91c1c;
}

.order-action-btn.secondary {
    background-color: #f3f4f6;
    color: #374151;
}

.order-action-btn.secondary:hover {
    background-color: #e5e7eb;
}

.order-action-btn.success {
    background-color: #10b981;
    color: white;
}

.order-action-btn.success:hover {
    background-color: #059669;
}

.order-action-btn.info {
    background-color: #3b82f6;
    color: white;
}

.order-action-btn.info:hover {
    background-color: #2563eb;
}

/* Order pagination */
.order-pagination {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.order-pagination a,
.order-pagination span {
    padding: 0.5rem 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    transition: all 0.2s ease;
    text-decoration: none;
}

.order-pagination a:hover {
    background-color: #f9fafb;
    border-color: #dc2626;
}

.order-pagination .current {
    background-color: #dc2626;
    color: white;
    border-color: #dc2626;
}

/* Order summary totals */
.order-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    font-size: 0.875rem;
}

.order-total-row.highlight {
    font-weight: 600;
    font-size: 1rem;
    border-top: 1px solid #e5e7eb;
    padding-top: 1rem;
    margin-top: 0.5rem;
}

.order-total-row.discount {
    color: #059669;
}

/* Address display */
.order-address {
    background-color: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    padding: 1rem;
}

.order-address h3 {
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: #374151;
}

.order-address p {
    margin-bottom: 0.25rem;
    font-size: 0.875rem;
    color: #6b7280;
}

.order-address strong {
    color: #111827;
}

/* Order notes */
.order-note {
    border-left: 4px solid #3b82f6;
    padding-left: 1rem;
    background-color: #f8fafc;
    border-radius: 0 0.5rem 0.5rem 0;
    padding: 1rem;
    margin-bottom: 1rem;
}

.order-note-date {
    font-size: 0.75rem;
    color: #6b7280;
    font-weight: 500;
}

/* Responsive order table */
@media (max-width: 768px) {
    .order-card {
        margin-bottom: 1rem;
    }
    
    .order-card .flex-col {
        gap: 1rem;
    }
    
    .order-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .order-action-btn {
        justify-content: center;
        width: 100%;
    }
    
    .timeline-dot {
        width: 1.5rem;
        height: 1.5rem;
        font-size: 0.625rem;
    }
    
    .timeline-item:not(:last-child)::after {
        left: 0.75rem;
        top: 2rem;
        height: calc(100% - 1rem);
    }
}

/* Loading states */
.order-loading {
    opacity: 0.6;
    pointer-events: none;
}

.order-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #dc2626;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* Order export button */
.order-export-btn {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 500;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(16, 185, 129, 0.2);
}

.order-export-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

/* Invoice Pages Styles */
.invoice-card {
    transition: all 0.3s ease;
}

.invoice-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.invoice-overdue {
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
    border-left: 4px solid #dc2626;
}

.invoice-paid {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border-left: 4px solid #16a34a;
}

.invoice-pending {
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    border-left: 4px solid #d97706;
}

/* Invoice status badges */
.invoice-status-badge {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.375rem 0.75rem;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

.invoice-status-paid {
    background-color: #dcfce7;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.invoice-status-unpaid {
    background-color: #fef3c7;
    color: #92400e;
    border: 1px solid #fde68a;
}

.invoice-status-overdue {
    background-color: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
    animation: pulse 2s infinite;
}

.invoice-status-cancelled {
    background-color: #f3f4f6;
    color: #374151;
    border: 1px solid #d1d5db;
}

/* Invoice table styles */
.invoice-table {
    border-collapse: separate;
    border-spacing: 0;
}

.invoice-table th {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.025em;
    font-size: 0.75rem;
}

.invoice-table td {
    border-bottom: 1px solid #e5e7eb;
    transition: background-color 0.2s ease;
}

.invoice-table tr:hover td {
    background-color: #f9fafb;
}

.invoice-table tr.overdue:hover td {
    background-color: #fef2f2;
}

/* Invoice action buttons */
.invoice-action {
    transition: all 0.2s ease;
    font-size: 0.75rem;
    font-weight: 500;
    padding: 0.25rem 0.5rem;
    border-radius: 0.375rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.invoice-action:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.invoice-action.view {
    color: #2563eb;
    background-color: #eff6ff;
}

.invoice-action.view:hover {
    color: #1d4ed8;
    background-color: #dbeafe;
}

.invoice-action.download {
    color: #059669;
    background-color: #ecfdf5;
}

.invoice-action.download:hover {
    color: #047857;
    background-color: #d1fae5;
}

.invoice-action.pay {
    color: #dc2626;
    background-color: #fef2f2;
}

.invoice-action.pay:hover {
    color: #b91c1c;
    background-color: #fee2e2;
}

/* Invoice filters */
.invoice-filter-form {
    background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
    border: 1px solid #e5e7eb;
}

.invoice-filter-input {
    transition: all 0.2s ease;
    border: 1px solid #d1d5db;
}

.invoice-filter-input:focus {
    border-color: #dc2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
    outline: none;
}

/* Invoice summary cards */
.invoice-summary-card {
    transition: all 0.3s ease;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    overflow: hidden;
}

.invoice-summary-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
    border-color: #dc2626;
}

.invoice-summary-card .icon-container {
    transition: all 0.3s ease;
}

.invoice-summary-card:hover .icon-container {
    transform: scale(1.1);
}

/* Invoice details page */
.invoice-details-summary {
    background: linear-gradient(135deg, #fafafa 0%, #f5f5f5 100%);
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    position: sticky;
    top: 1.5rem;
}

.invoice-details-item {
    transition: all 0.2s ease;
    border-bottom: 1px solid #f3f4f6;
}

.invoice-details-item:hover {
    background-color: #f9fafb;
    transform: translateX(4px);
}

.invoice-details-item:last-child {
    border-bottom: none;
}

/* Invoice pagination */
.invoice-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
}

.invoice-pagination a,
.invoice-pagination span {
    padding: 0.5rem 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s ease;
    text-decoration: none;
    min-width: 2.5rem;
    text-align: center;
}

.invoice-pagination a:hover {
    background-color: #f3f4f6;
    border-color: #dc2626;
    transform: translateY(-1px);
}

.invoice-pagination .current {
    background-color: #dc2626;
    color: white;
    border-color: #dc2626;
}

.invoice-pagination .disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

/* Invoice export buttons */
.invoice-export-excel {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    color: white;
    border: none;
    box-shadow: 0 2px 4px rgba(5, 150, 105, 0.2);
}

.invoice-export-excel:hover {
    background: linear-gradient(135deg, #047857 0%, #065f46 100%);
    box-shadow: 0 4px 12px rgba(5, 150, 105, 0.3);
}

.invoice-export-pdf {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    color: white;
    border: none;
    box-shadow: 0 2px 4px rgba(220, 38, 38, 0.2);
}

.invoice-export-pdf:hover {
    background: linear-gradient(135deg, #b91c1c 0%, #991b1b 100%);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

/* Tiger Logo integration indicators */
.tiger-connection-status {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
}

.tiger-connection-success {
    background-color: #dcfce7;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.tiger-connection-error {
    background-color: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.tiger-sync-indicator {
    animation: spin 1s linear infinite;
    color: #3b82f6;
}

/* Responsive invoice table */
@media (max-width: 768px) {
    .invoice-table-container {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .invoice-table {
        min-width: 800px;
    }
    
    .invoice-action {
        font-size: 0.625rem;
        padding: 0.25rem;
    }
    
    .invoice-action span {
        display: none;
    }
    
    .invoice-summary-card {
        margin-bottom: 1rem;
    }
    
    .invoice-filters {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* Print styles for invoices */
@media print {
    .invoice-no-print {
        display: none !important;
    }
    
    .invoice-details-summary {
        position: static;
        box-shadow: none;
        border: 1px solid #000;
    }
    
    .invoice-table th {
        background: #000 !important;
        color: #fff !important;
    }
    
    .invoice-table td {
        border: 1px solid #000;
    }
    
    body {
        font-size: 12px;
    }
}

/* Payment Pages Styles */
.payment-method {
    transition: all 0.2s ease;
    cursor: pointer;
}

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

.payment-method.selected {
    border-color: #dc2626;
    background-color: #fef2f2;
}

/* Amount buttons */
.amount-btn {
    transition: all 0.2s ease;
    cursor: pointer;
}

.amount-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.amount-btn.selected {
    background-color: #dc2626;
    color: white;
    border-color: #dc2626;
}

.amount-btn.selected .text-gray-900 {
    color: white;
}

.amount-btn.selected .text-gray-500 {
    color: rgba(255, 255, 255, 0.8);
}

/* Payment form animations */
.payment-form {
    transition: all 0.3s ease;
}

.payment-form.show {
    opacity: 1;
    max-height: 1000px;
    display: block;
}

.payment-form.hide {
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    display: none;
}

/* Installment options */
.installment-option {
    transition: all 0.2s ease;
    cursor: pointer;
}

.installment-option:hover {
    border-color: #dc2626;
    transform: translateY(-1px);
}

.installment-option.border-red-500 {
    background-color: #fef2f2;
}

/* Wallet options */
.wallet-option {
    transition: all 0.2s ease;
    cursor: pointer;
}

.wallet-option:hover {
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Payment button loading state */
.payment-btn-loading {
    animation: spin 1s linear infinite;
}

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

/* Success animation */
@keyframes checkmark {
    0% {
        transform: scale(0);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

.checkmark {
    animation: checkmark 0.6s ease-in-out;
}

/* Payment security badges */
.security-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.5rem;
    background-color: #dcfce7;
    color: #166534;
    font-size: 0.75rem;
    font-weight: 500;
    border-radius: 0.375rem;
    border: 1px solid #bbf7d0;
}

/* Payment input focus states */
.payment-input:focus {
    border-color: #dc2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
    outline: none;
}

/* Card input formatting */
.card-input {
    font-family: 'Courier New', monospace;
    letter-spacing: 0.1em;
}

/* Payment method icons */
.payment-method-icon {
    font-size: 1.5rem;
    margin-right: 0.75rem;
}

/* Payment amount display */
.payment-amount {
    font-size: 1.125rem;
    font-weight: 600;
    color: #dc2626;
}

/* Payment status indicators */
.payment-status-success {
    color: #059669;
    background-color: #ecfdf5;
    border: 1px solid #a7f3d0;
}

.payment-status-pending {
    color: #d97706;
    background-color: #fffbeb;
    border: 1px solid #fed7aa;
}

.payment-status-failed {
    color: #dc2626;
    background-color: #fef2f2;
    border: 1px solid #fecaca;
}

/* Payment modal styles */
.payment-modal {
    backdrop-filter: blur(4px);
}

.payment-modal-content {
    animation: slideInUp 0.3s ease-out;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Payment history cards */
.payment-history-card {
    transition: all 0.2s ease;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    overflow: hidden;
}

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

/* Bank transfer info styling */
.bank-info-container {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border: 1px solid #bfdbfe;
    border-radius: 0.5rem;
    padding: 1rem;
}

.bank-info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(59, 130, 246, 0.1);
}

.bank-info-row:last-child {
    border-bottom: none;
}

.bank-info-label {
    color: #1e40af;
    font-weight: 500;
}

.bank-info-value {
    color: #1e3a8a;
    font-weight: 600;
    font-family: 'Courier New', monospace;
}

/* Payment warning messages */
.payment-warning {
    background-color: #fef3c7;
    border: 1px solid #fbbf24;
    color: #92400e;
    padding: 0.75rem;
    border-radius: 0.375rem;
    font-size: 0.75rem;
    margin-top: 1rem;
}

.payment-warning strong {
    font-weight: 700;
}

/* Balance display */
.balance-positive {
    color: #059669;
}

.balance-negative {
    color: #dc2626;
}

.balance-zero {
    color: #6b7280;
}

/* Payment terms checkbox */
.payment-terms-checkbox {
    accent-color: #dc2626;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .payment-method {
        margin-bottom: 1rem;
    }
    
    .amount-btn {
        font-size: 0.875rem;
        padding: 0.75rem;
    }
    
    .payment-form {
        padding: 1rem;
    }
    
    .installment-option {
        padding: 0.5rem;
        font-size: 0.875rem;
    }
    
    .wallet-option {
        padding: 0.75rem;
        font-size: 0.875rem;
    }
    
    .bank-info-row {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }
    
    .bank-info-value {
        margin-top: 0.25rem;
        font-size: 0.875rem;
    }
}

/* Payment loading overlay */
.payment-loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.payment-loading-content {
    background: white;
    padding: 2rem;
    border-radius: 0.5rem;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.payment-loading-spinner {
    width: 3rem;
    height: 3rem;
    border: 4px solid #f3f4f6;
    border-top: 4px solid #dc2626;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

/* Payment success state */
.payment-success-icon {
    color: #059669;
    font-size: 3rem;
    animation: bounceIn 0.8s ease-out;
}

@keyframes bounceIn {
    0% {
        transform: scale(0.3);
        opacity: 0;
    }
    50% {
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Payment error state */
.payment-error-icon {
    color: #dc2626;
    font-size: 3rem;
}

/* Tooltip styles for payment info */
.payment-tooltip {
    position: relative;
    cursor: help;
}

.payment-tooltip:hover::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #1f2937;
    color: white;
    padding: 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    white-space: nowrap;
    z-index: 1000;
}

.payment-tooltip:hover::before {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 4px solid transparent;
    border-top-color: #1f2937;
    margin-bottom: -4px;
}

/* Payment method specific styles */
.payment-method-creditcard {
    border-left: 4px solid #3b82f6;
}

.payment-method-banktransfer {
    border-left: 4px solid #059669;
}

.payment-method-digitalwallet {
    border-left: 4px solid #8b5cf6;
}

/* Print styles for payment receipts */
@media print {
    .payment-no-print {
        display: none !important;
    }
    
    .payment-receipt {
        background: white !important;
        box-shadow: none !important;
        border: 1px solid #000 !important;
    }
    
    .payment-amount {
        font-size: 1.25rem !important;
        font-weight: bold !important;
    }
}

/* Account Statement Pages Styles */
.balance-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

/* Transaction row colors */
.transaction-debit {
    background-color: #fef2f2;
    border-left: 3px solid #fca5a5;
}

.transaction-credit {
    background-color: #f0fdf4;
    border-left: 3px solid #86efac;
}

.transaction-debit:hover {
    background-color: #fecaca;
}

.transaction-credit:hover {
    background-color: #dcfce7;
}

/* Table responsive improvements */
.table-container {
    overflow-x: auto;
    border-radius: 0.5rem;
}

.table-container::-webkit-scrollbar {
    height: 8px;
}

.table-container::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 4px;
}

.table-container::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

.table-container::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

@media (max-width: 768px) {
    .table-container {
        font-size: 0.875rem;
    }
    
    .table-container td {
        padding: 0.75rem 0.5rem;
    }
    
    .table-container th {
        padding: 0.75rem 0.5rem;
        font-size: 0.75rem;
    }
    
    .balance-card {
        padding: 1rem;
    }
    
    .balance-card .text-2xl {
        font-size: 1.5rem;
    }
}

/* Account statement filters */
.statement-filter-form {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.statement-filter-input:focus {
    border-color: #dc2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
    outline: none;
}

.statement-filter-btn {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
}

.statement-filter-btn:hover {
    background: linear-gradient(135deg, #b91c1c 0%, #991b1b 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

/* Balance summary cards */
.balance-summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.balance-summary-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    padding: 1.5rem;
    transition: all 0.2s ease;
}

.balance-summary-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.balance-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-right: 1rem;
}

.balance-icon.positive {
    background-color: #dcfce7;
    color: #059669;
}

.balance-icon.negative {
    background-color: #fef2f2;
    color: #dc2626;
}

.balance-icon.neutral {
    background-color: #fef3c7;
    color: #d97706;
}

.balance-icon.info {
    background-color: #dbeafe;
    color: #2563eb;
}

/* Transaction table enhancements */
.statement-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.statement-table th {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    color: #374151;
    border-bottom: 2px solid #e5e7eb;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.statement-table td {
    padding: 1rem;
    border-bottom: 1px solid #f3f4f6;
    vertical-align: middle;
}

.statement-table tbody tr:hover {
    background-color: #f9fafb;
}

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

/* Transaction amounts styling */
.amount-debit {
    color: #dc2626;
    font-weight: 600;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
}

.amount-credit {
    color: #059669;
    font-weight: 600;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
}

.amount-balance {
    font-weight: 700;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
}

.amount-balance.positive {
    color: #059669;
}

.amount-balance.negative {
    color: #dc2626;
}

/* Document number styling */
.document-number {
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 0.875rem;
    color: #6b7280;
    background-color: #f3f4f6;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    display: inline-block;
}

/* Transaction icons */
.transaction-icon {
    font-size: 1.25rem;
    margin-right: 0.5rem;
    opacity: 0.8;
}

/* Export buttons */
.export-btn {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    font-weight: 500;
    font-size: 0.875rem;
    transition: all 0.2s ease;
    border: 1px solid transparent;
    text-decoration: none;
}

.export-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.export-btn.excel {
    background-color: #059669;
    color: white;
    border-color: #047857;
}

.export-btn.excel:hover {
    background-color: #047857;
}

.export-btn.pdf {
    background-color: #dc2626;
    color: white;
    border-color: #b91c1c;
}

.export-btn.pdf:hover {
    background-color: #b91c1c;
}

.export-btn.refresh {
    background-color: #6b7280;
    color: white;
    border-color: #4b5563;
}

.export-btn.refresh:hover {
    background-color: #4b5563;
}

.export-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

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

/* Pagination styling */
.statement-pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    background: #f8fafc;
    border-top: 1px solid #e5e7eb;
    border-radius: 0 0 0.5rem 0.5rem;
}

.pagination-info {
    color: #6b7280;
    font-size: 0.875rem;
}

.pagination-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pagination-btn {
    padding: 0.5rem 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    background: white;
    color: #374151;
    text-decoration: none;
    font-size: 0.875rem;
    transition: all 0.2s ease;
}

.pagination-btn:hover {
    background: #f3f4f6;
    border-color: #9ca3af;
}

.pagination-btn.active {
    background: #dc2626;
    border-color: #dc2626;
    color: white;
}

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Summary cards at bottom */
.statement-summary-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.summary-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.summary-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #f3f4f6;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid #f9fafb;
}

.summary-item:last-child {
    border-bottom: none;
    font-weight: 600;
    padding-top: 1rem;
    border-top: 2px solid #e5e7eb;
}

.summary-item-label {
    color: #6b7280;
    font-size: 0.875rem;
}

.summary-item-value {
    font-weight: 500;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
}

/* Payment method icons in summary */
.payment-method-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid #f9fafb;
}

.payment-method-item:last-child {
    border-bottom: none;
}

.payment-method-info {
    display: flex;
    align-items: center;
}

.payment-method-icon {
    font-size: 1.5rem;
    margin-right: 0.75rem;
}

.payment-method-details {
    display: flex;
    flex-direction: column;
}

.payment-method-name {
    font-weight: 500;
    color: #111827;
    font-size: 0.875rem;
}

.payment-method-count {
    color: #6b7280;
    font-size: 0.75rem;
}

.payment-method-amount {
    text-align: right;
}

.payment-method-total {
    font-weight: 500;
    color: #111827;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
}

.payment-method-percentage {
    color: #6b7280;
    font-size: 0.75rem;
}

/* No data states */
.no-data-state {
    text-align: center;
    padding: 3rem 1rem;
    background: white;
    border-radius: 0.75rem;
    border: 1px solid #e5e7eb;
}

.no-data-icon {
    width: 4rem;
    height: 4rem;
    background: #f3f4f6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    color: #9ca3af;
}

.no-data-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 0.5rem;
}

.no-data-description {
    color: #6b7280;
    margin-bottom: 1.5rem;
}

.no-data-action {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1rem;
    background: #dc2626;
    color: white;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.2s ease;
}

.no-data-action:hover {
    background: #b91c1c;
}

/* Loading states */
.statement-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    background: white;
    border-radius: 0.75rem;
    border: 1px solid #e5e7eb;
}

.loading-spinner {
    width: 2rem;
    height: 2rem;
    border: 3px solid #f3f4f6;
    border-top: 3px solid #dc2626;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-right: 1rem;
}

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

/* Search functionality */
.statement-search {
    position: relative;
    margin-bottom: 1rem;
}

.statement-search input {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 2.5rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    font-size: 0.875rem;
}

.statement-search input:focus {
    border-color: #dc2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
    outline: none;
}

.statement-search i {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
}

.search-highlight {
    background-color: #fef3c7;
    padding: 0.125rem 0.25rem;
    border-radius: 0.25rem;
    font-weight: 500;
}

/* Notification styles */
.notification {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 9999;
    max-width: 24rem;
    padding: 1rem;
    border-radius: 0.5rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    transform: translateX(100%);
}

.notification.show {
    transform: translateX(0);
}

.notification.success {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #065f46;
}

.notification.error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
}

.notification.warning {
    background: #fffbeb;
    border: 1px solid #fed7aa;
    color: #92400e;
}

.notification.info {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    color: #1e40af;
}

/* Responsive improvements */
@media (max-width: 1024px) {
    .statement-summary-cards {
        grid-template-columns: 1fr;
    }
    
    .balance-summary-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

@media (max-width: 640px) {
    .statement-pagination {
        flex-direction: column;
        gap: 1rem;
    }
    
    .pagination-controls {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .export-btn {
        padding: 0.5rem 0.75rem;
        font-size: 0.75rem;
    }
    
    .balance-summary-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .statement-filter-form {
        padding: 1rem;
    }
    
    .statement-filter-form > div {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Print styles */
@media print {
    .export-btn,
    .statement-filter-form,
    .pagination-controls,
    .no-print {
        display: none !important;
    }
    
    .statement-table {
        box-shadow: none;
        border: 1px solid #000;
    }
    
    .statement-table th,
    .statement-table td {
        border: 1px solid #000;
        padding: 0.5rem;
    }
    
    .balance-summary-card {
        border: 1px solid #000;
        box-shadow: none;
    }
    
    body {
        font-size: 12px;
    }
}

 
 / *   P r i c e   L i s t   P a g e s   S t y l e s   * / 
 . p r i c e - l i s t - t a b l e - c o n t a i n e r   { 
         b a c k g r o u n d :   w h i t e ; 
         b o r d e r :   1 p x   s o l i d   # e 5 e 7 e b ; 
         b o r d e r - r a d i u s :   0 . 7 5 r e m ; 
         o v e r f l o w :   h i d d e n ; 
         b o x - s h a d o w :   0   1 p x   3 p x   r g b a ( 0 ,   0 ,   0 ,   0 . 1 ) ; 
 } 
 
 . p r i c e - l i s t - t a b l e   { 
         w i d t h :   1 0 0 % ; 
         b o r d e r - c o l l a p s e :   c o l l a p s e ; 
 } 
 
 . p r i c e - l i s t - t a b l e   t h   { 
         b a c k g r o u n d :   l i n e a r - g r a d i e n t ( 1 3 5 d e g ,   # f 8 f a f c   0 % ,   # f 1 f 5 f 9   1 0 0 % ) ; 
         p a d d i n g :   1 r e m   1 . 5 r e m ; 
         t e x t - a l i g n :   l e f t ; 
         f o n t - s i z e :   0 . 8 7 5 r e m ; 
         f o n t - w e i g h t :   6 0 0 ; 
         c o l o r :   # 3 7 4 1 5 1 ; 
         b o r d e r - b o t t o m :   2 p x   s o l i d   # e 5 e 7 e b ; 
         t e x t - t r a n s f o r m :   u p p e r c a s e ; 
         l e t t e r - s p a c i n g :   0 . 0 5 e m ; 
 } 
 
 . p r i c e - l i s t - t a b l e   t d   { 
         p a d d i n g :   1 r e m   1 . 5 r e m ; 
         b o r d e r - b o t t o m :   1 p x   s o l i d   # f 3 f 4 f 6 ; 
         v e r t i c a l - a l i g n :   m i d d l e ; 
 } 
 
 . p r i c e - l i s t - t a b l e   t b o d y   t r : h o v e r   { 
         b a c k g r o u n d - c o l o r :   # f 9 f a f b ; 
 } 
 
 . p r o d u c t - i n f o   { 
         d i s p l a y :   f l e x ; 
         a l i g n - i t e m s :   c e n t e r ; 
         g a p :   0 . 7 5 r e m ; 
 } 
 
 . p r o d u c t - b a d g e s   { 
         d i s p l a y :   f l e x ; 
         f l e x - w r a p :   w r a p ; 
         g a p :   0 . 2 5 r e m ; 
 } 
 
 . p r o d u c t - b a d g e   { 
         d i s p l a y :   i n l i n e - f l e x ; 
         a l i g n - i t e m s :   c e n t e r ; 
         p a d d i n g :   0 . 1 2 5 r e m   0 . 5 r e m ; 
         b o r d e r - r a d i u s :   0 . 3 7 5 r e m ; 
         f o n t - s i z e :   0 . 7 5 r e m ; 
         f o n t - w e i g h t :   5 0 0 ; 
 } 
 
 . p r o d u c t - a c t i o n s   { 
         d i s p l a y :   f l e x ; 
         a l i g n - i t e m s :   c e n t e r ; 
         j u s t i f y - c o n t e n t :   c e n t e r ; 
         g a p :   0 . 5 r e m ; 
 } 
 
 . p r o d u c t - a c t i o n   { 
         p a d d i n g :   0 . 3 7 5 r e m ; 
         b o r d e r :   n o n e ; 
         b a c k g r o u n d :   n o n e ; 
         c u r s o r :   p o i n t e r ; 
         b o r d e r - r a d i u s :   0 . 2 5 r e m ; 
         t r a n s i t i o n :   a l l   0 . 2 s   e a s e ; 
         f o n t - s i z e :   0 . 8 7 5 r e m ; 
 } 
 
 . p r o d u c t - a c t i o n : h o v e r   { 
         b a c k g r o u n d - c o l o r :   # f 3 f 4 f 6 ; 
         t r a n s f o r m :   s c a l e ( 1 . 1 ) ; 
 } 
 
 @ m e d i a   ( m a x - w i d t h :   7 6 8 p x )   { 
         . p r i c e - l i s t - t a b l e - c o n t a i n e r   { 
                 o v e r f l o w - x :   a u t o ; 
         } 
         
         . p r i c e - l i s t - t a b l e   { 
                 m i n - w i d t h :   8 0 0 p x ; 
         } 
         
         . p r i c e - l i s t - t a b l e   t h , 
         . p r i c e - l i s t - t a b l e   t d   { 
                 p a d d i n g :   0 . 7 5 r e m   1 r e m ; 
                 f o n t - s i z e :   0 . 8 1 2 5 r e m ; 
         } 
 } 
 
 @ m e d i a   p r i n t   { 
         . p r o d u c t - a c t i o n s , 
         . n o - p r i n t   { 
                 d i s p l a y :   n o n e   ! i m p o r t a n t ; 
         } 
         
         . p r i c e - l i s t - t a b l e   t h , 
         . p r i c e - l i s t - t a b l e   t d   { 
                 b o r d e r :   1 p x   s o l i d   # 0 0 0 ; 
                 p a d d i n g :   0 . 5 r e m ; 
                 f o n t - s i z e :   1 1 p x ; 
         } 
 } 
 
 
 
 / *   D e a l e r   I n f o   P a g e s   S t y l e s   * / 
 . d e a l e r - i n f o - c o n t a i n e r   { 
         m i n - h e i g h t :   1 0 0 v h ; 
         b a c k g r o u n d - c o l o r :   # f 9 f a f b ; 
 } 
 
 . d e a l e r - i n f o - f o r m   { 
         b a c k g r o u n d :   l i n e a r - g r a d i e n t ( 1 3 5 d e g ,   # f f f f f f   0 % ,   # f 8 f a f c   1 0 0 % ) ; 
         b o r d e r :   1 p x   s o l i d   # e 5 e 7 e b ; 
         b o r d e r - r a d i u s :   0 . 7 5 r e m ; 
         p a d d i n g :   2 r e m ; 
         b o x - s h a d o w :   0   1 p x   3 p x   r g b a ( 0 ,   0 ,   0 ,   0 . 1 ) ; 
 } 
 
 . d e a l e r - l e v e l - b a d g e   { 
         b a c k g r o u n d :   l i n e a r - g r a d i e n t ( 1 3 5 d e g ,   # 3 b 8 2 f 6   0 % ,   # 1 d 4 e d 8   1 0 0 % ) ; 
         b o x - s h a d o w :   0   4 p x   1 2 p x   r g b a ( 5 9 ,   1 3 0 ,   2 4 6 ,   0 . 3 ) ; 
         c o l o r :   w h i t e ; 
         p a d d i n g :   0 . 5 r e m   1 r e m ; 
         b o r d e r - r a d i u s :   0 . 5 r e m ; 
         f o n t - w e i g h t :   5 0 0 ; 
         d i s p l a y :   i n l i n e - f l e x ; 
         a l i g n - i t e m s :   c e n t e r ; 
         g a p :   0 . 5 r e m ; 
 } 
 
 . d e a l e r - s t a t s - c a r d   { 
         b a c k g r o u n d :   w h i t e ; 
         b o r d e r :   1 p x   s o l i d   # e 5 e 7 e b ; 
         b o r d e r - r a d i u s :   0 . 7 5 r e m ; 
         p a d d i n g :   1 . 5 r e m ; 
         b o x - s h a d o w :   0   1 p x   3 p x   r g b a ( 0 ,   0 ,   0 ,   0 . 1 ) ; 
         t r a n s i t i o n :   a l l   0 . 2 s   e a s e ; 
 } 
 
 . d e a l e r - s t a t s - c a r d : h o v e r   { 
         b o x - s h a d o w :   0   4 p x   1 2 p x   r g b a ( 0 ,   0 ,   0 ,   0 . 1 ) ; 
         t r a n s f o r m :   t r a n s l a t e Y ( - 1 p x ) ; 
 } 
 
 . d e a l e r - s t a t s - i c o n   { 
         w i d t h :   3 r e m ; 
         h e i g h t :   3 r e m ; 
         b o r d e r - r a d i u s :   0 . 5 r e m ; 
         d i s p l a y :   f l e x ; 
         a l i g n - i t e m s :   c e n t e r ; 
         j u s t i f y - c o n t e n t :   c e n t e r ; 
         f o n t - s i z e :   1 . 2 5 r e m ; 
 } 
 
 . f o r m - i n p u t   { 
         w i d t h :   1 0 0 % ; 
         p a d d i n g :   0 . 7 5 r e m   1 r e m ; 
         b o r d e r :   1 p x   s o l i d   # d 1 d 5 d b ; 
         b o r d e r - r a d i u s :   0 . 5 r e m ; 
         f o n t - s i z e :   0 . 8 7 5 r e m ; 
         t r a n s i t i o n :   a l l   0 . 2 s   e a s e ; 
         b a c k g r o u n d - c o l o r :   w h i t e ; 
 } 
 
 . f o r m - i n p u t : f o c u s   { 
         b o r d e r - c o l o r :   # d c 2 6 2 6 ; 
         b o x - s h a d o w :   0   0   0   3 p x   r g b a ( 2 2 0 ,   3 8 ,   3 8 ,   0 . 1 ) ; 
         o u t l i n e :   n o n e ; 
 } 
 
 . f o r m - l a b e l   { 
         d i s p l a y :   b l o c k ; 
         f o n t - s i z e :   0 . 8 7 5 r e m ; 
         f o n t - w e i g h t :   5 0 0 ; 
         c o l o r :   # 3 7 4 1 5 1 ; 
         m a r g i n - b o t t o m :   0 . 5 r e m ; 
 } 
 
 . f o r m - r e q u i r e d   { 
         c o l o r :   # d c 2 6 2 6 ; 
         m a r g i n - l e f t :   0 . 2 5 r e m ; 
 } 
 
 . v a l i d a t i o n - s u c c e s s   { 
         c o l o r :   # 0 5 9 6 6 9 ; 
         b a c k g r o u n d - c o l o r :   # e c f d f 5 ; 
         b o r d e r - c o l o r :   # a 7 f 3 d 0 ; 
         p a d d i n g :   0 . 5 r e m ; 
         b o r d e r - r a d i u s :   0 . 2 5 r e m ; 
         f o n t - s i z e :   0 . 8 7 5 r e m ; 
         d i s p l a y :   f l e x ; 
         a l i g n - i t e m s :   c e n t e r ; 
         g a p :   0 . 5 r e m ; 
 } 
 
 . v a l i d a t i o n - e r r o r   { 
         c o l o r :   # d c 2 6 2 6 ; 
         b a c k g r o u n d - c o l o r :   # f e f 2 f 2 ; 
         b o r d e r - c o l o r :   # f e c a c a ; 
         p a d d i n g :   0 . 5 r e m ; 
         b o r d e r - r a d i u s :   0 . 2 5 r e m ; 
         f o n t - s i z e :   0 . 8 7 5 r e m ; 
         d i s p l a y :   f l e x ; 
         a l i g n - i t e m s :   c e n t e r ; 
         g a p :   0 . 5 r e m ; 
 } 
 
 . c r e d i t - p r o g r e s s - c o n t a i n e r   { 
         w i d t h :   1 0 0 % ; 
         b a c k g r o u n d - c o l o r :   # e 5 e 7 e b ; 
         b o r d e r - r a d i u s :   9 9 9 9 p x ; 
         h e i g h t :   0 . 5 r e m ; 
         o v e r f l o w :   h i d d e n ; 
 } 
 
 . c r e d i t - p r o g r e s s - b a r   { 
         h e i g h t :   1 0 0 % ; 
         b a c k g r o u n d :   l i n e a r - g r a d i e n t ( t o   r i g h t ,   # 1 0 b 9 8 1   0 % ,   # 0 5 9 6 6 9   1 0 0 % ) ; 
         b o r d e r - r a d i u s :   9 9 9 9 p x ; 
         t r a n s i t i o n :   w i d t h   0 . 3 s   e a s e ; 
         b o x - s h a d o w :   0   2 p x   8 p x   r g b a ( 1 6 ,   1 8 5 ,   1 2 9 ,   0 . 3 ) ; 
 } 
 
 . a d v a n c e d - f i e l d s - t o g g l e   { 
         d i s p l a y :   f l e x ; 
         a l i g n - i t e m s :   c e n t e r ; 
         j u s t i f y - c o n t e n t :   b e t w e e n ; 
         w i d t h :   1 0 0 % ; 
         t e x t - a l i g n :   l e f t ; 
         f o n t - s i z e :   1 . 1 2 5 r e m ; 
         f o n t - w e i g h t :   5 0 0 ; 
         c o l o r :   # 1 1 1 8 2 7 ; 
         b a c k g r o u n d :   n o n e ; 
         b o r d e r :   n o n e ; 
         c u r s o r :   p o i n t e r ; 
         t r a n s i t i o n :   c o l o r   0 . 2 s   e a s e ; 
 } 
 
 . a d v a n c e d - f i e l d s - t o g g l e : h o v e r   { 
         c o l o r :   # d c 2 6 2 6 ; 
 } 
 
 . a d v a n c e d - f i e l d s - i c o n   { 
         t r a n s i t i o n :   t r a n s f o r m   0 . 3 s   e a s e ; 
 } 
 
 . a d v a n c e d - f i e l d s - i c o n . r o t a t e - 1 8 0   { 
         t r a n s f o r m :   r o t a t e ( 1 8 0 d e g ) ; 
 } 
 
 . a d v a n c e d - f i e l d s   { 
         m a r g i n - t o p :   1 r e m ; 
         t r a n s i t i o n :   a l l   0 . 3 s   e a s e ; 
 } 
 
 . a d v a n c e d - f i e l d s . h i d d e n   { 
         d i s p l a y :   n o n e ; 
 } 
 
 . d e a l e r - s i d e b a r - c a r d   { 
         b a c k g r o u n d :   w h i t e ; 
         b o r d e r :   1 p x   s o l i d   # e 5 e 7 e b ; 
         b o r d e r - r a d i u s :   0 . 7 5 r e m ; 
         p a d d i n g :   1 . 5 r e m ; 
         b o x - s h a d o w :   0   1 p x   3 p x   r g b a ( 0 ,   0 ,   0 ,   0 . 1 ) ; 
 } 
 
 . r e c e n t - o r d e r - i t e m   { 
         d i s p l a y :   f l e x ; 
         a l i g n - i t e m s :   c e n t e r ; 
         j u s t i f y - c o n t e n t :   s p a c e - b e t w e e n ; 
         p a d d i n g :   0 . 7 5 r e m ; 
         b a c k g r o u n d - c o l o r :   # f 9 f a f b ; 
         b o r d e r - r a d i u s :   0 . 5 r e m ; 
         t r a n s i t i o n :   b a c k g r o u n d - c o l o r   0 . 2 s   e a s e ; 
 } 
 
 . r e c e n t - o r d e r - i t e m : h o v e r   { 
         b a c k g r o u n d - c o l o r :   # f 3 f 4 f 6 ; 
 } 
 
 . h e l p - s u p p o r t - c a r d   { 
         b a c k g r o u n d :   l i n e a r - g r a d i e n t ( 1 3 5 d e g ,   # e f f 6 f f   0 % ,   # d b e a f e   1 0 0 % ) ; 
         b o r d e r :   1 p x   s o l i d   # b f d b f e ; 
         b o r d e r - r a d i u s :   0 . 7 5 r e m ; 
         p a d d i n g :   1 . 5 r e m ; 
 } 
 
 . h e l p - s u p p o r t - l i n k   { 
         d i s p l a y :   f l e x ; 
         a l i g n - i t e m s :   c e n t e r ; 
         c o l o r :   # 1 d 4 e d 8 ; 
         t e x t - d e c o r a t i o n :   n o n e ; 
         t r a n s i t i o n :   c o l o r   0 . 2 s   e a s e ; 
         f o n t - s i z e :   0 . 8 7 5 r e m ; 
 } 
 
 . h e l p - s u p p o r t - l i n k : h o v e r   { 
         c o l o r :   # 1 e 4 0 a f ; 
         t e x t - d e c o r a t i o n :   n o n e ; 
 } 
 
 . d e a l e r - a c t i o n - b t n   { 
         d i s p l a y :   i n l i n e - f l e x ; 
         a l i g n - i t e m s :   c e n t e r ; 
         j u s t i f y - c o n t e n t :   c e n t e r ; 
         p a d d i n g :   0 . 7 5 r e m   1 . 5 r e m ; 
         b o r d e r - r a d i u s :   0 . 5 r e m ; 
         f o n t - s i z e :   0 . 8 7 5 r e m ; 
         f o n t - w e i g h t :   5 0 0 ; 
         t e x t - d e c o r a t i o n :   n o n e ; 
         t r a n s i t i o n :   a l l   0 . 2 s   e a s e ; 
         b o r d e r :   n o n e ; 
         c u r s o r :   p o i n t e r ; 
         g a p :   0 . 5 r e m ; 
 } 
 
 . d e a l e r - a c t i o n - b t n . p r i m a r y   { 
         b a c k g r o u n d :   l i n e a r - g r a d i e n t ( 1 3 5 d e g ,   # d c 2 6 2 6   0 % ,   # b 9 1 c 1 c   1 0 0 % ) ; 
         c o l o r :   w h i t e ; 
 } 
 
 . d e a l e r - a c t i o n - b t n . p r i m a r y : h o v e r   { 
         b a c k g r o u n d :   l i n e a r - g r a d i e n t ( 1 3 5 d e g ,   # b 9 1 c 1 c   0 % ,   # 9 9 1 b 1 b   1 0 0 % ) ; 
         t r a n s f o r m :   t r a n s l a t e Y ( - 1 p x ) ; 
         b o x - s h a d o w :   0   4 p x   1 2 p x   r g b a ( 2 2 0 ,   3 8 ,   3 8 ,   0 . 3 ) ; 
         t e x t - d e c o r a t i o n :   n o n e ; 
 } 
 
 . d e a l e r - a c t i o n - b t n . s e c o n d a r y   { 
         b a c k g r o u n d :   # f 3 f 4 f 6 ; 
         c o l o r :   # 3 7 4 1 5 1 ; 
         b o r d e r :   1 p x   s o l i d   # d 1 d 5 d b ; 
 } 
 
 . d e a l e r - a c t i o n - b t n . s e c o n d a r y : h o v e r   { 
         b a c k g r o u n d :   # e 5 e 7 e b ; 
         b o r d e r - c o l o r :   # 9 c a 3 a f ; 
         t e x t - d e c o r a t i o n :   n o n e ; 
 } 
 
 . d e a l e r - a c t i o n - b t n . i n f o   { 
         b a c k g r o u n d :   l i n e a r - g r a d i e n t ( 1 3 5 d e g ,   # 2 5 6 3 e b   0 % ,   # 1 d 4 e d 8   1 0 0 % ) ; 
         c o l o r :   w h i t e ; 
 } 
 
 . d e a l e r - a c t i o n - b t n . i n f o : h o v e r   { 
         b a c k g r o u n d :   l i n e a r - g r a d i e n t ( 1 3 5 d e g ,   # 1 d 4 e d 8   0 % ,   # 1 e 4 0 a f   1 0 0 % ) ; 
         t r a n s f o r m :   t r a n s l a t e Y ( - 1 p x ) ; 
         b o x - s h a d o w :   0   4 p x   1 2 p x   r g b a ( 3 7 ,   9 9 ,   2 3 5 ,   0 . 3 ) ; 
         t e x t - d e c o r a t i o n :   n o n e ; 
 } 
 
 . d e a l e r - a c t i o n - b t n : d i s a b l e d   { 
         o p a c i t y :   0 . 6 ; 
         c u r s o r :   n o t - a l l o w e d ; 
         t r a n s f o r m :   n o n e ; 
         b o x - s h a d o w :   n o n e ; 
 } 
 
 / *   S t a t u s   b a d g e s   * / 
 . s t a t u s - b a d g e   { 
         d i s p l a y :   i n l i n e - f l e x ; 
         a l i g n - i t e m s :   c e n t e r ; 
         p a d d i n g :   0 . 2 5 r e m   0 . 7 5 r e m ; 
         b o r d e r - r a d i u s :   9 9 9 9 p x ; 
         f o n t - s i z e :   0 . 7 5 r e m ; 
         f o n t - w e i g h t :   5 0 0 ; 
 } 
 
 . s t a t u s - b a d g e . a c t i v e   { 
         b a c k g r o u n d - c o l o r :   # d c f c e 7 ; 
         c o l o r :   # 1 6 6 5 3 4 ; 
 } 
 
 . s t a t u s - b a d g e . i n a c t i v e   { 
         b a c k g r o u n d - c o l o r :   # f e c a c a ; 
         c o l o r :   # 9 9 1 b 1 b ; 
 } 
 
 . s t a t u s - b a d g e . n e w   { 
         b a c k g r o u n d - c o l o r :   # d b e a f e ; 
         c o l o r :   # 1 e 4 0 a f ; 
 } 
 
 . s t a t u s - b a d g e . v i p   { 
         b a c k g r o u n d - c o l o r :   # f 3 e 8 f f ; 
         c o l o r :   # 7 c 3 a e d ; 
 } 
 
 . s t a t u s - b a d g e . l o y a l   { 
         b a c k g r o u n d - c o l o r :   # d c f c e 7 ; 
         c o l o r :   # 1 6 6 5 3 4 ; 
 } 
 
 . s t a t u s - b a d g e . r e g u l a r   { 
         b a c k g r o u n d - c o l o r :   # d b e a f e ; 
         c o l o r :   # 1 e 4 0 a f ; 
 } 
 
 . s t a t u s - b a d g e . w a r n i n g   { 
         b a c k g r o u n d - c o l o r :   # f e f 3 c 7 ; 
         c o l o r :   # d 9 7 7 0 6 ; 
 } 
 
 . s t a t u s - b a d g e . c r i t i c a l   { 
         b a c k g r o u n d - c o l o r :   # f e c a c a ; 
         c o l o r :   # 9 9 1 b 1 b ; 
 } 
 
 . s t a t u s - b a d g e . g o o d   { 
         b a c k g r o u n d - c o l o r :   # d c f c e 7 ; 
         c o l o r :   # 1 6 6 5 3 4 ; 
 } 
 
 / *   R e s p o n s i v e   d e s i g n   * / 
 @ m e d i a   ( m a x - w i d t h :   1 0 2 4 p x )   { 
         . d e a l e r - i n f o - f o r m   { 
                 p a d d i n g :   1 . 5 r e m ; 
         } 
         
         . d e a l e r - s t a t s - c a r d   { 
                 p a d d i n g :   1 r e m ; 
         } 
         
         . d e a l e r - s i d e b a r - c a r d   { 
                 p a d d i n g :   1 r e m ; 
         } 
 } 
 
 @ m e d i a   ( m a x - w i d t h :   7 6 8 p x )   { 
         . d e a l e r - i n f o - f o r m   { 
                 p a d d i n g :   1 r e m ; 
         } 
         
         . g r i d . g r i d - c o l s - 1 . m d \ \ : g r i d - c o l s - 2   { 
                 g r i d - t e m p l a t e - c o l u m n s :   1 f r ; 
         } 
         
         . l g \ \ : c o l - s p a n - 2   { 
                 g r i d - c o l u m n :   s p a n   1 ; 
         } 
         
         . d e a l e r - s t a t s - i c o n   { 
                 w i d t h :   2 . 5 r e m ; 
                 h e i g h t :   2 . 5 r e m ; 
                 f o n t - s i z e :   1 r e m ; 
         } 
         
         . d e a l e r - a c t i o n - b t n   { 
                 p a d d i n g :   0 . 6 2 5 r e m   1 r e m ; 
                 f o n t - s i z e :   0 . 8 1 2 5 r e m ; 
         } 
 } 
 
 @ m e d i a   ( m a x - w i d t h :   6 4 0 p x )   { 
         . d e a l e r - i n f o - c o n t a i n e r   { 
                 p a d d i n g :   0 . 5 r e m ; 
         } 
         
         . d e a l e r - i n f o - f o r m   { 
                 p a d d i n g :   0 . 7 5 r e m ; 
         } 
         
         . d e a l e r - s i d e b a r - c a r d   { 
                 p a d d i n g :   0 . 7 5 r e m ; 
         } 
         
         . r e c e n t - o r d e r - i t e m   { 
                 f l e x - d i r e c t i o n :   c o l u m n ; 
                 a l i g n - i t e m s :   f l e x - s t a r t ; 
                 g a p :   0 . 5 r e m ; 
         } 
         
         . h e l p - s u p p o r t - c a r d   { 
                 p a d d i n g :   1 r e m ; 
         } 
 } 
 
 / *   P r i n t   s t y l e s   * / 
 @ m e d i a   p r i n t   { 
         . n o - p r i n t , 
         . d e a l e r - a c t i o n - b t n , 
         . h e l p - s u p p o r t - c a r d , 
         . s h a d o w - s m , 
         . b o r d e r   { 
                 d i s p l a y :   n o n e   ! i m p o r t a n t ; 
         } 
         
         . d e a l e r - i n f o - f o r m   { 
                 b o r d e r :   1 p x   s o l i d   # 0 0 0 ; 
                 b o x - s h a d o w :   n o n e ; 
                 b a c k g r o u n d :   w h i t e   ! i m p o r t a n t ; 
         } 
         
         . d e a l e r - s i d e b a r - c a r d   { 
                 b o r d e r :   1 p x   s o l i d   # 0 0 0 ; 
                 b o x - s h a d o w :   n o n e ; 
                 b a c k g r o u n d :   w h i t e   ! i m p o r t a n t ; 
         } 
         
         . t e x t - g r a y - 9 0 0   { 
                 c o l o r :   b l a c k   ! i m p o r t a n t ; 
         } 
         
         . t e x t - g r a y - 6 0 0 , 
         . t e x t - g r a y - 7 0 0   { 
                 c o l o r :   # 3 3 3   ! i m p o r t a n t ; 
         } 
         
         b o d y   { 
                 f o n t - s i z e :   1 2 p x ; 
                 l i n e - h e i g h t :   1 . 4 ; 
         } 
 } 
 
 / *   A c c e s s i b i l i t y   i m p r o v e m e n t s   * / 
 . f o r m - i n p u t : f o c u s , 
 . d e a l e r - a c t i o n - b t n : f o c u s   { 
         o u t l i n e :   2 p x   s o l i d   # d c 2 6 2 6 ; 
         o u t l i n e - o f f s e t :   2 p x ; 
 } 
 
 . a d v a n c e d - f i e l d s - t o g g l e : f o c u s   { 
         o u t l i n e :   2 p x   s o l i d   # d c 2 6 2 6 ; 
         o u t l i n e - o f f s e t :   2 p x ; 
         b o r d e r - r a d i u s :   0 . 2 5 r e m ; 
 } 
 
 / *   H i g h   c o n t r a s t   m o d e   s u p p o r t   * / 
 @ m e d i a   ( p r e f e r s - c o n t r a s t :   h i g h )   { 
         . d e a l e r - i n f o - f o r m   { 
                 b o r d e r :   2 p x   s o l i d   # 0 0 0 ; 
         } 
         
         . f o r m - i n p u t   { 
                 b o r d e r :   2 p x   s o l i d   # 3 3 3 ; 
         } 
         
         . f o r m - i n p u t : f o c u s   { 
                 b o r d e r :   2 p x   s o l i d   # 0 0 0 ; 
         } 
         
         . s t a t u s - b a d g e   { 
                 b o r d e r :   1 p x   s o l i d   c u r r e n t C o l o r ; 
         } 
 } 
 
 / *   R e d u c e d   m o t i o n   s u p p o r t   * / 
 @ m e d i a   ( p r e f e r s - r e d u c e d - m o t i o n :   r e d u c e )   { 
         . d e a l e r - s t a t s - c a r d , 
         . d e a l e r - a c t i o n - b t n , 
         . f o r m - i n p u t , 
         . a d v a n c e d - f i e l d s - i c o n , 
         . c r e d i t - p r o g r e s s - b a r   { 
                 t r a n s i t i o n :   n o n e ; 
         } 
         
         . d e a l e r - s t a t s - c a r d : h o v e r   { 
                 t r a n s f o r m :   n o n e ; 
         } 
         
         . d e a l e r - a c t i o n - b t n : h o v e r   { 
                 t r a n s f o r m :   n o n e ; 
         } 
 } 
 
 / *   L o a d i n g   s t a t e s   * / 
 . d e a l e r - l o a d i n g   { 
         d i s p l a y :   f l e x ; 
         a l i g n - i t e m s :   c e n t e r ; 
         j u s t i f y - c o n t e n t :   c e n t e r ; 
         p a d d i n g :   3 r e m ; 
         b a c k g r o u n d :   w h i t e ; 
         b o r d e r :   1 p x   s o l i d   # e 5 e 7 e b ; 
         b o r d e r - r a d i u s :   0 . 7 5 r e m ; 
 } 
 
 . d e a l e r - l o a d i n g - s p i n n e r   { 
         w i d t h :   2 r e m ; 
         h e i g h t :   2 r e m ; 
         b o r d e r :   3 p x   s o l i d   # f 3 f 4 f 6 ; 
         b o r d e r - t o p :   3 p x   s o l i d   # d c 2 6 2 6 ; 
         b o r d e r - r a d i u s :   5 0 % ; 
         a n i m a t i o n :   s p i n   1 s   l i n e a r   i n f i n i t e ; 
         m a r g i n - r i g h t :   1 r e m ; 
 } 
 
 . d e a l e r - l o a d i n g - t e x t   { 
         c o l o r :   # 6 b 7 2 8 0 ; 
         f o n t - s i z e :   0 . 8 7 5 r e m ; 
 } 
 
 / *   N o t i f i c a t i o n   s t y l e s   * / 
 . d e a l e r - n o t i f i c a t i o n   { 
         p o s i t i o n :   f i x e d ; 
         t o p :   1 r e m ; 
         r i g h t :   1 r e m ; 
         z - i n d e x :   5 0 ; 
         p a d d i n g :   1 r e m ; 
         b o r d e r - r a d i u s :   0 . 5 r e m ; 
         b o x - s h a d o w :   0   1 0 p x   2 5 p x   r g b a ( 0 ,   0 ,   0 ,   0 . 1 5 ) ; 
         m a x - w i d t h :   2 4 r e m ; 
         t r a n s i t i o n :   a l l   0 . 3 s   e a s e ; 
         t r a n s f o r m :   t r a n s l a t e X ( 1 0 0 % ) ; 
 } 
 
 . d e a l e r - n o t i f i c a t i o n . s h o w   { 
         t r a n s f o r m :   t r a n s l a t e X ( 0 ) ; 
 } 
 
 . d e a l e r - n o t i f i c a t i o n . s u c c e s s   { 
         b a c k g r o u n d - c o l o r :   # e c f d f 5 ; 
         b o r d e r :   1 p x   s o l i d   # a 7 f 3 d 0 ; 
         c o l o r :   # 0 6 5 f 4 6 ; 
 } 
 
 . d e a l e r - n o t i f i c a t i o n . e r r o r   { 
         b a c k g r o u n d - c o l o r :   # f e f 2 f 2 ; 
         b o r d e r :   1 p x   s o l i d   # f e c a c a ; 
         c o l o r :   # 9 9 1 b 1 b ; 
 } 
 
 . d e a l e r - n o t i f i c a t i o n . i n f o   { 
         b a c k g r o u n d - c o l o r :   # e f f 6 f f ; 
         b o r d e r :   1 p x   s o l i d   # b f d b f e ; 
         c o l o r :   # 1 e 4 0 a f ; 
 } 
 
 . d e a l e r - n o t i f i c a t i o n . w a r n i n g   { 
         b a c k g r o u n d - c o l o r :   # f f f b e b ; 
         b o r d e r :   1 p x   s o l i d   # f e d 7 a a ; 
         c o l o r :   # 9 2 4 0 0 e ; 
 } 
 
 
 