.wishas {
    width: 100%;
    min-height: 100vh;
    padding: 4rem 8rem;
    background-color: var(--bg-color);
    position: relative;
    text-align: center;
}

.wishas div:nth-of-type(1) h2, .wishas div:nth-of-type(2) h2 {
    font-size: var(--fontSize-heading-base);
    font-family: var(--sacramento);
    font-weight: 400;
}

.wishas div:nth-of-type(1) > div {
    margin-top: 1rem;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.wishas div:nth-of-type(1) > div figure {
    width: 24rem;
    text-align: center;
    border-radius: 15px;
    padding: 1rem 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1), 0 -1px 1px rgba(0, 0, 0, 0.1);
}

.wishas div:nth-of-type(1) > div figure img {
    width: 10rem;
    height: 3rem;
    object-fit: contain;
    margin-bottom: 1rem;
}

.wishas div:nth-of-type(1) > div figure figcaption {
    line-height: 1.8rem;
    margin-bottom: 1rem;
}

.wishas div:nth-of-type(1) > div figure button {
    padding: 0.4rem 1rem;
    border: 1px solid #000;
    background-color: #fff;
    border-radius: 10px;
    cursor: pointer;
    transition: var(--transition-small);
}

.wishas div:nth-of-type(1) > div figure button:hover {
    background-color: #000;
    color: #fff;
}

.wishas div:nth-of-type(2){
    margin-top: 2rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1), 0 -1px 1px rgba(0, 0, 0, 0.1);
    border-radius: 15px;
    padding: 2rem 4rem 4rem;
}

.wishas div:nth-of-type(2) > form {
    margin-top: 1rem;
    width: 100%;
    display: flex;
    align-items: start;
    justify-content: start;
    flex-direction: column;
}

.wishas div:nth-of-type(2) > form label {
    display: block;
    margin-top: 1.4rem;
    margin-bottom: 4px;
}

.wishas div:nth-of-type(2) > form input,
.wishas div:nth-of-type(2) > form select,
.wishas div:nth-of-type(2) > form textarea {
    width: 100%;
    padding: 0.6rem 1rem;
    border-radius: 5px;
    border: 1px solid #000;
}

.wishas div:nth-of-type(2) > form textarea {
    min-height: 6rem;
}

.wishas div:nth-of-type(2) > form button {
    width: 100%;
    color: #fff;
    background-color: #000;
    padding: 0.6rem 0;
    border-radius: 5px;
    margin-top: 1rem;
    border: none;
    cursor: pointer;
}

.wishas div:nth-of-type(3) {
    margin-top: 2rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1), 0 -1px 1px rgba(0, 0, 0, 0.1);
    border-radius: 15px;
    padding: 2rem 4rem;
}

.wishas div:nth-of-type(3) ul {
    margin-top: 1.4rem;
    width: 100%;
    display: flex;
    align-items: start;
    justify-content: start;
    flex-direction: column;
    gap: 1rem;
    min-height: 26rem;
    max-height: 30rem;
    overflow-y: hidden;
}

.wishas div:nth-of-type(3) ul li {
    display: flex;
    align-items: start;
    justify-content: start;
    gap: 1rem;
}

.wishas div:nth-of-type(3) ul li div:nth-of-type(1){
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #fff;
}

.wishas div:nth-of-type(3) ul li div:nth-of-type(2){
    margin: 0.4rem 0 0;
    padding: 0;
    text-align: start;
    box-shadow: none;
}

.wishas div:nth-of-type(3) ul li div:nth-of-type(2) h4 {
    font-size: 1rem;
    font-weight: 400;
}

.wishas div:nth-of-type(3) ul li div:nth-of-type(2) p:nth-of-type(1){
    font-size: 0.6rem;
    font-weight: 300;
    line-height: 1rem;
}

.wishas div:nth-of-type(3) ul li div:nth-of-type(2) p:nth-of-type(2){
    margin-top: 0.4rem;
    font-weight: 300;
    font-size: 0.8rem;
}

.wishas div:nth-of-type(3) .button-grup {
    margin: 1rem auto 0;
    border: 1px solid #000;
    border-radius: 4px;
    background-color: #fff;
    width: fit-content;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wishas div:nth-of-type(3) .button-grup > span {
    background-color: #d5d2d2;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wishas div:nth-of-type(3) .button-grup  button {
    padding: 0.5rem 1rem;
    border: none;
    background:none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
}

.wishas svg:nth-of-type(1){
    position: absolute;
    z-index: -10;
    top: -12rem;
    left: 0;
    right: 0;
}

.wishas svg:nth-of-type(2) {
    position: absolute;
    z-index: -10;
    left: 0;
    right: 0;
    bottom: -15rem;
}


/* Loading Popup RSVP */
.loading-popup {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.loading-popup.active {
    opacity: 1;
    visibility: visible;
}

.loading-popup-content {
    background-color: #ffffff;
    border-radius: 24px;
    padding: 1.5rem 1.2rem 1.6rem;
    width: 88%;
    max-width: 320px;
    text-align: center;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
    transform: scale(0.85);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.loading-popup.active .loading-popup-content {
    transform: scale(1);
}

.loading-popup-content img {
    width: 100%;
    max-width: 260px;
    height: auto;
    object-fit: contain;
    animation: loadingFloat 2.2s ease-in-out infinite;
}

.loading-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.8rem;
}

.loading-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #e0aa3e;
    display: inline-block;
    animation: loadingBounce 1.4s infinite ease-in-out both;
}

.loading-dots span:nth-child(1) {
    animation-delay: -0.32s;
}

.loading-dots span:nth-child(2) {
    animation-delay: -0.16s;
}

@keyframes loadingFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

@keyframes loadingBounce {
    0%, 80%, 100% {
        transform: scale(0.6);
        opacity: 0.35;
    }
    40% {
        transform: scale(1.15);
        opacity: 1;
    }
}


/* DANA Custom Card */
.wishas div:nth-of-type(1) > div figure.bank-card {
    width: 100%;
    max-width: 24rem;
    padding: 0.8rem;
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
}

.wishas div:nth-of-type(1) > div figure .bank-card-img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    object-fit: cover;
    margin-bottom: 0;
}

.wishas div:nth-of-type(1) > div figure.bank-card button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.55rem 1.4rem;
    background-color: #118eea;
    color: #fff;
    border: none;
    border-radius: 20px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(17, 142, 234, 0.25);
    transition: var(--transition-small);
}

.wishas div:nth-of-type(1) > div figure.bank-card button:hover {
    background-color: #0b72be;
    transform: translateY(-2px);
}
