﻿    /* Toast styles */
    .toast-container {
      position: fixed;
      bottom: 20px;
      right: 20px;
      z-index: 9999;
      display: flex;
      flex-direction: column;
      gap: 10px;
    }
    
    .toast {
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 12px 20px;
      background: rgba(30, 30, 50, 0.95);
      border-radius: 10px;
      color: #fff;
      font-size: 14px;
      box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
      transform: translateX(120%);
      transition: transform 0.3s ease;
      backdrop-filter: blur(10px);
      border: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .toast.show {
      transform: translateX(0);
    }
    
    .toast-success i { color: #10b981; }
    .toast-error i { color: #ef4444; }
    .toast-warning i { color: #f59e0b; }
    .toast-info i { color: #8b5cf6; }
    
    /* Selected file text */
    .selected-file {
      margin-top: 10px;
      color: #10b981;
      font-weight: 500;
    }

    /* ========================================
       CONSOLE & METRICS SECTION STYLES
    ======================================== */
    
    .upload-bottom-section {
      padding: 0 2rem 2rem 2rem;
      display: flex;
      flex-direction: column;
      gap: 1.5rem;
    }

    /* Console Panel Horizontal */
    .console-panel-horizontal {
      background: rgba(15, 15, 25, 0.95);
      border-radius: 12px;
      border: 1px solid rgba(139, 92, 246, 0.2);
      overflow: hidden;
    }

    .console-panel-horizontal .console-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 0.75rem 1rem;
      background: rgba(139, 92, 246, 0.1);
      border-bottom: 1px solid rgba(139, 92, 246, 0.2);
    }

    .console-panel-horizontal .console-header h3 {
      display: flex;
      align-items: center;
      gap: 0.5rem;
      font-size: 0.9rem;
      font-weight: 600;
      color: #a78bfa;
      margin: 0;
    }

    .console-actions {
      display: flex;
      gap: 0.5rem;
    }

    .console-btn {
      background: rgba(139, 92, 246, 0.15);
      border: 1px solid rgba(139, 92, 246, 0.3);
      color: #a78bfa;
      padding: 0.4rem 0.6rem;
      border-radius: 6px;
      cursor: pointer;
      transition: all 0.2s ease;
    }

    .console-btn:hover {
      background: rgba(139, 92, 246, 0.3);
      color: #fff;
    }

    .console-panel-horizontal .console-content {
      height: 420px;
      overflow-y: auto;
      padding: 1rem;
      font-family: 'Fira Code', monospace;
      font-size: 0.8rem;
      line-height: 1.6;
    }

    .console-panel-horizontal .console-line {
      display: flex;
      gap: 0.75rem;
      padding: 0.25rem 0;
      border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    }

    .console-panel-horizontal .console-line .timestamp {
      color: #6b7280;
      font-size: 0.75rem;
      min-width: 75px;
    }

    .console-panel-horizontal .console-line .text {
      color: #e2e8f0;
    }

    .console-panel-horizontal .console-line.info .text {
      color: #60a5fa;
    }

    .console-panel-horizontal .console-line.success .text {
      color: #10b981;
    }

    .console-panel-horizontal .console-line.warning .text {
      color: #f59e0b;
    }

    .console-panel-horizontal .console-line.error .text {
      color: #ef4444;
    }

    .console-panel-horizontal .console-line.processing .text {
      color: #a78bfa;
    }

    /* Metrics Section */
    .upload-metrics-section {
      padding: 0;
    }

    .metrics-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
      gap: 1rem;
    }

    .metric-card {
      display: flex;
      align-items: center;
      gap: 1rem;
      padding: 1.25rem;
      background: rgba(30, 30, 50, 0.6);
      border-radius: 12px;
      border: 1px solid rgba(139, 92, 246, 0.15);
      transition: all 0.3s ease;
    }

    .metric-card:hover {
      border-color: rgba(139, 92, 246, 0.4);
      transform: translateY(-2px);
    }

    .metric-icon {
      width: 48px;
      height: 48px;
      border-radius: 12px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.25rem;
      background: rgba(139, 92, 246, 0.15);
      color: #a78bfa;
    }

    .metric-icon.success {
      background: rgba(16, 185, 129, 0.15);
      color: #10b981;
    }

    .metric-icon.warning {
      background: rgba(245, 158, 11, 0.15);
      color: #f59e0b;
    }

    .metric-icon.info {
      background: rgba(96, 165, 250, 0.15);
      color: #60a5fa;
    }

    .metric-icon.primary {
      background: rgba(139, 92, 246, 0.15);
      color: #a78bfa;
    }

    .metric-icon.premium {
      background: linear-gradient(135deg, rgba(245, 158, 11, 0.2), rgba(234, 179, 8, 0.2));
      color: #fbbf24;
    }

    .metric-info {
      display: flex;
      flex-direction: column;
      gap: 0.25rem;
    }

    .metric-value {
      font-size: 1.5rem;
      font-weight: 700;
      color: #fff;
      font-family: 'Fira Code', monospace;
    }

    .metric-label {
      font-size: 0.8rem;
      color: #9ca3af;
    }

    /* Animación para métricas actualizándose */
    .metric-value.updating {
      animation: pulse 0.5s ease;
    }

    @keyframes pulse {
      0%, 100% { opacity: 1; }
      50% { opacity: 0.5; }
    }

    /* Console expanded state */
    .console-panel-horizontal.expanded .console-content {
      height: 420px;
    }

    /* ========================================
       ENHANCED OPTIONS STYLES
    ======================================== */
    
    .options-enhanced h3 {
      margin-bottom: 1.25rem;
    }

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

    .option-card {
      display: flex;
      align-items: center;
      gap: 1rem;
      padding: 1rem 1.25rem;
      background: rgba(20, 20, 35, 0.6);
      border: 1px solid rgba(139, 92, 246, 0.15);
      border-radius: 12px;
      transition: all 0.3s ease;
    }

    .option-card:hover {
      border-color: rgba(139, 92, 246, 0.4);
      background: rgba(30, 30, 50, 0.7);
    }

    .option-toggle {
      position: relative;
    }

    .option-toggle input[type="checkbox"] {
      opacity: 0;
      position: absolute;
      width: 100%;
      height: 100%;
      cursor: pointer;
      z-index: 2;
    }

    .toggle-switch {
      display: block;
      width: 48px;
      height: 26px;
      background: rgba(100, 100, 120, 0.4);
      border-radius: 15px;
      position: relative;
      cursor: pointer;
      transition: all 0.3s ease;
    }

    .toggle-switch::after {
      content: '';
      position: absolute;
      top: 3px;
      left: 3px;
      width: 20px;
      height: 20px;
      background: #fff;
      border-radius: 50%;
      transition: all 0.3s ease;
      box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    }

    .option-toggle input:checked + .toggle-switch {
      background: linear-gradient(135deg, #8b5cf6, #a78bfa);
    }

    .option-toggle input:checked + .toggle-switch::after {
      left: 25px;
    }

    .option-content {
      display: flex;
      align-items: center;
      gap: 0.75rem;
      flex: 1;
    }

    .option-icon {
      width: 40px;
      height: 40px;
      border-radius: 10px;
      background: rgba(139, 92, 246, 0.15);
      display: flex;
      align-items: center;
      justify-content: center;
      color: #a78bfa;
      font-size: 1rem;
    }

    .option-text {
      display: flex;
      flex-direction: column;
      gap: 0.15rem;
    }

    .option-text strong {
      font-size: 0.9rem;
      color: #fff;
    }

    .option-text small {
      font-size: 0.75rem;
      color: #9ca3af;
    }

    /* ========================================
       ENHANCED CONSOLE STYLES
    ======================================== */

    .console-panel-horizontal {
      background: rgba(10, 10, 18, 0.98);
      border-radius: 12px;
      border: 1px solid rgba(139, 92, 246, 0.25);
      overflow: hidden;
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    }

    .console-panel-horizontal .console-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 0.6rem 1rem;
      background: linear-gradient(90deg, rgba(139, 92, 246, 0.15), rgba(30, 30, 50, 0.8));
      border-bottom: 1px solid rgba(139, 92, 246, 0.2);
    }

    .console-title {
      display: flex;
      align-items: center;
      gap: 0.75rem;
    }

    .console-status-indicator {
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: #6b7280;
    }

    .console-status-indicator.active {
      background: #10b981;
      box-shadow: 0 0 8px #10b981;
      animation: pulse-dot 2s infinite;
    }

    @keyframes pulse-dot {
      0%, 100% { opacity: 1; }
      50% { opacity: 0.5; }
    }

    .console-panel-horizontal .console-header h3 {
      display: flex;
      align-items: center;
      gap: 0.5rem;
      font-size: 0.85rem;
      font-weight: 600;
      color: #a78bfa;
      margin: 0;
    }

    .console-badge {
      font-size: 0.65rem;
      padding: 0.2rem 0.5rem;
      background: rgba(16, 185, 129, 0.2);
      color: #10b981;
      border-radius: 4px;
      font-weight: 700;
      letter-spacing: 0.5px;
    }

    .console-actions {
      display: flex;
      gap: 0.4rem;
    }

    .console-btn {
      background: rgba(139, 92, 246, 0.1);
      border: 1px solid rgba(139, 92, 246, 0.25);
      color: #9ca3af;
      padding: 0.35rem 0.55rem;
      border-radius: 6px;
      cursor: pointer;
      transition: all 0.2s ease;
      font-size: 0.8rem;
    }

    .console-btn:hover {
      background: rgba(139, 92, 246, 0.25);
      color: #fff;
      border-color: rgba(139, 92, 246, 0.5);
    }

    .console-btn[data-active="true"] {
      background: rgba(139, 92, 246, 0.3);
      color: #a78bfa;
    }

    .console-panel-horizontal .console-content {
      height: 220px;
      overflow-y: auto;
      padding: 0.75rem 0;
      font-family: 'Fira Code', 'Consolas', monospace;
      font-size: 0.78rem;
      line-height: 1.7;
      background: rgba(5, 5, 12, 0.5);
    }

    .console-panel-horizontal .console-content::-webkit-scrollbar {
      width: 6px;
    }

    .console-panel-horizontal .console-content::-webkit-scrollbar-track {
      background: rgba(30, 30, 50, 0.5);
    }

    .console-panel-horizontal .console-content::-webkit-scrollbar-thumb {
      background: rgba(139, 92, 246, 0.4);
      border-radius: 3px;
    }

    .console-panel-horizontal .console-line {
      display: flex;
      align-items: flex-start;
      gap: 0.5rem;
      padding: 0.2rem 1rem;
      transition: background 0.15s ease;
    }

    .console-panel-horizontal .console-line:hover {
      background: rgba(139, 92, 246, 0.05);
    }

    .console-panel-horizontal .console-line .line-number {
      color: #4b5563;
      font-size: 0.7rem;
      min-width: 25px;
      text-align: right;
      user-select: none;
    }

    .console-panel-horizontal .console-line .timestamp {
      color: #6b7280;
      font-size: 0.72rem;
      min-width: 70px;
    }

    .console-panel-horizontal .console-line .log-type {
      font-size: 0.7rem;
      padding: 0.1rem 0.4rem;
      border-radius: 3px;
      min-width: 55px;
      text-align: center;
      font-weight: 600;
    }

    .console-panel-horizontal .console-line .text {
      color: #d1d5db;
      flex: 1;
    }

    /* Log type colors */
    .console-line.system .log-type {
      background: rgba(99, 102, 241, 0.2);
      color: #818cf8;
    }

    .console-line.info .log-type {
      background: rgba(96, 165, 250, 0.2);
      color: #60a5fa;
    }

    .console-line.success .log-type {
      background: rgba(16, 185, 129, 0.2);
      color: #10b981;
    }

    .console-line.warning .log-type {
      background: rgba(245, 158, 11, 0.2);
      color: #f59e0b;
    }

    .console-line.error .log-type {
      background: rgba(239, 68, 68, 0.2);
      color: #ef4444;
    }

    .console-line.processing .log-type {
      background: rgba(167, 139, 250, 0.2);
      color: #a78bfa;
    }

    .console-line.success .text { color: #10b981; }
    .console-line.error .text { color: #ef4444; }
    .console-line.warning .text { color: #f59e0b; }
    .console-line.processing .text { color: #c4b5fd; }

    /* Console Footer */
    .console-footer {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 0.5rem 1rem;
      background: rgba(20, 20, 35, 0.8);
      border-top: 1px solid rgba(139, 92, 246, 0.15);
    }

    .console-stats {
      display: flex;
      gap: 1.5rem;
      font-size: 0.75rem;
      color: #6b7280;
    }

    .console-stats span {
      display: flex;
      align-items: center;
      gap: 0.4rem;
    }

    .console-input-wrapper {
      display: flex;
      align-items: center;
      gap: 0.5rem;
      flex: 1;
      max-width: 400px;
      margin-left: auto;
    }

    .console-input-wrapper .prompt {
      color: #a78bfa;
      font-family: 'Fira Code', monospace;
      font-weight: 600;
    }

    .console-input-wrapper input {
      flex: 1;
      background: rgba(30, 30, 50, 0.6);
      border: 1px solid rgba(139, 92, 246, 0.2);
      border-radius: 6px;
      padding: 0.4rem 0.75rem;
      color: #e2e8f0;
      font-family: 'Fira Code', monospace;
      font-size: 0.8rem;
      outline: none;
      transition: all 0.2s ease;
    }

    .console-input-wrapper input:focus {
      border-color: rgba(139, 92, 246, 0.5);
      background: rgba(40, 40, 60, 0.7);
    }

    .console-input-wrapper input::placeholder {
      color: #6b7280;
    }

    /* Responsive */
    @media (max-width: 768px) {
      .upload-bottom-section {
        padding: 0 1rem 1rem 1rem;
      }
      
      .metrics-grid {
        grid-template-columns: repeat(2, 1fr);
      }
      
      .metric-card {
        padding: 1rem;
      }
      
      .metric-value {
        font-size: 1.2rem;
      }
    }

    /* ========================================
       PLAN LIMITS INDICATOR STYLES
    ======================================== */
    
    .plan-limits-indicator {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 1.5rem;
      padding: 1rem 1.5rem;
      background: rgba(30, 30, 50, 0.7);
      border-radius: 12px;
      border: 1px solid rgba(139, 92, 246, 0.2);
      margin-bottom: 1.5rem;
      flex-wrap: wrap;
    }

    .plan-info {
      display: flex;
      align-items: center;
      gap: 1rem;
      flex-wrap: wrap;
    }

    .plan-badge {
      display: flex;
      align-items: center;
      gap: 0.5rem;
      padding: 0.5rem 1rem;
      border-radius: 20px;
      font-size: 0.85rem;
      font-weight: 600;
    }

    .plan-badge.free {
      background: rgba(100, 100, 120, 0.3);
      color: #a0aec0;
      border: 1px solid rgba(160, 174, 192, 0.3);
    }

    .plan-badge.premium {
      background: linear-gradient(135deg, rgba(251, 191, 36, 0.2), rgba(245, 158, 11, 0.2));
      color: #fbbf24;
      border: 1px solid rgba(251, 191, 36, 0.4);
    }

    .limits-reset {
      display: flex;
      align-items: center;
      gap: 0.5rem;
      font-size: 0.8rem;
      color: #9ca3af;
    }

    .limits-reset span {
      font-family: 'Fira Code', monospace;
      color: #f59e0b;
    }

    .plan-limits {
      display: flex;
      gap: 1.5rem;
    }

    .limit-item {
      display: flex;
      align-items: center;
      gap: 0.5rem;
      font-size: 0.9rem;
      color: #d1d5db;
    }

    .limit-item i {
      color: #a78bfa;
    }

    .limit-item strong {
      color: #fff;
      font-family: 'Fira Code', monospace;
    }

    .upgrade-btn {
      display: flex;
      align-items: center;
      gap: 0.5rem;
      padding: 0.6rem 1.25rem;
      background: linear-gradient(135deg, #f59e0b, #d97706);
      border: none;
      border-radius: 8px;
      color: #fff;
      font-size: 0.85rem;
      font-weight: 600;
      cursor: pointer;
      transition: all 0.3s ease;
    }

    .upgrade-btn:hover {
      background: linear-gradient(135deg, #fbbf24, #f59e0b);
      transform: translateY(-2px);
      box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
    }

    /* ========================================
       PREMIUM OPTIONS LOCKED STYLES
    ======================================== */

    .option-card.premium-only {
      position: relative;
      overflow: hidden;
    }

    .option-card.premium-only.locked {
      opacity: 0.6;
      pointer-events: none;
      background: rgba(15, 15, 25, 0.8);
    }

    .option-card.premium-only.locked::after {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: linear-gradient(135deg, rgba(139, 92, 246, 0.05), transparent);
      pointer-events: none;
    }

    .premium-badge {
      position: absolute;
      top: 0;
      right: 0;
      display: flex;
      align-items: center;
      gap: 0.3rem;
      padding: 0.3rem 0.7rem;
      background: linear-gradient(135deg, #f59e0b, #d97706);
      color: #fff;
      font-size: 0.65rem;
      font-weight: 700;
      border-radius: 0 12px 0 8px;
      text-transform: uppercase;
      letter-spacing: 0.5px;
    }

    .premium-badge i {
      font-size: 0.6rem;
    }

    /* ========================================
       UPLOAD FILE TYPES INDICATOR
    ======================================== */

    .upload-file-types {
      display: flex;
      gap: 1rem;
      margin-top: 1rem;
      justify-content: center;
    }

    .file-type {
      display: flex;
      align-items: center;
      gap: 0.5rem;
      padding: 0.5rem 1rem;
      background: rgba(139, 92, 246, 0.15);
      border: 1px solid rgba(139, 92, 246, 0.3);
      border-radius: 8px;
      font-size: 0.85rem;
      font-weight: 500;
      color: #a78bfa;
      transition: all 0.2s ease;
    }

    .file-type:hover {
      transform: translateY(-2px);
    }

    .file-type i {
      font-size: 1rem;
    }

    .file-type.jar {
      background: rgba(16, 185, 129, 0.15);
      border-color: rgba(16, 185, 129, 0.3);
      color: #10b981;
    }

    .file-type.jar:hover {
      background: rgba(16, 185, 129, 0.25);
      box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2);
    }

    .file-type.yml {
      background: rgba(96, 165, 250, 0.15);
      border-color: rgba(96, 165, 250, 0.3);
      color: #60a5fa;
    }

    .file-type.yml:hover {
      background: rgba(96, 165, 250, 0.25);
      box-shadow: 0 4px 12px rgba(96, 165, 250, 0.2);
    }

    /* ========================================
       UPGRADE MODAL STYLES
    ======================================== */

    .upgrade-modal {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: rgba(0, 0, 0, 0.7);
      backdrop-filter: blur(5px);
      display: flex;
      align-items: center;
      justify-content: center;
      z-index: 10000;
      opacity: 0;
      transition: opacity 0.3s ease;
    }

    .upgrade-modal.show {
      opacity: 1;
    }

    .upgrade-modal-content {
      background: rgba(25, 25, 45, 0.98);
      border: 1px solid rgba(139, 92, 246, 0.3);
      border-radius: 16px;
      width: 90%;
      max-width: 420px;
      padding: 2rem;
      transform: scale(0.9);
      transition: transform 0.3s ease;
    }

    .upgrade-modal.show .upgrade-modal-content {
      transform: scale(1);
    }

    .upgrade-modal-header {
      text-align: center;
      margin-bottom: 1.5rem;
    }

    .upgrade-modal-header i {
      font-size: 3rem;
      color: #f59e0b;
      margin-bottom: 1rem;
      display: block;
    }

    .upgrade-modal-header h3 {
      font-size: 1.4rem;
      color: #fff;
      margin: 0;
    }

    .upgrade-modal-body {
      text-align: center;
    }

    .upgrade-modal-body p {
      color: #d1d5db;
      margin-bottom: 1rem;
    }

    .limit-info {
      background: rgba(239, 68, 68, 0.15);
      border: 1px solid rgba(239, 68, 68, 0.3);
      padding: 0.75rem 1.25rem;
      border-radius: 8px;
      color: #ef4444;
      margin-bottom: 1.5rem;
    }

    .upgrade-benefits {
      color: #a78bfa !important;
      font-weight: 600;
      margin-bottom: 1rem !important;
    }

    .upgrade-modal-body ul {
      list-style: none;
      padding: 0;
      margin: 0 0 1.5rem 0;
      text-align: left;
    }

    .upgrade-modal-body ul li {
      display: flex;
      align-items: center;
      gap: 0.75rem;
      padding: 0.5rem 0;
      color: #d1d5db;
    }

    .upgrade-modal-body ul li i {
      color: #10b981;
    }

    .upgrade-modal-actions {
      display: flex;
      gap: 1rem;
      justify-content: center;
    }

    .upgrade-modal-actions .btn-secondary {
      padding: 0.75rem 1.5rem;
      background: rgba(100, 100, 120, 0.3);
      border: 1px solid rgba(160, 174, 192, 0.3);
      border-radius: 8px;
      color: #a0aec0;
      cursor: pointer;
      transition: all 0.2s ease;
    }

    .upgrade-modal-actions .btn-secondary:hover {
      background: rgba(100, 100, 120, 0.5);
      color: #fff;
    }

    .upgrade-modal-actions .btn-primary {
      padding: 0.75rem 1.5rem;
      background: linear-gradient(135deg, #f59e0b, #d97706);
      border: none;
      border-radius: 8px;
      color: #fff;
      font-weight: 600;
      cursor: pointer;
      display: flex;
      align-items: center;
      gap: 0.5rem;
      transition: all 0.2s ease;
    }

    .upgrade-modal-actions .btn-primary:hover {
      background: linear-gradient(135deg, #fbbf24, #f59e0b);
      transform: translateY(-2px);
    }

    /* ========================================
       TRANSLATION QUEUE STYLES
    ======================================== */

    .translation-queue-section {
      background: rgba(25, 25, 45, 0.8);
      border-radius: 12px;
      border: 1px solid rgba(139, 92, 246, 0.2);
      padding: 1rem 1.25rem;
      margin-bottom: 1.5rem;
    }

    .queue-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 1rem;
      flex-wrap: wrap;
      gap: 0.75rem;
    }

    .queue-header h3 {
      display: flex;
      align-items: center;
      gap: 0.5rem;
      font-size: 0.95rem;
      color: #a78bfa;
      margin: 0;
    }

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

    .queue-count {
      display: flex;
      align-items: center;
      gap: 0.4rem;
      font-size: 0.8rem;
      color: #9ca3af;
      background: rgba(139, 92, 246, 0.1);
      padding: 0.35rem 0.75rem;
      border-radius: 15px;
    }

    .queue-count i {
      color: #a78bfa;
    }

    .queue-priority-info {
      display: flex;
      align-items: center;
      gap: 0.4rem;
      font-size: 0.75rem;
      color: #9ca3af;
    }

    .queue-priority-info.free-info {
      color: #f59e0b;
    }

    .queue-container {
      display: flex;
      flex-direction: column;
      gap: 0.5rem;
      max-height: 200px;
      overflow-y: auto;
    }

    .queue-container::-webkit-scrollbar {
      width: 4px;
    }

    .queue-container::-webkit-scrollbar-track {
      background: rgba(30, 30, 50, 0.5);
    }

    .queue-container::-webkit-scrollbar-thumb {
      background: rgba(139, 92, 246, 0.4);
      border-radius: 2px;
    }

    .queue-empty {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 0.75rem;
      padding: 1.5rem;
      color: #6b7280;
      font-size: 0.85rem;
    }

    .queue-empty i {
      color: #10b981;
      font-size: 1.1rem;
    }

    .queue-item {
      display: flex;
      align-items: center;
      gap: 0.75rem;
      padding: 0.75rem 1rem;
      background: rgba(30, 30, 50, 0.6);
      border-radius: 8px;
      border: 1px solid rgba(139, 92, 246, 0.1);
      transition: all 0.2s ease;
      position: relative;
      overflow: hidden;
    }

    .queue-item.processing {
      border-color: rgba(139, 92, 246, 0.4);
      background: rgba(139, 92, 246, 0.1);
    }

    .queue-item.waiting {
      opacity: 0.85;
    }

    .queue-item.waiting-server {
      border-color: rgba(251, 191, 36, 0.4);
      background: rgba(251, 191, 36, 0.1);
    }

    .queue-item.waiting-server .queue-status {
      color: #fbbf24;
    }

    .queue-item.uploading {
      border-color: rgba(59, 130, 246, 0.4);
      background: rgba(59, 130, 246, 0.1);
    }

    .queue-item.uploading .queue-status {
      color: #60a5fa;
    }

    .priority-badge {
      width: 28px;
      height: 28px;
      border-radius: 6px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 0.7rem;
    }

    .priority-badge.premium {
      background: linear-gradient(135deg, rgba(251, 191, 36, 0.25), rgba(245, 158, 11, 0.25));
      color: #fbbf24;
      border: 1px solid rgba(251, 191, 36, 0.4);
    }

    .priority-badge.free {
      background: rgba(100, 100, 120, 0.3);
      color: #a0aec0;
      border: 1px solid rgba(160, 174, 192, 0.2);
    }

    .queue-item-info {
      flex: 1;
      display: flex;
      flex-direction: column;
      gap: 0.2rem;
      min-width: 0;
    }

    .queue-file-name {
      font-size: 0.85rem;
      color: #e2e8f0;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .queue-status {
      display: flex;
      align-items: center;
      gap: 0.4rem;
      font-size: 0.75rem;
      color: #9ca3af;
    }

    .queue-item.processing .queue-status {
      color: #a78bfa;
    }

    /* spinner before status text when processing */
    .queue-item.processing .queue-status::before {
      font-family: "Font Awesome 5 Free";
      font-weight: 900;
      content: "\f110"; /* fa-spinner */
      display: inline-block;
      margin-right: 0.4rem;
      animation: fa-spin 1s linear infinite;
    }

    .queue-progress {
      position: absolute;
      bottom: 0;
      left: 0;
      right: 0;
      height: 3px;
      background: rgba(139, 92, 246, 0.2);
    }

    .queue-progress-fill {
      height: 100%;
      background: linear-gradient(90deg, #8b5cf6, #a78bfa);
      transition: width 0.3s ease;
    }

    .queue-remove-btn {
      width: 28px;
      height: 28px;
      border-radius: 6px;
      background: rgba(239, 68, 68, 0.1);
      border: 1px solid rgba(239, 68, 68, 0.2);
      color: #ef4444;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: all 0.2s ease;
      opacity: 0.6;
    }

    .queue-item:hover .queue-remove-btn {
      opacity: 1;
    }

    .queue-remove-btn:hover {
      background: rgba(239, 68, 68, 0.2);
      border-color: rgba(239, 68, 68, 0.4);
    }

    /* Responsive ajustes adicionales */
    @media (max-width: 640px) {
      .plan-limits-indicator {
        flex-direction: column;
        align-items: flex-start;
      }
      
      .plan-limits {
        width: 100%;
        justify-content: space-between;
      }
      
      .upgrade-btn {
        width: 100%;
        justify-content: center;
      }
      
      .queue-header {
        flex-direction: column;
        align-items: flex-start;
      }
      
      .queue-info {
        width: 100%;
        justify-content: space-between;
      }
    }

    /* Notifications Modal Styles */
    .notifications-modal {
      position: fixed;
      inset: 0;
      z-index: 10000;
      display: none;
      align-items: center;
      justify-content: center;
    }

    .notifications-modal.active {
      display: flex;
    }

    .notifications-modal-overlay {
      position: absolute;
      inset: 0;
      background: rgba(0, 0, 0, 0.7);
      backdrop-filter: blur(5px);
    }

    .notifications-modal-content {
      position: relative;
      width: 90%;
      max-width: 600px;
      max-height: 80vh;
      background: var(--bg-secondary, #1a1a2e);
      border-radius: 16px;
      border: 1px solid var(--border-color, rgba(139, 92, 246, 0.2));
      display: flex;
      flex-direction: column;
      overflow: hidden;
    }

    .notifications-modal-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 20px;
      border-bottom: 1px solid var(--border-color, rgba(139, 92, 246, 0.2));
      background: var(--bg-card, rgba(30, 30, 50, 0.8));
    }
    .notifications-modal-header .notif-count {
      margin-left: 0.5rem;
    }
    /* tab UI removed */
    .notifications-tabs { display: none !important; }

    .notifications-header-left {
      display: flex;
      align-items: center;
      gap: 12px;
    }

    .notifications-header-left i {
      color: var(--primary, #8b5cf6);
      font-size: 1.5rem;
    }

    .notifications-header-left h2 {
      margin: 0;
      font-size: 1.25rem;
      color: #fff;
    }

    .notifications-header-right {
      display: flex;
      align-items: center;
      gap: 12px;
    }

    .mark-all-read {
      padding: 8px 16px;
      background: transparent;
      border: 1px solid var(--primary, #8b5cf6);
      color: var(--primary, #8b5cf6);
      border-radius: 8px;
      cursor: pointer;
      font-size: 0.85rem;
      display: flex;
      align-items: center;
      gap: 6px;
      transition: all 0.2s ease;
    }

    .mark-all-read:hover {
      background: var(--primary, #8b5cf6);
      color: #fff;
    }

    .notifications-modal-close {
      width: 36px;
      height: 36px;
      background: transparent;
      border: none;
      color: #888;
      cursor: pointer;
      border-radius: 8px;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: all 0.2s ease;
    }

    .notifications-modal-close:hover {
      background: rgba(255, 255, 255, 0.1);
      color: #fff;
    }

    .notifications-tabs {
      display: flex;
      padding: 12px 20px;
      gap: 8px;
      background: var(--bg-card, rgba(30, 30, 50, 0.5));
      border-bottom: 1px solid var(--border-color, rgba(139, 92, 246, 0.1));
      overflow-x: auto;
    }

    .notif-tab {
      padding: 8px 16px;
      background: transparent;
      border: none;
      color: #888;
      cursor: pointer;
      border-radius: 8px;
      font-size: 0.85rem;
      display: flex;
      align-items: center;
      gap: 8px;
      white-space: nowrap;
      transition: all 0.2s ease;
    }

    .notif-tab:hover {
      color: #fff;
      background: rgba(255, 255, 255, 0.05);
    }

    .notif-tab.active {
      background: var(--primary, #8b5cf6);
      color: #fff;
    }

    .notif-count {
      background: rgba(255, 255, 255, 0.2);
      padding: 2px 8px;
      border-radius: 10px;
      font-size: 0.75rem;
    }

    .notifications-modal-body {
      flex: 1;
      overflow-y: auto;
      padding: 16px;
    }

    .notifications-empty {
      text-align: center;
      padding: 50px 30px;
      color: #666;
    }
    .notif-empty-icon {
      width: 80px;
      height: 80px;
      border-radius: 50%;
      background: rgba(139, 92, 246, 0.08);
      border: 1px solid rgba(139, 92, 246, 0.15);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 2rem;
      color: #6b7280;
      margin: 0 auto 1.5rem;
    }
    .notifications-empty h4 {
      margin: 0 0 8px 0;
      color: #94a3b8;
      font-size: 1.1rem;
    }
    .notifications-empty p {
      margin: 0;
      font-size: 0.875rem;
      color: #64748b;
      line-height: 1.5;
      max-width: 280px;
      margin: 0 auto;
    }

    .notification-item {
      display: flex;
      align-items: flex-start;
      gap: 14px;
      padding: 14px 16px;
      background: var(--bg-card, rgba(30, 30, 50, 0.5));
      border-radius: 12px;
      margin-bottom: 10px;
      transition: all 0.2s ease;
      border: 1px solid transparent;
      position: relative;
    }

    .notification-item:hover {
      background: rgba(139, 92, 246, 0.08);
      border-color: rgba(139, 92, 246, 0.2);
    }

    .notification-item.unread {
      background: rgba(139, 92, 246, 0.12);
      border-color: rgba(139, 92, 246, 0.28);
    }
    .notification-item.unread::before {
      content: '';
      position: absolute;
      left: 0;
      top: 50%;
      transform: translateY(-50%);
      width: 3px;
      height: 60%;
      background: #a78bfa;
      border-radius: 0 3px 3px 0;
    }

    .notification-icon,
    .notification-content {
      cursor: pointer;
    }

    /* Individual delete button */
    .notif-delete-btn {
      flex-shrink: 0;
      width: 30px;
      height: 30px;
      border-radius: 8px;
      border: none;
      background: transparent;
      color: #475569;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 0.8rem;
      transition: all 0.2s ease;
      opacity: 0;
      margin-left: auto;
    }
    .notification-item:hover .notif-delete-btn {
      opacity: 1;
    }
    .notif-delete-btn:hover {
      background: rgba(239, 68, 68, 0.15);
      color: #f87171;
      transform: scale(1.1);
    }

    .notification-icon {
      width: 44px;
      height: 44px;
      border-radius: 12px;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
    }

    .notification-icon.update { background: rgba(59, 130, 246, 0.2); color: #3b82f6; }
    .notification-icon.announcement { background: rgba(245, 158, 11, 0.2); color: #f59e0b; }
    .notification-icon.system { background: rgba(139, 92, 246, 0.2); color: #8b5cf6; }
    .notification-icon.success { background: rgba(16, 185, 129, 0.2); color: #10b981; }
    .notification-icon.warning { background: rgba(239, 68, 68, 0.2); color: #ef4444; }

    .notification-content {
      flex: 1;
      min-width: 0;
    }

    .notification-header {
      display: flex;
      align-items: center;
      gap: 10px;
      margin-bottom: 6px;
    }

    .notification-title {
      font-weight: 600;
      color: #fff;
    }

    .notification-badge-tag {
      padding: 2px 8px;
      border-radius: 4px;
      font-size: 0.7rem;
      font-weight: 600;
      text-transform: uppercase;
    }

    .notification-badge-tag.new {
      background: rgba(16, 185, 129, 0.2);
      color: #10b981;
    }

    .notification-badge-tag.important {
      background: rgba(245, 158, 11, 0.2);
      color: #f59e0b;
    }

    .notification-message {
      color: #aaa;
      font-size: 0.9rem;
      margin: 0 0 8px 0;
      line-height: 1.4;
    }

    .notification-meta {
      display: flex;
      gap: 16px;
      color: #666;
      font-size: 0.8rem;
    }

    .notification-meta span {
      display: flex;
      align-items: center;
      gap: 6px;
    }

    .notifications-modal-footer {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 16px 20px;
      border-top: 1px solid var(--border-color, rgba(139, 92, 246, 0.2));
      background: var(--bg-card, rgba(30, 30, 50, 0.8));
    }

    .notifications-info {
      color: #666;
      font-size: 0.8rem;
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .clear-all-btn {
      padding: 8px 16px;
      background: rgba(239, 68, 68, 0.1);
      border: 1px solid rgba(239, 68, 68, 0.3);
      color: #ef4444;
      border-radius: 8px;
      cursor: pointer;
      font-size: 0.85rem;
      display: flex;
      align-items: center;
      gap: 6px;
      transition: all 0.2s ease;
    }

    .clear-all-btn:hover {
      background: rgba(239, 68, 68, 0.2);
      border-color: rgba(239, 68, 68, 0.5);
    }

    /* ========================================
       CONFIRM MODAL STYLES
    ======================================== */
    .confirm-modal-overlay {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.8);
      backdrop-filter: blur(8px);
      display: flex;
      align-items: center;
      justify-content: center;
      z-index: 10000;
      opacity: 0;
      visibility: hidden;
      transition: all 0.3s ease;
    }

    .confirm-modal-overlay.active {
      opacity: 1;
      visibility: visible;
    }

    .confirm-modal-content {
      background: linear-gradient(145deg, rgba(30, 20, 50, 0.98), rgba(15, 10, 30, 0.98));
      border: 1px solid rgba(139, 92, 246, 0.3);
      border-radius: 20px;
      padding: 2rem;
      max-width: 420px;
      width: 90%;
      text-align: center;
      box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(139, 92, 246, 0.1);
      transform: scale(0.9) translateY(20px);
      transition: all 0.3s ease;
    }

    .confirm-modal-overlay.active .confirm-modal-content {
      transform: scale(1) translateY(0);
    }

    .confirm-modal-icon {
      width: 70px;
      height: 70px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 0 auto 1.5rem;
      font-size: 2rem;
      background: rgba(139, 92, 246, 0.15);
      border: 2px solid rgba(139, 92, 246, 0.3);
      color: #a78bfa;
    }

    .confirm-modal-icon.danger {
      background: rgba(239, 68, 68, 0.15);
      border-color: rgba(239, 68, 68, 0.3);
      color: #f87171;
    }

    .confirm-modal-icon.warning {
      background: rgba(251, 191, 36, 0.15);
      border-color: rgba(251, 191, 36, 0.3);
      color: #fbbf24;
    }

    .confirm-modal-icon.info {
      background: rgba(59, 130, 246, 0.15);
      border-color: rgba(59, 130, 246, 0.3);
      color: #60a5fa;
    }

    .confirm-modal-icon.success {
      background: rgba(16, 185, 129, 0.15);
      border-color: rgba(16, 185, 129, 0.3);
      color: #10b981;
    }

    .confirm-modal-title {
      font-size: 1.4rem;
      font-weight: 700;
      color: #fff;
      margin-bottom: 0.75rem;
    }

    .confirm-modal-message {
      color: #94a3b8;
      font-size: 0.95rem;
      line-height: 1.6;
      margin-bottom: 2rem;
    }

    .confirm-modal-buttons {
      display: flex;
      gap: 1rem;
      justify-content: center;
    }

    .confirm-modal-btn {
      flex: 1;
      padding: 0.875rem 1.5rem;
      border-radius: 12px;
      font-weight: 600;
      font-size: 0.95rem;
      cursor: pointer;
      transition: all 0.3s ease;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 0.5rem;
      border: none;
    }

    .confirm-modal-btn.cancel {
      background: rgba(100, 116, 139, 0.2);
      border: 1px solid rgba(100, 116, 139, 0.3);
      color: #94a3b8;
    }

    .confirm-modal-btn.cancel:hover {
      background: rgba(100, 116, 139, 0.3);
      color: #fff;
    }

    .confirm-modal-btn.confirm {
      background: linear-gradient(135deg, #8b5cf6, #6d28d9);
      color: #fff;
      box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
    }
    .confirm-modal-btn.confirm.danger {
      background: linear-gradient(135deg, #ef4444, #b91c1c);
      box-shadow: 0 4px 15px rgba(239, 68, 68, 0.3);
    }
    .confirm-modal-btn.confirm.danger:hover {
      transform: translateY(-2px);
      box-shadow: 0 6px 20px rgba(239, 68, 68, 0.45);
    }

    .confirm-modal-btn.confirm:hover {
      transform: translateY(-2px);
      box-shadow: 0 6px 20px rgba(139, 92, 246, 0.4);
    }
    .confirm-modal-sub {
      font-size: 0.82rem;
      color: #64748b;
      margin-top: -1.25rem;
      margin-bottom: 1.5rem;
    }

    @media (max-width: 480px) {
      .confirm-modal-content {
        padding: 1.5rem;
      }
      .confirm-modal-buttons {
        flex-direction: column-reverse;
      }
      .confirm-modal-btn {
        width: 100%;
      }
    }
