/* --- FORM PAGE STYLING - HILANGKAN BINGKAI RANGKAP --- */

body {
    background-color: var(--bg-color, #d1c7ba);
    color: var(--text-color, #4a4239);
    margin: 0;
    padding: 20px;
    font-family: sans-serif;
}

.container {
    max-width: 400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.header-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 25px;
    width: 100%;
}

.btn-back {
    align-self: flex-start;
    margin-bottom: 15px;
    text-decoration: none;
    color: var(--text-color);
    font-weight: bold;
    font-size: 14px;
}

/* ✅ PERBAIKAN: Hapus border di wrapper agar tidak rangkap dengan gambar */
.avatar-wrapper {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    border: none; /* ❌ HAPUS garis luar yang rangkap */
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent; /* Hapus latar putih agar pas */
}

.profile-avatar {
    width: 100%;
    height: 100%;
    object-fit: contain; /* ✅ Gambar lingkaran utuh, tidak terpotong */
    object-position: center;
    margin: 0;
    display: block;
    border: none !important;
}

.header-text { text-align: center; }
.header-text h1 { margin: 0; font-size: 24px; color: var(--text-color); }
.header-text p { font-size: 13px; opacity: 0.7; margin: 5px 0 0; }

/* Bingkai Formulir - tetap 1 garis saja */
.form-section {
    width: 100%;
    padding: 25px;
    border: 2px solid var(--accent-color, #4a3c30);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.1);
    box-sizing: border-box;
    margin-bottom: 30px;
}

.form-group { margin-bottom: 15px; }
.form-group label { display: block; font-weight: bold; margin-bottom: 5px; font-size: 14px; color: var(--text-color); }

.form-group input, 
.form-group textarea {
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    border: 1px solid var(--accent-color, #4a3c30);
    background: rgba(255, 255, 255, 0.3);
    color: var(--text-color);
    box-sizing: border-box;
    font-size: 14px;
}

textarea { resize: vertical; }

::placeholder {
    color: rgba(74, 66, 57, 0.5);
}

.btn-kirim {
    width: 100%;
    padding: 15px;
    background-color: var(--accent-color, #4a3c30);
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: bold;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s;
}

.btn-kirim:hover { background-color: #3e3328; }

.bio-footer {
    width: 100%;
    text-align: center;
    margin-top: auto;
    padding-top: 20px;
    font-size: 12px;
    opacity: 0.6;
    color: var(--text-color);
}

.bio-footer a {
    color: inherit;
    text-decoration: none;
    font-weight: bold;
}
