/* ==================== CORE STYLES ==================== */
    body {
      font-family: 'Segoe UI', Roboto, -apple-system, BlinkMacSystemFont, sans-serif;
      background-color: #f8f9fa;
      margin: 0;
      padding: 0;
      color: #333;
    }
    
    .header {
      background: linear-gradient(to right, #0f2035, #1a365d);
      color: #fff;
      padding: 0;
      position: relative;
      overflow: hidden;
    }
    
    .header:before {
      content: "";
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background-image: radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.05) 0%, transparent 10%),
                        radial-gradient(circle at 70% 60%, rgba(255, 255, 255, 0.05) 0%, transparent 20%);
      background-size: 30px 30px;
      opacity: 0.8;
    }
    
    .hero-content {
      max-width: 1200px;
      margin: 0 auto;
      padding: 80px 20px;
      position: relative;
      z-index: 2;
      display: flex;
      align-items: center;
      gap: 30px;
    }
    
    .hero-text {
      flex: 1;
    }
    
    .hero-graphic {
      flex: 1;
      max-width: 500px;
    }

    .header h1 {
      margin: 0 0 10px 0;
      font-weight: 700;
      font-size: 3.5rem;
      line-height: 1.2;
    }
    
    .header h2 {
      margin: 0 0 20px 0;
      font-weight: 400;
      font-size: 1.5rem;
      opacity: 0.9;
    }
    
    .header p {
      margin: 0 0 30px 0;
      font-size: 1.1rem;
      max-width: 650px;
      line-height: 1.6;
      opacity: 0.85;
    }
    
    .privacy-notes {
      font-size: 0.9rem;
      opacity: 0.7;
      margin-top: 20px;
      line-height: 1.5;
    }
    
    .privacy-notes p {
      margin: 5px 0;
      font-size: 0.85rem;
    }
    
    .container {
      max-width: 1200px;
      margin: 30px auto;
      background: #fff;
      padding: 30px;
      border-radius: 12px;
      box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    }
    
    h2 {
      margin-top: 0;
      text-align: center;
      margin-bottom: 25px;
      color: #444;
      font-weight: 600;
    }
    
    .footer {
      text-align: center;
      margin: 30px 0;
      color: #999;
      font-size: 0.85rem;
      padding: 20px;
    }

    /* ==================== INPUT SECTION STYLES ==================== */
    .input-section {
      background-color: #fff;
      border-radius: 12px;
      padding: 24px;
      margin-bottom: 30px;
      box-shadow: 0 2px 8px rgba(0,0,0,0.06);
      border: 1px solid #eaeaea;
      margin-top: -60px; /* Makes it overlap with the hero section */
      position: relative;
      z-index: 10;
    }

    .input-section h3 {
      color: #333;
      font-size: 1.3rem;
      font-weight: 600;
      margin-top: 0;
      margin-bottom: 16px;
    }

    .input-description {
      color: #555;
      margin-bottom: 10px;
      font-size: 1rem;
      line-height: 1.5;
    }

    .input-example {
      color: #666;
      margin-bottom: 24px;
      font-style: italic;
      font-size: 0.95rem;
    }

    /* ==================== INPUT TABS ==================== */
    .input-tabs {
      margin-bottom: 20px;
    }

    .radio-group {
      display: flex;
      gap: 10px;
      background-color: #f4f5f7;
      padding: 8px;
      border-radius: 30px;
      width: fit-content;
      margin: 0 auto 15px;
      flex-wrap: wrap;
      justify-content: center;
    }

    .radio-group label {
      cursor: pointer;
      font-weight: 600;
      padding: 0;
      border-radius: 20px;
      transition: all 0.2s ease;
      position: relative;
      font-size: 0.9rem;
      white-space: nowrap;
    }

    .radio-group input[type="radio"] {
      position: absolute;
      opacity: 0;
    }

    .radio-group span {
      padding: 8px 12px;
      border-radius: 20px;
      display: inline-block;
    }

    .radio-group input[type="radio"]:checked + span {
      background-color: #fff;
      color: #ff8552;
      box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    }

    /* ==================== FILE DROPZONE ==================== */
    .file-dropzone {
      border: 2px dashed #ddd;
      border-radius: 8px;
      padding: 25px 20px;
      text-align: center;
      background-color: #fafafa;
      transition: all 0.2s ease;
      cursor: pointer;
    }

    .file-dropzone:hover, .file-dropzone.dragover {
      border-color: #ff8552;
      background-color: #fff9f5;
    }

    .file-dropzone p {
      margin: 0 0 5px 0;
      color: #666;
    }

    .file-dropzone .icon {
      font-size: 24px;
      color: #ccc;
      margin-bottom: 10px;
    }

    .file-dropzone .file-types {
      font-size: 0.8rem;
      opacity: 0.7;
    }

    .file-info {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      margin-top: 15px;
    }

    .file-icon {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 40px;
      height: 40px;
      border-radius: 4px;
      font-weight: bold;
      font-size: 12px;
      color: white;
    }

    .file-name {
      font-size: 0.9rem;
      color: #333;
      font-weight: 500;
    }

    /* ==================== URL INPUT ==================== */
    .url-input-group {
      display: flex;
      align-items: center;
      border: 1px solid #ddd;
      border-radius: 8px;
      overflow: hidden;
      transition: all 0.2s ease;
    }

    .url-input-group:focus-within {
      border-color: #ff8552;
      box-shadow: 0 0 0 2px rgba(255,133,82,0.2);
    }

    .url-input-group input {
      flex: 1;
      border: none;
      padding: 12px;
      outline: none;
      font-size: 0.95rem;
      font-family: inherit;
    }

    .url-input-group button {
      background-color: #f4f5f7;
      border: none;
      border-left: 1px solid #ddd;
      padding: 12px 18px;
      color: #666;
      font-weight: 600;
      cursor: pointer;
      margin: 0;
      box-shadow: none;
      border-radius: 0;
    }

    .url-input-group button:hover {
      background-color: #e8e9ec;
    }

    .url-preview {
      margin-top: 15px;
    }

    /* ==================== TEXT INPUT ==================== */
    textarea {
      width: 100%;
      height: 150px;
      border-radius: 8px;
      border: 1px solid #ddd;
      padding: 12px;
      resize: vertical;
      font-size: 0.95rem;
      font-family: inherit;
      transition: all 0.2s ease;
    }

    textarea:focus {
      outline: none;
      border-color: #ff8552;
      box-shadow: 0 0 0 2px rgba(255,133,82,0.2);
    }

    /* ==================== INFO MESSAGE ==================== */
    .info-message {
      padding: 12px 16px;
      border-radius: 8px;
      background-color: #e8f4fd;
      border-left: 4px solid #2196f3;
      margin-top: 20px;
      font-size: 0.9rem;
      color: #333;
    }

    .info-message.error {
      background-color: #fdecea;
      border-left-color: #f44336;
    }

    .info-message.success {
      background-color: #e8f5e9;
      border-left-color: #4caf50;
    }

    /* ==================== BUTTONS ==================== */
    .button-container {
      display: flex;
      justify-content: center;
      gap: 15px;
      margin: 25px 0 40px;
    }
    
    .btn {
      background-color: #3182ce;
      color: white;
      padding: 12px 28px;
      border: none;
      border-radius: 30px;
      cursor: pointer;
      font-size: 1rem;
      font-weight: 600;
      transition: all 0.2s ease;
      box-shadow: 0 2px 6px rgba(49, 130, 206, 0.3);
    }
    
    .btn:hover {
      background-color: #2c5282;
      transform: translateY(-1px);
      box-shadow: 0 4px 10px rgba(49, 130, 206, 0.4);
    }
    
    .btn:active {
      transform: translateY(1px);
      box-shadow: 0 1px 4px rgba(49, 130, 206, 0.3);
    }
    
    .btn-secondary {
      background-color: #f4f5f7;
      color: #666;
      box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    }
    
    .btn-secondary:hover {
      background-color: #e8e9ec;
      box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    }
    
    /* Nav/header buttons */
    .header-btn {
      background-color: transparent;
      color: white;
      border: 1px solid rgba(255,255,255,0.3);
      padding: 8px 16px;
      border-radius: 4px;
      cursor: pointer;
      font-size: 0.9rem;
      transition: all 0.2s ease;
      position: absolute;
      top: 20px;
      right: 20px;
    }
    
    .header-btn:hover {
      background-color: rgba(255,255,255,0.1);
      border-color: rgba(255,255,255,0.5);
    }

    /* ==================== RESULT CONTAINER STYLING ==================== */
    .result-container {
      background: #fff;
      border-radius: 10px;
      box-shadow: 0 4px 8px rgba(0,0,0,0.1);
      padding: 20px 25px;
      margin-bottom: 30px;
    }
    
    .results-header {
      background: #f8f9fa;
      border-radius: 8px;
      padding: 15px 20px;
      margin-bottom: 15px;
      font-weight: 700;
      font-size: 1.2rem;
      color: #333;
    }

    /* ==================== INPUT TEXT DISPLAY ==================== */
    .input-text-display {
      background-color: #f8f9fa;
      border: 1px solid #e9ecef;
      border-radius: 8px;
      padding: 20px;
      margin-bottom: 30px;
      max-height: 300px;
      overflow-y: auto;
      font-size: 0.95rem;
      line-height: 1.6;
      position: relative;
    }

    .input-text-display h3 {
      margin-top: 0;
      margin-bottom: 10px;
      font-size: 1.1rem;
      color: #444;
    }

    .text-toggle-btn {
      position: absolute;
      top: 15px;
      right: 15px;
      background: #f4f5f7;
      border: none;
      border-radius: 20px;
      padding: 5px 10px;
      font-size: 0.8rem;
      color: #666;
      cursor: pointer;
    }

    .text-toggle-btn:hover {
      background: #e8e9ec;
    }

    .text-content {
      white-space: pre-wrap;
    }

    /* ==================== ENHANCED DASHBOARD ==================== */
    .dashboard-stats {
      display: flex;
      flex-wrap: wrap;
      gap: 15px;
      background: #f8f9fa;
      padding: 20px;
      border-radius: 10px;
      margin-bottom: 25px;
    }

    .stat-chip {
      flex: 1;
      min-width: 120px;
      text-align: center;
    }

    .stat-label {
      font-size: 0.85rem;
      color: #666;
      margin-bottom: 5px;
    }

    .stat-value {
      font-size: 1.25rem;
      font-weight: 600;
      color: #333;
    }

    .visual-metrics {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
      gap: 15px;
      margin-bottom: 25px;
    }

    .metric-card-visual {
      background: #fff;
      padding: 15px;
      border-radius: 8px;
      box-shadow: 0 2px 8px rgba(0,0,0,0.08);
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center;
    }

    .metric-icon {
      font-size: 2rem;
      margin-bottom: 5px;
    }

    .metric-label-small {
      font-size: 0.75rem;
      color: #666;
      font-weight: 600;
      letter-spacing: 1px;
      margin-bottom: 5px;
    }

    .metric-value-large {
      font-size: 1.3rem;
      font-weight: 700;
      margin-bottom: 3px;
    }

    .metric-subtext {
      font-size: 0.8rem;
      color: #666;
    }

    .highlight-chips {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      margin-bottom: 20px;
    }

    .highlight-chip {
      padding: 8px 15px;
      border-radius: 30px;
      font-weight: 500;
      font-size: 0.9rem;
      display: flex;
      align-items: center;
      box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    }

    /* ==================== PROGRESS OVERLAY (LOADER) ==================== */
    .progress-overlay {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background-color: rgba(255,255,255,0.8);
      display: none; /* toggled to 'flex' in JS */
      flex-direction: column;
      align-items: center;
      justify-content: center;
      z-index: 1000;
    }

    .progress-card {
      background-color: white;
      border-radius: 12px;
      box-shadow: 0 8px 20px rgba(0,0,0,0.12);
      padding: 30px 40px;
      text-align: center;
      max-width: 320px;
    }

    .progress-icon {
      display: flex;
      justify-content: center;
    }

    .progress-title {
      font-weight: 600;
      margin-top: 18px;
      margin-bottom: 10px;
      color: #444;
    }

    .progress-desc {
      color: #666;
      margin-bottom: 20px;
      font-size: 0.9rem;
    }

    .progress-bar-container {
      width: 100%;
      height: 6px;
      background-color: #f0f0f0;
      border-radius: 3px;
      overflow: hidden;
      margin-bottom: 10px;
    }

    .progress-bar {
      height: 100%;
      width: 0%;
      background: linear-gradient(90deg, #ff8552, #e67346);
      border-radius: 3px;
      transition: width 0.3s ease;
    }

    .progress-step {
      font-size: 0.8rem;
      color: #999;
    }

    /* ==================== FINGERPRINT PATTERNS ==================== */
    .pattern-sections {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
      gap: 20px;
      margin-bottom: 30px;
    }

    .pattern-card {
      background-color: #f8f9fa;
      padding: 20px;
      border-radius: 10px;
    }

    .pattern-card h4 {
      margin-top: 0;
      font-size: 1.1rem;
      color: #444;
      margin-bottom: 15px;
    }

    .progress-bar-wrapper {
      margin-bottom: 15px;
    }

    .progress-label {
      display: flex;
      justify-content: space-between;
      margin-bottom: 5px;
    }

    .progress-label span {
      font-size: 0.9rem;
    }

    .progress-bar-bg {
      height: 8px;
      background-color: #e9ecef;
      border-radius: 4px;
      overflow: hidden;
    }

    .progress-fill {
      height: 100%;
    }

    .pattern-summary {
      margin-top: 15px;
      font-size: 0.9rem;
      color: #666;
    }

    .pattern-summary strong {
      color: #333;
    }

    /* Add the existing example styles */
    .example-btn {
      background: none;
      border: none;
      color: #ff8552;
      font-size: 0.85rem;
      padding: 5px 0;
      margin: 8px 0;
      cursor: pointer;
      font-weight: 500;
      display: block;
    }
    .example-btn:hover {
      text-decoration: underline;
    }
    .examples-list {
      display: none;
      margin: 8px 0;
      padding: 10px;
      background: #f8f9fa;
      border-radius: 5px;
      border-left: 3px solid #ff8552;
      font-size: 0.9rem;
    }
    .example-item {
      margin-bottom: 5px;
      padding: 5px;
    }
    .sentence-example {
      background: #fff;
      padding: 8px;
      border-radius: 4px;
      margin-bottom: 5px;
      border: 1px solid #eee;
    }
    .word-chips {
      display: flex;
      flex-wrap: wrap;
      gap: 6px;
    }
    .word-chip {
      display: inline-block;
      background: #e1f5fe;
      color: #0277bd;
      padding: 3px 8px;
      border-radius: 4px;
      margin: 3px;
    }

    /* ==================== TUTORIAL WIZARD ==================== */
    .tutorial-wizard-container {
      display: none;
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0, 0, 0, 0.5);
      z-index: 1000;
      justify-content: center;
      align-items: center;
      opacity: 0;
      transition: opacity 0.3s ease;
    }

    .tutorial-wizard-content {
      background-color: #fff;
      border-radius: 10px;
      box-shadow: 0 5px 25px rgba(0, 0, 0, 0.25);
      width: 92%;
      max-width: 800px;
      position: relative;
      overflow: hidden;
      display: flex;
      flex-direction: column;
      max-height: 85vh;
    }

    .tutorial-wizard-header {
      background: linear-gradient(to right, #0f2035, #1a365d);
      color: white;
      padding: 15px 20px;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .tutorial-wizard-header h3 {
      margin: 0;
      font-size: 1.2rem;
    }

    .tutorial-wizard-close {
      background: none;
      border: none;
      color: white;
      font-size: 1.5rem;
      cursor: pointer;
      padding: 0;
      line-height: 1;
    }

    .tutorial-wizard-steps {
      flex: 1;
      overflow-y: auto;
      padding: 0;
      margin: 0;
    }

    .tutorial-wizard-step {
      display: none;
      padding: 25px;
    }

    .tutorial-wizard-step.active {
      display: block;
    }

    .tutorial-wizard-step h4 {
      margin-top: 0;
      color: #1a365d;
      font-size: 1.2rem;
      margin-bottom: 15px;
    }

    .tutorial-wizard-step p {
      line-height: 1.6;
      color: #444;
      margin-bottom: 15px;
    }

    .sample-text-container {
      background-color: #f8fafc;
      border: 1px solid #e2e8f0;
      border-radius: 8px;
      padding: 15px;
      margin: 15px 0;
      font-family: monospace;
      line-height: 1.5;
      height: 180px;
      overflow-y: auto;
      white-space: pre-wrap;
      font-size: 0.9rem;
      color: #333; /* Ensure text visibility */
    }

    .analysis-result-example {
      background-color: #f8fafc;
      border: 1px solid #e2e8f0;
      border-radius: 8px;
      padding: 15px;
      margin: 15px 0;
      overflow-y: auto;
      max-height: 250px;
      color: #333; /* Ensure text visibility */
    }

    .example-metric {
      background-color: white;
      border-radius: 8px;
      padding: 12px;
      margin-bottom: 10px;
      box-shadow: 0 1px 3px rgba(0,0,0,0.1);
      display: flex;
      flex-direction: column;
    }

    .example-metric-label {
      font-size: 0.9rem;
      color: #718096;
      margin-bottom: 5px;
    }

    .example-metric-value {
      font-size: 1.3rem;
      font-weight: 600;
      color: #3182ce;
    }

    .example-metric-desc {
      font-size: 0.85rem;
      color: #4a5568;
      margin-top: 5px;
    }

    .highlight-box {
      background-color: #ebf8ff;
      border-left: 4px solid #3182ce;
      padding: 12px 15px;
      margin: 15px 0;
      border-radius: 0 4px 4px 0;
      color: #333; /* Ensure text visibility */
    }

    .highlight-box h5 {
      margin-top: 0;
      color: #2c5282;
      font-size: 1rem;
    }

    .highlight-box p {
      margin-bottom: 0;
      font-size: 0.95rem;
    }

    .callout {
      background-color: #fffaf0;
      border-left: 4px solid #ed8936;
      padding: 12px 15px;
      margin: 15px 0;
      border-radius: 0 4px 4px 0;
      color: #333; /* Ensure text visibility */
    }

    .callout h5 {
      margin-top: 0;
      color: #c05621;
      font-size: 1rem;
    }

    .fingerprint-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
      gap: 15px;
      margin: 15px 0;
    }

    .fingerprint-item {
      background-color: white;
      border-radius: 8px;
      padding: 12px;
      box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    }

    .fingerprint-item h5 {
      margin-top: 0;
      font-size: 0.95rem;
      color: #2d3748;
      margin-bottom: 8px;
    }

    .fingerprint-progress {
      height: 8px;
      background-color: #edf2f7;
      border-radius: 4px;
      overflow: hidden;
      margin: 8px 0;
    }

    .fingerprint-bar {
      height: 100%;
      border-radius: 4px;
    }

    .try-it-section {
      text-align: center;
      margin: 20px 0;
      padding: 15px;
      background-color: #e6fffa;
      border-radius: 8px;
    }

    .try-it-section h5 {
      margin-top: 0;
      color: #2c7a7b;
    }

    .tutorial-wizard-footer {
      display: flex;
      justify-content: space-between;
      padding: 15px 20px;
      background-color: #f8fafc;
      border-top: 1px solid #e2e8f0;
    }

    .tutorial-wizard-nav {
      display: flex;
      gap: 10px;
    }

    .tutorial-wizard-btn {
      padding: 8px 16px;
      border: none;
      border-radius: 5px;
      cursor: pointer;
      font-size: 0.9rem;
      font-weight: 500;
      transition: all 0.2s;
    }

    .tutorial-wizard-btn-primary {
      background-color: #3182ce;
      color: white;
    }

    .tutorial-wizard-btn-primary:hover {
      background-color: #2c5282;
    }

    .tutorial-wizard-btn-secondary {
      background-color: #e2e8f0;
      color: #4a5568;
    }

    .tutorial-wizard-btn-secondary:hover {
      background-color: #cbd5e0;
    }

    .tutorial-wizard-btn:disabled {
      opacity: 0.5;
      cursor: not-allowed;
    }

    .tutorial-wizard-dots {
      display: flex;
      gap: 5px;
      align-items: center;
    }

    .tutorial-wizard-dot {
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background-color: #cbd5e0;
      transition: background-color 0.2s;
      cursor: pointer;
    }

    .tutorial-wizard-dot.active {
      background-color: #3182ce;
    }

    .analysis-nav {
      display: flex;
      gap: 10px;
      flex-wrap: wrap;
      margin-bottom: 15px;
    }

    .analysis-nav-item {
      padding: 6px 12px;
      background-color: white;
      border-radius: 4px;
      border: 1px solid #e2e8f0;
      font-size: 0.85rem;
      color: #4a5568;
      cursor: pointer;
    }

    .analysis-nav-item.active {
      background-color: #3182ce;
      color: white;
      border-color: #3182ce;
    }

    .animated-highlight {
      background-color: #ebf8ff;
      padding: 2px 5px;
      border-radius: 3px;
      animation: highlight-pulse 2s infinite;
      display: inline-block;
      color: #333; /* Ensure text visibility */
    }

    @keyframes highlight-pulse {
      0% {
        background-color: #ebf8ff;
      }
      50% {
        background-color: #bee3f8;
      }
      100% {
        background-color: #ebf8ff;
      }
    }

    /* ==================== TUTORIAL BUTTON ==================== */
    .tutorial-btn {
      display: flex;
      align-items: center;
      gap: 8px;
      background-color: rgba(255, 255, 255, 0.15);
      color: white;
      border: 1px solid rgba(255, 255, 255, 0.3);
      padding: 12px 30px;
      border-radius: 30px;
      font-size: 1.05rem;
      font-weight: 500;
      cursor: pointer;
      transition: all 0.3s ease;
      position: relative;
      overflow: hidden;
    }

    .tutorial-btn:hover {
      background-color: rgba(255, 255, 255, 0.25);
      border-color: rgba(255, 255, 255, 0.5);
    }

    /* Orange variation for sample button */
    .sample-btn {
      background-color: rgba(255, 133, 82, 0.2); /* Translucent orange */
      border-color: rgba(255, 133, 82, 0.4);
    }

    .sample-btn:hover {
      background-color: rgba(255, 133, 82, 0.3);
      border-color: rgba(255, 133, 82, 0.6);
    }

    /* Icon animations */
    .play-icon {
      transition: transform 0.3s ease;
    }

    .tutorial-btn:hover .play-icon {
      transform: translateX(3px);
    }

    .sample-icon {
      transition: transform 0.3s ease;
    }

    .sample-btn:hover .sample-icon {
      transform: translateY(3px);
    }

    /* Button container */
    .button-group {
      display: flex;
      gap: 15px;
      margin-bottom: 20px;
      flex-wrap: wrap;
    }

    /* ==================== RESPONSIVE STYLES ==================== */
    @media (max-width: 768px) {
      .header h1 {
        font-size: 2.5rem;
      }
      
      .header h2 {
        font-size: 1.2rem;
      }
      
      .hero-content {
        padding: 60px 20px;
        flex-direction: column;
      }
      
      .container {
        padding: 20px;
        margin: 15px;
      }
      
      .input-section {
        margin-top: -40px;
      }
      
      .pattern-sections {
        grid-template-columns: 1fr;
      }
      
      .button-container {
        flex-direction: column;
        align-items: center;
      }
      
      .button-container .btn {
        width: 100%;
        max-width: 300px;
        margin-bottom: 10px;
      }
      
      .header-btn {
        position: absolute;
        top: 10px;
        right: 10px;
        padding: 6px 12px;
        font-size: 0.8rem;
      }
      
      .tutorial-wizard-content {
        width: 95%;
      }

      .tutorial-btn {
        padding: 10px 20px;
        font-size: 0.95rem;
      }
      
      .button-group {
        flex-direction: column;
      }
    }

     /* Tabs Navigation */
  .recommendations-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    background-color: #f8f9fa;
    padding: 10px 20px;
    border-bottom: 1px solid #e9ecef;
  }
  
  .rec-tab-button {
    background: none;
    border: none;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    color: #666;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s ease;
  }
  
  .rec-tab-button:hover {
    background-color: #e9ecef;
  }
  
  .rec-tab-button.active {
    background-color: #ff8552;
    color: white;
  }
  
  /* Recommendation Categories */
  .rec-category {
    display: none;
    padding: 20px;
  }
  
  .rec-category.active {
    display: block;
  }
  
  .rec-intro {
    margin-bottom: 25px;
  }
  
  .rec-status {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
  }
  
  .status-indicator {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    margin-right: 10px;
  }
  
  .status-text {
    font-weight: 600;
    font-size: 1.1rem;
    color: #333;
  }
  
  .rec-category-description {
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
    margin: 0;
  }
  
  /* Recommendation Cards */
  .recommendation-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
  }
  
  .rec-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }
  
  .rec-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  }
  
  .rec-card-header {
    padding: 12px 15px;
    color: white;
    font-weight: 600;
  }
  
  .rec-card-body {
    padding: 15px;
  }
  
  .rec-card-title {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 1.1rem;
    color: #333;
  }
  
  .rec-card-description {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 15px;
  }
  
  .rec-steps {
    margin: 0;
    padding-left: 25px;
  }
  
  .rec-steps li {
    margin-bottom: 8px;
    color: #555;
    font-size: 0.9rem;
    line-height: 1.5;
  }
  
  .rec-example {
    margin-top: 15px;
    background-color: #f8f9fa;
    border-radius: 5px;
    padding: 10px;
    font-size: 0.85rem;
  }
  
  .example-before {
    color: #d32f2f;
    margin-bottom: 10px;
  }
  
  .example-after {
    color: #388e3c;
  }
  
  @media (max-width: 768px) {
    .recommendations-tabs {
      gap: 3px;
      padding: 8px 10px;
    }
    
    .rec-tab-button {
      padding: 6px 10px;
      font-size: 0.8rem;
    }
    
    .recommendation-cards {
      grid-template-columns: 1fr;
    }
    
    .rec-category {
      padding: 15px;
    }
  }
  
  .reset-btn {
  background-color: rgba(244, 67, 54, 0.2); /* Translucent red */
  border-color: rgba(244, 67, 54, 0.4);
}

.reset-btn:hover {
  background-color: rgba(244, 67, 54, 0.3);
  border-color: rgba(244, 67, 54, 0.6);
}

/* Icon animations */
.reset-icon {
  transition: transform 0.3s ease;
}

.reset-btn:hover .reset-icon {
  transform: rotate(-45deg);
}