* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: Arial, sans-serif;
    background-color: #f2f2f2;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}
.container {
    width: 100%;
    max-width: 500px;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
    text-align: center;
}
h1 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #333;
}
label {
    font-size: 14px;
    color: #555;
    display: block;
    margin-bottom: 8px;
    text-align: left;
}
textarea,
input,
select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin-bottom: 15px;
    font-size: 14px;
    background-color: #fff;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}
select:focus {
    outline: none;
    border-color: #4f46e5;
}
button,
.btn-download {
    display: inline-block;
    padding: 10px 20px;
    background-color: #4f46e5;
    color: #ffffff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
    margin-top: 10px;
    text-decoration: none;
}
button:hover,
.btn-download:hover {
    background-color: #4338ca;
}
.card {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
    margin-top: 20px;
    text-align: center;
}
.card h2 {
    font-size: 18px;
    color: #333;
    margin-bottom: 15px;
}
#qrPreview {
    padding: 10px;
    background-color: #ffffff;
    border-radius: 5px;
    display: inline-block;
    overflow: hidden;
    align-items: center;
}
#qrPreview img {
    max-width: 100%;
}

/* Animasi fade-in */
.fade-in {
    opacity: 0;
    animation: fadeIn 0.5s ease-in forwards;
}
@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.error-message {
    color: red;
    font-size: 14px;
    margin-bottom: 10px;
    text-align: left;
}

.hint-text {
  font-size: 13px;
  color: #666;
  margin-top: 10px;
}

/* Tombol ke tools tambahan */
.tools-link {
  margin-top: 15px;
  text-align: center;
}
.btn-secondary {
  display: inline-block;
  padding: 8px 16px;
  background-color: #e5e7eb;
  color: #111827;
  border: none;
  border-radius: 5px;
  font-size: 14px;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.3s;
}
.btn-secondary:hover {
  background-color: #d1d5db;
}

