.form-group {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 8px;
    font-size: 16px;
    font-weight: 600;
    color: #1d6cdb;
}

.form-group input[type="text"],
.form-group input[type="range"] {
    padding: 12px;
    border: 1px solid #1d6cdb;
    border-radius: 8px;
    background-color: #fff;
    box-sizing: border-box;
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-group input[type="text"]:focus,
.form-group input[type="range"]:focus {
    outline: none;
    border-color: #1d6cdb;
    box-shadow: 0 0 8px rgba(14, 139, 197, 0.866);
}

.calcontainer {
    max-width: 80%;
    margin: 10px auto;
    padding: 40px;
    border-radius: 25px;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
    color: #1d6cdb;
    transition: all 0.3s ease;
    font-size: 24px;
    font-family: 'Segoe UI', sans-serif;
}

.calcontainer:hover {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.slider {
    width: 100%;
    height: 10px;
    border-radius: 5px;
    background: linear-gradient(90deg, #4e8af4, #2d6cd4);
    outline: none;
    transition: background 0.3s ease;
}

.slider:hover {
    background: linear-gradient(90deg, #72a4f5, #1e5bb5);
}

.slider:focus {
    box-shadow: 0 0 10px rgba(76, 92, 115, 0.5);
}

.value-display {
    font-size: 18px;
    font-weight: 600;
    color: #1d6cdb;
}

.calbutton {
    width: 50%;
    padding: 12px;
    background-color: #2a74dd;
    border: none;
    border-radius: 8px;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-family: 'Segoe UI', sans-serif;
}

.calbutton:hover {
    background-color: #3b4c5e;
}

.result {
    padding: 12px;
    font-size: 16px;
    font-weight: 400;
    background-color: #e1e5ea;
    color: #1d6cdb;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    width: 100%;
    max-width: 200px;
}

.chart-container {
    margin-top: 30px;
    text-align: center;
}

#sipPieChart {
    width: 70% !important;
    height: 70% !important;
}