 /* ============================================
   EXTENSION PREVIEW REAL (Hero)
   ============================================ */

.extension-preview-real {
    width: 100%;
    max-width: 420px;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(51, 65, 85, 0.5);
}

/* Header */
.ext-header {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    padding: 16px 20px;
    border-bottom: 1px solid rgba(59, 130, 246, 0.3);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ext-header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ext-logo {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.ext-title {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin: 0;
}

.ext-subtitle {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.7);
    display: block;
    margin-top: 2px;
}

/* Toggle Switch */
.ext-switch {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 26px;
}

.ext-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.ext-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #10b981;
    transition: 0.3s;
    border-radius: 26px;
}

.ext-slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
    transform: translateX(22px);
}

/* Status Card */
.ext-status-card {
    margin: 16px 20px 0;
    padding: 12px 16px;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(51, 65, 85, 0.5);
    border-radius: 10px;
}

.ext-status-indicator {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: #e5e7eb;
}

.ext-status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

.ext-status-dot.active {
    background: #10b981;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.5);
    animation: pulse 2s infinite;
}

/* Tabs */
.ext-tabs {
    display: flex;
    gap: 2px;
    padding: 16px 20px 0;
    border-bottom: 1px solid rgba(51, 65, 85, 0.5);
}

.ext-tab {
    flex: 1;
    padding: 8px 4px;
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    color: #94a3b8;
    font-size: 10px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    transition: all 0.2s ease;
}

.ext-tab.active {
    color: #3b82f6;
    border-bottom-color: #3b82f6;
}

.ext-tab svg {
    width: 16px;
    height: 16px;
}

/* Content */
.ext-content {
    padding: 16px 20px;
    max-height: 300px;
    overflow-y: auto;
}

.ext-card {
    background: rgba(15, 23, 42, 0.4);
    border: 1px solid rgba(51, 65, 85, 0.5);
    border-radius: 10px;
    padding: 14px;
    margin-bottom: 12px;
}

.ext-card:last-child {
    margin-bottom: 0;
}

.ext-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #cbd5e1;
    margin-bottom: 10px;
}

.ext-select {
    width: 100%;
    padding: 10px 12px;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(51, 65, 85, 0.8);
    border-radius: 8px;
    color: #e5e7eb;
    font-size: 13px;
}

.ext-range-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.ext-range-row:last-child {
    margin-bottom: 0;
}

.ext-range-label {
    font-size: 13px;
    font-weight: 500;
    color: #cbd5e1;
    min-width: 80px;
}

.ext-range-values {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #e5e7eb;
}

.ext-separator {
    color: #64748b;
}

/* Footer */
.ext-footer {
    padding: 12px 20px;
    border-top: 1px solid rgba(51, 65, 85, 0.5);
    background: rgba(15, 23, 42, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 11px;
    color: #10b981;
}

.ext-footer svg {
    color: #10b981;
    flex-shrink: 0;
}

/* Scrollbar */
.ext-content::-webkit-scrollbar {
    width: 8px;
}

.ext-content::-webkit-scrollbar-track {
    background: rgba(15, 23, 42, 0.6);
    border-radius: 10px;
}

.ext-content::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    border-radius: 10px;
    border: 2px solid rgba(15, 23, 42, 0.6);
}

/* ============================================
   EXTENSION PREVIEW LARGE (Preview Section)
   ============================================ */

.extension-preview-large {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(51, 65, 85, 0.5);
}

/* Header Large */
.ext-header-large {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    padding: 20px 30px;
    border-bottom: 1px solid rgba(59, 130, 246, 0.3);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ext-logo-large {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.ext-title-large {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin: 0;
}

.ext-subtitle-large {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    display: block;
    margin-top: 2px;
}

.ext-switch-large {
    position: relative;
    display: inline-block;
    width: 56px;
    height: 30px;
}

.ext-switch-large input {
    opacity: 0;
    width: 0;
    height: 0;
}

.ext-slider-large {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #10b981;
    transition: 0.3s;
    border-radius: 30px;
}

.ext-slider-large:before {
    position: absolute;
    content: "";
    height: 24px;
    width: 24px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
    transform: translateX(26px);
}

/* Status Card Large */
.ext-status-card-large {
    margin: 20px 30px 0;
    padding: 16px 20px;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(51, 65, 85, 0.5);
    border-radius: 12px;
}

.ext-status-indicator-large {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    color: #e5e7eb;
}

.ext-status-dot-large {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    flex-shrink: 0;
}

.ext-status-dot-large.active {
    background: #10b981;
    box-shadow: 0 0 12px rgba(16, 185, 129, 0.6);
    animation: pulse 2s infinite;
}

/* Tabs Large */
.ext-tabs-large {
    display: flex;
    gap: 4px;
    padding: 20px 30px 0;
    border-bottom: 1px solid rgba(51, 65, 85, 0.5);
}

.ext-tab-large {
    flex: 1;
    padding: 12px 8px;
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    color: #94a3b8;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.ext-tab-large.active {
    color: #3b82f6;
    border-bottom-color: #3b82f6;
}

.ext-tab-large svg {
    width: 18px;
    height: 18px;
}

/* Content Large */
.ext-content-large {
    padding: 24px 30px;
    min-height: 300px;
}

.ext-card-large {
    background: rgba(15, 23, 42, 0.4);
    border: 1px solid rgba(51, 65, 85, 0.5);
    border-radius: 12px;
    padding: 18px;
    margin-bottom: 16px;
}

.ext-card-large:last-child {
    margin-bottom: 0;
}

.ext-label-large {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #cbd5e1;
    margin-bottom: 12px;
}

.ext-select-large {
    width: 100%;
    padding: 12px 16px;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(51, 65, 85, 0.8);
    border-radius: 10px;
    color: #e5e7eb;
    font-size: 14px;
}

.ext-range-row-large {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 12px;
}

.ext-range-row-large:last-child {
    margin-bottom: 0;
}

.ext-range-label-large {
    font-size: 14px;
    font-weight: 500;
    color: #cbd5e1;
    min-width: 100px;
}

.ext-range-inputs-large {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 12px;
}

.ext-input-box {
    flex: 1;
    padding: 10px 16px;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(51, 65, 85, 0.8);
    border-radius: 8px;
    color: #e5e7eb;
    font-size: 13px;
    text-align: center;
}

.ext-separator-large {
    color: #64748b;
    font-weight: 500;
}

.ext-methods-display {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.ext-method-tag {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    border: 1px solid rgba(51, 65, 85, 0.8);
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 13px;
    color: #e5e7eb;
    font-weight: 500;
}

/* Footer Large */
.ext-footer-large {
    padding: 16px 30px;
    border-top: 1px solid rgba(51, 65, 85, 0.5);
    background: rgba(15, 23, 42, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 13px;
    color: #10b981;
    font-weight: 500;
}

.ext-footer-large svg {
    color: #10b981;
    flex-shrink: 0;
}

/* Tab Content Switching */
.ext-tab-content {
    display: none;
    animation: fadeInTab 0.3s ease;
}

.ext-tab-content.active {
    display: block;
}

@keyframes fadeInTab {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Métodos List */
.ext-methods-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ext-method-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    background: rgba(59, 130, 246, 0.05);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 8px;
    font-size: 13px;
    color: #e5e7eb;
    transition: all 0.2s ease;
}

.ext-method-item:hover {
    background: rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.3);
}

.ext-method-item.inactive {
    opacity: 0.5;
    background: rgba(100, 116, 139, 0.05);
    border-color: rgba(100, 116, 139, 0.2);
}

.method-check {
    font-size: 14px;
    color: #10b981;
    font-weight: bold;
}

.ext-method-item.inactive .method-check {
    color: #64748b;
}

/* Input Display */
.ext-input-display {
    padding: 10px 12px;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(51, 65, 85, 0.8);
    border-radius: 8px;
    font-size: 13px;
    color: #e5e7eb;
}

/* Config Row */
.ext-config-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid rgba(51, 65, 85, 0.3);
    font-size: 12px;
}

.ext-config-row:last-child {
    border-bottom: none;
}

.config-label {
    color: #94a3b8;
    font-weight: 500;
}

.config-value {
    color: #e5e7eb;
    font-family: 'Courier New', monospace;
    background: rgba(59, 130, 246, 0.1);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
}

/* Slider Display */
.ext-slider-display {
    padding: 14px;
    background: rgba(59, 130, 246, 0.05);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 8px;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    color: #3b82f6;
}

/* Toggle Row */
.ext-toggle-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid rgba(51, 65, 85, 0.3);
    font-size: 13px;
    color: #cbd5e1;
}

.ext-toggle-row:last-child {
    border-bottom: none;
}

.toggle-indicator {
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.toggle-indicator.on {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.4);
}

.toggle-indicator.off {
    background: rgba(100, 116, 139, 0.2);
    color: #64748b;
    border: 1px solid rgba(100, 116, 139, 0.4);
}

/* Method Input Row */
.ext-method-input {
    display: flex;
    gap: 8px;
    align-items: center;
}

.ext-input-field {
    flex: 1;
    padding: 8px 12px;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(51, 65, 85, 0.8);
    border-radius: 6px;
    color: #e5e7eb;
    font-size: 12px;
    font-family: inherit;
}

.ext-input-field:focus {
    outline: none;
    border-color: rgba(59, 130, 246, 0.6);
    background: rgba(15, 23, 42, 0.8);
}

.ext-btn-icon {
    width: 32px;
    height: 32px;
    background: rgba(59, 130, 246, 0.2);
    border: 1px solid rgba(59, 130, 246, 0.4);
    border-radius: 6px;
    color: #3b82f6;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ext-btn-icon:hover {
    background: rgba(59, 130, 246, 0.3);
    border-color: rgba(59, 130, 246, 0.6);
}

.ext-btn-remove {
    width: 20px;
    height: 20px;
    background: rgba(239, 68, 68, 0.2);
    border: 1px solid rgba(239, 68, 68, 0.4);
    border-radius: 4px;
    color: #ef4444;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.ext-btn-remove:hover {
    background: rgba(239, 68, 68, 0.3);
    border-color: rgba(239, 68, 68, 0.6);
}

/* Switch Mini */
.ext-switch-mini {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 22px;
}

.ext-switch-mini input {
    opacity: 0;
    width: 0;
    height: 0;
}

.ext-slider-mini {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #10b981;
    transition: 0.3s;
    border-radius: 22px;
}

.ext-slider-mini:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
    transform: translateX(18px);
}

/* Help Text */
.ext-help-text {
    font-size: 10px;
    color: #64748b;
    margin-top: 6px;
    line-height: 1.4;
}

/* Input with Suffix */
.ext-input-with-suffix {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(51, 65, 85, 0.8);
    border-radius: 6px;
    padding: 8px 12px;
}

.ext-input-with-suffix input {
    flex: 1;
    background: transparent;
    border: none;
    color: #e5e7eb;
    font-size: 12px;
    font-family: inherit;
}

.ext-input-with-suffix input:focus {
    outline: none;
}

.ext-suffix {
    font-size: 11px;
    color: #64748b;
    font-weight: 600;
}

/* Range Inputs with $ Icon */
.ext-range-inputs {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ext-input-compact {
    position: relative;
    display: flex;
    align-items: center;
}

.ext-input-icon-sm {
    position: absolute;
    left: 10px;
    font-size: 12px;
    color: #64748b;
    pointer-events: none;
    z-index: 1;
}

.ext-input-compact input {
    width: 70px;
    padding: 6px 10px 6px 24px;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(51, 65, 85, 0.8);
    border-radius: 6px;
    color: #e5e7eb;
    font-size: 12px;
    font-weight: 600;
    font-family: inherit;
    transition: all 0.2s ease;
}

.ext-input-compact input:focus {
    outline: none;
    border-color: rgba(59, 130, 246, 0.6);
    background: rgba(15, 23, 42, 0.8);
}

.ext-input-compact input[readonly] {
    cursor: default;
}

.ext-range-separator {
    color: #64748b;
    font-weight: 400;
    font-size: 12px;
}

/* Responsive */
@media (max-width: 768px) {
    .extension-preview-real {
        max-width: 100%;
    }
    
    .extension-preview-large {
        max-width: 100%;
    }
    
    .ext-header-large,
    .ext-status-card-large,
    .ext-tabs-large,
    .ext-content-large,
    .ext-footer-large {
        padding-left: 20px;
        padding-right: 20px;
    }
    
    .ext-range-row-large {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .ext-range-label-large {
        min-width: auto;
    }
    
    .ext-range-inputs-large {
        width: 100%;
    }
}
