body { 
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    text-align: center;
}

header {
    background-color: #004d00;
    color: white;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

header img {
    max-width: 200px;
    height: auto;
    margin-left: 20px;
}

nav ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 15px;
}

nav ul li {
    display: inline;
}

nav ul li a {
    color: white;
    text-decoration: none;
}

#login {
    background: white;
    max-width: 400px;
    margin: 50px auto;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}

#login h2 {
    margin-bottom: 20px;
}

form {
    display: flex;
    flex-direction: column;
}

label {
    margin-bottom: 5px;
    font-weight: bold;
}

input {
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

button {
    background-color: #004d00;
    color: white;
    padding: 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

button:hover {
    background-color: #003300;
}

footer {
    margin-top: 20px;
    padding: 10px;
    background-color: #004d00;
    color: white;
}


/* Gaya untuk formulir pendaftaran */
#formulir-pendaftaran {
    max-width: 600px;
    margin: 20px auto;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 20px;
    background-color: #f9f9f9;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

#formulir-pendaftaran h2 {
    text-align: center;
    color: #333;
    font-family: 'Arial', sans-serif;
    margin-bottom: 20px;
}

#formulir-pendaftaran form label {
    display: block;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 5px;
    color: #555;
}

#formulir-pendaftaran form input[type="text"],
#formulir-pendaftaran form input[type="email"],
#formulir-pendaftaran form input[type="tel"],
#formulir-pendaftaran form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    font-family: 'Arial', sans-serif;
    background-color: #fff;
}

#formulir-pendaftaran form input:focus,
#formulir-pendaftaran form textarea:focus {
    border-color: #4caf50;
    outline: none;
    box-shadow: 0 0 5px rgba(76, 175, 80, 0.5);
}

#formulir-pendaftaran form textarea {
    resize: none;
    height: 100px;
}

#formulir-pendaftaran form button {
    width: 100%;
    background-color: #4caf50;
    color: white;
    padding: 12px 20px;
    font-size: 16px;
    font-family: 'Arial', sans-serif;
    font-weight: bold;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#formulir-pendaftaran form button:hover {
    background-color: #45a049;
}

@media (max-width: 768px) {
    #formulir-pendaftaran {
        padding: 15px;
    }

    #formulir-pendaftaran form button {
        font-size: 14px;
        padding: 10px;
    }
}






/* Styling tabel login */
.login-form {
    margin: 50px auto;
    padding: 20px;
    width: 350px;
    background: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  }
  
  table {
    width: 100%;
    border-collapse: collapse;
  }
  
  td {
    padding: 10px;
    vertical-align: middle;
  }
  
  label {
    font-weight: bold;
    color: #333;
  }
  
  input {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
  }
  
  .password-container {
    position: relative;
    display: flex;
    align-items: center;
  }
  
  .password-container input {
    flex: 1;
    padding-right: 40px; /* Memberi ruang untuk ikon mata */
  }
  
  .toggle-password {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: #004d00;
    border: none;
    color: white;
    font-size: 1rem;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
  }
  
  .toggle-password:hover {
    background: #006600;
  }
  
  .login-button {
    width: 100%;
    padding: 10px;
    background: #004d00;
    color: white;
    font-weight: bold;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
  }
  
  .login-button:hover {
    background: #006600;
  }
  