* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f0f0f0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

header {
    text-align: center;
    margin-bottom: 30px;
}

h1 {
    font-size: 2rem;
    color: #2c3e50;
}

.author {
    font-style: italic;
    color: #7f8c8d;
    margin-top: 5px;
}

.input-section {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.input-columns {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.input-column {
    flex: 1;
    min-width: 300px;
}

.input-group {
    margin-bottom: 15px;
}

.input-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

input[type="range"] {
    width: 100%;
    height: 10px;
    background: #ddd;
    border-radius: 5px;
    outline: none;
    -webkit-appearance: none;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    background: #3498db;
    border-radius: 50%;
    cursor: pointer;
}

.radio-group {
    display: flex;
    gap: 15px;
}

.results {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.result-item {
    display: flex;
    justify-content: space-between;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 5px;
}

.result-item span:first-child {
    font-weight: bold;
    margin-right: 10px;
}

.disclaimer {
    margin-top: 30px;
    font-size: 0.8rem;
    color: #7f8c8d;
    text-align: center;
    max-width: 800px;
    margin: 30px auto 0;
}

@media (max-width: 768px) {
    .input-columns {
        flex-direction: column;
    }
    
    h1 {
        font-size: 1.5rem;
    }
    
    .result-item {
        flex-direction: column;
    }
    
    .result-item span:first-child {
        margin-bottom: 5px;
    }
}

.result-item.critical {
    color: red !important;
}

.result-item.warning {
    color: orange !important;
}