@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Work+Sans:wght@400;500;600&display=swap');

:root {
    --primary-orange: #FF8534;
    --dark-bg: #1a1d23;
    --darker-bg: #13161a;
    --text-white: #ffffff;
    --text-gray: #b8bcc4;
    --badge-bg: rgba(30, 35, 42, 0.8);
    --badge-border: rgba(255, 133, 52, 0.2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    font-family: 'Work Sans', sans-serif;
    background: linear-gradient(135deg, var(--darker-bg) 0%, var(--dark-bg) 100%);
    color: var(--text-white);
    min-height: 100vh;
    overflow-x: hidden;
}

/* Logo Styles */
.logo-container {
    padding: 2rem 4rem;
    animation: slideDown 0.8s ease-out;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-icon {
    background: var(--primary-orange);
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(255, 133, 52, 0.3);
}

.logo-icon svg {
    width: 36px;
    height: 36px;
    fill: white;
}

.logo-text h1 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.8rem;
    letter-spacing: 2px;
    line-height: 1;
    margin-bottom: 0.2rem;
}

.logo-text h1 a {
    color: var(--text-white);
    text-decoration: none;
}

.logo-text h1 span {
    color: var(--primary-orange);
}

.logo-text p {
    font-size: 0.7rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--text-gray);
    font-weight: 500;
}

/* Hero Section */
.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    padding: 4rem 4rem 8rem 4rem;
    max-width: 1600px;
    margin: 0 auto;
    align-items: center;
}

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

.hero-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 7rem;
    line-height: 0.95;
    margin-bottom: 2rem;
    letter-spacing: -2px;
}

.hero-title .highlight {
    color: var(--primary-orange);
    display: block;
    text-shadow: 0 0 40px rgba(255, 133, 52, 0.3);
}

.hero-subtitle {
    font-size: 1.25rem;
    line-height: 1.6;
    color: var(--text-gray);
    margin-bottom: 3rem;
    max-width: 500px;
    font-weight: 400;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: var(--primary-orange);
    color: white;
    padding: 1.5rem 3rem;
    border-radius: 12px;
    font-size: 1.5rem;
    font-family: 'Bebas Neue', sans-serif;
    letter-spacing: 2px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 12px 32px rgba(255, 133, 52, 0.4);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 48px rgba(255, 133, 52, 0.6);
    background: #ff9447;
    color: white;
}

.cta-button:active {
    transform: translateY(0);
}

.cta-button svg {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
}

.cta-button:hover svg {
    transform: translateX(4px);
}

/* Hero Visual */
.hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeInScale 1.2s ease-out;
}

.wrench-circle {
    position: relative;
    width: 450px;
    height: 450px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(255, 133, 52, 0.15), transparent 70%);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse 3s ease-in-out infinite;
}

.wrench-circle::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 133, 52, 0.2), transparent);
    z-index: -1;
    animation: rotate 20s linear infinite;
}

.wrench-icon {
    width: 200px;
    height: 200px;
    fill: var(--primary-orange);
    filter: drop-shadow(0 0 40px rgba(255, 133, 52, 0.5));
    animation: float 3s ease-in-out infinite;
}

/* Status Badges */
.status-badge {
    position: absolute;
    background: var(--badge-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--badge-border);
    padding: 1rem 1.5rem;
    border-radius: 10px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.status-badge.in-stock {
    top: 10%;
    right: 10%;
    animation: slideInRight 1s ease-out 0.3s backwards;
}

.status-badge.express {
    bottom: 20%;
    left: 5%;
    animation: slideInLeft 1s ease-out 0.5s backwards;
}

.badge-title {
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.badge-subtitle {
    font-size: 0.85rem;
    color: var(--primary-orange);
    font-weight: 500;
}

/* Animations */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

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

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

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Decorative Elements */
.decorative-dots {
    position: absolute;
    top: 20%;
    left: 5%;
    width: 100px;
    height: 100px;
    opacity: 0.1;
}

.decorative-dots circle {
    fill: var(--primary-orange);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding: 2rem;
    }
    
    .hero-title {
        font-size: 5rem;
    }
    
    .wrench-circle {
        width: 350px;
        height: 350px;
    }
    
    .wrench-icon {
        width: 150px;
        height: 150px;
    }
    
    .status-badge.express {
        bottom: 10%;
        left: 50%;
        transform: translateX(-50%);
    }
}

@media (max-width: 768px) {
    .logo-container {
        padding: 1.5rem 2rem;
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .cta-button {
        padding: 1.2rem 2.5rem;
        font-size: 1.2rem;
    }
    
    .wrench-circle {
        width: 280px;
        height: 280px;
    }
    
    .wrench-icon {
        width: 120px;
        height: 120px;
    }
}

/* Blazor Error UI */
#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}

/* Form Styles (if needed) */
.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid var(--primary-orange);
}

.validation-message {
    color: var(--primary-orange);
}

/* ============================================
   REVIEW ORDER PAGE STYLES
   ============================================ */

/* Review Container */
.review-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 3rem 2rem 8rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.review-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 3.5rem;
    letter-spacing: 3px;
    margin-bottom: 0.5rem;
    text-align: center;
    line-height: 1;
}

.review-subtitle {
    font-size: 1rem;
    color: var(--text-gray);
    margin-bottom: 3rem;
    text-align: center;
}

/* Review Card */
.review-card {
    background: rgba(30, 35, 42, 0.6);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2rem;
    width: 100%;
    max-width: 700px;
    backdrop-filter: blur(10px);
    margin-bottom: 2rem;
}

.review-section {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.review-section:last-child {
    border-bottom: none;
}

.section-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 133, 52, 0.2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.section-icon svg {
    width: 28px;
    height: 28px;
    color: var(--primary-orange);
}

.section-content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex: 1;
}

.section-label {
    font-size: 0.75rem;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
}

.section-value {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.8rem;
    letter-spacing: 1px;
    color: white;
}

/* Items Section */
.items-section {
    flex-direction: column;
    gap: 1rem;
}

.items-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.item-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
}

.item-quantity {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.2rem;
    color: var(--primary-orange);
    min-width: 40px;
}

.item-name {
    flex: 1;
    font-size: 1rem;
    color: white;
}

.item-price {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.3rem;
    color: white;
}

/* Review Actions */
.review-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    width: 100%;
    max-width: 700px;
}

/* Total Card */
.total-card {
    background: var(--primary-orange);
    border-radius: 16px;
    padding: 2rem;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    box-shadow: 0 8px 32px rgba(255, 133, 52, 0.4);
}

.total-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.total-icon svg {
    width: 28px;
    height: 28px;
    color: white;
}

.total-content {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    flex: 1;
}

.total-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
}

.total-value {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 3rem;
    letter-spacing: 1px;
    color: white;
    line-height: 1;
}

.total-note {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
}

/* Confirm Button */
.confirm-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    background: white;
    color: var(--primary-orange);
    padding: 1.25rem 4rem;
    border-radius: 12px;
    font-size: 1.5rem;
    font-family: 'Bebas Neue', sans-serif;
    letter-spacing: 2px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 24px rgba(255, 255, 255, 0.2);
    width: 100%;
}

.confirm-button:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(255, 255, 255, 0.3);
}

.confirm-button:active:not(:disabled) {
    transform: translateY(0);
}

.confirm-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.confirm-button svg {
    width: 24px;
    height: 24px;
    stroke: var(--primary-orange);
}

/* Success Overlay */
.success-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    animation: fadeIn 0.3s ease;
}

.success-modal {
    background: white;
    border-radius: 20px;
    padding: 3rem 2rem;
    max-width: 500px;
    width: 90%;
    text-align: center;
    animation: slideUp 0.4s ease;
    color: var(--dark-bg);
}

.success-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: #4CAF50;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.success-icon svg {
    width: 50px;
    height: 50px;
    color: white;
}

.success-modal h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.5rem;
    color: #4CAF50;
    margin-bottom: 0.5rem;
}

.success-modal p {
    font-size: 1.1rem;
    color: #666;
    margin: 0.5rem 0;
}

.success-message {
    font-size: 1rem !important;
    color: #888 !important;
    margin-top: 1rem !important;
}

.success-close {
    background: var(--primary-orange);
    color: white;
    border: none;
    padding: 1rem 3rem;
    border-radius: 10px;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.3rem;
    letter-spacing: 2px;
    cursor: pointer;
    margin-top: 2rem;
    transition: all 0.3s ease;
}

.success-close:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 133, 52, 0.4);
}

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

/* Responsive Design for Review Page */
@media (max-width: 768px) {
    .review-container {
        padding: 2rem 1.5rem 6rem 1.5rem;
    }
    
    .review-title {
        font-size: 2.5rem;
    }
    
    .review-subtitle {
        font-size: 0.9rem;
    }
    
    .review-card {
        padding: 1.5rem;
    }
    
    .review-section {
        gap: 1rem;
    }
    
    .section-icon {
        width: 40px;
        height: 40px;
    }
    
    .section-icon svg {
        width: 22px;
        height: 22px;
    }
    
    .section-value {
        font-size: 1.5rem;
    }
    
    .total-value {
        font-size: 2.5rem;
    }
    
    .confirm-button {
        padding: 1.1rem 3rem;
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .review-title {
        font-size: 2rem;
    }
    
    .total-card {
        flex-direction: column;
        text-align: center;
    }
    
    .total-value {
        font-size: 2.2rem;
    }
    
    .item-row {
        flex-wrap: wrap;
    }
}

/* ============================================
   DELIVERY SELECTION PAGE STYLES
   ============================================ */

/* Delivery Container */
.delivery-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    min-height: calc(100vh - 120px);
}

.delivery-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 4rem;
    letter-spacing: 3px;
    margin-bottom: 0.5rem;
    text-align: center;
    line-height: 1;
}

.delivery-subtitle {
    font-size: 1.1rem;
    color: var(--text-gray);
    margin-bottom: 4rem;
    text-align: center;
}

/* Delivery Options */
.delivery-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    width: 100%;
    max-width: 900px;
    margin-bottom: 3rem;
}

.delivery-card {
    position: relative;
    background: rgba(30, 35, 42, 0.6);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 3rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    min-height: 320px;
}

.delivery-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

.delivery-card.selected {
    background: var(--primary-orange);
    border-color: var(--primary-orange);
    box-shadow: 0 12px 40px rgba(255, 133, 52, 0.4);
}

/* Radio Indicator */
.radio-indicator {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.delivery-card.selected .radio-indicator {
    border-color: white;
    background: rgba(255, 255, 255, 0.2);
}

.radio-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Delivery Icon */
.delivery-icon {
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.delivery-icon svg {
    width: 100%;
    height: 100%;
    color: rgba(255, 255, 255, 0.4);
    transition: all 0.3s ease;
}

.delivery-card.selected .delivery-icon svg {
    color: white;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.2));
}

/* Delivery Text */
.delivery-method {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2rem;
    letter-spacing: 2px;
    text-align: center;
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
}

.delivery-card.selected .delivery-method {
    color: white;
}

.delivery-time {
    font-size: 1rem;
    text-align: center;
    margin: 0;
    color: rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
}

.delivery-card.selected .delivery-time {
    color: rgba(255, 255, 255, 0.9);
}

/* Review Button */
.review-button {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: white;
    color: var(--primary-orange);
    padding: 1.25rem 3.5rem;
    border-radius: 12px;
    font-size: 1.4rem;
    font-family: 'Bebas Neue', sans-serif;
    letter-spacing: 2px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 24px rgba(255, 255, 255, 0.2);
}

.review-button:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(255, 255, 255, 0.3);
    background: #ffffff;
}

.review-button:active:not(:disabled) {
    transform: translateY(0);
}

.review-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    box-shadow: none;
}

.review-button svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
    stroke: var(--primary-orange);
}

.review-button:hover:not(:disabled) svg {
    transform: translateX(4px);
}

/* Responsive Design for Delivery Page */
@media (max-width: 768px) {
    .delivery-container {
        padding: 2rem 1.5rem;
    }
    
    .delivery-title {
        font-size: 2.5rem;
    }
    
    .delivery-subtitle {
        font-size: 0.95rem;
        margin-bottom: 2.5rem;
    }
    
    .delivery-options {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        max-width: 400px;
    }
    
    .delivery-card {
        min-height: 280px;
        padding: 2.5rem 1.5rem;
    }
    
    .delivery-icon {
        width: 100px;
        height: 100px;
    }
    
    .delivery-method {
        font-size: 1.8rem;
    }
    
    .review-button {
        padding: 1.1rem 3rem;
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .delivery-title {
        font-size: 2rem;
    }
    
    .delivery-card {
        min-height: 240px;
        padding: 2rem 1rem;
    }
    
    .delivery-icon {
        width: 80px;
        height: 80px;
    }
    
    .delivery-method {
        font-size: 1.5rem;
    }
    
    .delivery-time {
        font-size: 0.9rem;
    }
}

/* ============================================
   PARTS CATALOG PAGE STYLES
   ============================================ */

/* Header with Logo */
.header-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.logo-icon-small {
    background: var(--primary-orange);
    width: 45px;
    height: 45px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(255, 133, 52, 0.3);
}

.logo-icon-small svg {
    width: 26px;
    height: 26px;
    fill: white;
}

.logo-text-small {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.1rem;
    letter-spacing: 1px;
    line-height: 1.2;
}

.logo-auto {
    color: var(--text-white);
}

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

.logo-subtitle {
    font-size: 0.5rem;
    letter-spacing: 2px;
    color: var(--text-gray);
}

.cart-icon-container {
    position: relative;
}

.cart-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--primary-orange);
    color: white;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 0.85rem;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(255, 133, 52, 0.4);
}

/* Category Tabs and Search */
.parts-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    gap: 2rem;
}

.category-tabs {
    display: flex;
    gap: 0.5rem;
    background: rgba(30, 35, 42, 0.6);
    padding: 0.5rem;
    border-radius: 12px;
    flex-wrap: wrap;
}

.category-tab {
    padding: 0.75rem 1.5rem;
    background: transparent;
    border: none;
    color: var(--text-gray);
    font-family: 'Work Sans', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.category-tab:hover {
    background: rgba(255, 133, 52, 0.1);
    color: var(--text-white);
}

.category-tab.active {
    background: var(--primary-orange);
    color: white;
    box-shadow: 0 4px 12px rgba(255, 133, 52, 0.4);
}

.search-bar {
    position: relative;
    flex-shrink: 0;
}

.search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    color: var(--text-gray);
    pointer-events: none;
}

.search-bar input {
    padding: 0.85rem 1rem 0.85rem 3rem;
    background: rgba(30, 35, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: var(--text-white);
    font-family: 'Work Sans', sans-serif;
    font-size: 0.95rem;
    width: 280px;
    transition: all 0.3s ease;
}

.search-bar input:focus {
    outline: none;
    border-color: var(--primary-orange);
    box-shadow: 0 0 15px rgba(255, 133, 52, 0.2);
}

.search-bar input::placeholder {
    color: var(--text-gray);
}

/* Parts Grid */
.parts-container {
    padding: 0 2rem 6rem 2rem;
    max-width: 1600px;
    margin: 0 auto;
}

.loading-message,
.no-parts-message {
    text-align: center;
    padding: 4rem 2rem;
    font-size: 1.2rem;
    color: var(--text-gray);
}

.parts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.part-card {
    background: rgba(30, 35, 42, 0.6);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: all 0.3s ease;
    position: relative;
    backdrop-filter: blur(10px);
}

.part-card:hover {
    border-color: rgba(255, 133, 52, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.part-card.selected {
    border-color: var(--primary-orange);
    background: rgba(255, 133, 52, 0.05);
    box-shadow: 0 0 20px rgba(255, 133, 52, 0.2);
}

.selected-badge {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    background: var(--primary-orange);
    color: white;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 0.75rem;
    letter-spacing: 1px;
    padding: 0.35rem 0.85rem;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(255, 133, 52, 0.4);
}

.part-icon {
    width: 60px;
    height: 60px;
    background: rgba(60, 68, 82, 0.5);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
}

.part-card.selected .part-icon {
    background: var(--primary-orange);
    box-shadow: 0 4px 16px rgba(255, 133, 52, 0.3);
}

.part-icon svg {
    width: 32px;
    height: 32px;
    color: var(--text-gray);
}

.part-card.selected .part-icon svg {
    color: white;
}

.part-info {
    flex: 1;
}

.part-name {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.4rem;
    letter-spacing: 1px;
    margin-bottom: 0.25rem;
    line-height: 1.2;
}

.part-category {
    font-size: 0.85rem;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.part-card.selected .part-category {
    color: var(--primary-orange);
}

.part-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0.5rem;
}

.part-price {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.8rem;
    letter-spacing: 0.5px;
}

.add-button {
    background: transparent;
    border: 2px solid var(--primary-orange);
    color: var(--primary-orange);
    padding: 0.5rem 1.25rem;
    border-radius: 8px;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.1rem;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.add-button:hover {
    background: var(--primary-orange);
    color: white;
    box-shadow: 0 4px 12px rgba(255, 133, 52, 0.4);
}

/* Quantity Controls */
.quantity-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.qty-btn {
    width: 32px;
    height: 32px;
    background: rgba(60, 68, 82, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    color: var(--text-white);
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.qty-btn:hover {
    background: rgba(80, 88, 102, 0.9);
    border-color: var(--primary-orange);
}

.qty-btn:active {
    transform: scale(0.95);
}

.qty-display {
    min-width: 28px;
    text-align: center;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.3rem;
    color: var(--primary-orange);
}

/* Footer */
.parts-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(20, 23, 28, 0.95);
    backdrop-filter: blur(10px);
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.progress-dots {
    display: flex;
    gap: 0.75rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--primary-orange);
    box-shadow: 0 0 10px rgba(255, 133, 52, 0.5);
}

.next-step-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--primary-orange);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 10px;
    font-size: 1.3rem;
    font-family: 'Bebas Neue', sans-serif;
    letter-spacing: 2px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 24px rgba(255, 133, 52, 0.4);
}

.next-step-button:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(255, 133, 52, 0.6);
    background: #ff9447;
}

.next-step-button:active:not(:disabled) {
    transform: translateY(0);
}

.next-step-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    box-shadow: none;
}

.next-step-button svg {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.next-step-button:hover:not(:disabled) svg {
    transform: translateX(4px);
}

/* Responsive Design for Parts Page */
@media (max-width: 1200px) {
    .parts-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .parts-controls {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }
    
    .category-tabs {
        justify-content: center;
    }
    
    .search-bar input {
        width: 100%;
    }
    
    .parts-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
        gap: 1rem;
    }
    
    .header-logo {
        position: static;
        transform: none;
    }
    
    .order-header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .parts-grid {
        grid-template-columns: 1fr;
    }
    
    .category-tabs {
        gap: 0.35rem;
    }
    
    .category-tab {
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
    }
}

/* ============================================
   LICENSE PLATE ENTRY PAGE STYLES
   ============================================ */

/* Order Header */
.order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    position: relative;
}

.back-button {
    background: transparent;
    border: none;
    color: var(--text-white);
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s;
}

.back-button:hover {
    transform: translateX(-4px);
}

.back-button svg {
    width: 32px;
    height: 32px;
}

.current-order {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: 'Bebas Neue', sans-serif;
}

.order-label {
    font-size: 0.9rem;
    letter-spacing: 2px;
    color: var(--text-gray);
}

.order-count {
    font-size: 1.5rem;
    letter-spacing: 1px;
    color: var(--primary-orange);
}

.cart-icon {
    width: 28px;
    height: 28px;
    color: var(--text-white);
}

/* License Plate Container */
.license-plate-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    max-width: 800px;
    margin: 0 auto;
    animation: fadeIn 0.6s ease-out;
}

.page-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 3.5rem;
    letter-spacing: 3px;
    margin-bottom: 0.5rem;
    text-align: center;
    line-height: 1;
}

.page-subtitle {
    font-size: 1rem;
    color: var(--text-gray);
    margin-bottom: 3rem;
    text-align: center;
}

/* Plate Display */
.plate-display {
    width: 100%;
    max-width: 550px;
    height: 120px;
    background: rgba(30, 35, 42, 0.6);
    border: 2px solid rgba(255, 133, 52, 0.3);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2.5rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.plate-display:focus-within {
    border-color: var(--primary-orange);
    box-shadow: 0 0 20px rgba(255, 133, 52, 0.3);
}

.plate-placeholder {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 4rem;
    letter-spacing: 8px;
    color: rgba(255, 255, 255, 0.15);
}

.plate-text {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 4rem;
    letter-spacing: 8px;
    color: var(--text-white);
    text-shadow: 0 0 20px rgba(255, 133, 52, 0.4);
}

/* Keyboard */
.keyboard {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 2.5rem;
    width: 100%;
    max-width: 650px;
}

.keyboard-row {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
}

.key {
    width: 55px;
    height: 55px;
    background: rgba(60, 68, 82, 0.8);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--text-white);
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.5rem;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.2s ease;
    backdrop-filter: blur(10px);
}

.key:hover {
    background: rgba(80, 88, 102, 0.9);
    border-color: var(--primary-orange);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 133, 52, 0.3);
}

.key:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(255, 133, 52, 0.2);
}

.key-delete {
    background: rgba(139, 48, 48, 0.8);
    border-color: rgba(220, 86, 86, 0.4);
    width: 130px;
}

.key-delete:hover {
    background: rgba(169, 68, 68, 0.9);
    border-color: rgba(220, 86, 86, 0.6);
}

/* Continue Button */
.continue-button {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: var(--primary-orange);
    color: white;
    padding: 1.25rem 3rem;
    border-radius: 10px;
    font-size: 1.4rem;
    font-family: 'Bebas Neue', sans-serif;
    letter-spacing: 2px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 24px rgba(255, 133, 52, 0.4);
    margin-bottom: 2rem;
}

.continue-button:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(255, 133, 52, 0.6);
    background: #ff9447;
}

.continue-button:active:not(:disabled) {
    transform: translateY(0);
}

.continue-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    box-shadow: none;
}

.continue-button svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.continue-button:hover:not(:disabled) svg {
    transform: translateX(4px);
}

/* Help Text */
.help-text {
    font-size: 0.95rem;
    color: var(--text-gray);
    text-align: center;
    letter-spacing: 0.5px;
}

/* Fade In Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design for License Plate Page */
@media (max-width: 768px) {
    .page-title {
        font-size: 2.5rem;
    }
    
    .plate-display {
        height: 90px;
        max-width: 400px;
    }
    
    .plate-placeholder,
    .plate-text {
        font-size: 2.5rem;
        letter-spacing: 4px;
    }
    
    .keyboard {
        max-width: 480px;
    }
    
    .key {
        width: 42px;
        height: 42px;
        font-size: 1.2rem;
    }
    
    .key-delete {
        width: 95px;
    }
    
    .continue-button {
        padding: 1rem 2.5rem;
        font-size: 1.2rem;
    }
    
    .order-header {
        padding: 1rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .page-title {
        font-size: 2rem;
    }
    
    .plate-display {
        height: 70px;
        max-width: 320px;
    }
    
    .plate-placeholder,
    .plate-text {
        font-size: 2rem;
        letter-spacing: 3px;
    }
    
    .keyboard {
        max-width: 360px;
        gap: 0.5rem;
    }
    
    .keyboard-row {
        gap: 0.5rem;
    }
    
    .key {
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }
    
    .key-delete {
        width: 70px;
        font-size: 0.9rem;
    }
}
