/* Custom CSS for Fotoedit Dashboard */

:root {
    --orange-500: #f97316;
    --orange-600: #ea580c;
    --orange-700: #c2410c;
    --zinc-50: #fafafa;
    --zinc-100: #f4f4f5;
    --zinc-200: #e4e4e7;
    --zinc-300: #d4d4d8;
    --zinc-400: #a1a1aa;
    --zinc-500: #71717a;
    --zinc-600: #52525b;
    --zinc-700: #3f3f46;
    --zinc-800: #27272a;
    --zinc-900: #18181b;
    --zinc-950: #09090b;
}

/* Global Styles */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    overflow: hidden;
}

.dashboard-container {
    display: flex;
    height: 100vh;
    background: black;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.4s ease-out;
}

/* Sidebar Styles */
.sidebar {
    width: 256px;
    background: rgba(9, 9, 11, 0.5);
    backdrop-filter: blur(32px);
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
}

.sidebar-header {
    padding: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--orange-500), var(--orange-600));
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 30px rgba(249, 115, 22, 0.4);
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
    letter-spacing: -0.025em;
}

.sidebar-nav {
    flex: 1;
    padding: 1rem;
}

.nav-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
}

.nav-item {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-radius: 1rem;
    transition: all 0.3s ease;
    background: none;
    border: none;
    color: var(--zinc-500);
    text-decoration: none;
    margin-bottom: 0.5rem;
    cursor: pointer;
    position: relative;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.nav-item:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--zinc-300);
    transform: scale(1.02);
}

.nav-item:active {
    background: rgba(249, 115, 22, 0.15);
    transform: scale(0.98);
}

.nav-item.active {
    background: rgba(249, 115, 22, 0.1);
    border: 1px solid rgba(249, 115, 22, 0.2);
    box-shadow: 0 0 20px rgba(249, 115, 22, 0.15);
    color: white;
}

.nav-item.active .nav-icon {
    color: var(--orange-500);
    transform: scale(1.1);
}

.nav-icon {
    width: 20px;
    height: 20px;
    transition: all 0.3s ease;
}

.nav-label {
    font-size: 0.875rem;
    font-weight: 500;
}

.sidebar-footer {
    padding: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: rgba(39, 39, 42, 0.3);
    border-radius: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.user-profile:hover {
    background: rgba(39, 39, 42, 0.5);
}

.user-avatar {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--orange-500), var(--orange-600));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 0.875rem;
    box-shadow: 0 0 20px rgba(249, 115, 22, 0.3);
    transition: all 0.3s ease;
}

.user-profile:hover .user-avatar {
    box-shadow: 0 0 30px rgba(249, 115, 22, 0.5);
}

.user-info {
    flex: 1;
    min-width: 0;
}

.user-name {
    font-size: 0.875rem;
    font-weight: 500;
    color: white;
}

.user-plan {
    font-size: 0.75rem;
    color: var(--orange-500);
}

/* Main Content Styles */
.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.header {
    background: rgba(9, 9, 11, 0.5);
    backdrop-filter: blur(32px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1.25rem;
}

.header-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    max-width: 1280px;
    margin: 0 auto;
    width: 100%;
}

.usage-indicator {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(39, 39, 42, 0.3);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 1rem;
    padding: 0.625rem 1.25rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.usage-indicator:hover {
    border-color: rgba(249, 115, 22, 0.3);
}

.usage-text {
    font-size: 0.875rem;
    color: white;
    font-weight: 500;
}

.header-spacer {
    flex: 1;
}

.btn-orange {
    background: linear-gradient(135deg, var(--orange-500), var(--orange-600));
    border: none;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 0 30px rgba(249, 115, 22, 0.3);
    height: 48px;
}

.btn-orange:hover {
    background: linear-gradient(135deg, var(--orange-600), var(--orange-700));
    box-shadow: 0 0 50px rgba(249, 115, 22, 0.5);
    transform: scale(1.05);
    color: white;
}

.btn-outline-light {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--zinc-400);
    border-radius: 1rem;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.05);
    color: white;
    transform: scale(1.05);
}

/* Content Area */
.content-scroll {
    flex: 1;
    overflow-y: auto;
    padding: 2.5rem;
    background: black;
}

.content-container {
    max-width: 1280px;
    margin: 0 auto;
}

/* Card Styles */
.glass-card {
    background: rgba(39, 39, 42, 0.3);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 1rem;
    transition: all 0.3s ease;
}

.glass-card:hover {
    border-color: rgba(255, 255, 255, 0.1);
}

/* Tool Cards */
.tool-card {
    position: relative;
    background: rgba(39, 39, 42, 0.3);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 1rem;
    padding: 2rem;
    text-align: left;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

.tool-card:hover {
    border-color: rgba(255, 255, 255, 0.1);
    transform: scale(1.05);
    color: inherit;
    text-decoration: none;
}

.tool-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.tool-card:hover .tool-icon {
    transform: scale(1.1);
}

.tool-title {
    color: white;
    font-weight: 600;
    margin-bottom: 0.25rem;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}



.tool-desc {
    font-size: 0.875rem;
    color: var(--zinc-500);
}

.tool-arrow {
    position: absolute;
    top: 2rem;
    right: 2rem;
    width: 20px;
    height: 20px;
    color: var(--zinc-600);
    transition: all 0.3s ease;
}

.tool-card:hover .tool-arrow {
    color: var(--orange-500);
    transform: translateX(4px);
}

/* Project Gallery */
.project-gallery .project-item {
    position: relative;
    aspect-ratio: 1;
    border-radius: 1rem;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
}

.project-gallery .project-item:hover {
    transform: scale(1.05);
}

.project-gallery .project-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.project-gallery .project-item:hover img {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
    opacity: 0;
    transition: all 0.3s ease;
}

.project-gallery .project-item:hover .project-overlay {
    opacity: 1;
}

.project-ring {
    position: absolute;
    inset: 0;
    border: 2px solid transparent;
    border-radius: 1rem;
    transition: all 0.3s ease;
}

.project-gallery .project-item:hover .project-ring {
    border-color: rgba(249, 115, 22, 0.5);
}

/* Upload Area */
.upload-area {
    border: 2px dashed rgba(39, 39, 42, 0.8);
    border-radius: 12px;
    padding: 4rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.upload-area:hover {
    border-color: rgba(249, 115, 22, 0.5);
}

.upload-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent, transparent);
    transition: all 0.5s ease;
}

.upload-area:hover .upload-bg {
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.05), rgba(249, 115, 22, 0.03), transparent);
}

.upload-icon {
    width: 48px;
    height: 48px;
    color: var(--zinc-700);
    margin: 0 auto 1rem;
    transition: all 0.3s ease;
}

.upload-area:hover .upload-icon {
    color: var(--orange-500);
    transform: scale(1.1);
}

/* Filter Grid */
.filter-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1rem;
}

.filter-item {
    position: relative;
    aspect-ratio: 1;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    padding: 0;
}

.filter-item:hover {
    transform: scale(1.1);
}

.filter-bg {
    position: absolute;
    inset: 0;
}

.filter-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.filter-item:hover .filter-overlay {
    background: rgba(0, 0, 0, 0.1);
}

.filter-ring {
    position: absolute;
    inset: 0;
    border: 2px solid transparent;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.filter-item:hover .filter-ring {
    border-color: rgba(255, 255, 255, 0.2);
}

.filter-name {
    position: relative;
    z-index: 10;
    color: white;
    font-weight: 500;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

/* Progress Cards */
.progress-card {
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.1), rgba(249, 115, 22, 0.05));
    border: 1px solid rgba(249, 115, 22, 0.2);
    border-radius: 1rem;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.progress-card:hover {
    border-color: rgba(249, 115, 22, 0.3);
}

.progress-header {
    display: flex;
    align-items: center;
    justify-content: between;
    margin-bottom: 1rem;
}

.progress-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--orange-400);
}

.progress-stats {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.progress-label {
    font-size: 0.75rem;
    color: var(--zinc-500);
}

.progress-value {
    font-size: 0.875rem;
    font-weight: 600;
    color: white;
}

.progress-bar {
    height: 6px;
    background: var(--zinc-800);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 0.75rem;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(135deg, var(--orange-500), var(--orange-600));
    border-radius: 3px;
    box-shadow: 0 0 10px rgba(249, 115, 22, 0.5);
}

.progress-reset {
    font-size: 0.75rem;
    color: var(--zinc-400);
}

.progress-reset .highlight {
    color: white;
    font-weight: 500;
}

/* Usage Popup */
.usage-popup {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 0.5rem;
    z-index: 50;
    background: var(--zinc-900);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: 1rem;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.5);
    min-width: 280px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
}

.usage-indicator:hover .usage-popup {
    opacity: 1;
    visibility: visible;
}

.popup-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.popup-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: white;
}

.popup-plan {
    font-size: 0.75rem;
    color: var(--orange-500);
    font-weight: 500;
}

.popup-progress {
    margin-bottom: 1rem;
}

.popup-footer {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.popup-reset {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.75rem;
}

.popup-reset-label {
    color: var(--zinc-500);
}

.popup-reset-time {
    color: white;
    font-weight: 500;
}

/* Form Controls */
.form-control-dark {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    color: white;
    padding: 1rem;
    transition: all 0.3s ease;
}

.form-control-dark::placeholder {
    color: var(--zinc-600);
}

.form-control-dark:focus {
    background: rgba(0, 0, 0, 0.3);
    border-color: rgba(249, 115, 22, 0.5);
    box-shadow: 0 0 0 0.125rem rgba(249, 115, 22, 0.1);
    color: white;
}

.form-select-dark {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    color: white;
    padding: 0.625rem;
    font-size: 0.875rem;
    transition: all 0.3s ease;
}

.form-select-dark:hover {
    border-color: rgba(255, 255, 255, 0.1);
}

.form-select-dark:focus {
    border-color: rgba(249, 115, 22, 0.5);
    box-shadow: none;
    color: white;
    background: rgba(0, 0, 0, 0.3);
}

/* Range Inputs */
.form-range {
    width: 100%;
    height: 4px;
    background: var(--zinc-800);
    border-radius: 2px;
    outline: none;
}

.form-range::-webkit-slider-thumb {
    appearance: none;
    width: 16px;
    height: 16px;
    background: var(--orange-500);
    border-radius: 50%;
    cursor: pointer;
}

.form-range::-moz-range-thumb {
    width: 16px;
    height: 16px;
    background: var(--orange-500);
    border-radius: 50%;
    cursor: pointer;
    border: none;
}

/* Labels */
.form-label-sm {
    font-size: 0.75rem;
    color: var(--zinc-500);
    margin-bottom: 0.5rem;
    display: block;
}

/* Responsive Design */

/* Mobile First Approach */
@media (max-width: 576px) {
    .dashboard-container {
        flex-direction: column;
        height: 100vh;
        overflow: hidden;
    }
    
    .sidebar {
        width: 100%;
        height: auto;
        min-height: 64px;
        position: fixed;
        bottom: 0;
        left: 0;
        z-index: 1050;
        background: rgba(9, 9, 11, 0.85);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        border-right: none;
        flex-direction: row;
        padding: 0;
        padding-bottom: env(safe-area-inset-bottom, 10px);
        box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.5);
    }
    
    .sidebar-header {
        display: none;
    }
    
    .sidebar-footer {
        display: none;
    }
    
    .sidebar-nav {
        flex: 1;
        padding: 0.25rem 0.5rem;
        width: 100%;
        overflow-x: hidden;
    }

    .nav-list {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        gap: 0;
        margin: 0;
        padding: 0;
        height: 100%;
    }
    
    .nav-item {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 0.5rem 0;
        gap: 4px;
        min-width: 0;
        margin-bottom: 0;
        border-radius: 0;
        width: auto;
        height: 100%;
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        color: var(--zinc-500);
        position: relative;
    }

    .nav-item.active {
        color: var(--orange-500);
    }

    .nav-item.active::before {
        content: '';
        position: absolute;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 24px;
        height: 3px;
        background: var(--orange-500);
        border-radius: 0 0 4px 4px;
        box-shadow: 0 2px 8px rgba(249, 115, 22, 0.6);
    }
    
    .nav-icon {
        width: 22px;
        height: 22px;
        transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    }

    .nav-item.active .nav-icon {
        transform: translateY(-2px);
        filter: drop-shadow(0 4px 6px rgba(249, 115, 22, 0.3));
    }
    
    .nav-label {
        font-size: 10px;
        text-align: center;
        line-height: 1;
        font-weight: 500;
        letter-spacing: 0.01em;
        transition: all 0.3s ease;
    }

    .nav-item.active .nav-label {
        color: white;
    }
    
    .main-content {
        flex: 1;
        margin-bottom: 80px;
        overflow: hidden;
    }
    
    .header {
        padding: 1rem;
    }
    
    .header-content {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .usage-indicator {
        order: 3;
        width: 100%;
        justify-content: center;
        margin-top: 0.5rem;
    }
    
    .btn-orange {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
        height: 40px;
    }
    
    .btn-outline-light {
        width: 40px;
        height: 40px;
    }
    
    .content-scroll {
        padding: 1rem;
        margin-bottom: 0;
        overflow-y: auto;
        height: calc(100vh - 140px);
    }
    
    .tool-card {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .tool-icon {
        width: 40px;
        height: 40px;
    }
    
    .tool-title {
        font-size: 1rem;
    }
    
    .tool-desc {
        font-size: 0.8rem;
    }
    
    .project-gallery .row {
        margin: 0 -0.5rem;
    }
    
    .project-gallery .col-md-3 {
        padding: 0 0.5rem;
        margin-bottom: 1rem;
    }
    
    .filter-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.75rem;
    }
    
    .upload-area {
        padding: 2rem 1rem;
    }
    
    .usage-popup {
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        margin-top: 0;
        width: calc(100% - 2rem);
        max-width: 300px;
    }
}

/* Tablet Portrait */
@media (min-width: 577px) and (max-width: 768px) {
    .sidebar {
        width: 200px;
    }
    
    .sidebar-header {
        padding: 1rem;
    }
    
    .logo-text {
        font-size: 1.1rem;
    }
    
    .nav-item {
        padding: 0.75rem;
    }
    
    .nav-label {
        font-size: 0.8rem;
    }
    
    .content-scroll {
        padding: 1.5rem;
    }
    
    .filter-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .tool-card {
        padding: 1.5rem;
    }
}

/* Tablet Landscape */
@media (min-width: 769px) and (max-width: 1024px) {
    .sidebar {
        width: 220px;
    }
    
    .content-scroll {
        padding: 2rem;
    }
    
    .filter-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

/* Desktop */
@media (min-width: 1025px) {
    .sidebar {
        width: 256px;
    }
    
    .content-scroll {
        padding: 2.5rem;
    }
    
    .filter-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}

/* Large Desktop */
@media (min-width: 1400px) {
    .content-container {
        max-width: 1400px;
    }
    
    .header-content {
        max-width: 1400px;
    }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
    .nav-item {
        min-height: 48px;
        touch-action: manipulation;
    }
    
    .tool-card {
        min-height: 48px;
        touch-action: manipulation;
    }
    
    .btn {
        min-height: 44px;
        touch-action: manipulation;
    }
    
    .filter-item {
        min-height: 48px;
        touch-action: manipulation;
    }
    
    .project-item {
        touch-action: manipulation;
    }
}

/* Landscape Mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .content-scroll {
        height: calc(100vh - 120px);
    }
    
    .sidebar {
        height: 70px;
    }
    
    .main-content {
        margin-bottom: 70px;
    }
    
    .nav-item {
        padding: 0.5rem;
    }
    
    .nav-label {
        font-size: 0.6rem;
    }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .logo-icon,
    .tool-icon,
    .user-avatar {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Utility Classes */
.text-orange-400 { color: #fb923c; }
.text-orange-500 { color: var(--orange-500); }
.text-zinc-400 { color: var(--zinc-400); }
.text-zinc-500 { color: var(--zinc-500); }
.text-zinc-600 { color: var(--zinc-600); }
.text-emerald-500 { color: #10b981; }

/* Step Indicators */
.step-indicator {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.step-indicator.active {
    background: linear-gradient(135deg, var(--orange-500), var(--orange-600));
    border-color: var(--orange-500);
    box-shadow: 0 0 20px rgba(249, 115, 22, 0.3);
}

.step-number {
    font-size: 0.875rem;
    font-weight: 600;
    color: white;
}

/* Image Preview */
.image-preview-container {
    position: relative;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    padding: 1rem;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-info {
    background: rgba(39, 39, 42, 0.3);
    border-radius: 12px;
    padding: 1.5rem;
    height: fit-content;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Enhanced Filter Items */
.filter-item {
    position: relative;
    aspect-ratio: 1;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.filter-item:hover {
    transform: scale(1.05);
    border-color: rgba(255, 255, 255, 0.2);
}

.filter-item.selected {
    border-color: var(--orange-500);
    box-shadow: 0 0 20px rgba(249, 115, 22, 0.3);
}

.filter-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 0.5rem;
}

.filter-name {
    display: block;
    color: white;
    font-weight: 500;
    font-size: 0.75rem;
    margin-bottom: 0.25rem;
}

.filter-desc {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.65rem;
    line-height: 1.2;
}

/* Comparison Layout */
.comparison-item {
    background: rgba(39, 39, 42, 0.3);
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 1rem;
}

.comparison-item img {
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Progress Animation */
@keyframes progressGrow {
    from { width: 0%; }
    to { width: 100%; }
}

.progress-animated {
    animation: progressGrow 3s ease-out;
}

/* Enhanced Button Styles */
.btn-sm {
    padding: 0.375rem 0.75rem;
    font-size: 0.75rem;
    border-radius: 8px;
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Quick Actions */
.btn-outline-light.btn-sm {
    margin-bottom: 0.5rem;
    white-space: nowrap;
}

/* Upload Area Enhancements */
.upload-area.has-image {
    border-color: var(--orange-500);
    background: rgba(249, 115, 22, 0.05);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .filter-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    
    .step-indicator {
        width: 28px;
        height: 28px;
    }
    
    .step-number {
        font-size: 0.75rem;
    }
    
    .comparison-item {
        margin-bottom: 1.5rem;
    }
}

.bg-gradient-orange {
    background: linear-gradient(135deg, var(--orange-500), var(--orange-600));
}

.bg-gradient-purple {
    background: linear-gradient(135deg, #a855f7, #ec4899);
}

.bg-gradient-blue {
    background: linear-gradient(135deg, #3b82f6, #06b6d4);
}

.bg-gradient-emerald {
    background: linear-gradient(135deg, #10b981, #14b8a6);
}

.bg-gradient-red {
    background: linear-gradient(135deg, #f97316, #ef4444);
}

.bg-gradient-vintage {
    background: linear-gradient(135deg, #f59e0b, #ea580c);
}

.bg-gradient-gray {
    background: linear-gradient(135deg, #6b7280, #374151);
}

.bg-gradient-pink {
    background: linear-gradient(135deg, #ec4899, #a855f7);
}

.bg-gradient-warm {
    background: linear-gradient(135deg, #ef4444, #f97316);
}

.bg-gradient-cool {
    background: linear-gradient(135deg, #3b82f6, #06b6d4);
}

.bg-gradient-drama {
    background: linear-gradient(135deg, #475569, #1e293b);
}

/* Product Photography Styles */
.template-card {
    transition: all 0.3s ease;
    cursor: pointer;
    background-color: rgba(39, 39, 42, 0.5);
}

.template-card:hover {
    border-color: var(--orange-500) !important;
    background-color: rgba(249, 115, 22, 0.1);
    transform: translateY(-2px);
}

.template-card.selected {
    border-color: var(--orange-500) !important;
    background-color: rgba(249, 115, 22, 0.2);
    box-shadow: 0 0 0 1px var(--orange-500);
}

.cursor-pointer {
    cursor: pointer;
}

#color-preview {
    transition: all 0.3s ease;
}

.text-blue-400 {
    color: #60a5fa;
}

.text-green-400 {
    color: #4ade80;
}

.text-purple-400 {
    color: #c084fc;
}

.text-amber-400 {
    color: #fbbf24;
}

.text-pink-400 {
    color: #f472b6;
}

/* Skeleton Loading Animation */
.immersive-loading {
    position: relative;
    padding: 0;
}

.loading-orbs {
    width: 100%;
    height: 400px;
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0.05) 0%,
        rgba(255, 255, 255, 0.1) 50%,
        rgba(255, 255, 255, 0.05) 100%
    );
    background-size: 200% 100%;
    border-radius: 12px;
    animation: skeletonShimmer 1.5s ease-in-out infinite;
    position: relative;
    overflow: hidden;
}

.orb {
    display: none;
}

@keyframes skeletonShimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

.loading-content {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    padding: 0 1rem;
}

.loading-title {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
    font-weight: 400;
    text-align: center;
    letter-spacing: 0.02em;
}

.loading-dots {
    display: none;
}

.progress-bar-container {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: transparent;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    background: var(--orange-500);
    transition: width 0.3s ease;
}
