:root {
    /* Perubahan warna dari Ungu ke Earthy Green */
    --primary-green: #2e7d32;   /* Hijau Utama */
    --dark-green: #1b4332;      /* Hijau Tua */
    --gold-accent: #bc6c25;     /* Emas Earthy */
    --light-bg: #fdfaf5;        /* Krem Hangat */
    --whatsapp-green: #25d366;
    --whatsapp-dark: #1da851;
}
* { box-sizing: border-box; }
body {
    background: url('../img/sammelanaasa.jpg') no-repeat center center fixed !important;
    background-size: cover !important;
    /* ... kode lain tetap ... */
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Poppins', sans-serif;
    height: 100vh;
    margin: 0;
}
h1 { font-weight: bold; margin: 0 0 10px 0; }
p { font-size: 13px; font-weight: 300; line-height: 20px; letter-spacing: 0.5px; margin: 5px 0 15px 0; }
span { font-size: 12px; margin-bottom: 10px; }
.container {
    background-color: #fff;
    border-radius: 30px;
    box-shadow: 0 14px 28px rgba(0,0,0,0.1), 0 10px 10px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
    width: 1000px;
    max-width: 100%;
    min-height: 500px;
}
.overlay-container {
    position: absolute;
    top: 0;
    left: 50%;
    width: 50%;
    height: 100%;
    overflow: hidden;
    transition: transform 0.6s ease-in-out;
    z-index: 100;
    border-radius: 150px 0 0 150px; 
}
.container.right-panel-active .overlay-container {
    transform: translateX(-100%);
    border-radius: 0 150px 150px 0;
}
.overlay {
    /* Gradient Hijau */
    background: linear-gradient(rgba(27, 67, 50, 0.65), rgba(27, 67, 50, 0.65)), url('../img/sammelanaasa_welcome.png') no-repeat center center;
    background-size: cover;
    color: #FFFFFF;
    position: relative;
    left: -100%;
    height: 100%;
    width: 200%;
    transform: translateX(0);
    transition: transform 0.6s ease-in-out;
}
.container.right-panel-active .overlay {
    transform: translateX(50%);
}
.overlay-panel {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 0 40px;
    text-align: center;
    top: 0;
    height: 100%;
    width: 50%;
    transform: translateX(0);
    transition: transform 0.6s ease-in-out;
}
.overlay-left { transform: translateX(-20%); }
.container.right-panel-active .overlay-left { transform: translateX(0); }
.overlay-right { right: 0; transform: translateX(0); }
.container.right-panel-active .overlay-right { transform: translateX(20%); }
.form-container {
    position: absolute;
    top: 0;
    height: 100%;
    transition: all 0.6s ease-in-out;
}
.sign-in-container {
    left: 0;
    width: 50%;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px 40px;
}
.sign-up-container {
    left: 0;
    width: 50%;
    opacity: 0;
    z-index: 1;
}
.container.right-panel-active .sign-up-container {
    transform: translateX(100%);
    opacity: 1;
    z-index: 5;
    animation: show 0.6s;
}
@keyframes show {
    0%, 49.99% { opacity: 0; z-index: 1; }
    50%, 100% { opacity: 1; z-index: 5; }
}
form {
    background-color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 20px 50px;
    height: 100%;
    text-align: center;
}
input, select {
    background-color: #f1f3f6;
    border: none;
    padding: 10px 15px;
    margin: 4px 0;
    width: 100%;
    border-radius: 10px;
    font-family: 'Poppins';
}
.input-row { display: flex; gap: 10px; width: 100%; }
button {
    border-radius: 25px;
    border: 1px solid var(--primary-green);
    background-color: var(--primary-green);
    color: #FFFFFF;
    font-size: 12px;
    font-weight: bold;
    padding: 12px 45px;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: transform 80ms ease-in;
    cursor: pointer;
    margin-top: 15px;
}
button:active { transform: scale(0.95); }
button.ghost { background-color: transparent; border-color: #FFFFFF; }
.pay-card {
    background: #fdfdfd;
    padding: 15px;
    border-radius: 20px;
    border: 1px dashed var(--gold-accent);
    width: 100%;
    text-align: left;
}
.file-upload { width: 100%; text-align: left; margin-top: 10px; }
.file-upload label { font-size: 11px; color: #777; margin-left: 5px; }
.btn-wa {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--whatsapp-green);
    color: #fff;
    text-decoration: none;
    padding: 10px 20px;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 1px;
    border: 2px solid var(--whatsapp-dark);
    width: 94%;
    margin-top: 10px;
    border-radius: 25px;
    transition: all 0.3s ease;
}
.btn-wa:hover {
    background-color: var(--whatsapp-dark);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
    color: #fff;
}
.btn-wa i { font-size: 18px; margin-right: 10px; }

/* --- CSS ANIMASI TRUK TEMA HIJAU --- */
.order {
    appearance: none;
    border: 0;
    background: var(--dark-green); /* Tombol Truck warna Hijau Tua */
    position: relative;
    height: 64px;
    width: 280px;
    padding: 0;
    outline: none;
    cursor: pointer;
    border-radius: 32px;
    display: block;
    margin: 10px auto;
    overflow: hidden;
    transition: transform 0.3s, background 0.4s;
}
.order span {
    display: block;
    width: 100%;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 64px;
    color: #fff;
    text-align: center;
    position: relative;
    z-index: 10;
    transition: all 0.4s ease;
}
.order span.success {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transform: translateY(12px);
}
.order .box {
    width: 18px;
    height: 18px;
    background: var(--gold-accent); /* Kotak warna Emas */
    position: absolute;
    z-index: 1;
    border-radius: 2px;
    left: 42%; 
    bottom: 80px;
}
.order .truck {
    width: 60px;
    height: 41px;
    left: -80px; 
    z-index: 2;
    top: 11px;
    position: absolute;
}
.order .truck .back {
    width: 45px;
    height: 30px;
    left: 0;
    top: 0;
    background: var(--primary-green); /* Bak Truk warna Hijau */
    position: absolute;
    border-radius: 2px;
}
/* Sisanya tetap sama karena sudah sesuai strukturnya */
.order .truck .front { width: 15px; height: 25px; background: #fff; position: absolute; left: 44px; top: 5px; border-radius: 0 4px 4px 0; }
.order .truck .front .window { width: 7px; height: 8px; background: #171a22; position: absolute; right: 2px; top: 3px; border-radius: 2px; }
.order .truck:before, .order .truck:after { content: ''; position: absolute; bottom: -4px; width: 10px; height: 10px; background: #000; border-radius: 50%; }
.order .truck:before { left: 8px; }
.order .truck:after { left: 40px; }
.order .truck .light { width: 20px; height: 6px; background: linear-gradient(90deg, rgba(255, 255, 255, 0.4), transparent); position: absolute; right: -18px; opacity: 0; }
.order .truck .light.top { top: 6px; }
.order .truck .light.bottom { bottom: 14px; }
.order .lines { height: 2px; width: 120%; position: absolute; left: 0; bottom: 15px; background: repeating-linear-gradient(90deg, #fff 0, #fff 10px, transparent 10px, transparent 20px); opacity: 0; }
.order.animate .default { opacity: 0; transform: translateY(-12px); }
.order.animate .lines { opacity: 0.2; animation: lineMove 2s linear infinite; }
.order.animate .box { animation: boxMove 3.2s forwards; }
.order.animate .truck { animation: truckMove 3.2s forwards; }
.order.animate .truck .light { animation: lightsOn 3.2s forwards; }
.order.animate span.success { opacity: 1; transform: translateY(0); transition-delay: 2.8s; }
@keyframes lineMove { to { transform: translateX(-20px); } }
@keyframes boxMove {
    0%, 30% { bottom: 80px; left: 42%; opacity: 1; }
    45% { bottom: 26px; left: 42%; }
    70% { bottom: 26px; left: 42%; }
    100% { bottom: 26px; left: 127%; }
}
@keyframes truckMove {
    30%, 70% { left: 35%; }
    100% { left: 120%; }
}
@keyframes lightsOn {
    40%, 70% { opacity: 1; }
    100% { opacity: 0; }
}