/* ============================================
   Indscope Tabs Pro - Front Styles
   Built by AR Nayak (Indscope)
   ============================================ */

/* ====== SHARED ====== */
.itp-radial-tab-inner,
.itp-htab-inner,
.itp-rsc-tab-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 12px;
    box-sizing: border-box;
    cursor: pointer;
    transition: background .3s ease, color .3s ease, box-shadow .3s ease, transform .3s ease;
}

.itp-radial-tab-item,
.itp-htab-item,
.itp-rsc-tab-item,
.itp-vt-tab-item {
    cursor: pointer;
}

.itp-radial-tab-img,
.itp-htab-img {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    line-height: 1;
}

.itp-radial-tab-img img,
.itp-htab-img img { max-width: 100%; display: block; }

.itp-radial-tab-title,
.itp-htab-title {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
}

/* ====== WIDGET 1: RADIAL (Circle of tabs + center arrows) ====== */
.itp-radial-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.itp-radial-circle {
    position: relative;
    margin: 0 auto;
    max-width: 100%;
}

.itp-radial-tab-item {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 2;
}

.itp-arrow,
.itp-rsc-arrow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 50px !important;
    height: 50px !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    border-radius: 50% !important;
    background: #ffffff;
    color: #333333;
    cursor: pointer;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
    box-shadow: 0 4px 12px rgba(0,0,0,.15);
    transition: all .3s ease;
    z-index: 3;
    box-sizing: border-box !important;
    flex-shrink: 0;
    font-size: 0;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
}

.itp-arrow svg,
.itp-rsc-arrow svg {
    width: 22px !important;
    height: 22px !important;
    display: block !important;
    stroke: currentColor !important;
    fill: none !important;
    stroke-width: 2.5 !important;
}

.itp-arrow-prev { transform: translate(calc(-100% - 8px), -50%) !important; }
.itp-arrow-next { transform: translate(8px, -50%) !important; }

.itp-radial-content {
    width: 100%;
    overflow: hidden;
}

.itp-radial-content-panel,
.itp-htab-panel,
.itp-rsc-block-panel,
.itp-vt-block-panel {
    display: none;
    animation: itp-fade-in .4s ease;
}

.itp-radial-content-panel.itp-active,
.itp-htab-panel.itp-active,
.itp-rsc-block-panel.itp-active,
.itp-vt-block-panel.itp-active {
    display: block;
}

/* ====== WIDGET 2: HORIZONTAL TABS ====== */
.itp-htab-wrapper {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.itp-htab-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.itp-htab-content {
    width: 100%;
    overflow: hidden;
}

/* ====== WIDGET 3: RADIAL + SIDE CONTENT ====== */
.itp-rsc-wrapper {
    display: flex;
    align-items: center;
    width: 100%;
    flex-wrap: wrap;
}

.itp-rsc-block {
    flex: 0 0 45%;
    max-width: 45%;
    box-sizing: border-box;
}

.itp-rsc-tabs-area {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.itp-rsc-circle {
    position: relative;
    max-width: 100%;
}

.itp-rsc-tab-item {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 2;
}

.itp-rsc-tab-inner {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;
    padding: 8px;
    box-sizing: border-box;
}

.itp-rsc-headline {
    margin: 0 0 20px;
    font-size: 36px;
    font-weight: 800;
    line-height: 1.15;
}

.itp-rsc-image {
    position: relative;
    width: 100%;
    aspect-ratio: 16/10;
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 16px;
}

.itp-rsc-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.itp-rsc-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.35);
    pointer-events: none;
}

.itp-rsc-name {
    position: absolute;
    bottom: 20px;
    left: 24px;
    z-index: 2;
    font-size: 36px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.05;
    text-shadow: 0 2px 12px rgba(0,0,0,.4);
}

.itp-rsc-desc {
    margin: 0 0 22px;
    font-size: 15px;
    line-height: 1.6;
}

.itp-rsc-btn,
.itp-vt-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 28px;
    background: linear-gradient(135deg, #1e5fbf 0%, #d91e5f 100%);
    color: #ffffff;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: transform .3s ease, box-shadow .3s ease;
}

.itp-rsc-btn:hover,
.itp-vt-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(217, 30, 95, .35);
}

.itp-rsc-btn svg,
.itp-vt-btn svg,
.itp-card-btn svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2.5;
}

/* Vertical / Horizontal arrow groups for radial side widget */
.itp-rsc-arrows-vertical .itp-rsc-arrow-prev { transform: translate(-50%, calc(-100% - 8px)) !important; }
.itp-rsc-arrows-vertical .itp-rsc-arrow-next { transform: translate(-50%, 8px) !important; }
.itp-rsc-arrows-horizontal .itp-rsc-arrow-prev { transform: translate(calc(-100% - 8px), -50%) !important; }
.itp-rsc-arrows-horizontal .itp-rsc-arrow-next { transform: translate(8px, -50%) !important; }

/* ====== WIDGET 4: VERTICAL TABS ====== */
.itp-vt-wrapper {
    display: flex;
    width: 100%;
    align-items: flex-start;
    flex-wrap: wrap;
}

.itp-vt-side-right { flex-direction: row-reverse; }

.itp-vt-tabs-col {
    flex: 0 0 280px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.itp-vt-tab-item {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 70px;
    padding: 14px 20px;
    background: #f5f5f5;
    color: #222;
    border-radius: 8px;
    transition: background .3s ease, color .3s ease, transform .3s ease;
    cursor: pointer;
}

.itp-vt-shape-circular .itp-vt-tab-item {
    border-radius: 50px;
}

.itp-vt-tab-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.itp-vt-block {
    flex: 1;
    min-width: 0;
}

.itp-vt-headline {
    margin: 0 0 20px;
    font-size: 32px;
    font-weight: 800;
    line-height: 1.2;
}

.itp-vt-image {
    position: relative;
    width: 100%;
    aspect-ratio: 16/10;
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 16px;
}

.itp-vt-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.itp-vt-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.35);
    pointer-events: none;
}

.itp-vt-name {
    position: absolute;
    bottom: 20px;
    left: 24px;
    z-index: 2;
    font-size: 32px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.05;
    text-shadow: 0 2px 12px rgba(0,0,0,.4);
}

.itp-vt-desc {
    margin: 0 0 22px;
    font-size: 15px;
    line-height: 1.6;
}

/* ====== CARD CAROUSEL (shared) ====== */
.itp-carousel {
    width: 100%;
    padding: 10px 0 30px;
    position: relative;
}

.itp-card {
    background: #ffffff;
    border: 1px solid #eeeeee;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: box-shadow .3s ease, transform .3s ease;
}

.itp-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,.08);
    transform: translateY(-4px);
}

.itp-card-img {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fafafa;
}

.itp-card-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 16px;
    box-sizing: border-box;
}

.itp-card-body {
    padding: 18px 20px 22px;
    display: flex;
    flex-direction: column;
    flex: 1;
    position: relative;
}

.itp-card-title {
    font-size: 17px;
    font-weight: 700;
    margin: 0 0 8px;
    color: #222;
    line-height: 1.3;
}

.itp-card-desc {
    font-size: 14px;
    color: #555;
    margin: 0 0 16px;
    line-height: 1.55;
    flex: 1;
}

.itp-card-btn {
    align-self: flex-end;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1e5fbf 0%, #d91e5f 100%);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform .3s ease, box-shadow .3s ease;
}

.itp-card-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 14px rgba(217, 30, 95, .35);
}

.itp-carousel .swiper-button-prev,
.itp-carousel .swiper-button-next {
    width: 44px;
    height: 44px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0,0,0,.15);
    color: #333;
}

.itp-carousel .swiper-button-prev::after,
.itp-carousel .swiper-button-next::after {
    font-size: 16px;
    font-weight: 700;
}

/* ====== Animations ====== */
@keyframes itp-fade-in {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ====== Mobile ====== */
@media (max-width: 991px) {
    .itp-rsc-block,
    .itp-vt-tabs-col {
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }
    .itp-rsc-tabs-area {
        margin-top: 24px;
    }
    .itp-rsc-headline,
    .itp-vt-headline {
        font-size: 28px;
    }
    .itp-rsc-name,
    .itp-vt-name {
        font-size: 26px;
    }
}

@media (max-width: 767px) {
    .itp-radial-circle,
    .itp-rsc-circle {
        width: 100% !important;
        height: auto !important;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px;
        padding: 0 10px;
    }
    .itp-radial-tab-item,
    .itp-rsc-tab-item {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        transform: none !important;
    }
    .itp-arrow,
    .itp-rsc-arrow {
        position: static !important;
        transform: none !important;
        margin: 8px !important;
    }
}

/* ============================================
   v2.1.0 ADDITIONS
   ============================================ */

/* ====== VT: Circular Mode ====== */
.itp-vt-shape-circular .itp-vt-tabs-col {
    flex-direction: column;
}

.itp-vt-tab-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.itp-vt-tab-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #f5f5f5;
    color: #222;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .3s ease, color .3s ease, transform .3s ease, box-shadow .3s ease;
    flex-shrink: 0;
}

.itp-vt-tab-wrap:hover .itp-vt-tab-circle {
    transform: scale(1.05);
}

.itp-vt-tab-circle .itp-vt-tab-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.itp-vt-circle-label {
    position: relative;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    color: #222;
    line-height: 1.3;
    padding-bottom: 8px;
    transition: color .3s ease;
}

/* Underline (animates in on active) */
.itp-vt-circle-label::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    transform-origin: center;
    width: 70%;
    height: 3px;
    background-color: #1e5fbf;
    border-bottom: 0 solid #1e5fbf;
    transition: transform .35s cubic-bezier(.4, 0, .2, 1), opacity .35s ease;
    opacity: 0;
}

.itp-vt-tab-wrap.itp-active .itp-vt-circle-label::after {
    transform: translateX(-50%) scaleX(1);
    opacity: 1;
}

/* Underline style variants */
.itp-vt-underline-dashed .itp-vt-circle-label::after {
    background-color: transparent;
    height: 0 !important;
    border-bottom: 3px dashed currentColor;
}
.itp-vt-underline-dotted .itp-vt-circle-label::after {
    background-color: transparent;
    height: 0 !important;
    border-bottom: 3px dotted currentColor;
}
.itp-vt-underline-double .itp-vt-circle-label::after {
    background-color: transparent;
    height: 0 !important;
    border-bottom: 5px double currentColor;
}
.itp-vt-underline-gradient .itp-vt-circle-label::after {
    background: linear-gradient(90deg, #1e5fbf 0%, #d91e5f 100%);
    border-radius: 2px;
}

/* If underline disabled */
.itp-vt-wrapper:not(.itp-vt-has-underline) .itp-vt-circle-label::after {
    display: none;
}

/* ====== WIDGET 5: ROUND TABS SHOWCASE ====== */
.itp-rts-wrapper {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 40px;
}

.itp-rts-dir-vertical {
    flex-direction: row;
    align-items: flex-start;
}

.itp-rts-dir-vertical .itp-rts-tabs {
    flex: 0 0 auto;
    flex-direction: column;
}

.itp-rts-dir-vertical .itp-rts-content-wrap {
    flex: 1;
    min-width: 0;
}

.itp-rts-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: flex-start;
    justify-content: center;
}

.itp-rts-tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.itp-rts-tab-circle {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: #f5f5f5;
    color: #444;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .3s ease, color .3s ease, transform .3s ease, box-shadow .3s ease;
    flex-shrink: 0;
}

.itp-rts-tab:hover .itp-rts-tab-circle {
    transform: scale(1.05);
}

.itp-rts-tab-circle i,
.itp-rts-tab-circle svg {
    font-size: 24px;
    width: 24px;
    height: 24px;
}

.itp-rts-tab-label {
    font-size: 13px;
    font-weight: 600;
    color: #222;
    text-align: center;
    transition: color .3s ease;
}

.itp-rts-content-wrap {
    width: 100%;
    background: #000;
    padding: 60px;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
}

.itp-rts-content-panel {
    display: none;
    animation: itp-fade-in .4s ease;
}

.itp-rts-content-panel.itp-active {
    display: block;
}

.itp-rts-content {
    display: flex;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
}

.itp-rts-img-right .itp-rts-content {
    flex-direction: row-reverse;
}

.itp-rts-image {
    flex: 0 0 45%;
    max-width: 45%;
}

.itp-rts-image img {
    width: 100%;
    height: auto;
    display: block;
}

.itp-rts-text {
    flex: 1;
    min-width: 0;
}

.itp-rts-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px 8px 14px;
    background: rgba(255,255,255,0.08);
    color: #fff;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 24px;
}

.itp-rts-badge::before {
    content: '';
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ffa500;
    flex-shrink: 0;
}

.itp-rts-headline {
    margin: 0 0 20px;
    color: #fff;
    font-size: 48px;
    font-weight: 800;
    line-height: 1.1;
}

.itp-rts-desc,
.itp-rts-desc p {
    color: rgba(255,255,255,0.75);
    font-size: 16px;
    line-height: 1.65;
    margin: 0 0 16px;
}

.itp-rts-desc p:last-child { margin-bottom: 0; }

.itp-rts-buttons {
    display: flex;
    gap: 16px;
    margin-top: 32px;
    flex-wrap: wrap;
}

.itp-rts-btn-1 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 36px;
    background: #1e5fbf;
    color: #fff;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: transform .3s ease, box-shadow .3s ease, background .3s ease;
}

.itp-rts-btn-1:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(30,95,191,.4);
}

.itp-rts-btn-2 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 36px;
    background: transparent;
    color: #fff;
    border: 1px solid #fff;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: transform .3s ease, background .3s ease;
}

.itp-rts-btn-2:hover {
    transform: translateY(-2px);
    background: rgba(255,255,255,0.1);
}

.itp-rts-play {
    width: 14px;
    height: 14px;
}

/* ====== RESPONSIVE (v2.1.0) ====== */
@media (max-width: 1024px) {
    .itp-rts-headline { font-size: 36px; }
    .itp-rts-content-wrap { padding: 40px; }
}

@media (max-width: 991px) {
    .itp-rts-content { flex-direction: column !important; }
    .itp-rts-image,
    .itp-rts-text {
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }
    .itp-rts-headline { font-size: 32px; }

    .itp-vt-wrapper { flex-direction: column !important; }
    .itp-vt-side-right { flex-direction: column !important; }
    .itp-vt-tabs-col {
        flex: 0 0 100% !important;
        flex-direction: row !important;
        flex-wrap: wrap;
        justify-content: center;
    }
    .itp-vt-shape-circular .itp-vt-tabs-col {
        flex-direction: row !important;
    }
}

@media (max-width: 767px) {
    .itp-rts-content-wrap { padding: 28px 20px; }
    .itp-rts-headline { font-size: 26px; }
    .itp-rts-desc { font-size: 14px; }
    .itp-rts-btn-1, .itp-rts-btn-2 { padding: 12px 22px; font-size: 14px; }

    .itp-vt-tab-circle { width: 64px; height: 64px; }
    .itp-rts-tab-circle { width: 56px; height: 56px; }
}

/* ============================================
   v2.2.0: WIDGET 6 - ROUND TABS FREE CANVAS
   ============================================ */
.itp-rtfc-wrapper {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 40px;
}

.itp-rtfc-dir-vertical {
    flex-direction: row;
    align-items: flex-start;
}

.itp-rtfc-dir-vertical.itp-rtfc-vpos-right {
    flex-direction: row-reverse;
}

.itp-rtfc-dir-vertical .itp-rtfc-tabs {
    flex: 0 0 200px;
    flex-direction: column;
}

.itp-rtfc-dir-vertical .itp-rtfc-content-wrap {
    flex: 1;
    min-width: 0;
}

.itp-rtfc-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: flex-start;
    justify-content: center;
}

.itp-rtfc-tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.itp-rtfc-tab-circle {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: #f5f5f5;
    color: #444;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .3s ease, color .3s ease, transform .3s ease, box-shadow .3s ease;
    flex-shrink: 0;
}

.itp-rtfc-tab:hover .itp-rtfc-tab-circle {
    transform: scale(1.05);
}

.itp-rtfc-tab-circle i,
.itp-rtfc-tab-circle svg {
    font-size: 24px;
    width: 24px;
    height: 24px;
}

.itp-rtfc-tab-label {
    position: relative;
    font-size: 13px;
    font-weight: 600;
    color: #222;
    text-align: center;
    transition: color .3s ease;
    padding-bottom: 6px;
}

/* Underline */
.itp-rtfc-tab-label::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    transform-origin: center;
    width: 70%;
    height: 3px;
    background-color: #1e5fbf;
    transition: transform .35s cubic-bezier(.4, 0, .2, 1), opacity .35s ease;
    opacity: 0;
}

.itp-rtfc-has-underline .itp-rtfc-tab.itp-active .itp-rtfc-tab-label::after {
    transform: translateX(-50%) scaleX(1);
    opacity: 1;
}

.itp-rtfc-underline-dashed .itp-rtfc-tab.itp-active .itp-rtfc-tab-label::after {
    background-color: transparent;
    height: 0 !important;
    border-bottom: 3px dashed currentColor;
}
.itp-rtfc-underline-dotted .itp-rtfc-tab.itp-active .itp-rtfc-tab-label::after {
    background-color: transparent;
    height: 0 !important;
    border-bottom: 3px dotted currentColor;
}
.itp-rtfc-underline-double .itp-rtfc-tab.itp-active .itp-rtfc-tab-label::after {
    background-color: transparent;
    height: 0 !important;
    border-bottom: 5px double currentColor;
}
.itp-rtfc-underline-gradient .itp-rtfc-tab.itp-active .itp-rtfc-tab-label::after {
    background: linear-gradient(90deg, #1e5fbf 0%, #d91e5f 100%);
    border-radius: 2px;
}

.itp-rtfc-wrapper:not(.itp-rtfc-has-underline) .itp-rtfc-tab-label::after {
    display: none;
}

.itp-rtfc-content-wrap {
    width: 100%;
    box-sizing: border-box;
    position: relative;
}

.itp-rtfc-content-panel {
    display: none;
}

.itp-rtfc-content-panel.itp-active {
    display: block;
}

/* Transitions */
.itp-rtfc-trans-fade .itp-rtfc-content-panel.itp-active {
    animation: itp-fade-in .4s ease;
}

.itp-rtfc-trans-slide-up .itp-rtfc-content-panel.itp-active {
    animation: itp-slide-up .4s ease;
}

.itp-rtfc-trans-slide-down .itp-rtfc-content-panel.itp-active {
    animation: itp-slide-down .4s ease;
}

.itp-rtfc-trans-zoom .itp-rtfc-content-panel.itp-active {
    animation: itp-zoom-in .4s ease;
}

.itp-rtfc-trans-none .itp-rtfc-content-panel.itp-active {
    animation: none;
}

@keyframes itp-slide-up {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes itp-slide-down {
    from { opacity: 0; transform: translateY(-20px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes itp-zoom-in {
    from { opacity: 0; transform: scale(0.95); }
    to   { opacity: 1; transform: scale(1); }
}

.itp-rtfc-empty {
    padding: 40px;
    text-align: center;
    color: #888;
    font-size: 14px;
    background: rgba(0,0,0,0.03);
    border: 2px dashed #ccc;
    border-radius: 8px;
}

@media (max-width: 991px) {
    .itp-rtfc-dir-vertical {
        flex-direction: column !important;
    }
    .itp-rtfc-dir-vertical .itp-rtfc-tabs {
        flex: 0 0 100% !important;
        flex-direction: row !important;
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 767px) {
    .itp-rtfc-tab-circle { width: 56px; height: 56px; }
}

/* ============================================
   v2.3.0: WIDGET 7 - ROUND TABS NATIVE DROPZONE
   ============================================ */
.itp-rtn-wrapper {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 40px;
}

.itp-rtn-dir-vertical {
    flex-direction: row;
    align-items: flex-start;
}

.itp-rtn-dir-vertical.itp-rtn-vpos-right {
    flex-direction: row-reverse;
}

.itp-rtn-dir-vertical .itp-rtn-tabs {
    flex: 0 0 200px;
    flex-direction: column;
}

.itp-rtn-dir-vertical .itp-rtn-content-wrap {
    flex: 1;
    min-width: 0;
}

.itp-rtn-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: flex-start;
    justify-content: center;
}

.itp-rtn-tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.itp-rtn-tab-circle {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: #f5f5f5;
    color: #444;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .3s ease, color .3s ease, transform .3s ease, box-shadow .3s ease;
    flex-shrink: 0;
}

.itp-rtn-tab:hover .itp-rtn-tab-circle {
    transform: scale(1.05);
}

.itp-rtn-tab-circle i,
.itp-rtn-tab-circle svg {
    font-size: 24px;
    width: 24px;
    height: 24px;
}

.itp-rtn-tab-label {
    position: relative;
    font-size: 13px;
    font-weight: 600;
    color: #222;
    text-align: center;
    transition: color .3s ease;
    padding-bottom: 6px;
}

.itp-rtn-tab-label::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    transform-origin: center;
    width: 70%;
    height: 3px;
    background-color: #1e5fbf;
    transition: transform .35s cubic-bezier(.4, 0, .2, 1), opacity .35s ease;
    opacity: 0;
}

.itp-rtn-has-underline .itp-rtn-tab.itp-active .itp-rtn-tab-label::after {
    transform: translateX(-50%) scaleX(1);
    opacity: 1;
}

.itp-rtn-underline-dashed .itp-rtn-tab.itp-active .itp-rtn-tab-label::after {
    background-color: transparent;
    height: 0 !important;
    border-bottom: 3px dashed currentColor;
}
.itp-rtn-underline-dotted .itp-rtn-tab.itp-active .itp-rtn-tab-label::after {
    background-color: transparent;
    height: 0 !important;
    border-bottom: 3px dotted currentColor;
}
.itp-rtn-underline-double .itp-rtn-tab.itp-active .itp-rtn-tab-label::after {
    background-color: transparent;
    height: 0 !important;
    border-bottom: 5px double currentColor;
}
.itp-rtn-underline-gradient .itp-rtn-tab.itp-active .itp-rtn-tab-label::after {
    background: linear-gradient(90deg, #1e5fbf 0%, #d91e5f 100%);
    border-radius: 2px;
}

.itp-rtn-wrapper:not(.itp-rtn-has-underline) .itp-rtn-tab-label::after {
    display: none;
}

.itp-rtn-content-wrap {
    width: 100%;
    box-sizing: border-box;
    position: relative;
}

.itp-rtn-content-panel {
    display: none;
    animation: itp-fade-in .4s ease;
}

.itp-rtn-content-panel.itp-active {
    display: block;
}

/* In editor mode, show all panels stacked so the user can drag widgets into each */
body.elementor-editor-active .itp-rtn-content-panel {
    display: block;
    border: 1px dashed rgba(255,255,255,0.15);
    margin-bottom: 12px;
    padding: 8px;
}

body.elementor-editor-active .itp-rtn-content-panel::before {
    content: 'Tab #' attr(data-index);
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.6;
    margin-bottom: 8px;
}

@media (max-width: 991px) {
    .itp-rtn-dir-vertical {
        flex-direction: column !important;
    }
    .itp-rtn-dir-vertical .itp-rtn-tabs {
        flex: 0 0 100% !important;
        flex-direction: row !important;
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 767px) {
    .itp-rtn-tab-circle { width: 56px; height: 56px; }
}
