/* =========================================================
   Process Steps Carousel Widget Styles
   ========================================================= */

.psw-wrapper {
    position: relative;
    width: 100%;
    overflow: visible;
}

.psw-swiper {
    width: 100%;
    overflow: hidden;
    padding: 10px 0 30px;
}

.psw-swiper .swiper-wrapper {
    align-items: stretch;
}

.psw-swiper .swiper-slide {
    height: auto;
    display: flex;
}

/* ---- Slide Box ---- */
.psw-slide {
    background: #fff;
    border-radius: 20px;
    padding: 30px 25px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.psw-slide:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

/* ---- Step Label ---- */
.psw-step-label-wrap {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 10px;
}

.psw-step-label {
    display: inline-block;
    background-color: #C8D62C;
    color: #14202A;
    padding: 6px 16px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 14px;
    line-height: 1.2;
}

/* ---- Icon / Lottie ---- */
.psw-icon-wrap {
    width: 200px;
    height: 200px;
    margin: 20px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.psw-icon-wrap svg,
.psw-icon-wrap lottie-player,
.psw-icon-wrap img {
    max-width: 100%;
    max-height: 100%;
}

.psw-icon-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f0f0f0, #e0e0e0);
    border-radius: 50%;
}

/* ---- Accordion ---- */
.psw-accordion {
    margin-top: auto;
    width: 100%;
}

.psw-accordion-item {
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #eee;
}

.psw-accordion-summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background-color: #F5F5F5;
    color: #14202A;
    font-weight: 600;
    font-size: 16px;
    user-select: none;
    transition: background-color 0.3s ease;
}

.psw-accordion-summary::-webkit-details-marker {
    display: none;
}

.psw-accordion-summary::marker {
    display: none;
}

.psw-accordion-summary:hover {
    background-color: #ebebeb;
}

.psw-accordion-title {
    flex: 1;
    text-align: left;
}

.psw-accordion-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-left: 10px;
}

.psw-accordion-icon svg {
    width: 14px;
    height: 14px;
    fill: #14202A;
    transition: transform 0.3s ease;
}

.psw-accordion-icon .psw-icon-open {
    display: none;
}

.psw-accordion-item[open] .psw-accordion-icon .psw-icon-closed {
    display: none;
}

.psw-accordion-item[open] .psw-accordion-icon .psw-icon-open {
    display: block;
}

.psw-accordion-content {
    padding: 16px 20px;
    background-color: #fff;
    color: #555;
    font-size: 15px;
    line-height: 1.6;
    animation: pswFadeIn 0.4s ease;
}

.psw-accordion-content p {
    margin: 0 0 10px;
}

.psw-accordion-content p:last-child {
    margin-bottom: 0;
}

.psw-accordion-content a {
    color: inherit;
    text-decoration: underline;
}

@keyframes pswFadeIn {
    from { opacity: 0; transform: translateY(-5px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ---- Navigation Arrows ---- */
.psw-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: #14202A;
    border: none;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease, transform 0.3s ease;
    padding: 0;
}

.psw-nav-btn:hover {
    transform: translateY(-50%) scale(1.1);
}

.psw-nav-btn svg {
    width: 50%;
    height: 50%;
    fill: #fff;
}

.psw-nav-prev {
    left: -20px;
}

.psw-nav-next {
    right: -20px;
}

.psw-nav-btn.swiper-button-disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

/* ---- Pagination ---- */
.psw-pagination {
    text-align: center;
    margin-top: 20px;
    position: relative;
    bottom: 0;
}

.psw-pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background-color: #14202A;
    opacity: 0.3;
    transition: all 0.3s ease;
}

.psw-pagination .swiper-pagination-bullet-active {
    opacity: 1;
    background-color: #C8D62C;
    width: 24px;
    border-radius: 5px;
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
    .psw-nav-prev { left: -10px; }
    .psw-nav-next { right: -10px; }
}

@media (max-width: 767px) {
    .psw-nav-btn {
        width: 40px;
        height: 40px;
    }
    .psw-nav-prev { left: 5px; }
    .psw-nav-next { right: 5px; }

    .psw-slide {
        padding: 25px 20px;
    }

    .psw-icon-wrap {
        width: 160px;
        height: 160px;
    }
}
