* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    background-color: #f5f5f5;
    color: #333;
    line-height: 1.4;
}

.container {
    padding: 20px;
    margin-right: 20%;
    margin-left: 20%;
}

h1 {
    margin-top: 10px;
    margin-bottom: 5px;
}

input[type="text"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    font-size: 16px;
    border: 2px solid #ddd;
    border-radius: 4px;
}

input[type="text"]:focus {
    outline: none;
    border-color: #4a9eff;
}

#results {
    display: flex;
    flex-wrap: wrap;
    gap: 1%;
}

.result-item {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    width: 49%;
    margin-bottom: 10px;
    padding: 15px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

@media(max-width: 750px) {
    .result-item {
        width: 100%;
    }
    .container {
        margin-left: 0;
        margin-right: 0;
    }
}

.result-item-title-container {
    display: flex;
    gap: 5px;
    align-items: center;
    margin-bottom: 10px;
}

.result-item-product {
    margin-top: 15px;
    padding: 10px;
    background-color: #f8f9fa;
    border-radius: 4px;
    border-left: 4px solid #4a9eff;
}

.product-header {
    font-weight: bold;
    margin-bottom: 8px;
}

.metabolism-container {
    margin-top: 10px;
}

.metabolism-header {
    font-weight: 600;
    color: #2c3e50;
    background-color: #e9ecef;
    padding: 4px 8px;
    border-radius: 4px;
    margin-bottom: 5px;
}

.metabolism-effects {
    padding-left: 10px;
}

.effect {
    padding: 4px 0;
    position: relative;
}

.effect:before {
    content: "•";
    color: #4a9eff;
    font-weight: bold;
    position: absolute;
    left: -10px;
}

.result-item-mixer {
    background-color: #a8e6cf;
    border-radius: 10px;
    padding: 2px 8px;
    font-size: 0.9em;
    color: #2d5a4c;
}

.result-item-temp {
    background-color: #ffd3b6;
    border-radius: 10px;
    padding: 2px 8px;
    font-size: 0.9em;
    color: #9c4221;
}

.result-item h3 {
    margin: 0;
}

.result-item li {
    list-style: none;
    padding: 3px 0;
}

.healing-value {
    color: #4caf50;
}

.damage-value {
    color: #f44336;
}
