body { background: #f2fdf5; font-family: Arial, sans-serif; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; min-height: 100vh; margin: 0; padding: 10px 10px 40px; /* space for footer */ position: relative; -webkit-user-select:none; /* nonaktifkan select */ -moz-user-select:none; -ms-user-select:none; user-select:none; } form { background: white; padding: 10px; border-radius: 6px; box-shadow: 0 0 8px rgba(0,0,0,0.1); max-width: 400px; width: 90%; box-sizing: border-box; text-align: center; user-select:text; /* form input bisa di select */ } h2 { margin-top: 1px; margin-bottom: 15px; text-align: center; font-size: 1.5rem; } label { font-weight: bold; display: block; margin-bottom: 6px; text-align: center; font-size: 1rem; } input[type="text"] { width: 100%; box-sizing: border-box; font-family: monospace; font-size: 1.8rem; padding: 6px; margin-bottom: 1px; border-radius: 8px; border: 1px solid #ccc; text-align: center; user-select:text; } /* Container baris biaya/kode unik/nominal */ .info-row { margin: 10px auto 8px auto; max-width: 400px; width: 90%; display: flex; gap: 4px; justify-content: center; font-size: 0.7rem; flex-wrap: nowrap; /* tetap 1 baris */ } .info-box { background: #e6f0ea; padding: 8px 12px; border-radius: 8px; box-shadow: 0 1px 5px rgba(0,0,0,0.1); color: #2d6a4f; font-weight: 600; text-align: center; user-select: text; min-width: 100px; flex-shrink: 0; } .info-box.biaya { background: #d7e8d5; color: #1b3a2a; font-size: 0.7rem; flex-basis: 40%; } .info-box.kode-unik { background: #f0f7f0; color: #4a7f4a; font-size: 0.7rem; flex-basis: 40%; margin-bottom: 0px; } .info-box.nominal-final { background: #bad5bb; color: #155214; margin-top: 0px; font-size: 1rem; font-weight: 500; flex-basis: 60%; } .error { color: #b00020; font-weight: bold; margin-bottom: 1px; text-align: center; font-size: 1rem; } .qr-code { margin-top: 1px; text-align: center; width: 90%; max-width: 400px; user-select:none; } .qr-code h3 { margin-top: 1px; font-size: 1.2rem; margin-bottom: 10px; } .qr-code img { width: 60%; height: auto; max-width: 400px; border-radius: 10px; box-shadow: 0 0 10px rgba(0,0,0,0.15); user-select:none; } .btns { margin-top: 10px; display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; } button { cursor: pointer; padding: 10px 15px; font-size: 1rem; border-radius: 6px; border: none; background: #2d6a4f; color: white; transition: background 0.3s ease; user-select:none; } button:hover { background: #1b3a2a; } footer { position: fixed; bottom: 0; width: 100%; background: #2d6a4f; color: #d7e8d5; text-align: center; padding: 8px 0; font-size: 0.9rem; font-weight: 600; font-family: Arial, sans-serif; user-select: none; box-shadow: 0 -2px 8px rgba(0,0,0,0.1); } @media (max-width: 480px) { body { padding: 15px 10px 60px; } form { padding: 15px; } h2 { font-size: 1.25rem; } label, input[type="text"], .error { font-size: 0.9rem; } .qr-code h3 { font-size: 1rem; } .info-row { flex-direction: column; gap: 10px; max-width: 100%; flex-wrap: wrap; } .info-box.biaya, .info-box.kode-unik, .info-box.nominal-final { flex-basis: 100%; } }