/* Wrapper grid for default template */
.smart-card-default {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 20px;
}

.smart-card--default.smart-card-item {
    background: linear-gradient(170deg, #000944 35%, #340d55 100%);
    border-radius: 15px;
    overflow: hidden;
    width: calc((100% - 40px) / 3);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 265px;
}

@media (max-width: 1024px) {
    .smart-card--default.smart-card-item {
        width: calc((100% - 20px) / 2);
    }
}

@media (max-width: 767px) {
    .smart-card--default.smart-card-item {
        width: 100%;
    }
}

/* Card header */
.smart-card--default .card-header {
    background-color: #000944;
    position: relative;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    min-height: 70px;
}

.smart-card--default .card-order {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: white;
    color: black;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.smart-card--default .card-body{
    display:flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 4px;
    padding-bottom: 0px;
    padding-left: 16px;
    padding-right: 16px;
}

/* Bonus list */
.smart-card--default .bonus-list {
    list-style: none;
    padding: 15px 0;
    margin: 0;
}

.smart-card--default .bonus-list svg{
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    fill: #8eec25;
}

.smart-card--default .bonus-list li {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.smart-card--default .bonus-icon {
    margin-right: 10px;
    width: 20px;
    height: 20px;
}

.smart-card--default .bonus-text {
    font-family: "Poppins", Sans-serif;
    font-size: 1em;
    font-weight: 500;
    line-height: 1.2em;
    color: #fff;
}

/* Open bonus link */
.smart-card--default .open-bonus {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #8eec25;
    text-decoration: none;
    transition: transform 0.3s;
}

.smart-card--default .open-text{
    font-family: "Poppins", Sans-serif !important;
    font-size: 0.8em !important;
    font-weight: 600 !important;
    margin: 0;
    padding: 0;
}

.smart-card--default .open-bonus:hover {
    transform: scale(1.1);
}

.smart-card--default .lottie-container {
    width: 100px;
    height: 100px;
}

/* Accordion */
.smart-card--default summary{
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    -webkit-user-select: none;
    padding: 16px;
}
.smart-card--default .accordion-title {
    color: white;
    align-items: center;
    font-size: 1em;
    font-family: "Poppins", Sans-serif;
    font-weight: 600;
    letter-spacing: 0.02em;
}
.smart-card--default .info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.smart-card--default .info-list li {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 8px;
    color: #fff;
}
.smart-card--default svg {
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    fill: #fff;
}
.smart-card--default .info-icon {
    width: 14px;
    height: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 8px;
}
.smart-card--default .info-list svg {
    fill: #fff;    
}

.smart-card--default .info-icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

.smart-card--default .card-accordion .accordion-content {
    background: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 20px;
    font-family: 'Poppins', sans-serif;
    margin-top: 40px;
}
.smart-card--default .card-accordion .accordion-content h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #333;
    border-bottom: 1px solid #ccc;
    padding-bottom: 5px;
}

.smart-card--default .card-accordion summary {
    cursor: pointer;
    color: #00f2e6;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
}


.smart-card--default .general-info .info-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
    color: #fff;
}

.smart-card--default .license {
    margin-top: 10px;
    color: #fff;
}

/*.smart-card--default details .accordion-inner {*/
/*    max-height: 0;*/
/*    overflow: hidden;*/
/*    transition: max-height 0.4s linear;*/
/*    padding: 0 16px;*/
/*}*/

/*.smart-card--default details.is-open .accordion-inner {*/
/*    max-height: 1000px;*/
/*    padding: 16px;*/
/*}*/

.smart-card--default .accordion-inner {
    max-height: 0;
    overflow: hidden;
    padding: 0 16px;  /* lateral ok, sus/jos 0 */
    padding-top: 0;
    padding-bottom: 0;
    transition:
        max-height 0.5s linear,
        padding-top 0.3s linear 0.2s,   /* delay pe deschidere */
        padding-bottom 0.3s linear 0.2s;
}

.smart-card--default details[open] + .accordion-inner {
    max-height: 1000px;  /* sau auto dacă folosești JS pt calcule */
    padding-top: 16px;
    padding-bottom: 16px;
    transition:
        max-height 0.5s linear,
        padding-top 0.3s linear,
        padding-bottom 0.3s linear;
}


.smart-card--default summary:hover .accordion-title,
.smart-card--default summary:hover .accordion-icon svg {
    color: #8eec25;
    fill: #8eec25;
    transition: color 0.3s ease, fill 0.3s ease;
}

.smart-lottie {
    backface-visibility: hidden;
    will-change: transform, opacity;
}
