@scope (#original-content) {

    #act-formulas-guide {
      padding: 20px;
      background-color: #ffffff;
      border-radius: 8px;
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    }
    
    #act-formulas-guide h1 {
      color: #2f80ed;
      font-size: 2.5rem;
      text-align: center;
      margin-bottom: 15px;
    }
    
    #act-formulas-guide .subtitle {
      text-align: center;
      font-size: 1.2rem;
      color: #636e72;
      margin-bottom: 30px;
    }
    
    #act-formulas-guide .category-tabs {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 10px;
      margin-bottom: 30px;
    }
    
    #act-formulas-guide .category-tab {
      padding: 12px 24px;
      background-color: #f5f9ff;
      border: 1px solid #e1e8f0;
      border-radius: 30px;
      color: #2f80ed;
      font-weight: 600;
      cursor: pointer;
      transition: all 0.2s ease-in-out;
    }
    
    #act-formulas-guide .category-tab:hover {
      background-color: #e3f0ff;
    }
    
    #act-formulas-guide .category-tab.active {
      background-color: #2f80ed;
      color: white;
    }
    
    #act-formulas-guide .search-bar {
      margin-bottom: 30px;
      position: relative;
    }
    
    #act-formulas-guide .search-input {
      width: 100%;
      padding: 12px 45px 12px 20px;
      border: 1px solid #e1e8f0;
      border-radius: 30px;
      font-size: 1rem;
      box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    }
    
    #act-formulas-guide .search-icon {
      position: absolute;
      right: 15px;
      top: 50%;
      transform: translateY(-50%);
      color: #b2bec3;
    }
    
    #act-formulas-guide .category-section {
      display: none;
    }
    
    #act-formulas-guide .category-section.active {
      display: block;
      animation: fadeIn 0.3s ease-in-out;
    }
    
    #act-formulas-guide .formula-card {
      margin-bottom: 25px;
      padding: 20px;
      background-color: #f8fafd;
      border-radius: 8px;
      border-left: 4px solid #2f80ed;
      box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
      transition: transform 0.2s ease-in-out;
    }
    
    #act-formulas-guide .formula-card:hover {
      transform: translateY(-2px);
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }
    
    #act-formulas-guide .formula-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 15px;
    }
    
    #act-formulas-guide .formula-name {
      font-size: 1.3rem;
      font-weight: 600;
      color: #2d3436;
      margin: 0;
    }
    
    #act-formulas-guide .formula-tag {
      font-size: 0.8rem;
      background-color: #e3f0ff;
      color: #2f80ed;
      padding: 4px 8px;
      border-radius: 4px;
    }
    
    #act-formulas-guide .formula-equation {
      font-family: 'Cambria Math', 'Times New Roman', Times, serif;
      font-size: 1.4rem;
      background-color: white;
      padding: 15px;
      border-radius: 6px;
      margin-bottom: 15px;
      text-align: center;
      box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.1);
    }
    
    #act-formulas-guide .formula-description {
      margin-bottom: 15px;
      line-height: 1.5;
    }
    
    #act-formulas-guide .formula-variables {
      font-size: 0.95rem;
      padding: 12px;
      background-color: rgba(255, 255, 255, 0.7);
      border-radius: 6px;
      margin-bottom: 15px;
    }
    
    #act-formulas-guide .variable {
      display: inline-block;
      margin-right: 15px;
    }
    
    #act-formulas-guide .variable-name {
      font-weight: 600;
      font-style: italic;
    }
    
    #act-formulas-guide .example-header {
      font-size: 1.1rem;
      font-weight: 600;
      margin-bottom: 10px;
      color: #2f80ed;
    }
    
    #act-formulas-guide .example-content {
      background-color: white;
      padding: 15px;
      border-radius: 6px;
      box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.1);
    }
    
    #act-formulas-guide .solution {
      margin-top: 10px;
      padding-top: 10px;
      border-top: 1px dashed #e1e8f0;
    }
    
    #act-formulas-guide .solution-toggle {
      font-size: 0.9rem;
      color: #2f80ed;
      background: none;
      border: none;
      cursor: pointer;
      padding: 5px 0;
    }
    
    #act-formulas-guide .solution-content {
      display: none;
      padding-top: 10px;
    }
    
    #act-formulas-guide .solution-content.visible {
      display: block;
      animation: fadeIn 0.3s ease-in-out;
    }
    
    #act-formulas-guide .note {
      font-size: 0.9rem;
      font-style: italic;
      background-color: #fffde7;
      padding: 10px;
      border-left: 3px solid #ffd700;
      border-radius: 4px;
    }
    
    #act-formulas-guide .visual {
      display: block;
      width: 80%;
      max-width: 250px;
      margin: 15px auto;
      border-radius: 6px;
    }
    
    #act-formulas-guide .print-button {
      display: block;
      margin: 30px auto 0;
      padding: 12px 30px;
      background-color: #2f80ed;
      color: white;
      border: none;
      border-radius: 30px;
      font-weight: 600;
      cursor: pointer;
      transition: background-color 0.2s ease-in-out;
    }
    
    #act-formulas-guide .print-button:hover {
      background-color: #2069c7;
    }
    
    #act-formulas-guide .back-to-top {
      position: fixed;
      bottom: 20px;
      right: 20px;
      width: 40px;
      height: 40px;
      background-color: #2f80ed;
      color: white;
      border-radius: 50%;
      display: flex;
      justify-content: center;
      align-items: center;
      cursor: pointer;
      opacity: 0;
      transition: opacity 0.3s ease-in-out;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
      z-index: 100;
    }
    
    #act-formulas-guide .back-to-top.visible {
      opacity: 1;
    }
    
    #act-formulas-guide .back-to-top:hover {
      background-color: #2069c7;
    }
    
    #act-formulas-guide .hidden {
      display: none;
    }
    
    @keyframes fadeIn {
      from { opacity: 0; }
      to { opacity: 1; }
    }
    
    /* Responsive styles */
    @media (max-width: 768px) {
      #act-formulas-guide h1 {
        font-size: 2rem;
      }
      
      #act-formulas-guide .category-tab {
        padding: 10px 18px;
        font-size: 0.9rem;
      }
      
      #act-formulas-guide .formula-card {
        padding: 15px;
      }
      
      #act-formulas-guide .formula-equation {
        font-size: 1.2rem;
        overflow-x: auto;
      }
    }
  
}
