/**
 * Mobile Presets CSS
 * Expandable Cards Layout with Dark Mode Support and Collapsible Filters
 *
 * @package LaserPresetDatabase
 * @version 1.3.32
 */

/* Mobile Container */
.lpd-mobile-container {
    max-width: 100%;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    box-sizing: border-box;
}

.lpd-mobile-container *,
.lpd-mobile-container *::before,
.lpd-mobile-container *::after {
    box-sizing: border-box;
}

/* Sticky Header with Collapsible Filters */
.lpd-mobile-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #fff;
    padding: 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border-radius: 0 0 12px 12px;
    transition: padding 0.3s ease;
}

/* Header Top with Toggle Button */
.lpd-header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 15px;
    border-bottom: 2px solid #e0e0e0;
    margin-bottom: 15px;
}

.lpd-header-title {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #333;
    display: flex;
    align-items: center;
    gap: 8px;
}

.lpd-header-icon {
    font-size: 20px;
}

/* Toggle Button - SUBTIEL */
.lpd-toggle-filters {
    background: rgba(102, 126, 234, 0.1);
    border: 2px solid rgba(102, 126, 234, 0.3);
    border-radius: 8px;
    padding: 10px 16px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lpd-toggle-filters:hover {
    background: rgba(102, 126, 234, 0.2);
    border-color: rgba(102, 126, 234, 0.5);
    transform: translateY(-1px);
}

.lpd-toggle-filters:active {
    transform: translateY(0);
    background: rgba(102, 126, 234, 0.15);
}

.lpd-toggle-icon {
    font-size: 18px;
    color: #667eea;
    font-weight: bold;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
}

/* Collapsed Header State */
.lpd-mobile-header.lpd-filters-collapsed {
    padding-bottom: 15px;
}

.lpd-mobile-header.lpd-filters-collapsed .lpd-header-top {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

/* Filters Container */
.lpd-filters-container {
    overflow: hidden;
}

/* Search Bar */
.lpd-mobile-search {
    position: relative;
    margin-bottom: 15px;
}

.lpd-mobile-search-input {
    width: 100%;
    padding: 14px 45px 14px 45px;
    font-size: 16px;
    border: 2px solid #e0e0e0;
    border-radius: 25px;
    outline: none;
    transition: border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
    background: #f8f9fa;
}

.lpd-mobile-search-input:focus {
    border-color: #667eea;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.15);
}

.lpd-search-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    pointer-events: none;
}

.lpd-search-clear {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: #e0e0e0;
    border: none;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.lpd-search-clear:hover {
    background: #ccc;
}

/* Filter Selects */
.lpd-mobile-filters {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.lpd-mobile-filter-select {
    flex: 1;
    min-width: 120px;
    padding: 12px 35px 12px 15px;
    font-size: 14px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    background-color: #f8f9fa;
    cursor: pointer;
    transition: all 0.2s;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat !important;
    background-position: right 12px center !important;
    background-size: 12px 12px !important;
}

.lpd-mobile-filter-select:focus {
    border-color: #667eea;
    outline: none;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.15);
}

/* Loading Indicator */
.lpd-mobile-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    background: rgba(255,255,255,0.95);
    border-radius: 12px;
    margin: 15px;
}

.lpd-mobile-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #e0e0e0;
    border-top-color: #667eea;
    border-radius: 50%;
    animation: lpd-spin 0.8s linear infinite;
}

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

/* Presets Container */
.lpd-mobile-presets {
    padding: 15px;
}

/* Preset Cards */
.lpd-mobile-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #eee;
}

.lpd-mobile-card:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
}

.lpd-mobile-card.expanded {
    box-shadow: 0 6px 24px rgba(102, 126, 234, 0.2);
    border-color: #667eea;
}

/* Card Header */
.lpd-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    cursor: pointer;
    user-select: none;
    min-height: 44px;
    background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
}

.lpd-card-title {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.lpd-card-icon {
    font-size: 28px;
}

.lpd-card-title h3 {
    margin: 0;
    font-size: 17px;
    font-weight: 600;
    color: #333;
    line-height: 1.3;
}

/* ============================================
   STATUS INDICATOR (Header Icon)
   ============================================ */
.lpd-status-indicator {
    font-size: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    line-height: 1;
    animation: lpd-status-pulse 2s ease-in-out infinite;
}

/* Pulse animation for luxe effect */
@keyframes lpd-status-pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.1);
    }
}

/* Stop pulse on hover */
.lpd-status-indicator:hover {
    animation: none;
    transform: scale(1.2);
}

/* Closed state - Purple */
.lpd-status-indicator[data-state="closed"] {
    /* Purple ball emoji 🟣 */
}

/* Open state - Green */
.lpd-status-indicator[data-state="open"] {
    /* Green ball emoji 🟢 */
}

.lpd-card-toggle {
    background: transparent;
    border: none;
    font-size: 16px;
    cursor: pointer;
    padding: 5px;
    min-width: 36px;
    min-height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
    color: #fff;
}

.lpd-card-toggle:hover {
    background: transparent;
    transform: scale(1.15);
}

.lpd-card-toggle .lpd-toggle-icon {
    transition: transform 0.3s ease;
    color: #fff;
    font-weight: bold;
}

.lpd-mobile-card.expanded .lpd-toggle-icon {
    transform: rotate(180deg);
}

/* Card Summary */
.lpd-card-summary {
    padding: 0 15px 15px;
    margin-top: 8px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.lpd-summary-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #666;
    background: #f8f9fa;
    padding: 8px 12px;
    border-radius: 8px;
}

.lpd-summary-icon {
    font-size: 16px;
}

/* Card Details (Expandable) */
.lpd-card-details {
    padding: 0 15px 15px;
    animation: lpd-slideDown 0.3s ease-out;
}

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

/* Step Cards */
.lpd-mobile-container .lpd-step-card {
    background: linear-gradient(135deg, #f0f4ff 0%, #f8f9fa 100%);
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 12px;
    border: 1px solid #e0e6ff;
}

.lpd-mobile-container .lpd-step-card:last-child {
    margin-bottom: 0;
}

.lpd-mobile-container .lpd-step-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    padding: 12px 15px;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.25);
}

.lpd-mobile-container .lpd-step-icon {
    font-size: 18px;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.1));
}

.lpd-mobile-container .lpd-step-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.lpd-mobile-container .lpd-step-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: #fff;
    padding: 10px 12px;
    border-radius: 8px;
}

.lpd-mobile-container .lpd-step-label {
    font-size: 12px;
    color: #888;
}

.lpd-mobile-container .lpd-step-value {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

/* Card Footer */
.lpd-card-footer {
    padding: 0 15px 15px;
}

.lpd-expand-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    min-height: 48px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.lpd-expand-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(102, 126, 234, 0.4);
}

.lpd-expand-btn:active {
    transform: translateY(0);
}

/* Expand Button - OPEN State (Green Gradient) */
.lpd-mobile-card.expanded .lpd-expand-btn {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.lpd-mobile-card.expanded .lpd-expand-btn:hover {
    box-shadow: 0 6px 16px rgba(16, 185, 129, 0.4);
}

/* Arrow Icons in Expand Button - Clean and Simple */
/* Arrows (▼/▲) are now inline text, no special styling needed */

/* Pagination */
.lpd-mobile-pagination {
    padding: 20px 15px;
    background: #f8f9fa;
    border-radius: 16px 16px 0 0;
    margin-top: 10px;
}

.lpd-pagination-info {
    text-align: center;
    margin-bottom: 15px;
    font-size: 14px;
    color: #666;
}

.lpd-pagination-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.lpd-page-btn {
    padding: 12px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    min-height: 48px;
    min-width: 100px;
    transition: all 0.3s;
}

.lpd-page-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.lpd-page-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: #ccc;
}

.lpd-page-current {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    padding: 10px 15px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.lpd-per-page {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 14px;
    color: #666;
}

.lpd-per-page select {
    padding: 10px 30px 10px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    background: #fff;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
}

/* No Presets */
.lpd-mobile-container .lpd-no-presets {
    text-align: center;
    padding: 40px 20px;
    color: #888;
    font-size: 16px;
    background: #f8f9fa;
    border-radius: 12px;
    margin: 15px;
}

/* =================================== */
/* DARK MODE STYLES */
/* =================================== */

/* Forced Dark Mode */
.lpd-mobile-container.lpd-dark-mode {
    background: #121212;
}

.lpd-mobile-container.lpd-dark-mode .lpd-mobile-header {
    background: #1e1e1e;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.lpd-mobile-container.lpd-dark-mode .lpd-header-top {
    border-bottom-color: #3a3a3a;
}

.lpd-mobile-container.lpd-dark-mode .lpd-header-title {
    color: #fff;
}

.lpd-mobile-container.lpd-dark-mode .lpd-mobile-search-input {
    background: #2a2a2a;
    border-color: #3a3a3a;
    color: #fff;
}

.lpd-mobile-container.lpd-dark-mode .lpd-mobile-search-input:focus {
    background: #333;
    border-color: #667eea;
}

.lpd-mobile-container.lpd-dark-mode .lpd-mobile-search-input::placeholder {
    color: #888;
}

.lpd-mobile-container.lpd-dark-mode .lpd-search-clear {
    background: #3a3a3a;
    color: #fff;
}

.lpd-mobile-container.lpd-dark-mode .lpd-mobile-filter-select {
    background-color: #2a2a2a;
    border-color: #3a3a3a;
    color: #fff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23999' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat !important;
    background-position: right 12px center !important;
    background-size: 12px 12px !important;
}

.lpd-mobile-container.lpd-dark-mode .lpd-mobile-card {
    background: #1e1e1e;
    border-color: #333;
}

.lpd-mobile-container.lpd-dark-mode .lpd-card-header {
    background: linear-gradient(135deg, #252525 0%, #1e1e1e 100%);
}

.lpd-mobile-container.lpd-dark-mode .lpd-card-title h3 {
    color: #fff;
}

.lpd-mobile-container.lpd-dark-mode .lpd-summary-item {
    background: #252525;
    color: #bbb;
}

.lpd-mobile-container.lpd-dark-mode .lpd-step-card {
    background: linear-gradient(135deg, #252525 0%, #1e1e1e 100%);
    border-color: #3a3a3a;
}

.lpd-mobile-container.lpd-dark-mode .lpd-step-header {
    background: linear-gradient(135deg, #5568d3 0%, #6a3f8f 100%);
}

.lpd-mobile-container.lpd-dark-mode .lpd-step-item {
    background: #2a2a2a;
}

.lpd-mobile-container.lpd-dark-mode .lpd-step-label {
    color: #888;
}

.lpd-mobile-container.lpd-dark-mode .lpd-step-value {
    color: #fff;
}

.lpd-mobile-container.lpd-dark-mode .lpd-mobile-pagination {
    background: #1e1e1e;
}

.lpd-mobile-container.lpd-dark-mode .lpd-pagination-info,
.lpd-mobile-container.lpd-dark-mode .lpd-per-page {
    color: #bbb;
}

.lpd-mobile-container.lpd-dark-mode .lpd-page-current {
    background: #2a2a2a;
    color: #fff;
}

.lpd-mobile-container.lpd-dark-mode .lpd-per-page select {
    background: #2a2a2a;
    border-color: #3a3a3a;
    color: #fff;
}

.lpd-mobile-container.lpd-dark-mode .lpd-no-presets {
    background: #1e1e1e;
    color: #888;
}

.lpd-mobile-container.lpd-dark-mode .lpd-mobile-loading {
    background: rgba(30,30,30,0.95);
    color: #fff;
}

/* Dark Mode - Toggle Button */
.lpd-mobile-container.lpd-dark-mode .lpd-toggle-filters {
    background: rgba(102, 126, 234, 0.15);
    border-color: rgba(102, 126, 234, 0.4);
}

.lpd-mobile-container.lpd-dark-mode .lpd-toggle-filters:hover {
    background: rgba(102, 126, 234, 0.25);
    border-color: rgba(102, 126, 234, 0.6);
}

.lpd-mobile-container.lpd-dark-mode .lpd-toggle-icon {
    color: #8b9cff;
}

/* Dark Mode - Card Toggle Button (transparant) */
.lpd-mobile-container.lpd-dark-mode .lpd-card-toggle {
    background: transparent;
    border: none;
}

.lpd-mobile-container.lpd-dark-mode .lpd-card-toggle:hover {
    background: transparent;
}

.lpd-mobile-container.lpd-dark-mode .lpd-card-toggle .lpd-toggle-icon {
    color: #fff;
}

/* Dark Mode - Expand Button Open State (Green) */
.lpd-mobile-container.lpd-dark-mode .lpd-mobile-card.expanded .lpd-expand-btn {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    box-shadow: 0 4px 12px rgba(5, 150, 105, 0.4);
}

.lpd-mobile-container.lpd-dark-mode .lpd-mobile-card.expanded .lpd-expand-btn:hover {
    box-shadow: 0 6px 16px rgba(5, 150, 105, 0.5);
}

/* Auto Dark Mode (respects system preference) */
@media (prefers-color-scheme: dark) {
    .lpd-mobile-container.lpd-auto-dark {
        background: #121212;
    }
    
    .lpd-mobile-container.lpd-auto-dark .lpd-mobile-header {
        background: #1e1e1e;
        box-shadow: 0 2px 8px rgba(0,0,0,0.3);
    }
    
    .lpd-mobile-container.lpd-auto-dark .lpd-header-top {
        border-bottom-color: #3a3a3a;
    }
    
    .lpd-mobile-container.lpd-auto-dark .lpd-header-title {
        color: #fff;
    }
    
    .lpd-mobile-container.lpd-auto-dark .lpd-mobile-search-input {
        background: #2a2a2a;
        border-color: #3a3a3a;
        color: #fff;
    }
    
    .lpd-mobile-container.lpd-auto-dark .lpd-mobile-search-input:focus {
        background: #333;
        border-color: #667eea;
    }
    
    .lpd-mobile-container.lpd-auto-dark .lpd-mobile-search-input::placeholder {
        color: #888;
    }
    
    .lpd-mobile-container.lpd-auto-dark .lpd-search-clear {
        background: #3a3a3a;
        color: #fff;
    }
    
    .lpd-mobile-container.lpd-auto-dark .lpd-mobile-filter-select {
        background-color: #2a2a2a;
        border-color: #3a3a3a;
        color: #fff;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23999' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
        background-repeat: no-repeat !important;
        background-position: right 12px center !important;
        background-size: 12px 12px !important;
    }
    
    .lpd-mobile-container.lpd-auto-dark .lpd-mobile-card {
        background: #1e1e1e;
        border-color: #333;
    }
    
    .lpd-mobile-container.lpd-auto-dark .lpd-card-header {
        background: linear-gradient(135deg, #252525 0%, #1e1e1e 100%);
    }
    
    .lpd-mobile-container.lpd-auto-dark .lpd-card-title h3 {
        color: #fff;
    }
    
    .lpd-mobile-container.lpd-auto-dark .lpd-summary-item {
        background: #252525;
        color: #bbb;
    }
    
    .lpd-mobile-container.lpd-auto-dark .lpd-step-card {
        background: linear-gradient(135deg, #252525 0%, #1e1e1e 100%);
        border-color: #3a3a3a;
    }
    
    .lpd-mobile-container.lpd-auto-dark .lpd-step-header {
        background: linear-gradient(135deg, #5568d3 0%, #6a3f8f 100%);
    }
    
    .lpd-mobile-container.lpd-auto-dark .lpd-step-item {
        background: #2a2a2a;
    }
    
    .lpd-mobile-container.lpd-auto-dark .lpd-step-label {
        color: #888;
    }
    
    .lpd-mobile-container.lpd-auto-dark .lpd-step-value {
        color: #fff;
    }
    
    .lpd-mobile-container.lpd-auto-dark .lpd-mobile-pagination {
        background: #1e1e1e;
    }
    
    .lpd-mobile-container.lpd-auto-dark .lpd-pagination-info,
    .lpd-mobile-container.lpd-auto-dark .lpd-per-page {
        color: #bbb;
    }
    
    .lpd-mobile-container.lpd-auto-dark .lpd-page-current {
        background: #2a2a2a;
        color: #fff;
    }
    
    .lpd-mobile-container.lpd-auto-dark .lpd-per-page select {
        background: #2a2a2a;
        border-color: #3a3a3a;
        color: #fff;
    }
    
    .lpd-mobile-container.lpd-auto-dark .lpd-no-presets {
        background: #1e1e1e;
        color: #888;
    }
    
    .lpd-mobile-container.lpd-auto-dark .lpd-mobile-loading {
        background: rgba(30,30,30,0.95);
        color: #fff;
    }
    
    /* Auto Dark - Toggle Button */
    .lpd-mobile-container.lpd-auto-dark .lpd-toggle-filters {
        background: rgba(102, 126, 234, 0.15);
        border-color: rgba(102, 126, 234, 0.4);
    }
    
    .lpd-mobile-container.lpd-auto-dark .lpd-toggle-filters:hover {
        background: rgba(102, 126, 234, 0.25);
        border-color: rgba(102, 126, 234, 0.6);
    }
    
    .lpd-mobile-container.lpd-auto-dark .lpd-toggle-icon {
        color: #8b9cff;
    }
    
    /* Auto Dark - Card Toggle Button (transparant) */
    .lpd-mobile-container.lpd-auto-dark .lpd-card-toggle {
        background: transparent;
        border: none;
    }
    
    .lpd-mobile-container.lpd-auto-dark .lpd-card-toggle:hover {
        background: transparent;
    }
    
    .lpd-mobile-container.lpd-auto-dark .lpd-card-toggle .lpd-toggle-icon {
        color: #fff;
    }
    
    /* Auto Dark - Expand Button Open State (Green) */
    .lpd-mobile-container.lpd-auto-dark .lpd-mobile-card.expanded .lpd-expand-btn {
        background: linear-gradient(135deg, #059669 0%, #047857 100%);
        box-shadow: 0 4px 12px rgba(5, 150, 105, 0.4);
    }
    
    .lpd-mobile-container.lpd-auto-dark .lpd-mobile-card.expanded .lpd-expand-btn:hover {
        box-shadow: 0 6px 16px rgba(5, 150, 105, 0.5);
    }
}

/* =================================== */
/* RESPONSIVE DESIGN */
/* =================================== */

@media (max-width: 480px) {
    .lpd-header-title {
        font-size: 16px;
    }
    
    .lpd-toggle-filters {
        padding: 8px 12px;
        min-width: 40px;
        min-height: 40px;
    }
    
    .lpd-toggle-icon {
        font-size: 16px;
    }
    
    .lpd-card-summary {
        grid-template-columns: 1fr;
    }
    
    .lpd-mobile-container .lpd-step-grid {
        grid-template-columns: 1fr;
    }
    
    .lpd-mobile-filters {
        flex-direction: column;
    }
    
    .lpd-mobile-filter-select {
        width: 100%;
    }
    
    .lpd-pagination-controls {
        flex-direction: column;
        gap: 10px;
    }
    
    .lpd-page-btn {
        width: 100%;
    }
}

@media (min-width: 768px) {
    .lpd-mobile-container {
        max-width: 1200px;
        margin: 0 auto;
    }
    
    .lpd-mobile-header {
        border-radius: 12px;
        margin: 15px;
    }
    
    .lpd-mobile-pagination {
        margin: 0 15px 15px;
        border-radius: 12px;
    }
}

/* v1.4.1: Mobile Preset Image Display */
.lpd-mobile-preset-image {
    margin: 8px 0 12px 0;
    padding: 8px;
    text-align: center;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.lpd-mobile-preset-image .lpd-preset-result-image {
    max-width: 100%;
    max-height: 200px;
    border-radius: 6px;
    object-fit: contain;
}


/* v1.4.1: Mobile Submit Preset Button */
.lpd-mobile-submit-bar {
    padding: 8px 12px;
    text-align: center;
}

.lpd-submit-preset-btn.lpd-submit-mobile {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px 20px;
    background: linear-gradient(135deg, #7c3aed, #a855f7);
    color: #fff !important;
    text-decoration: none !important;
    border: none;
    cursor: pointer;
    font-family: inherit;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(124, 58, 237, 0.3);
    transition: all 0.3s ease;
}

.lpd-submit-preset-btn.lpd-submit-mobile:hover,
.lpd-submit-preset-btn.lpd-submit-mobile:active {
    background: linear-gradient(135deg, #6d28d9, #9333ea);
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.5);
    color: #fff !important;
    text-decoration: none !important;
}



/* ========== v1.4.6: Mobile Result Image Card ========== */
.lpd-mobile-result-image-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 16px;
}
.lpd-mobile-result-image-card h4 {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: rgba(255,255,255,0.7);
    margin: 0 0 12px 0;
}
.lpd-mobile-result-image-card img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
}



/* ============================================
   v1.4.7: MOBILE HERO IMAGE SECTION
   ============================================ */

/* v1.4.8: Mobile Cover Image Section */
.lpd-mobile-image-section {
    width: 100%;
    margin-bottom: 16px;
}

.lpd-mobile-image-container {
    width: 100%;
    height: 280px;
    background: linear-gradient(135deg, #2d3748 0%, #1a202c 100%);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.lpd-mobile-cover-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* ============================================
   v1.4.7: MOBILE INFO GRID
   ============================================ */

.lpd-mobile-info-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 16px;
}

/* ============================================
   v1.4.7: MOBILE INFO CARDS - DARK THEME
   ============================================ */

.lpd-mobile-info-card {
    background: linear-gradient(135deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.02) 100%);
    padding: 14px 16px;
    border-radius: 10px;
    border-left: 3px solid #667eea;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 12px;
}

.lpd-mobile-card-mode {
    border-left-color: #764ba2;
}

.lpd-mobile-card-category {
    border-left-color: #f093fb;
}

.lpd-mobile-card-icon {
    font-size: 24px;
    line-height: 1;
    flex-shrink: 0;
    opacity: 0.9;
}

.lpd-mobile-card-content {
    flex: 1;
    min-width: 0;
}

.lpd-mobile-card-label {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: rgba(255, 255, 255, 0.5);
    margin: 0 0 4px 0;
}

.lpd-mobile-card-value {
    font-size: 15px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    margin: 0;
    line-height: 1.3;
    word-wrap: break-word;
}

/* ============================================
   v1.4.10: MOBILE PLACEHOLDER AFBEELDING
   ============================================ */

.lpd-mobile-image-placeholder {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    min-height: 280px;
}

/* Subtle pattern overlay */
.lpd-mobile-image-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 10px,
            rgba(255, 255, 255, 0.03) 10px,
            rgba(255, 255, 255, 0.03) 20px
        );
    pointer-events: none;
    z-index: 1;
}

.lpd-mobile-image-placeholder .lpd-placeholder-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    z-index: 2;
    position: relative;
    padding: 30px;
    text-align: center;
}

.lpd-mobile-image-placeholder .lpd-placeholder-icon {
    width: 60px;
    height: 60px;
    color: rgba(255, 255, 255, 0.9);
    stroke-width: 1.5;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.1));
    animation: lpd-placeholderPulse 2s ease-in-out infinite;
}

.lpd-mobile-image-placeholder .lpd-placeholder-text {
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    margin: 0;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    letter-spacing: 0.5px;
}

/* Pulse animation (reuse from frontend if not loaded) */
@keyframes lpd-placeholderPulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.05);
    }
}
