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

/* Header Styling */
.header {
    background-color: #2c3e50;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
}

.navbar-brand {
    display: flex;
    align-items: center;
}

.dnd-logo {
    height: 40px;
    margin-right: 10px;
    filter: invert(1); /* Invert the colors for dark background */
}

.navbar-nav .nav-link {
    color: #ffffff !important;
    font-weight: 500;
}

.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.1);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='rgba(255, 255, 255, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

/* Message Box Styling */
.alert {
    background-color: #3498db;
    color: white;
    padding: 15px;
    border-radius: 10px;
    font-size: 1.1rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Container Styling */
.container {
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Form Elements */
.form-group label {
    font-weight: bold;
    color: #2c3e50;
}

#kegSlider {
    width: 100%;
    margin: 15px 0;
    -webkit-appearance: none;
    appearance: none;
    height: 8px;
    background: #3498db;
    border-radius: 5px;
    outline: none;
    transition: opacity .2s;
}

#kegSlider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #2980b9;
    cursor: pointer;
}

/* Result Section Styling */
.result-section {
    background-color: #ecf0f1;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-top: 20px;
}

.result-section .result-title {
    font-weight: bold;
    color: #2c3e50;
}

.result-section .result-value {
    font-weight: bold;
    color: #27ae60;
}

/* Button Styling */
.btn-primary {
    background-color: #3498db;
    border-color: #3498db;
    border-radius: 20px;
    padding: 10px 20px;
    transition: background-color 0.3s ease;
}

.btn-primary:hover {
    background-color: #2980b9;
}

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

    h1 {
        font-size: 1.8rem;
    }

    #kegSlider {
        margin: 10px 0;
    }
}
