body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
}

.container {
    width: 80%;
    margin: 20px auto;
    background-color: #fff;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

h1, h2, h3 {
    color: #0056b3;
}

form {
    margin-top: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],

textarea {
    width: calc(100% - 20px);
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
}

button {
    background-color: #007bff;
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

button:hover {
    background-color: #0056b3;
}

.message {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 15px;
}

header {
    background-color: #333;
    color: white;
    padding: 10px 0;
}

header nav ul {
    list-style: none;
    padding: 0;
    text-align: center;
}

header nav ul li {
    display: inline;
    margin: 0 15px;
}

header nav ul li a {
    color: white;
    text-decoration: none;
}

footer {
    text-align: center;
    padding: 20px;
    margin-top: 20px;
    background-color: #333;
    color: white;
}

a {
    color: #007bff;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

hr {
    border: 0;
    border-top: 1px solid #eee;
    margin: 20px 0;
}

.input-group {
    margin-bottom: 15px;
}

.input-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
}

.input-group input[type="text"],
.input-group input[type="email"],
.input-group input[type="password"],
.input-group input[type="number"],
.input-group input[type="url"], /* Tambahkan ini */
.input-group input[type="tel"],  /* Tambahkan ini */
.input-group textarea {
    width: calc(100% - 20px); /* Kalkulasi agar padding tidak membuat lebar melebihi 100% */
    padding: 12px;            /* Sedikit lebih tinggi untuk tampilan yang lebih baik */
    margin-bottom: 5px;       /* Jarak antar input dan pesan bantuan */
    border: 1px solid #c9c9c9; /* Warna border yang sedikit lebih gelap */
    border-radius: 6px;       /* Border radius yang lebih lembut */
    box-sizing: border-box;   /* Memastikan padding tidak menambah lebar */
    font-size: 1em;           /* Ukuran font standar */
    transition: border-color 0.3s ease, box-shadow 0.3s ease; /* Transisi untuk efek hover/fokus */
}

/* Efek saat input fokus (diklik) */
.input-group input[type="text"]:focus,
.input-group input[type="email"]:focus,
.input-group input[type="password"]:focus,
.input-group input[type="number"]:focus,
.input-group input[type="url"]:focus,
.input-group input[type="tel"]:focus,
.input-group textarea:focus {
    border-color: #007bff;   /* Border menjadi biru saat fokus */
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.25); /* Efek bayangan saat fokus */
    outline: none;           /* Hapus outline default browser */
}

/* Style untuk placeholder */
.input-group input::placeholder,
.input-group textarea::placeholder {
    color: #999;
    font-style: italic;
}

.input-group small {
    display: block;
    color: #666;
    margin-top: -3px; /* Sesuaikan posisi keterangan */
    margin-bottom: 10px;
    font-size: 0.85em;
}

.input-group .feedback {
    display: block;
    font-size: 0.85em;
    margin-top: 5px;
    padding: 5px 10px;
    border-radius: 4px;
}

.input-group .feedback.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.input-group .feedback.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Style tambahan untuk preview gambar */
.image-preview {
    margin-top: 10px;
    max-width: 200px;
    height: auto;
    border: 1px solid #ddd;
    padding: 5px;
    display: block;
}

/* Style untuk video embed (jika akan ditampilkan) */
.video-embed-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    margin-top: 10px;
}

.video-embed-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}



