.dp-bmi-calculator {
    max-width: 400px;
    margin: 20px auto;
    padding: 20px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    font-family: Arial, sans-serif;
}

h2 {
    text-align: center;
    color: #333;
}

.unit-selection, .input-group {
    margin-bottom: 15px;
}

label {
    display: block;
    margin-bottom: 5px;
    color: #666;
}

input, select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
}

button {
    width: 100%;
    padding: 10px;
    background: #4CAF50;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

button:hover {
    background: #45a049;
}

.result, .insights {
    margin-top: 20px;
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    opacity: 0;
    transition: opacity 0.5s ease-in;
}

.result.show, .insights.show {
    opacity: 1;
}

.insights {
    font-size: 14px;
    color: #555;
    font-weight: normal;
}

.share {
    margin-top: 20px;
    text-align: center;
}

.share a {
    display: inline-block;
    padding: 10px 20px;
    background: #1DA1F2;
    color: white;
    text-decoration: none;
    border-radius: 5px;
}

.share a:hover {
    background: #0d8ecf;
}

.bmi-gauge {
    margin-top: 20px;
}

.gauge-labels {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
    font-size: 12px;
    color: #666;
}

.gauge-bar {
    position: relative;
    display: flex;
    height: 20px;
    border-radius: 10px;
    overflow: hidden;
}

.underweight {
    background: #3498db;
    width: 46.25%;
}

.normal {
    background: #2ecc71;
    width: 16.25%;
}

.overweight {
    background: #f39c12;
    width: 12.5%;
}

.obese {
    background: #e74c3c;
    width: 25%;
}

.marker {
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 10px solid #333;
    display: none;
}

.previous-results {
    margin-top: 30px;
}

.previous-results h3 {
    margin-bottom: 10px;
}

.previous-results ul {
    list-style: none;
    padding: 0;
}

.previous-results li {
    margin-bottom: 5px;
}

#clear-history {
    margin-bottom: 10px;
    padding: 5px 10px;
    background: #e74c3c;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

#clear-history:hover {
    background: #c0392b;
}

.bmi-info {
    margin-top: 30px;
    font-size: 14px;
    color: #777;
    text-align: center;
}