#profileModal .border-0 {border-top-left-radius: 0;border-top-right-radius: 0;}
      .cc-topbar {
        height: 60px;
        background: #fff;
        border-bottom: 1px solid rgba(0, 0, 0, 0.06);
        display: flex;
        align-items: center;
        padding: 0 16px;
        position: sticky;
        top: 0;
        z-index: 1030;
      }

      /* Nadpisy */
      .cc-title,
      .cc-section-title {
        color: var(--black);
        font-family: "Roboto", sans-serif;
        font-size: 16px;
        font-weight: 700;
        letter-spacing: 0.29px;
      }
      .modal-header .cc-title {color: var(--black40);font-size: 14px;}
      .cc-section-title {
        margin: 18px 0 10px;
      }

      /* Položky menu */
      .cc-menu-item {
        font-family: "Roboto", sans-serif;
        font-size: 14px;
        font-weight: 500;
        color: var(--black);
      }

      .cc-icon {
        width: 25px;
        color: var(--rez_pink);
        font-size: 20px;
      }

      /* Oddíl Aktivní moduly background */
      .cc-card {
        border-radius: 18px;
        padding: 14px 14px;
      }
      .card-color {background-color: var(--card_bg) !important;}
      #aktivni_moduly .cc-menu-item {margin-left:10px;}
      #profileModal .btn-prim {padding: 1rem !important;}
      .cc-price {
        color: var(--bs-success);
        font-weight: 700;
      }
      #profileModal .modal-header {
          min-height: 60px;
      }
      /* Pravostranný "modal panel" */
      #profileModal.cc-side-modal .modal-dialog {
        position: absolute;
        top: 0px;
        right: 0;
        margin: 0;
        height: calc(100% - 60px);
        width: min(430px, 92vw);
        max-width: none;
      }

      .cc-side-modal .modal-content {

        border: 0;
        border-radius: 0 !important;
        box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
      }

      .cc-side-modal .modal-body {
        overflow: auto;
      }

      .cc-close {
        border: 0;
        background: rgba(6, 33, 57, 0.06);
        width: 44px;
        height: 44px;
        border-radius: 50%;
        display: grid;
        place-items: center;
      }

      /* Avatar */
      .cc-avatar-wrap {
        width: 132px;
        height: 132px;
        border-radius: 50%;
        position: relative;
        overflow: hidden;
        border: 4px solid rgba(6, 33, 57, 0.12);
      }

      .cc-avatar-wrap img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
      }

      .cc-avatar-overlay {
        position: absolute;
        inset: 0;
        display: flex;
        align-items: flex-end;
        justify-content: center;
        padding-bottom: 12px;
        background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 35%, rgba(0, 0, 0, 0) 35%);
        color: #fff;
        font-weight: 700;
        opacity: 0.95;
        cursor: pointer;
        user-select: none;
      }

      /* Menu řádky */
      .cc-row-btn {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 12px 6px;
        border-radius: 12px;
        text-decoration: none;
      }

      .cc-row-btn:hover {
        background: rgba(6, 33, 57, 0.05);
      }

      /* Výběr avatarů */
      .cc-avatar-choice {
        border: 2px solid rgba(6, 33, 57, 0.12);
        border-radius: 16px;
        overflow: hidden;
        cursor: pointer;
        transition: transform 0.08s ease;
      }

      .cc-avatar-choice:hover {
        transform: translateY(-1px);
      }

      .cc-avatar-choice[data-selected="true"] {
        border-color: var(--rez_pink);
        box-shadow: 0 0 0 4px rgba(255, 42, 161, 0.15);
      }

      .cc-avatar-choice img {
        width: 100%;
        aspect-ratio: 1 / 1;
        object-fit: cover;
        display: block;
      }