/* General Styles */
body {
  font-family: 'Roboto', Arial, sans-serif;
  margin: 0;
  padding: 0;
  background: #f3f4f6;
  color: #4a5568;
  line-height: 1.6;
}

/* Header and Navbar */
header {
  background: linear-gradient(to right, #6a11cb, #2575fc);
  color: white;
  padding: 1rem 0;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
header nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
}
header nav ul li {
  margin: 0 15px;
}
header nav ul li a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
  transition: color 0.3s;
}
header nav ul li a:hover {
  color: #FFD369;
}

/* Main Container */
.main-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.page-title {
  text-align: center;
  font-size: 2.5em;
  margin-bottom: 30px;
  color: #4A00E0;
}

/* Form and Input */
.container {
  background: white;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.container h2 {
  text-align: center;
  color: #333;
  font-size: 1.8em;
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 20px;
}

label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
  color: #4a5568;
}

input, select {
  width: 100%;
  padding: 10px;
  border: 1px solid #e2e8f0;
  border-radius: 4px;
  font-size: 1em;
  transition: border-color 0.3s, box-shadow 0.3s;
}

input:focus, select:focus {
  outline: none;
  border-color: #6a11cb;
  box-shadow: 0 0 5px rgba(106, 17, 203, 0.5);
}

input[type="file"] {
  padding: 8px;
}

button {
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  font-size: 1em;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.3s;
}

#daftarBtn {
  background-color: #6a11cb;
  color: white;
}

#daftarBtn:hover {
  background-color: #4A00E0;
  transform: translateY(-2px);
}

#batalBtn {
  background-color: #e53e3e;
  color: white;
  margin-left: 10px;
}

#batalBtn:hover {
  background-color: #c53030;
  transform: translateY(-2px);
}

.file-info {
  color: #718096;
  font-size: 0.9em;
}

/* Footer */
footer {
  background: linear-gradient(to right, #6a11cb, #2575fc);
  color: white;
  text-align: center;
  padding: 10px;
  bottom: 0;
  width: 100%;
}

/* Responsiveness */
@media (max-width: 768px) {
  .button-container {
    display: flex;
    flex-direction: column;
  }
  #batalBtn {
    margin-left: 0;
    margin-top: 10px;
  }
}

@media (max-width: 480px) {
  header nav ul {
    flex-direction: column;
    align-items: center;
  }
  header nav ul li {
    margin: 10px 0;
  }
  .main-container {
    padding: 10px;
  }
  .container {
    padding: 20px;
  }
}