/* Modal Overlay */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 20px;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Modal Overlay - Force visibility */
#camera-modal.modal-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: rgba(0, 0, 0, 0.92) !important;
    backdrop-filter: blur(12px);
    z-index: 999999 !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 20px;
}

#camera-modal.modal-overlay.active {
    opacity: 1 !important;
    visibility: visible !important;
}

/* Modal Container */
#camera-modal .modal-container {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border-radius: 20px;
    max-width: 1000px;
    width: 100%;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(102, 126, 234, 0.3);
    transform: scale(0.9);
    transition: transform 0.3s ease;
    position: relative;
    z-index: 1000000;
}

#camera-modal.modal-overlay.active .modal-container {
    transform: scale(1);
}

/* Modal Header */
#camera-modal .modal-header {
    padding: 30px 35px;
    border-bottom: 1px solid rgba(102, 126, 234, 0.2);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(26, 26, 46, 0.95);
}

#camera-modal .modal-title {
    font-size: 1.9rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0;
    background: linear-gradient(135deg, #ffffff 0%, #c0c0c0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

#camera-modal .modal-close {
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(102, 126, 234, 0.3);
    border-radius: 50%;
    color: #ffffff;
    font-size: 1.6rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    flex-shrink: 0;
}

#camera-modal .modal-close:hover {
    background: rgba(255, 59, 48, 0.9);
    border-color: rgba(255, 59, 48, 1);
    transform: rotate(90deg) scale(1.1);
}

/* Modal Body */
#camera-modal .modal-body {
    padding: 40px;
    max-height: calc(90vh - 130px);
    overflow-y: auto;
    color: rgba(255, 255, 255, 0.9);
    background: linear-gradient(180deg, #16213e 0%, #1a1a2e 100%);
    font-size: 1rem;
    line-height: 1.7;
}

/* Enhanced scrollbar */
#camera-modal .modal-body::-webkit-scrollbar {
    width: 10px;
}

#camera-modal .modal-body::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    margin: 10px 0;
}

#camera-modal .modal-body::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 10px;
}

#camera-modal .modal-body::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #7b8ff7 0%, #8a5bb8 100%);
}

/* Modal Content Styling */
#camera-modal .modal-body h1,
#camera-modal .modal-body h2,
#camera-modal .modal-body h3,
#camera-modal .modal-body h4 {
    color: #ffffff;
    margin-top: 0;
    margin-bottom: 20px;
    font-weight: 700;
}

#camera-modal .modal-body h1 {
    font-size: 2rem;
    margin: 0 0 30px 0;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(102, 126, 234, 0.3);
    background: linear-gradient(135deg, #ffffff 0%, #c0c0c0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

#camera-modal .modal-body h2 {
    font-size: 1.6rem;
    margin-top: 40px;
    margin-bottom: 25px;
    padding-bottom: 12px;
    border-bottom: 2px solid rgba(102, 126, 234, 0.3);
    display: flex;
    align-items: center;
    gap: 10px;
}

#camera-modal .modal-body h3 {
    font-size: 1.3rem;
    margin-top: 30px;
    margin-bottom: 18px;
    color: #667eea;
}

#camera-modal .modal-body h4 {
    font-size: 1.15rem;
    margin-top: 20px;
    margin-bottom: 15px;
    color: #ffffff;
}

/* Emoji in headings */
#camera-modal .modal-body h1::first-letter,
#camera-modal .modal-body h2::first-letter,
#camera-modal .modal-body h3::first-letter {
    font-size: 1.2em;
}

/* ============================================
   TYPOGRAPHY - PARAGRAPHS & TEXT
   ============================================ */
#camera-modal .modal-body p {
    margin-bottom: 18px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.8;
}

#camera-modal .modal-body p:last-child {
    margin-bottom: 0;
}

#camera-modal .modal-body strong,
#camera-modal .modal-body b {
    color: #ffffff;
    font-weight: 700;
}

#camera-modal .modal-body em,
#camera-modal .modal-body i {
    font-style: italic;
    color: rgba(255, 255, 255, 0.9);
}

#camera-modal .modal-body mark {
    background: rgba(102, 126, 234, 0.3);
    color: #ffffff;
    padding: 2px 6px;
    border-radius: 3px;
}

/* ============================================
   LISTS - STANDARD UL/OL
   ============================================ */
#camera-modal .modal-body ul,
#camera-modal .modal-body ol {
    margin: 20px 0;
    padding-left: 30px;
}

#camera-modal .modal-body li {
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
}

#camera-modal .modal-body ul li::marker {
    color: #667eea;
}

#camera-modal .modal-body ol li::marker {
    color: #667eea;
    font-weight: 700;
}

/* Nested lists */
#camera-modal .modal-body ul ul,
#camera-modal .modal-body ol ul,
#camera-modal .modal-body ul ol,
#camera-modal .modal-body ol ol {
    margin: 10px 0;
    padding-left: 25px;
}

/* ============================================
   CUSTOM BOXES - INFO, SUCCESS, WARNING
   ============================================ */
#camera-modal .modal-body .info-box {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.15) 0%, rgba(118, 75, 162, 0.15) 100%);
    border-left: 4px solid #667eea;
    padding: 20px 25px;
    margin: 25px 0;
    border-radius: 0 10px 10px 0;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.1);
}

#camera-modal .modal-body .info-box strong {
    display: block;
    color: #667eea;
    font-size: 1.1rem;
    margin-bottom: 10px;
    font-weight: 800;
}

#camera-modal .modal-body .info-box p {
    margin: 0;
}

#camera-modal .modal-body .success-box {
    background: linear-gradient(135deg, rgba(74, 222, 128, 0.12) 0%, rgba(34, 197, 94, 0.12) 100%);
    border-left: 4px solid #4ade80;
    padding: 20px 25px;
    margin: 25px 0;
    border-radius: 0 10px 10px 0;
    box-shadow: 0 4px 15px rgba(74, 222, 128, 0.1);
}

#camera-modal .modal-body .success-box strong {
    display: block;
    color: #4ade80;
    font-size: 1.1rem;
    margin-bottom: 10px;
    font-weight: 800;
}

#camera-modal .modal-body .success-box ul {
    margin: 15px 0 0 0;
    padding-left: 25px;
}

#camera-modal .modal-body .success-box li {
    color: rgba(255, 255, 255, 0.9);
}

#camera-modal .modal-body .warning-box {
    background: linear-gradient(135deg, rgba(251, 146, 60, 0.12) 0%, rgba(249, 115, 22, 0.12) 100%);
    border-left: 4px solid #fb923c;
    padding: 20px 25px;
    margin: 25px 0;
    border-radius: 0 10px 10px 0;
    box-shadow: 0 4px 15px rgba(251, 146, 60, 0.1);
}

#camera-modal .modal-body .warning-box strong {
    display: block;
    color: #fb923c;
    font-size: 1.1rem;
    margin-bottom: 10px;
    font-weight: 800;
}

#camera-modal .modal-body .warning-box ul {
    margin: 15px 0 0 0;
    padding-left: 25px;
}

#camera-modal .modal-body .warning-box li {
    color: rgba(255, 255, 255, 0.9);
}

/* ============================================
   SPEC GRID - TECHNICAL SPECIFICATIONS
   ============================================ */
#camera-modal .modal-body .spec-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 15px;
    margin: 25px 0;
}

#camera-modal .modal-body .spec-item {
    background: rgba(255, 255, 255, 0.03);
    padding: 18px 20px;
    border-radius: 10px;
    border: 1px solid rgba(102, 126, 234, 0.15);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

#camera-modal .modal-body .spec-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #667eea, #764ba2);
    opacity: 0;
    transition: opacity 0.3s ease;
}

#camera-modal .modal-body .spec-item:hover {
    background: rgba(102, 126, 234, 0.08);
    border-color: rgba(102, 126, 234, 0.3);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.2);
}

#camera-modal .modal-body .spec-item:hover::before {
    opacity: 1;
}

#camera-modal .modal-body .spec-label {
    display: block;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 8px;
    font-weight: 700;
}

#camera-modal .modal-body .spec-value {
    display: block;
    font-size: 1.15rem;
    color: #ffffff;
    font-weight: 700;
    line-height: 1.3;
}

/* ============================================
   FEATURE LIST - CHECKMARK STYLE
   ============================================ */
#camera-modal .modal-body .feature-list {
    list-style: none;
    padding: 0;
    margin: 25px 0;
}

#camera-modal .modal-body .feature-list li {
    padding: 15px 0 15px 40px;
    position: relative;
    border-bottom: 1px solid rgba(102, 126, 234, 0.1);
    transition: all 0.2s ease;
}

#camera-modal .modal-body .feature-list li:last-child {
    border-bottom: none;
}

#camera-modal .modal-body .feature-list li:hover {
    padding-left: 45px;
    background: rgba(102, 126, 234, 0.03);
}

#camera-modal .modal-body .feature-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 26px;
    height: 26px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: white;
    font-size: 0.9rem;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

#camera-modal .modal-body .feature-list li strong {
    color: #667eea;
}

/* ============================================
   LENS GRID - CARD LAYOUT
   ============================================ */
#camera-modal .modal-body .lens-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

#camera-modal .modal-body .lens-card {
    background: rgba(255, 255, 255, 0.03);
    padding: 25px;
    border-radius: 12px;
    border: 1px solid rgba(102, 126, 234, 0.15);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

#camera-modal .modal-body .lens-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

#camera-modal .modal-body .lens-card:hover::before {
    transform: scaleX(1);
}

#camera-modal .modal-body .lens-card:hover {
    background: rgba(102, 126, 234, 0.08);
    border-color: rgba(102, 126, 234, 0.3);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.2);
}

#camera-modal .modal-body .lens-card h4 {
    color: #667eea;
    margin: 0 0 12px 0;
    font-size: 1.15rem;
    font-weight: 700;
}

#camera-modal .modal-body .lens-card p {
    margin: 0;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

/* ============================================
   TABLES - ENHANCED STYLING
   ============================================ */
#camera-modal .modal-body table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 30px 0;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

#camera-modal .modal-body thead {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.25) 0%, rgba(118, 75, 162, 0.25) 100%);
}

#camera-modal .modal-body th {
    padding: 20px 25px;
    text-align: left;
    color: #ffffff;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 1.8px;
    border-bottom: 2px solid rgba(102, 126, 234, 0.3);
}

#camera-modal .modal-body td {
    padding: 18px 25px;
    border-bottom: 1px solid rgba(102, 126, 234, 0.08);
    color: rgba(255, 255, 255, 0.85);
}

#camera-modal .modal-body tbody tr {
    transition: all 0.2s ease;
}

#camera-modal .modal-body tbody tr:hover {
    background: rgba(102, 126, 234, 0.08);
}

#camera-modal .modal-body tbody tr:last-child td {
    border-bottom: none;
}

/* Star ratings in tables */
#camera-modal .modal-body tbody td:nth-child(2) {
    color: #ffd700;
    font-size: 1.1rem;
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.3);
}

/* First column (labels) */
#camera-modal .modal-body tbody td:first-child {
    font-weight: 600;
    color: rgba(255, 255, 255, 0.75);
}

/* Last column (values/notes) */
#camera-modal .modal-body tbody td:last-child {
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

/* ============================================
   LINKS
   ============================================ */
#camera-modal .modal-body a {
    color: #667eea;
    text-decoration: none;
    border-bottom: 1px solid rgba(102, 126, 234, 0.3);
    transition: all 0.3s ease;
}

#camera-modal .modal-body a:hover {
    color: #764ba2;
    border-bottom-color: #764ba2;
}

/* ============================================
   CODE & PRE
   ============================================ */
#camera-modal .modal-body code {
    background: rgba(255, 255, 255, 0.08);
    padding: 3px 8px;
    border-radius: 4px;
    font-family: 'Courier New', Consolas, monospace;
    color: #4ade80;
    font-size: 0.9em;
}

#camera-modal .modal-body pre {
    background: rgba(0, 0, 0, 0.3);
    padding: 20px;
    border-radius: 10px;
    overflow-x: auto;
    border: 1px solid rgba(102, 126, 234, 0.2);
    margin: 25px 0;
}

#camera-modal .modal-body pre code {
    background: none;
    padding: 0;
    color: #e0e0e0;
}

/* ============================================
   BLOCKQUOTE
   ============================================ */
#camera-modal .modal-body blockquote {
    border-left: 4px solid #667eea;
    margin: 25px 0;
    padding: 20px 20px 20px 25px;
    font-style: italic;
    color: rgba(255, 255, 255, 0.75);
    background: rgba(102, 126, 234, 0.05);
    border-radius: 0 10px 10px 0;
}

#camera-modal .modal-body blockquote p {
    margin: 0;
}

/* ============================================
   IMAGES
   ============================================ */
#camera-modal .modal-body img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 25px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(102, 126, 234, 0.2);
}

/* ============================================
   HORIZONTAL RULE
   ============================================ */
#camera-modal .modal-body hr {
    border: none;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.4), transparent);
    margin: 40px 0;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes modalSlideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#camera-modal.active .modal-body > * {
    animation: modalSlideUp 0.4s ease-out backwards;
}

#camera-modal.active .modal-body > *:nth-child(1) { animation-delay: 0.05s; }
#camera-modal.active .modal-body > *:nth-child(2) { animation-delay: 0.08s; }
#camera-modal.active .modal-body > *:nth-child(3) { animation-delay: 0.11s; }
#camera-modal.active .modal-body > *:nth-child(4) { animation-delay: 0.14s; }
#camera-modal.active .modal-body > *:nth-child(5) { animation-delay: 0.17s; }

/* Loading State */
#camera-modal .modal-loading {
    text-align: center;
    padding: 80px 20px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.2rem;
}

#camera-modal .modal-loading i {
    font-size: 3.5rem;
    margin-bottom: 25px;
    display: block;
    color: #667eea;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Error State */
#camera-modal .modal-error {
    text-align: center;
    padding: 80px 30px;
}

#camera-modal .modal-error i {
    font-size: 5rem;
    color: #ff9800;
    margin-bottom: 25px;
}

#camera-modal .modal-error h3 {
    font-size: 1.8rem;
    color: #ffffff;
    margin: 0 0 15px 0;
}

#camera-modal .modal-error p {
    color: rgba(255, 255, 255, 0.7);
    margin: 12px 0;
    font-size: 1.05rem;
}

#camera-modal .modal-error .error-path {
    font-size: 0.9rem;
    font-family: monospace;
    background: rgba(255, 255, 255, 0.05);
    padding: 15px;
    border-radius: 8px;
    margin-top: 25px;
    border: 1px solid rgba(255, 152, 0, 0.2);
}

/* Prevent body scroll when modal is open */
body.modal-open {
    overflow: hidden !important;
}

/* Responsive */
@media (max-width: 1024px) {
    #camera-modal .modal-container {
        max-width: 95%;
    }
}

@media (max-width: 768px) {
    #camera-modal .modal-container {
        max-width: 100%;
        max-height: 100vh;
        border-radius: 0;
    }
    
    #camera-modal .modal-header {
        padding: 20px 25px;
    }
    
    #camera-modal .modal-title {
        font-size: 1.4rem;
    }
    
    #camera-modal .modal-body {
        padding: 25px 20px;
    }
    
    #camera-modal .modal-body h1 {
        font-size: 1.6rem;
    }
    
    #camera-modal .modal-body h2 {
        font-size: 1.3rem;
    }
    
    #camera-modal .modal-body table {
        font-size: 0.9rem;
    }
    
    #camera-modal .modal-body th,
    #camera-modal .modal-body td {
        padding: 10px 12px;
    }
}

@media (max-width: 480px) {
    #camera-modal .modal-body {
        padding: 20px 15px;
    }
}

/* ============================================
   MODAL CONTENT CUSTOM ELEMENTS
   ============================================ */

/* Info Boxes */
#camera-modal .modal-body .info-box {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.15) 0%, rgba(118, 75, 162, 0.15) 100%);
    border-left: 4px solid #667eea;
    padding: 20px 25px;
    margin: 25px 0;
    border-radius: 0 10px 10px 0;
}

#camera-modal .modal-body .info-box strong {
    display: block;
    color: #667eea;
    font-size: 1.1rem;
    margin-bottom: 10px;
    font-weight: 800;
}

/* Success Box */
#camera-modal .modal-body .success-box {
    background: linear-gradient(135deg, rgba(74, 222, 128, 0.1) 0%, rgba(34, 197, 94, 0.1) 100%);
    border-left: 4px solid #4ade80;
    padding: 20px 25px;
    margin: 25px 0;
    border-radius: 0 10px 10px 0;
}

#camera-modal .modal-body .success-box strong {
    display: block;
    color: #4ade80;
    font-size: 1.1rem;
    margin-bottom: 10px;
    font-weight: 800;
}

#camera-modal .modal-body .success-box ul {
    margin: 15px 0 0 0;
}

/* Warning Box */
#camera-modal .modal-body .warning-box {
    background: linear-gradient(135deg, rgba(251, 146, 60, 0.1) 0%, rgba(249, 115, 22, 0.1) 100%);
    border-left: 4px solid #fb923c;
    padding: 20px 25px;
    margin: 25px 0;
    border-radius: 0 10px 10px 0;
}

#camera-modal .modal-body .warning-box strong {
    display: block;
    color: #fb923c;
    font-size: 1.1rem;
    margin-bottom: 10px;
    font-weight: 800;
}

#camera-modal .modal-body .warning-box ul {
    margin: 15px 0 0 0;
}

/* Spec Grid Layout */
#camera-modal .modal-body .spec-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 15px;
    margin: 25px 0;
}

#camera-modal .modal-body .spec-item {
    background: rgba(255, 255, 255, 0.03);
    padding: 15px 20px;
    border-radius: 10px;
    border: 1px solid rgba(102, 126, 234, 0.15);
    transition: all 0.3s ease;
}

#camera-modal .modal-body .spec-item:hover {
    background: rgba(102, 126, 234, 0.08);
    border-color: rgba(102, 126, 234, 0.3);
    transform: translateY(-2px);
}

#camera-modal .modal-body .spec-label {
    display: block;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    font-weight: 600;
}

#camera-modal .modal-body .spec-value {
    display: block;
    font-size: 1.1rem;
    color: #ffffff;
    font-weight: 700;
}

/* Feature List */
#camera-modal .modal-body .feature-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

#camera-modal .modal-body .feature-list li {
    padding: 12px 0 12px 35px;
    position: relative;
    border-bottom: 1px solid rgba(102, 126, 234, 0.1);
}

#camera-modal .modal-body .feature-list li:last-child {
    border-bottom: none;
}

#camera-modal .modal-body .feature-list li:hover {
    padding-left: 45px;
    background: rgba(102, 126, 234, 0.03);
}

#camera-modal .modal-body .feature-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: white;
    font-size: 0.9rem;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

/* Lens Grid Layout */
#camera-modal .modal-body .lens-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin: 25px 0;
}

#camera-modal .modal-body .lens-card {
    background: rgba(255, 255, 255, 0.03);
    padding: 25px;
    border-radius: 12px;
    border: 1px solid rgba(102, 126, 234, 0.15);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

#camera-modal .modal-body .lens-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

#camera-modal .modal-body .lens-card:hover::before {
    transform: scaleX(1);
}

#camera-modal .modal-body .lens-card:hover {
    background: rgba(102, 126, 234, 0.08);
    border-color: rgba(102, 126, 234, 0.3);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.2);
}

#camera-modal .modal-body .lens-card h4 {
    color: #667eea;
    margin: 0 0 12px 0;
    font-size: 1.15rem;
    font-weight: 700;
}

#camera-modal .modal-body .lens-card p {
    margin: 0;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

/* Enhanced Table Styling */
#camera-modal .modal-body table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 30px 0;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

#camera-modal .modal-body thead {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.2) 0%, rgba(118, 75, 162, 0.2) 100%);
}

#camera-modal .modal-body th {
    padding: 18px 25px;
    text-align: left;
    color: #ffffff;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1.5px;
    border-bottom: 2px solid rgba(102, 126, 234, 0.3);
}

#camera-modal .modal-body td {
    padding: 18px 25px;
    border-bottom: 1px solid rgba(102, 126, 234, 0.1);
}

#camera-modal .modal-body tbody tr {
    transition: all 0.2s ease;
}

#camera-modal .modal-body tbody tr:hover {
    background: rgba(102, 126, 234, 0.08);
}

#camera-modal .modal-body tbody tr:last-child td {
    border-bottom: none;
}

/* Star Ratings in Tables */
#camera-modal .modal-body td:nth-child(2) {
    color: #ffd700;
    font-size: 1.1rem;
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.3);
}

/* First column (labels) */
#camera-modal .modal-body tbody td:first-child {
    font-weight: 600;
    color: rgba(255, 255, 255, 0.75);
}

/* Last column (values/notes) */
#camera-modal .modal-body tbody td:last-child {
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

/* ============================================
   LINKS
   ============================================ */
#camera-modal .modal-body a {
    color: #667eea;
    text-decoration: none;
    border-bottom: 1px solid rgba(102, 126, 234, 0.3);
    transition: all 0.3s ease;
}

#camera-modal .modal-body a:hover {
    color: #764ba2;
    border-bottom-color: #764ba2;
}

/* ============================================
   CODE & PRE
   ============================================ */
#camera-modal .modal-body code {
    background: rgba(255, 255, 255, 0.08);
    padding: 3px 8px;
    border-radius: 4px;
    font-family: 'Courier New', Consolas, monospace;
    color: #4ade80;
    font-size: 0.9em;
}

#camera-modal .modal-body pre {
    background: rgba(0, 0, 0, 0.3);
    padding: 20px;
    border-radius: 10px;
    overflow-x: auto;
    border: 1px solid rgba(102, 126, 234, 0.2);
    margin: 25px 0;
}

#camera-modal .modal-body pre code {
    background: none;
    padding: 0;
    color: #e0e0e0;
}

/* ============================================
   BLOCKQUOTE
   ============================================ */
#camera-modal .modal-body blockquote {
    border-left: 4px solid #667eea;
    margin: 25px 0;
    padding: 20px 20px 20px 25px;
    font-style: italic;
    color: rgba(255, 255, 255, 0.75);
    background: rgba(102, 126, 234, 0.05);
    border-radius: 0 10px 10px 0;
}

#camera-modal .modal-body blockquote p {
    margin: 0;
}

/* ============================================
   IMAGES
   ============================================ */
#camera-modal .modal-body img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 25px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(102, 126, 234, 0.2);
}

/* ============================================
   HORIZONTAL RULE
   ============================================ */
#camera-modal .modal-body hr {
    border: none;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.4), transparent);
    margin: 40px 0;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes modalSlideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#camera-modal.active .modal-body > * {
    animation: modalSlideUp 0.4s ease-out backwards;
}

#camera-modal.active .modal-body > *:nth-child(1) { animation-delay: 0.05s; }
#camera-modal.active .modal-body > *:nth-child(2) { animation-delay: 0.08s; }
#camera-modal.active .modal-body > *:nth-child(3) { animation-delay: 0.11s; }
#camera-modal.active .modal-body > *:nth-child(4) { animation-delay: 0.14s; }
#camera-modal.active .modal-body > *:nth-child(5) { animation-delay: 0.17s; }

/* Loading State */
#camera-modal .modal-loading {
    text-align: center;
    padding: 80px 20px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.2rem;
}

#camera-modal .modal-loading i {
    font-size: 3.5rem;
    margin-bottom: 25px;
    display: block;
    color: #667eea;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Error State */
#camera-modal .modal-error {
    text-align: center;
    padding: 80px 30px;
}

#camera-modal .modal-error i {
    font-size: 5rem;
    color: #ff9800;
    margin-bottom: 25px;
}

#camera-modal .modal-error h3 {
    font-size: 1.8rem;
    color: #ffffff;
    margin: 0 0 15px 0;
}

#camera-modal .modal-error p {
    color: rgba(255, 255, 255, 0.7);
    margin: 12px 0;
    font-size: 1.05rem;
}

#camera-modal .modal-error .error-path {
    font-size: 0.9rem;
    font-family: monospace;
    background: rgba(255, 255, 255, 0.05);
    padding: 15px;
    border-radius: 8px;
    margin-top: 25px;
    border: 1px solid rgba(255, 152, 0, 0.2);
}

/* Prevent body scroll when modal is open */
body.modal-open {
    overflow: hidden !important;
}

/* Responsive */
@media (max-width: 1024px) {
    #camera-modal .modal-container {
        max-width: 95%;
    }
}

@media (max-width: 768px) {
    #camera-modal .modal-container {
        max-width: 100%;
        max-height: 100vh;
        border-radius: 0;
    }
    
    #camera-modal .modal-header {
        padding: 20px 25px;
    }
    
    #camera-modal .modal-title {
        font-size: 1.4rem;
    }
    
    #camera-modal .modal-body {
        padding: 25px 20px;
    }
    
    #camera-modal .modal-body h1 {
        font-size: 1.6rem;
    }
    
    #camera-modal .modal-body h2 {
        font-size: 1.3rem;
    }
    
    #camera-modal .modal-body table {
        font-size: 0.9rem;
    }
    
    #camera-modal .modal-body th,
    #camera-modal .modal-body td {
        padding: 10px 12px;
    }
}

@media (max-width: 480px) {
    #camera-modal .modal-body {
        padding: 20px 15px;
    }
}

/* ============================================
   MODAL CONTENT CUSTOM ELEMENTS
   ============================================ */

/* Info Boxes */
#camera-modal .modal-body .info-box {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.15) 0%, rgba(118, 75, 162, 0.15) 100%);
    border-left: 4px solid #667eea;
    padding: 20px 25px;
    margin: 25px 0;
    border-radius: 0 10px 10px 0;
}

#camera-modal .modal-body .info-box strong {
    display: block;
    color: #667eea;
    font-size: 1.1rem;
    margin-bottom: 10px;
    font-weight: 800;
}

/* Success Box */
#camera-modal .modal-body .success-box {
    background: linear-gradient(135deg, rgba(74, 222, 128, 0.1) 0%, rgba(34, 197, 94, 0.1) 100%);
    border-left: 4px solid #4ade80;
    padding: 20px 25px;
    margin: 25px 0;
    border-radius: 0 10px 10px 0;
}

#camera-modal .modal-body .success-box strong {
    display: block;
    color: #4ade80;
    font-size: 1.1rem;
    margin-bottom: 10px;
    font-weight: 800;
}

#camera-modal .modal-body .success-box ul {
    margin: 15px 0 0 0;
}

/* Warning Box */
#camera-modal .modal-body .warning-box {
    background: linear-gradient(135deg, rgba(251, 146, 60, 0.1) 0%, rgba(249, 115, 22, 0.1) 100%);
    border-left: 4px solid #fb923c;
    padding: 20px 25px;
    margin: 25px 0;
    border-radius: 0 10px 10px 0;
}

#camera-modal .modal-body .warning-box strong {
    display: block;
    color: #fb923c;
    font-size: 1.1rem;
    margin-bottom: 10px;
    font-weight: 800;
}

#camera-modal .modal-body .warning-box ul {
    margin: 15px 0 0 0;
}

/* Spec Grid Layout */
#camera-modal .modal-body .spec-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 15px;
    margin: 25px 0;
}

#camera-modal .modal-body .spec-item {
    background: rgba(255, 255, 255, 0.03);
    padding: 15px 20px;
    border-radius: 10px;
    border: 1px solid rgba(102, 126, 234, 0.15);
    transition: all 0.3s ease;
}

#camera-modal .modal-body .spec-item:hover {
    background: rgba(102, 126, 234, 0.08);
    border-color: rgba(102, 126, 234, 0.3);
    transform: translateY(-2px);
}

#camera-modal .modal-body .spec-label {
    display: block;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    font-weight: 600;
}

#camera-modal .modal-body .spec-value {
    display: block;
    font-size: 1.1rem;
    color: #ffffff;
    font-weight: 700;
}

/* Feature List */
#camera-modal .modal-body .feature-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

#camera-modal .modal-body .feature-list li {
    padding: 12px 0 12px 35px;
    position: relative;
    border-bottom: 1px solid rgba(102, 126, 234, 0.1);
}

#camera-modal .modal-body .feature-list li:last-child {
    border-bottom: none;
}

#camera-modal .modal-body .feature-list li:hover {
    padding-left: 45px;
    background: rgba(102, 126, 234, 0.03);
}

#camera-modal .modal-body .feature-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: white;
    font-size: 0.9rem;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

/* Lens Grid Layout */
#camera-modal .modal-body .lens-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin: 25px 0;
}

#camera-modal .modal-body .lens-card {
    background: rgba(255, 255, 255, 0.03);
    padding: 25px;
    border-radius: 12px;
    border: 1px solid rgba(102, 126, 234, 0.15);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

#camera-modal .modal-body .lens-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

#camera-modal .modal-body .lens-card:hover::before {
    transform: scaleX(1);
}

#camera-modal .modal-body .lens-card:hover {
    background: rgba(102, 126, 234, 0.08);
    border-color: rgba(102, 126, 234, 0.3);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.2);
}

#camera-modal .modal-body .lens-card h4 {
    color: #667eea;
    margin: 0 0 12px 0;
    font-size: 1.15rem;
    font-weight: 700;
}

#camera-modal .modal-body .lens-card p {
    margin: 0;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

/* Enhanced Table Styling */
#camera-modal .modal-body table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 30px 0;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

#camera-modal .modal-body thead {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.2) 0%, rgba(118, 75, 162, 0.2) 100%);
}

#camera-modal .modal-body th {
    padding: 18px 25px;
    text-align: left;
    color: #ffffff;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1.5px;
    border-bottom: 2px solid rgba(102, 126, 234, 0.3);
}

#camera-modal .modal-body td {
    padding: 18px 25px;
    border-bottom: 1px solid rgba(102, 126, 234, 0.1);
}

#camera-modal .modal-body tbody tr {
    transition: all 0.2s ease;
}

#camera-modal .modal-body tbody tr:hover {
    background: rgba(102, 126, 234, 0.08);
}

#camera-modal .modal-body tbody tr:last-child td {
    border-bottom: none;
}

/* Star ratings in tables */
#camera-modal .modal-body tbody td:nth-child(2) {
    color: #ffd700;
    font-size: 1.1rem;
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.3);
}

/* First column (labels) */
#camera-modal .modal-body tbody td:first-child {
    font-weight: 600;
    color: rgba(255, 255, 255, 0.75);
}

/* Last column (values/notes) */
#camera-modal .modal-body tbody td:last-child {
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

/* ============================================
   LINKS
   ============================================ */
#camera-modal .modal-body a {
    color: #667eea;
    text-decoration: none;
    border-bottom: 1px solid rgba(102, 126, 234, 0.3);
    transition: all 0.3s ease;
}

#camera-modal .modal-body a:hover {
    color: #764ba2;
    border-bottom-color: #764ba2;
}

/* ============================================
   CODE & PRE
   ============================================ */
#camera-modal .modal-body code {
    background: rgba(255, 255, 255, 0.08);
    padding: 3px 8px;
    border-radius: 4px;
    font-family: 'Courier New', Consolas, monospace;
    color: #4ade80;
    font-size: 0.9em;
}

#camera-modal .modal-body pre {
    background: rgba(0, 0, 0, 0.3);
    padding: 20px;
    border-radius: 10px;
    overflow-x: auto;
    border: 1px solid rgba(102, 126, 234, 0.2);
    margin: 25px 0;
}

#camera-modal .modal-body pre code {
    background: none;
    padding: 0;
    color: #e0e0e0;
}

/* ============================================
   BLOCKQUOTE
   ============================================ */
#camera-modal .modal-body blockquote {
    border-left: 4px solid #667eea;
    margin: 25px 0;
    padding: 20px 20px 20px 25px;
    font-style: italic;
    color: rgba(255, 255, 255, 0.75);
    background: rgba(102, 126, 234, 0.05);
    border-radius: 0 10px 10px 0;
}

#camera-modal .modal-body blockquote p {
    margin: 0;
}

/* ============================================
   IMAGES
   ============================================ */
#camera-modal .modal-body img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 25px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(102, 126, 234, 0.2);
}

/* ============================================
   HORIZONTAL RULE
   ============================================ */
#camera-modal .modal-body hr {
    border: none;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.4), transparent);
    margin: 40px 0;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes modalSlideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#camera-modal.active .modal-body > * {
    animation: modalSlideUp 0.4s ease-out backwards;
}

#camera-modal.active .modal-body > *:nth-child(1) { animation-delay: 0.05s; }
#camera-modal.active .modal-body > *:nth-child(2) { animation-delay: 0.08s; }
#camera-modal.active .modal-body > *:nth-child(3) { animation-delay: 0.11s; }
#camera-modal.active .modal-body > *:nth-child(4) { animation-delay: 0.14s; }
#camera-modal.active .modal-body > *:nth-child(5) { animation-delay: 0.17s; }

/* Loading State */
#camera-modal .modal-loading {
    text-align: center;
    padding: 80px 20px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.2rem;
}

#camera-modal .modal-loading i {
    font-size: 3.5rem;
    margin-bottom: 25px;
    display: block;
    color: #667eea;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Error State */
#camera-modal .modal-error {
    text-align: center;
    padding: 80px 30px;
}

#camera-modal .modal-error i {
    font-size: 5rem;
    color: #ff9800;
    margin-bottom: 25px;
}

#camera-modal .modal-error h3 {
    font-size: 1.8rem;
    color: #ffffff;
    margin: 0 0 15px 0;
}

#camera-modal .modal-error p {
    color: rgba(255, 255, 255, 0.7);
    margin: 12px 0;
    font-size: 1.05rem;
}

#camera-modal .modal-error .error-path {
    font-size: 0.9rem;
    font-family: monospace;
    background: rgba(255, 255, 255, 0.05);
    padding: 15px;
    border-radius: 8px;
    margin-top: 25px;
    border: 1px solid rgba(255, 152, 0, 0.2);
}

/* Prevent body scroll when modal is open */
body.modal-open {
    overflow: hidden !important;
}

/* Responsive */
@media (max-width: 1024px) {
    #camera-modal .modal-container {
        max-width: 95%;
    }
}

@media (max-width: 768px) {
    #camera-modal .modal-container {
        max-width: 100%;
        max-height: 100vh;
        border-radius: 0;
    }
    
    #camera-modal .modal-header {
        padding: 20px 25px;
    }
    
    #camera-modal .modal-title {
        font-size: 1.4rem;
    }
    
    #camera-modal .modal-body {
        padding: 25px 20px;
    }
    
    #camera-modal .modal-body h1 {
        font-size: 1.6rem;
    }
    
    #camera-modal .modal-body h2 {
        font-size: 1.3rem;
    }
    
    #camera-modal .modal-body table {
        font-size: 0.9rem;
    }
    
    #camera-modal .modal-body th,
    #camera-modal .modal-body td {
        padding: 10px 12px;
    }
}

@media (max-width: 480px) {
    #camera-modal .modal-body {
        padding: 20px 15px;
    }
}

/* ============================================
   MODAL CONTENT CUSTOM ELEMENTS
   ============================================ */

/* Info Boxes */
#camera-modal .modal-body .info-box {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.15) 0%, rgba(118, 75, 162, 0.15) 100%);
    border-left: 4px solid #667eea;
    padding: 20px 25px;
    margin: 25px 0;
    border-radius: 0 10px 10px 0;
}

#camera-modal .modal-body .info-box strong {
    display: block;
    color: #667eea;
    font-size: 1.1rem;
    margin-bottom: 10px;
    font-weight: 800;
}

/* Success Box */
#camera-modal .modal-body .success-box {
    background: linear-gradient(135deg, rgba(74, 222, 128, 0.1) 0%, rgba(34, 197, 94, 0.1) 100%);
    border-left: 4px solid #4ade80;
    padding: 20px 25px;
    margin: 25px 0;
    border-radius: 0 10px 10px 0;
}

#camera-modal .modal-body .success-box strong {
    display: block;
    color: #4ade80;
    font-size: 1.1rem;
    margin-bottom: 10px;
    font-weight: 800;
}

#camera-modal .modal-body .success-box ul {
    margin: 15px 0 0 0;
}

/* Warning Box */
#camera-modal .modal-body .warning-box {
    background: linear-gradient(135deg, rgba(251, 146, 60, 0.1) 0%, rgba(249, 115, 22, 0.1) 100%);
    border-left: 4px solid #fb923c;
    padding: 20px 25px;
    margin: 25px 0;
    border-radius: 0 10px 10px 0;
}

#camera-modal .modal-body .warning-box strong {
    display: block;
    color: #fb923c;
    font-size: 1.1rem;
    margin-bottom: 10px;
    font-weight: 800;
}

#camera-modal .modal-body .warning-box ul {
    margin: 15px 0 0 0;
}

/* Spec Grid Layout */
#camera-modal .modal-body .spec-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 15px;
    margin: 25px 0;
}

#camera-modal .modal-body .spec-item {
    background: rgba(255, 255, 255, 0.03);
    padding: 15px 20px;
    border-radius: 10px;
    border: 1px solid rgba(102, 126, 234, 0.15);
    transition: all 0.3s ease;
}

#camera-modal .modal-body .spec-item:hover {
    background: rgba(102, 126, 234, 0.08);
    border-color: rgba(102, 126, 234, 0.3);
    transform: translateY(-2px);
}

#camera-modal .modal-body .spec-label {
    display: block;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    font-weight: 600;
}

#camera-modal .modal-body .spec-value {
    display: block;
    font-size: 1.1rem;
    color: #ffffff;
    font-weight: 700;
}

/* Feature List */
#camera-modal .modal-body .feature-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

#camera-modal .modal-body .feature-list li {
    padding: 12px 0 12px 35px;
    position: relative;
    border-bottom: 1px solid rgba(102, 126, 234, 0.1);
}

#camera-modal .modal-body .feature-list li:last-child {
    border-bottom: none;
}

#camera-modal .modal-body .feature-list li:hover {
    padding-left: 45px;
    background: rgba(102, 126, 234, 0.03);
}

#camera-modal .modal-body .feature-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: white;
    font-size: 0.9rem;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

/* Lens Grid Layout */
#camera-modal .modal-body .lens-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin: 25px 0;
}

#camera-modal .modal-body .lens-card {
    background: rgba(255, 255, 255, 0.03);
    padding: 25px;
    border-radius: 12px;
    border: 1px solid rgba(102, 126, 234, 0.15);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

#camera-modal .modal-body .lens-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

#camera-modal .modal-body .lens-card:hover::before {
    transform: scaleX(1);
}

#camera-modal .modal-body .lens-card:hover {
    background: rgba(102, 126, 234, 0.08);
    border-color: rgba(102, 126, 234, 0.3);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.2);
}

#camera-modal .modal-body .lens-card h4 {
    color: #667eea;
    margin: 0 0 12px 0;
    font-size: 1.15rem;
    font-weight: 700;
}

#camera-modal .modal-body .lens-card p {
    margin: 0;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

/* Enhanced Table Styling */
#camera-modal .modal-body table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 30px 0;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

#camera-modal .modal-body thead {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.2) 0%, rgba(118, 75, 162, 0.2) 100%);
}

#camera-modal .modal-body th {
    padding: 18px 25px;
    text-align: left;
    color: #ffffff;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1.5px;
    border-bottom: 2px solid rgba(102, 126, 234, 0.3);
}

#camera-modal .modal-body td {
    padding: 18px 25px;
    border-bottom: 1px solid rgba(102, 126, 234, 0.1);
}

#camera-modal .modal-body tbody tr {
    transition: all 0.2s ease;
}

#camera-modal .modal-body tbody tr:hover {
    background: rgba(102, 126, 234, 0.08);
}

#camera-modal .modal-body tbody tr:last-child td {
    border-bottom: none;
}

/* Star ratings in tables */
#camera-modal .modal-body tbody td:nth-child(2) {
    color: #ffd700;
    font-size: 1.1rem;
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.3);
}

/* First column (labels) */
#camera-modal .modal-body tbody td:first-child {
    font-weight: 600;
    color: rgba(255, 255, 255, 0.75);
}

/* Last column (values/notes) */
#camera-modal .modal-body tbody td:last-child {
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

/* ============================================
   LINKS
   ============================================ */
#camera-modal .modal-body a {
    color: #667eea;
    text-decoration: none;
    border-bottom: 1px solid rgba(102, 126, 234, 0.3);
    transition: all 0.3s ease;
}

#camera-modal .modal-body a:hover {
    color: #764ba2;
    border-bottom-color: #764ba2;
}

/* ============================================
   CODE & PRE
   ============================================ */
#camera-modal .modal-body code {
    background: rgba(255, 255, 255, 0.08);
    padding: 3px 8px;
    border-radius: 4px;
    font-family: 'Courier New', Consolas, monospace;
    color: #4ade80;
    font-size: 0.9em;
}

#camera-modal .modal-body pre {
    background: rgba(0, 0, 0, 0.3);
    padding: 20px;
    border-radius: 10px;
    overflow-x: auto;
    border: 1px solid rgba(102, 126, 234, 0.2);
    margin: 25px 0;
}

#camera-modal .modal-body pre code {
    background: none;
    padding: 0;
    color: #e0e0e0;
}

/* ============================================
   BLOCKQUOTE
   ============================================ */
#camera-modal .modal-body blockquote {
    border-left: 4px solid #667eea;
    margin: 25px 0;
    padding: 20px 20px 20px 25px;
    font-style: italic;
    color: rgba(255, 255, 255, 0.75);
    background: rgba(102, 126, 234, 0.05);
    border-radius: 0 10px 10px 0;
}

#camera-modal .modal-body blockquote p {
    margin: 0;
}

/* ============================================
   IMAGES
   ============================================ */
#camera-modal .modal-body img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 25px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(102, 126, 234, 0.2);
}

/* ============================================
   HORIZONTAL RULE
   ============================================ */
#camera-modal .modal-body hr {
    border: none;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.4), transparent);
    margin: 40px 0;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes modalSlideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#camera-modal.active .modal-body > * {
    animation: modalSlideUp 0.4s ease-out backwards;
}

#camera-modal.active .modal-body > *:nth-child(1) { animation-delay: 0.05s; }
#camera-modal.active .modal-body > *:nth-child(2) { animation-delay: 0.08s; }
#camera-modal.active .modal-body > *:nth-child(3) { animation-delay: 0.11s; }
#camera-modal.active .modal-body > *:nth-child(4) { animation-delay: 0.14s; }
#camera-modal.active .modal-body > *:nth-child(5) { animation-delay: 0.17s; }

/* Loading State */
#camera-modal .modal-loading {
    text-align: center;
    padding: 80px 20px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.2rem;
}

#camera-modal .modal-loading i {
    font-size: 3.5rem;
    margin-bottom: 25px;
    display: block;
    color: #667eea;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Error State */
#camera-modal .modal-error {
    text-align: center;
    padding: 80px 30px;
}

#camera-modal .modal-error i {
    font-size: 5rem;
    color: #ff9800;
    margin-bottom: 25px;
}

#camera-modal .modal-error h3 {
    font-size: 1.8rem;
    color: #ffffff;
    margin: 0 0 15px 0;
}

#camera-modal .modal-error p {
    color: rgba(255, 255, 255, 0.7);
    margin: 12px 0;
    font-size: 1.05rem;
}

#camera-modal .modal-error .error-path {
    font-size: 0.9rem;
    font-family: monospace;
    background: rgba(255, 255, 255, 0.05);
    padding: 15px;
    border-radius: 8px;
    margin-top: 25px;
    border: 1px solid rgba(255, 152, 0, 0.2);
}

/* Prevent body scroll when modal is open */
body.modal-open {
    overflow: hidden !important;
}

/* Responsive */
@media (max-width: 1024px) {
    #camera-modal .modal-container {
        max-width: 95%;
    }
}

@media (max-width: 768px) {
    #camera-modal .modal-container {
        max-width: 100%;
        max-height: 100vh;
        border-radius: 0;
    }
    
    #camera-modal .modal-header {
        padding: 20px 25px;
    }
    
    #camera-modal .modal-title {
        font-size: 1.4rem;
    }
    
    #camera-modal .modal-body {
        padding: 25px 20px;
    }
    
    #camera-modal .modal-body h1 {
        font-size: 1.6rem;
    }
    
    #camera-modal .modal-body h2 {
        font-size: 1.3rem;
    }
    
    #camera-modal .modal-body table {
        font-size: 0.9rem;
    }
    
    #camera-modal .modal-body th,
    #camera-modal .modal-body td {
        padding: 10px 12px;
    }
}

@media (max-width: 480px) {
    #camera-modal .modal-body {
        padding: 20px 15px;
    }
}

/* ============================================
   MODAL CONTENT CUSTOM ELEMENTS
   ============================================ */

/* Info Boxes */
#camera-modal .modal-body .info-box {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.15) 0%, rgba(118, 75, 162, 0.15) 100%);
    border-left: 4px solid #667eea;
    padding: 20px 25px;
    margin: 25px 0;
    border-radius: 0 10px 10px 0;
}

#camera-modal .modal-body .info-box strong {
    display: block;
    color: #667eea;
    font-size: 1.1rem;
    margin-bottom: 10px;
    font-weight: 800;
}

/* Success Box */
#camera-modal .modal-body .success-box {
    background: linear-gradient(135deg, rgba(74, 222, 128, 0.1) 0%, rgba(34, 197, 94, 0.1) 100%);
    border-left: 4px solid #4ade80;
    padding: 20px 25px;
    margin: 25px 0;
    border-radius: 0 10px 10px 0;
}

#camera-modal .modal-body .success-box strong {
    display: block;
    color: #4ade80;
    font-size: 1.1rem;
    margin-bottom: 10px;
    font-weight: 800;
}

#camera-modal .modal-body .success-box ul {
    margin: 15px 0 0 0;
}

/* Warning Box */
#camera-modal .modal-body .warning-box {
    background: linear-gradient(135deg, rgba(251, 146, 60, 0.1) 0%, rgba(249, 115, 22, 0.1) 100%);
    border-left: 4px solid #fb923c;
    padding: 20px 25px;
    margin: 25px 0;
    border-radius: 0 10px 10px 0;
}

#camera-modal .modal-body .warning-box strong {
    display: block;
    color: #fb923c;
    font-size: 1.1rem;
    margin-bottom: 10px;
    font-weight: 800;
}

#camera-modal .modal-body .warning-box ul {
    margin: 15px 0 0 0;
}

/* Spec Grid Layout */
#camera-modal .modal-body .spec-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 15px;
    margin: 25px 0;
}

#camera-modal .modal-body .spec-item {
    background: rgba(255, 255, 255, 0.03);
    padding: 15px 20px;
    border-radius: 10px;
    border: 1px solid rgba(102, 126, 234, 0.15);
    transition: all 0.3s ease;
}

#camera-modal .modal-body .spec-item:hover {
    background: rgba(102, 126, 234, 0.08);
    border-color: rgba(102, 126, 234, 0.3);
    transform: translateY(-2px);
}

#camera-modal .modal-body .spec-label {
    display: block;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    font-weight: 600;
}

#camera-modal .modal-body .spec-value {
    display: block;
    font-size: 1.1rem;
    color: #ffffff;
    font-weight: 700;
}

/* Feature List */
#camera-modal .modal-body .feature-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

#camera-modal .modal-body .feature-list li {
    padding: 12px 0 12px 35px;
    position: relative;
    border-bottom: 1px solid rgba(102, 126, 234, 0.1);
}

#camera-modal .modal-body .feature-list li:last-child {
    border-bottom: none;
}

#camera-modal .modal-body .feature-list li:hover {
    padding-left: 45px;
    background: rgba(102, 126, 234, 0.03);
}

#camera-modal .modal-body .feature-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: white;
    font-size: 0.9rem;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

/* Lens Grid Layout */
#camera-modal .modal-body .lens-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin: 25px 0;
}

#camera-modal .modal-body .lens-card {
    background: rgba(255, 255, 255, 0.03);
    padding: 25px;
    border-radius: 12px;
    border: 1px solid rgba(102, 126, 234, 0.15);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

#camera-modal .modal-body .lens-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

#camera-modal .modal-body .lens-card:hover::before {
    transform: scaleX(1);
}

#camera-modal .modal-body .lens-card:hover {
    background: rgba(102, 126, 234, 0.08);
    border-color: rgba(102, 126, 234, 0.3);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.2);
}

#camera-modal .modal-body .lens-card h4 {
    color: #667eea;
    margin: 0 0 12px 0;
    font-size: 1.15rem;
    font-weight: 700;
}

#camera-modal .modal-body .lens-card p {
    margin: 0;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

/* Enhanced Table Styling */
#camera-modal .modal-body table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 30px 0;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

#camera-modal .modal-body thead {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.2) 0%, rgba(118, 75, 162, 0.2) 100%);
}

#camera-modal .modal-body th {
    padding: 18px 25px;
    text-align: left;
    color: #ffffff;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1.5px;
    border-bottom: 2px solid rgba(102, 126, 234, 0.3);
}

#camera-modal .modal-body td {
    padding: 18px 25px;
    border-bottom: 1px solid rgba(102, 126, 234, 0.1);
}

#camera-modal .modal-body tbody tr {
    transition: all 0.2s ease;
}

#camera-modal .modal-body tbody tr:hover {
    background: rgba(102, 126, 234, 0.08);
}

#camera-modal .modal-body tbody tr:last-child td {
    border-bottom: none;
}

/* Star ratings in tables */
#camera-modal .modal-body tbody td:nth-child(2) {
    color: #ffd700;
    font-size: 1.1rem;
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.3);
}

/* First column (labels) */
#camera-modal .modal-body tbody td:first-child {
    font-weight: 600;
    color: rgba(255, 255, 255, 0.75);
}

/* Last column (values/notes) */
#camera-modal .modal-body tbody td:last-child {
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

/* ============================================
   LINKS
   ============================================ */
#camera-modal .modal-body a {
    color: #667eea;
    text-decoration: none;
    border-bottom: 1px solid rgba(102, 126, 234, 0.3);
    transition: all 0.3s ease;
}

#camera-modal .modal-body a:hover {
    color: #764ba2;
    border-bottom-color: #764ba2;
}

/* ============================================
   CODE & PRE
   ============================================ */
#camera-modal .modal-body code {
    background: rgba(255, 255, 255, 0.08);
    padding: 3px 8px;
    border-radius: 4px;
    font-family: 'Courier New', Consolas, monospace;
    color: #4ade80;
    font-size: 0.9em;
}

#camera-modal .modal-body pre {
    background: rgba(0, 0, 0, 0.3);
    padding: 20px;
    border-radius: 10px;
    overflow-x: auto;
    border: 1px solid rgba(102, 126, 234, 0.2);
    margin: 25px 0;
}

#camera-modal .modal-body pre code {
    background: none;
    padding: 0;
    color: #e0e0e0;
}

/* ============================================
   BLOCKQUOTE
   ============================================ */
#camera-modal .modal-body blockquote {
    border-left: 4px solid #667eea;
    margin: 25px 0;
    padding: 20px 20px 20px 25px;
    font-style: italic;
    color: rgba(255, 255, 255, 0.75);
    background: rgba(102, 126, 234, 0.05);
    border-radius: 0 10px 10px 0;
}

#camera-modal .modal-body blockquote p {
    margin: 0;
}

/* ============================================
   IMAGES
   ============================================ */
#camera-modal .modal-body img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 25px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(102, 126, 234, 0.2);
}

/* ============================================
   HORIZONTAL RULE
   ============================================ */
#camera-modal .modal-body hr {
    border: none;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.4), transparent);
    margin: 40px 0;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes modalSlideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#camera-modal.active .modal-body > * {
    animation: modalSlideUp 0.4s ease-out backwards;
}

#camera-modal.active .modal-body > *:nth-child(1) { animation-delay: 0.05s; }
#camera-modal.active .modal-body > *:nth-child(2) { animation-delay: 0.08s; }
#camera-modal.active .modal-body > *:nth-child(3) { animation-delay: 0.11s; }
#camera-modal.active .modal-body > *:nth-child(4) { animation-delay: 0.14s; }
#camera-modal.active .modal-body > *:nth-child(5) { animation-delay: 0.17s; }

/* Loading State */
#camera-modal .modal-loading {
    text-align: center;
    padding: 80px 20px;
    color: rgba(255, 255, 255,