/* --- FORM PAGE STYLING - SESUAI STYLE & POSISI TOMBOL --- */

body {
    background-color: var(--bg-color, #c2b4a3);
    color: var(--text-color, #33291e);
    margin: 0;
    padding: 20px;
    font-family: 'Segoe UI', sans-serif;
}

.container {
    max-width: 600px; /* ← lebih lebar dari index */
    margin: 0 auto;
    padding: 0 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* ✅ TOMBOL KEMBALI SAMA PERSIS HALAMAN GALERI */
.galeri-back {
    align-self: flex-start;
    margin-bottom: 33px;
    color: var(--accent-color, #685644);
    font-weight: bold;
    text-decoration: none;
    font-size: 16px;
}

.header-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 25px;
    width: 100%;
}

/* ✅ FOTO PROFIL: Bingkai & kilauan SAMA PERSIS halaman index */
.avatar-wrapper {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #fff; /* Tebal garis putih sama persis */
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    /* Efek kilau denyut sama persis index */
    animation: avatarPulse 2s infinite ease-in-out;
}

.profile-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Sesuai index */
    object-position: center;
    display: block;
    border: none !important;
}

.header-text { text-align: center; }
/* ✅ JUDUL PAKAI MONTSERRAT */
.header-text h1 { margin: 0; font-size: 24px; color: #33291e; font-family: 'Montserrat', sans-serif; font-weight: 700; }
.header-text p { font-size: 13px; opacity: 0.85; margin: 5px 0 0; color: #685644; }


/* ✅ BINGKAI FORM: WARNA LATAR SAMA TOMBOL, BINGKAI PUTIH BERKILAU */
.form-section {
    width: 100%;
    padding: 25px;
    border: 2px solid var(--border-glow, #ffffff);
    border-radius: 20px;
    background: var(--accent-color, #685644); /* ✅ SAMA WARNA TOMBOL */
    box-sizing: border-box;
    margin-bottom: 30px;
    animation: framePulse 3s infinite ease-in-out;
}

.form-group { margin-bottom: 15px; }
.form-group label { 
    display: block; 
    font-weight: bold; 
    margin-bottom: 5px; 
    font-size: 14px; 
    color: #fff; /* ✅ Tulisan putih di latar gelap */
}

.form-group input, 
.form-group textarea {
    width: 100%;      /* pastikan ini tetap 100% */
    padding: 14px;     /* naikkan sedikit agar tinggi juga bertambah */
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.4);
    background: rgba(255, 255, 255, 0.3);
    color: #fff;
    box-sizing: border-box;
    font-size: 14px;
}

textarea { resize: vertical; }

.form-group textarea {
    min-height: 130px; /* ubah angka ini untuk tinggi minimal */
    resize: vertical;   /* boleh diubah ukuran pakai mouse */
}

::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.btn-kirim {
    width: 100%;
    padding: 15px;
    background-color: #f0e9df; /* Putih kekuningan */
    color: #685644;            /* Tulisan coklat utama */
    border: none;
    border-radius: 10px;
    font-weight: bold;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s;
}
.btn-kirim:hover {
    background-color: #e6ded2;
}

.bio-footer {
    width: 100%;
    text-align: center;
    margin-top: auto;
    padding-top: 20px;
    font-size: 13px;
    color: var(--accent-color);
}

.bio-footer a {
    color: inherit;
    text-decoration: none;
    font-weight: bold;
}

/* ✅ Animasi kilau SAMA DENGAN index */
@keyframes avatarPulse {
    0%, 100% { box-shadow: 0 0 8px rgba(255, 255, 255, 0.3); }
    50% { box-shadow: 0 0 22px rgba(255, 255, 255, 0.9); }
}
