/*
 * Copyright (c) 2024-2026 KVIEW SAS. All rights reserved.
 *
 * This source code is the property of KVIEW SAS,
 * 26 rue Chauveau, 92200 Neuilly-sur-Seine, France.
 * SIREN: 933 366 106 R.C.S. Nanterre.
 *
 * Any unauthorized use, reproduction, modification, or distribution
 * is strictly prohibited.
 */
#dashboard .portfolio-profile {

  #portfolio-investments {
    margin-bottom: -70px;
    margin-top: -31px;

    .card-table {
      margin-right: -30px;
      margin-left: -30px;

      .table {
        border-bottom: 2px solid $color-border;
      }
    }

    .create-link:hover {
      text-decoration: none;
    }
  }

  #portfolio-reporting {

    .card-table {
      overflow-x: auto;
      -webkit-overflow-scrolling: touch;
      -ms-overflow-style: -ms-autohiding-scrollbar;
    }

    .reporting-container {
      margin-right: -5px;
      margin-left: -5px;
    }

    .reporting-selector {
      border-bottom: 2px solid $color-border;
      margin-bottom: 25px;
      padding-bottom: 20px;
    }

    .btn-reporting {
      margin-top: 25px;
    }

    table {
      .border-dashed-left {
        border-left: 1px dashed $color-border;
      }

      .sub-header {
        font-weight: bold;
        vertical-align: bottom;
        border-bottom: 2px solid $color-border;
        background-color: white;
      }

      .border-dashed-left {
        border-left: 1px dashed $color-border;
      }

      .border-dashed-right {
        border-right: 1px dashed $color-border;
      }

      tr td:not(:first-child) {
        text-align: center;
      }

      tr.ratio-row {
        td:first-child {
          padding-left: 25px;
        }

        td {
          font-style: italic;
        }
      }

      tr.total-row {
        border-top: 2px solid $color-border;
        border-bottom: 2px solid $color-border;

        td {
          font-weight: bold !important;
        }
      }

      tr.bg-white {
        background-color: white;
      }
    }

  }
}

