body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 20px;
    background: linear-gradient(135deg, #408e9c 0%, #00357b 100%);
    min-height: 100vh;
    padding-top: 0;
    margin-top: 0;
}

.container {
    max-width: 800px;
    margin: 30px auto;
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    margin-top: 20px;
}

h1 {
    text-align: center;
    color: #2c3e50;
    font-size: 2.2em;
    margin-bottom: 30px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

label {
    font-size: 1.1em;
    color: #34495e;
    font-weight: 500;
}

input[type="date"] {
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1em;
    transition: all 0.3s ease;
}

input[type="date"]:focus {
    border-color: #3498db;
    box-shadow: 0 0 8px rgba(52, 152, 219, 0.3);
    outline: none;
}

button {
    padding: 15px;
    background: linear-gradient(45deg, #3498db, #2980b9);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

button:active {
    transform: translateY(0);
}

#simulationResult {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
    background: #f8f9fa;
    padding: 25px;
    border-radius: 12px;
    margin-top: 30px;
}

#simulationResult.show {
    opacity: 1;
    transform: translateY(0);
}

#ageGroup {
    color: #2c3e50;
    font-size: 1.5em;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e0e0e0;
}

#simulationDetails ul {
    list-style: none;
    padding: 0;
}

#simulationDetails ul li {
    margin-bottom: 15px;
    padding: 15px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease;
}

#simulationDetails ul li:hover {
    transform: translateX(5px);
}

#simulationDetails strong {
    color: #3498db;
    display: block;
    margin-bottom: 8px;
}

#simulationDetails ul ul {
    margin-top: 10px;
    margin-left: 20px;
}

#simulationDetails ul ul li {
    padding: 8px;
    margin-bottom: 8px;
    background: #f1f8ff;
    border-left: 3px solid #3498db;
}

.hidden {
    display: none;
}

/* Animasi untuk list items */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#simulationDetails ul li {
    animation: fadeIn 0.5s ease forwards;
    animation-delay: calc(var(--item-index) * 0.1s);
}

/* Responsive design */
@media (max-width: 768px) {
    .container {
        margin: 15px;
        padding: 20px;
    }

    h1 {
        font-size: 1.8em;
    }

    #simulationDetails ul li {
        padding: 12px;
    }
}


.logo-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    height: 150px;
    width: auto;
    object-fit: contain;
}

/* Responsive design untuk logo */
@media (max-width: 768px) {
    .logo {
        height: 40px;
    }
    
    .header {
        padding: 10px 0;
    }
    
    .logo-container {
        padding: 0 15px;
    }
}

/* Optional: Animasi untuk logo */
.logo {
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

/* Optional: Tambahkan gradient di header */
.header {
    background: linear-gradient(to right, #ffffff, #f8f9fa);
}

/* Optional: Tambahkan border bottom yang halus */
.header {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.header {
  width: 100%;
  padding: 1rem;
  background-color: #ffffff;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.logo-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.logo {
  height: 150px;
  width: auto;
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.05);
}