.chart-type-templates-page {
  padding: 20px;
  max-width: 1200px;
  margin: 0 auto;

  .header {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    
    h2 {
      color: #0079b8;
      font-weight: 300;
      display: flex;
      align-items: center;
      gap: 10px;
    }
    
    .back-button {
      padding: 0;
      cds-icon {
        width: 24px;
        height: 24px;
      }
    }
  }

  .card {
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    
    .card-block {
      padding: 20px;
    }
    
    .card-header {
      h3 {
        margin: 0;
        color: #0079b8;
      }
    }
  }

  .form-actions {
    margin-top: 20px;
    display: flex;
    gap: 10px;
  }

  .label {
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: bold;
    
    &.label-success {
      background-color: #3d9970;
      color: white;
    }
    
    &.label-danger {
      background-color: #d32f2f;
      color: white;
    }
  }

  clr-datagrid {
    margin-top: 10px;
    
    clr-dg-cell {
      &:first-child {
        font-weight: 500;
      }
    }
  }

  .btn-icon {
    margin-right: 5px;
  }

  .info-section {
    background-color: #f6f6f6;
    border-left: 4px solid #0079b8;
    padding: 15px;
    border-radius: 4px;
    
    h4 {
      margin-top: 0;
      color: #0079b8;
    }
    
    ul {
      padding-left: 20px;
      
      li {
        margin-bottom: 8px;
      }
    }
    
    p {
      margin: 10px 0;
    }
  }

  @media (max-width: 768px) {
    padding: 10px;
    
    .form-actions {
      flex-direction: column;
      
      button {
        width: 100%;
        margin-bottom: 10px;
      }
    }
    
    .card-header {
      .clr-row {
        flex-direction: column;
        
        .clr-col {
          text-align: left !important;
          margin-bottom: 10px;
        }
      }
    }
  }
}