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

.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;
}

/* ---- Love Gift cards row ---- */
.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;
    background: var(--surface);
    color: var(--primary-font-color);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-md);
}

.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;
}

/* tombol Love Gift: LIGHT hitam, DARK putih */
.wishas div:nth-of-type(1) > div figure button {
    padding: 0.4rem 1rem;
    border: 1px solid var(--border);
    border-radius: 10px;
    cursor: pointer;
    transition: var(--transition-small);
    background: #000;
    color: #fff;
}
[data-theme="dark"] .wishas div:nth-of-type(1) > div figure button {
    background: #fff;
    color: #000;
    border-color: #1f2937;
}
.wishas div:nth-of-type(1) > div figure button:hover {
    transform: translateY(-1px);
}

/* ---- Form box (Ucapan & Doa) ---- */
.wishas div:nth-of-type(2){
    margin-top: 2rem;
    border-radius: 15px;
    padding: 2rem 4rem 4rem;
    background: var(--surface);
    color: var(--primary-font-color);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-md);
}

.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;
    background: var(--surface);
    color: var(--primary-font-color);
    border: 1px solid var(--border);
}
.wishas div:nth-of-type(2) > form input::placeholder,
.wishas div:nth-of-type(2) > form textarea::placeholder {
    color: var(--muted);
}

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

/* tombol submit: LIGHT hitam, DARK putih */
.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: 1px solid var(--border);
    cursor: pointer;
    transition: var(--transition-small);
}
.wishas div:nth-of-type(2) > form button:hover { transform: translateY(-1px); }

[data-theme="dark"] .wishas div:nth-of-type(2) > form button {
    background-color: #fff;
    color: #000;
    border-color: #1f2937;
}

/* ---- List ucapan (tanpa box di item) ---- */
.wishas div:nth-of-type(3) {
    margin-top: 2rem;
    padding: 2rem 4rem;
    /* hilangkan latar/border/shadow biar bersih */
    background: none;
    border: none;
    box-shadow: none;
    color: var(--primary-font-color);
}

.wishas div:nth-of-type(3) ul {
    margin-top: 1.4rem;
    width: 100%;
    display: flex;
    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;
    gap: 1rem;
    background: none;
    border: none;
    box-shadow: none;
}

.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;
    background: var(--accent); /* avatar tetap ada warna */
}

.wishas div:nth-of-type(3) ul li div:nth-of-type(2){
    margin: 0.4rem 0 0;
    padding: 0;
    text-align: start;
    background: none;
    border: none;
    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;
    color: var(--muted);
}

.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;
}

/* Pager di bawah list */
.wishas div:nth-of-type(3) .button-grup {
    margin: 1rem auto 0;
    border: 1px solid var(--border);
    border-radius: 4px;
    background-color: var(--surface);
    width: fit-content;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
}

.wishas div:nth-of-type(3) .button-grup > span {
    background-color: rgba(0,0,0,0.08);
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-font-color);
}
[data-theme="dark"] .wishas div:nth-of-type(3) .button-grup > span {
    background-color: rgba(255,255,255,0.08);
}

/* tombol prev/next pager */
.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;
    color: var(--primary-font-color);
    transition: var(--transition-small);
}
.wishas div:nth-of-type(3) .button-grup  button:hover {
    transform: translateY(-1px);
    opacity: .9;
}

/* Waves ikut warna tema */
.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;
}
.wishas svg path { fill: var(--wave-color); }
