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

.c-matter--article .c-matter__body {
    width: 1000px;
}
@media (max-width: 1200px) {
    .c-matter--article .c-matter__body {
        width: 100%;
    }
}

.rmd-calc-container {
    max-width: 1200px;
    margin: 0 auto;
    /*
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 40px;
    */
}

.rmd-calc-wrapper {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.rmd-calc-inputs-section,
.rmd-calc-outputs-section {
    flex: 1;
    background: #f7fafc;
    border: 2px solid #f3f4f6;
    border-radius: var(--radius-lg);
    padding: 24px;
    margin: 0;
    box-shadow: none;
}

.rmd-calc-outputs-section {
    background-color: #f8fafc;
    padding: 20px;
    border-radius: 6px;
}

.rmd-calc-input-group,
.rmd-calc-output-group {
    margin-bottom: 25px;
}

.rmd-calc-message {
    padding: 12px 15px;
    color: #555;
    margin-bottom: 25px;
}

label {
    display: block;
    margin-bottom: 8px;
    color: #555;
}

.rmd-calc-slider-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.rmd-calc-slider-header label {
    margin-bottom: 0;
}

.rmd-calc-value-display {
    padding: 8px 12px;
    background-color: #f5f5f5;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    min-width: 100px;
    text-align: center;
    outline: none;
    width: 40%;
}

.rmd-calc-value-display:focus {
    border-color: #3498db;
    box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.1);
}

.rmd-calc-slider {
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: #e0e0e0;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
    margin: 15px 0;
    position: relative;
}

.rmd-calc-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: white;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    border: 1px solid #ddd;
    margin-top: -7px;
}

.rmd-calc-slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: white;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    border: 1px solid #ddd;
    box-sizing: border-box;
}

.rmd-calc-slider::-webkit-slider-runnable-track {
    width: 100%;
    height: 6px;
    cursor: pointer;
    background: linear-gradient(to right, #18b981 0%, #18b981 var(--slider-progress, 0%), #e0e0e0 var(--slider-progress, 0%), #e0e0e0 100%);
    border-radius: 3px;
}

.rmd-calc-slider::-moz-range-track {
    width: 100%;
    height: 6px;
    cursor: pointer;
    background: #e0e0e0;
    border-radius: 3px;
}

.rmd-calc-slider::-moz-range-progress {
    background: #18b981;
    height: 6px;
    border-radius: 3px;
}

.rmd-calc-slider-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 5px;
    color: #666;
}

.rmd-calc-slider-labels span {
    font-size: 0.875rem;
}

.rmd-calc-buttons {
    display: flex;
    gap: 10px;
}

.rmd-calc-reset-button {
    width: 100%;
}

.rmd-calc-output-value {
    padding: 12px 15px;
    background-color: #f7fafc;
    border: 2px solid #18b981;
    border-radius: 6px;
    min-height: 48px;
    display: flex;
    align-items: center;
    font-weight: bold;
}

.rmd-calc-download-button {
    width: 100%;
}

/* Mobile and Tablet View */
@media (max-width: 768px) {
    .rmd-calc-container {
        padding: 20px;
    }
    
    h1 {
        margin-bottom: 20px;
    }
    
    .rmd-calc-wrapper {
        flex-direction: column;
        gap: 30px;
    }
}

/* Tablet View */
@media (min-width: 769px) and (max-width: 1024px) {
    .rmd-calc-wrapper {
        flex-direction: column;
        gap: 30px;
    }
}

