/* ==========================================================================
   Todiconcard 2.0 Elementor Addon Styles
   Supports dual responsive layouts:
   - PC: Vertical (column layout with horizontal dotted separator)
   - Tablet & Mobile: Horizontal (row layout with vertical dotted separator)
   ========================================================================== */

/* Card Container Base */
.todiconcard2-card {
    background-color: #ffffff;
    border: 2.5px solid #000000;
    border-radius: 24px;
    padding: 30px 24px;
    box-sizing: border-box;
    display: flex;
    position: relative;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.todiconcard2-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

/* Badge Number */
.todiconcard2-badge-wrap {
    display: flex;
    width: 100%;
}

.todiconcard2-badge {
    color: #f66782;
    font-size: 32px;
    font-weight: 800;
    line-height: 1;
    font-family: inherit;
    display: inline-block;
}

/* Graphic Container */
.todiconcard2-graphic-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    line-height: 1;
}

.todiconcard2-graphic-wrap img {
    max-width: 100%;
    height: auto;
    display: block;
}

.todiconcard2-svg-graphic {
    display: block;
    max-width: 100%;
    height: auto;
}

.todiconcard2-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 64px;
    color: #f66782;
}

.todiconcard2-icon svg {
    width: 64px;
    height: 64px;
    fill: currentColor;
}

/* Separator Line Base */
.todiconcard2-separator {
    border-color: #f66782;
    border-style: dotted;
    border-width: 0;
    box-sizing: border-box;
    transition: all 0.2s ease;
}

/* Text Container */
.todiconcard2-text-wrap {
    width: 100%;
}

.todiconcard2-text {
    color: #000000;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.6;
    margin: 0;
    word-break: break-word;
}


/* ==========================================================================
   DESKTOP RESPONSIVE LAYOUT (> 1024px)
   ========================================================================== */
@media (min-width: 1025px) {
    /* 1. Vertical Layout (Desktop Column - Default) */
    .todiconcard2-card.todiconcard2-layout-desktop-column {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 20px;
    }

    .todiconcard2-card.todiconcard2-layout-desktop-column .todiconcard2-left-col {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 16px;
        width: 100%;
    }

    .todiconcard2-card.todiconcard2-layout-desktop-column .todiconcard2-badge-wrap {
        justify-content: center;
    }

    .todiconcard2-card.todiconcard2-layout-desktop-column .todiconcard2-badge {
        text-align: center;
    }

    .todiconcard2-card.todiconcard2-layout-desktop-column .todiconcard2-separator {
        width: 100%;
        border-bottom-width: 2.5px;
        border-right-width: 0;
        border-top-width: 0;
        border-left-width: 0;
        margin: 4px 0;
    }

    .todiconcard2-card.todiconcard2-layout-desktop-column .todiconcard2-right-col {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .todiconcard2-card.todiconcard2-layout-desktop-column .todiconcard2-text {
        text-align: center;
    }

    /* 2. Horizontal Layout (Desktop Row) */
    .todiconcard2-card.todiconcard2-layout-desktop-row {
        flex-direction: row;
        align-items: center;
        gap: 24px;
    }

    .todiconcard2-card.todiconcard2-layout-desktop-row .todiconcard2-left-col {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        gap: 12px;
        flex-shrink: 0;
    }

    .todiconcard2-card.todiconcard2-layout-desktop-row .todiconcard2-badge-wrap {
        justify-content: flex-start;
    }

    .todiconcard2-card.todiconcard2-layout-desktop-row .todiconcard2-badge {
        text-align: left;
    }

    .todiconcard2-card.todiconcard2-layout-desktop-row .todiconcard2-separator {
        align-self: stretch;
        border-right-width: 2.5px;
        border-bottom-width: 0;
        border-top-width: 0;
        border-left-width: 0;
        margin: 0 4px;
    }

    .todiconcard2-card.todiconcard2-layout-desktop-row .todiconcard2-right-col {
        flex: 1;
        display: flex;
        align-items: center;
    }

    .todiconcard2-card.todiconcard2-layout-desktop-row .todiconcard2-text {
        text-align: left;
    }
}


/* ==========================================================================
   TABLET RESPONSIVE LAYOUT (768px - 1024px)
   ========================================================================== */
@media (min-width: 768px) and (max-width: 1024px) {
    /* 1. Horizontal Layout (Tablet Row - Default) */
    .todiconcard2-card.todiconcard2-layout-tablet-row {
        flex-direction: row;
        align-items: center;
        gap: 20px;
    }

    .todiconcard2-card.todiconcard2-layout-tablet-row .todiconcard2-left-col {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        gap: 10px;
        flex-shrink: 0;
    }

    .todiconcard2-card.todiconcard2-layout-tablet-row .todiconcard2-badge-wrap {
        justify-content: flex-start;
    }

    .todiconcard2-card.todiconcard2-layout-tablet-row .todiconcard2-badge {
        text-align: left;
    }

    .todiconcard2-card.todiconcard2-layout-tablet-row .todiconcard2-separator {
        align-self: stretch;
        border-right-width: 2.5px;
        border-bottom-width: 0;
        border-top-width: 0;
        border-left-width: 0;
        margin: 0 4px;
    }

    .todiconcard2-card.todiconcard2-layout-tablet-row .todiconcard2-right-col {
        flex: 1;
        display: flex;
        align-items: center;
    }

    .todiconcard2-card.todiconcard2-layout-tablet-row .todiconcard2-text {
        text-align: left;
    }

    /* 2. Vertical Layout (Tablet Column) */
    .todiconcard2-card.todiconcard2-layout-tablet-column {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 18px;
    }

    .todiconcard2-card.todiconcard2-layout-tablet-column .todiconcard2-left-col {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 14px;
        width: 100%;
    }

    .todiconcard2-card.todiconcard2-layout-tablet-column .todiconcard2-badge-wrap {
        justify-content: center;
    }

    .todiconcard2-card.todiconcard2-layout-tablet-column .todiconcard2-badge {
        text-align: center;
    }

    .todiconcard2-card.todiconcard2-layout-tablet-column .todiconcard2-separator {
        width: 100%;
        border-bottom-width: 2.5px;
        border-right-width: 0;
        border-top-width: 0;
        border-left-width: 0;
        margin: 4px 0;
    }

    .todiconcard2-card.todiconcard2-layout-tablet-column .todiconcard2-right-col {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .todiconcard2-card.todiconcard2-layout-tablet-column .todiconcard2-text {
        text-align: center;
    }
}


/* ==========================================================================
   MOBILE RESPONSIVE LAYOUT (< 768px)
   ========================================================================== */
@media (max-width: 767px) {
    /* 1. Horizontal Layout (Mobile Row - Default) */
    .todiconcard2-card.todiconcard2-layout-mobile-row {
        flex-direction: row;
        align-items: center;
        gap: 16px;
        padding: 20px 16px;
    }

    .todiconcard2-card.todiconcard2-layout-mobile-row .todiconcard2-left-col {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        gap: 8px;
        flex-shrink: 0;
    }

    .todiconcard2-card.todiconcard2-layout-mobile-row .todiconcard2-badge-wrap {
        justify-content: flex-start;
    }

    .todiconcard2-card.todiconcard2-layout-mobile-row .todiconcard2-badge {
        text-align: left;
    }

    .todiconcard2-card.todiconcard2-layout-mobile-row .todiconcard2-separator {
        align-self: stretch;
        border-right-width: 2.5px;
        border-bottom-width: 0;
        border-top-width: 0;
        border-left-width: 0;
        margin: 0 2px;
    }

    .todiconcard2-card.todiconcard2-layout-mobile-row .todiconcard2-right-col {
        flex: 1;
        display: flex;
        align-items: center;
    }

    .todiconcard2-card.todiconcard2-layout-mobile-row .todiconcard2-text {
        text-align: left;
        font-size: 15px;
    }

    /* 2. Vertical Layout (Mobile Column) */
    .todiconcard2-card.todiconcard2-layout-mobile-column {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 16px;
        padding: 24px 18px;
    }

    .todiconcard2-card.todiconcard2-layout-mobile-column .todiconcard2-left-col {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 12px;
        width: 100%;
    }

    .todiconcard2-card.todiconcard2-layout-mobile-column .todiconcard2-badge-wrap {
        justify-content: center;
    }

    .todiconcard2-card.todiconcard2-layout-mobile-column .todiconcard2-badge {
        text-align: center;
    }

    .todiconcard2-card.todiconcard2-layout-mobile-column .todiconcard2-separator {
        width: 100%;
        border-bottom-width: 2.5px;
        border-right-width: 0;
        border-top-width: 0;
        border-left-width: 0;
        margin: 4px 0;
    }

    .todiconcard2-card.todiconcard2-layout-mobile-column .todiconcard2-right-col {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .todiconcard2-card.todiconcard2-layout-mobile-column .todiconcard2-text {
        text-align: center;
        font-size: 16px;
    }
}
