.custom-card {
    display: flex;
    flex-direction: column;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 10px;
    box-shadow: 0px 10px 15px -3px rgba(0,0,0,0.1);
    background: #EBF7FE;
    margin: 3rem;
}
.custom-card-body-header {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 10px;
}
.custom-card-header {
    font-weight: 700;
    font-size: 14px;
    color: #0072bf;
}
.custom-card-body, .custom-card-actions {
    display: flex;
    flex-direction: column;
    padding: 6px;
    border-radius: 8px;
    gap: 1rem;
}
.custom-card-actions {
    padding: 5px 19px;
}
.custom-card-body-content {
    font-size: 14px;
}
.custom-card-body-content-row {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-bottom: 6px;
}

.custom-card-body-content-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;

}
.mt-3 {
    margin-top: 3rem !important;
}
.custom-card-body-content-item__value {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    font-size: 12px;
}
.custom-card-body-content-item__value h3 {
    font-size: 18px;
}
.bold {
    font-size: 14px !important;
    font-weight: bold;
}
.text-bold-large {
    font-weight: bold;
    font-size: 24px !important;
}
.custom-card-body-content-row .status {
    padding: 0.1rem 3rem;
    border-radius: 5px;
    margin: 0 3px;
    text-transform: uppercase;
    font-weight: 700;
    max-height: 30px;
}
.custom-card-body-content-row .unpaid {
    background-color: #BF0000;
    color: #fff;
}
.custom-card-body-content-row .paid {
    background-color: #27AE60;
    color: #fff;
}
.custom-card-body-content-row .pending {
    background-color: #FAB80E;
    color: #fff;
}
.custom-card-body-content-cell {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}
.custom-card-body-content-text {
    color: #686868;   
    font-size: 12px;
    display: flex;
    gap: 0.5rem;
    align-items: center;
}
.custom-card-body-actions {
    display: flex;
    flex-direction: column;
    justify-content: left;
    align-items: flex-start;
    margin-top: 0.5rem;
}
.custom-card-body-actions a {
    color: #3B3BA3;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    display: flex;
    gap: 0.3rem;
    align-items: center;
}
.d-flex {
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 0.5rem;
}

.custom-card-body-content-collaps {
    width: 100%;
    overflow: hidden;
    margin: 0.5rem 0;
}
.custom-card-body-content-collapse-header {
    padding: 8px;
    cursor: pointer;
    text-align: center;
    font-weight: bold;
    user-select: none;
    transition: background 0.3s ease-in-out;
    display: flex;
    gap: 1rem;
}
.custom-card-body-content-collapse-header span {
    color: #007ACC;
}
.custom-card-body-content-collapse {
    padding: 2px;
    background-color: #fff;
    border-radius: 10px;
    border: 1px solid #afe6ff;
    color: #007ACC;
}
.custom-card-body-content-collapse-header-content {
    display: flex;
    justify-content: space-between;
    width: 100%;
}
.custom-card-body-content-collapse-content {
    padding: 12px;
    display: none; 
    background: transparent;
    border: 1px solid #ccc;
    transition: max-height 0.5s ease-in-out, padding 0.3s ease-in-out;
}
.custom-card-body-content-collapse .custom-card-body-content-row, .custom-card-body-content-collapse .custom-card-body-disclaimer {
    display: none;
}
.custom-card-body-disclaimer {
    padding: 1rem;
    background: #EDEDED;
    margin-bottom: 0;
    border-radius: 4px;
    color: #000033;
    font-size: 11px;
    line-height: 18px;
    margin: 1rem;
    justify-content: space-between;
    gap: 1rem;
}
.info-disclaimer {
    background: #EDEDED;
    color: #000033;
}
.sub-row .custom-card-body-content-cell:first-child::before {
    content: "";
    display: block;
    background-image: url('../images/sub-row.svg');
    background-size: cover;
    background-position: center;
    width: 18px;
    height: 18px;
    margin-left: 0.4rem;
}
.separator::before {
    content: "-";
    font-weight: bold;
    display: block;
    font-size: 13px;
    width: 5px;
}
.active .custom-card-body-content-row , .active .custom-card-body-disclaimer {
    display: flex; 
}
.collaps-icon {
    content: url('../images/collapse-arrow-down.svg');
    transition: transform 0.3s;
    width: 20px;
}
.active .collaps-icon {
    content: url('../images/collapse-arrow-up.svg');
}
.custom-card-body-content-collapse .custom-card-body-content-row {
    padding: 1rem;
    background: #fff;
    margin-bottom: 0;
}
.custom-card-body-content-collapse .custom-card-body-content-text span {
    font-weight: bold;
}
.custom-card-body-message {
    font-size: 12px;
    padding: 1rem 0.4rem;
    color: #686868;
    font-weight: 400;
}
.message-warning {
    background: #fff3cd;
    color: #856404;
    border: solid 1px #ccc;
}
.message-success {
    background: #d4edda;
    color: #155724;
    border: solid 1px #ccc;
}
.message-error {
    background: #f8d7da;
    color: #721c24;
    border: solid 1px #ccc;
}
.message-info {
    background: #d1ecf1;
    color: #0c5460;
    border: solid 1px #ccc;
}
.heading {
    justify-content: center;
}
.heading .custom-card-body-content-text {
    font-size: 16px;
    font-weight: 700;
}

@media screen and (max-width: 767px) {
    .custom-card {
        margin: 2rem 1rem;
        padding: 2rem 1rem;
    }
    .bss_billing_card .text-bold-large {
        font-size: 15px !important;
    }
    .bss_billing_card .custom-card-body-content-row .status {
        padding: 0.1rem 1.2rem;
    }
    .bss_billing_card .custom-card-body-content-cell .bold {
        font-size: 11px !important;
    }
    .bss_billing_card .custom-card-body, .custom-card-actions {
        padding: 6px 0px;
    }
    .bss_billing_card .custom-card-body-content-text {
        font-size: 11px;
    }
    .heading .custom-card-body-content-text {
        font-size: 16px;
    }
}

.disclaimer-content {
    background: #EBF7FE;
    padding: 20px;
    border-radius: 8px;
    width: 90%;
    max-width: 500px;
    overflow-y: auto;
    margin: 2rem;
    box-shadow: 0px 2px 6px 0px #00000026;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: absolute;
    z-index: 99999;
    bottom: var(--main-footer-height);
    left: 50%;
    transform: translateX(-50%);
}
.disclaimer-content.full-size {
    max-height: 90vh;
}
.disclaimer-close {
    position: absolute;
    right: 0;
    top: 0;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    padding: 5px;
}
.disclaimer-short-message {
    margin-bottom: 10px;
    font-weight: 400;
    font-size: 16px;
    display: flex;
    gap: 2rem;
}
.disclaimer-icon {
    margin-top: 0.6rem;
}
.disclaimer-see-more {
    color: #0066cc;
    text-decoration: none;
    cursor: pointer;
    display: inline-block;
    margin-bottom: 10px;
    font-size: 16px;
}
.see-more::before {
    content: url('../images/chevron_down.svg');
    margin-right: 0.5rem;
    margin-top: 0.2rem;
}
.see-less::before {
    content: url('../images/chevron_up.svg');
    margin-right: 0.5rem;
    margin-top: 0.2rem;
}
.disclaimer-full-message {
    margin-top: 10px;
    max-height: 300px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem 0 1rem 1rem;
    opacity: 1;
    transition: opacity 0.3s ease-in-out, max-height 0.7s ease-in-out;
}
.disclaimer-full-message-header {
    font-size: 17px;
    font-weight: 700;
}
.disclaimer-full-message-text {
    color: #333333;
    font-size: 14px;
    font-weight: 400;
    overflow-x: scroll;
    line-height: 150%;
    word-break: break-word;
}
.disclaimer-full-message-text p {
    padding-right: 2rem;
}
.disclaimer-full-message.hidden {
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    pointer-events: none;
}
.disclaimer-footer {
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
}
.disclaimer-ok-button {
    background: #006497;
    color: white;
    border: none;
    padding: 10px 30px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 300;
    font-size: 16px;
    border-radius: 8px;
    max-height: 5rem;
}
.disclaimer-ok-button:hover {
    background: #006497;
    color: white;
}

/* only for mobile */
@media screen and (max-width: 767px) {
    .disclaimer-content {
        margin: 0;
        bottom: var(--main-footer-height);
    }
    .disclaimer-content.full-size {
        max-height: 80vh;
    }
}

.disclaimer-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(102, 102, 102, 0.85);
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
}
.disclaimer-popup-content {
    background: #fff;
    padding: 10px;
    border-radius: 8px;
    width: 88%;
    max-width: 500px;
    margin: 2rem;
    min-height: 200px;
    max-height: 90vh;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: absolute;
    z-index: 99999;
    font-size: 16px;
    font-weight: 400;
}
.disclaimer-popup-content a {
    color: #006497;
    text-decoration: underline;
}
.disclaimer-popup-content a:hover {
    text-decoration: underline;
}
.disclaimer-popup-content a::after {
    content: url('../images/new_window.svg');
    margin: 2px;
}
.disclaimer-popup-content-inner {
    padding: 5px 18px 5px 5px;
}
.disclaimer-popup-close {
    position: absolute;
    right: 0;
    top: 0;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    z-index: 100000;
    margin: 0 10px;
}

.skelton-card {
    border-radius: 8px;
    margin: 9px;
    background: #fff;
    display: none;
}
  
  /* Skeleton base */
.skeleton {
    background: #e2e2e2;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
}
  
  /* Shimmer effect */
  .skeleton::after {
    content: "";
    position: absolute;
    top: 0;
    left: -150px;
    height: 100%;
    width: 150px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.5), transparent);
    animation: loading 1.2s infinite;
  }
  
  @keyframes loading {
    100% {
      left: 100%;
    }
  }
  .skeleton-content {
    padding: 16px 16px 16px 30px;
  }
  .skelton-button-container {
    display: flex;
    justify-content: flex-start;
    gap: 10px;
  }
  
  /* Skeleton variations */
  .skeleton-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-bottom: 12px;
  }
  
  .skeleton-text {
    height: 14px;
    width: 100%;
    margin-bottom: 10px;
  }
  .skeleton-button {
    height: 45px;
    margin-top: 16px;
    width: 180px;
    margin-bottom: 10px;
    border-radius: 9999px;
  }
  .skeleton-disclaimer {
    margin: 11px 19px 15px 13px;
  }
  
  .skeleton-text.short {
    width: 70%;
  }
  
  /* Real content */
  .hidden {
    display: none;
  }
  
  .avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
  }
  @media screen and (max-width: 767px) { 
    .skelton-card {
        margin: 15px;
    }
    .skeleton-avatar {
        width: 40px;
        height: 40px;
    }
    .skeleton-content {
        padding: 0px 16px 16px 3px;
    }
    .skelton-button-container {
        flex-direction: column;
        gap: 0px;
    }
    .skeleton-button {
        width: 100%;
        margin-top: 0px;
    }
    .skeleton-text {
        width: auto;
    }
    .skeleton-button {
        height: 40px;
    }
  }
  
