/* Reset dasar */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

/* Body styling */
body {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background: linear-gradient(to bottom, rgb(175, 144, 76), rgb(125, 92, 46));
    color: #fff;
    padding: 20px;
}

/* Container utama */
.container {
    display: flex;
    flex-direction: column; /* Susunan vertikal */
    background: rgba(255, 255, 255, 0.9);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    width: 100%;
    max-width: 400px; /* Lebar maksimal untuk responsif */
    align-items: center;
    text-align: center;
}

/* Judul */
.form-container h2 {
    margin-bottom: 10px;
    font-size: 24px;
    color: rgb(175, 144, 76);
}

/* Gambar QR Code */
.image-container {
    margin-bottom: 10px;
}

.image-container img {
    max-width: 180px;
    max-height: 180px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Input styling */
.input-field {
    width: 100%;
    padding: 14px;
    margin: 10px 0;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-sizing: border-box;
    font-size: 16px;
}

.input-field:focus {
    border-color: rgb(175, 144, 76);
    outline: none;
    box-shadow: 0 0 5px rgba(175, 147, 76, 0.5);
}

/* Tombol */
.button {
    width: 100%;
    padding: 14px;
    background-color: rgb(175, 144, 76);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.button:hover {
    background-color: rgb(165, 134, 66);
}

/* Pesan error */
.error {
    color: red;
    margin-top: 15px;
    font-size: 14px;
}

/* Notice */
.notice {
    color: black;
    font-size: 12px;
}

/* 🔹 RESPONSIF UNTUK SMARTPHONE */
@media (max-width: 600px) {
    .container {
        width: 100%;
        max-width: 350px; /* Lebar maksimum di smartphone */
        padding: 20px;
    }

    .image-container img {
        max-width: 150px; /* Perkecil ukuran QR Code di smartphone */
        max-height: 150px;
    }
}
