.converter-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.converter-header {
    text-align: center;
    margin-bottom: 40px;
}

.converter-header h2 {
    color: black;
    font-size: 2.2em;
    margin-bottom: 10px;
}

.converter-header p {
    color: #666;
    font-size: 1.1em;
}

.calculators-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.calculator-card {
    background: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.calculator-card h3 {
    color: black;
    text-align: center;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #dee2e6;
}

.input-section {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.input-field {
    margin-bottom: 10px;
}

.input-field label {
    display: block;
    margin-bottom: 5px;
    color: #333;
    font-weight: 500;
}

.input-field input {
    width: 100%;
    padding: 8px 12px;
    border: 2px solid #e0e0e0;
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.3s;
}

.input-field input:focus {
    outline: none;
    border-color: #1e3c72;
    box-shadow: 0 0 5px rgba(30,60,114,0.2);
}

.range-inputs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.calculate-btn {
    background: #1e3c72;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    width: 100%;
    margin-top: 10px;
    transition: background-color 0.3s;
}

.calculate-btn:hover {
    background: #2a5298;
}

.results {
    margin-top: 15px;
    padding: 10px;
    border-radius: 4px;
    background: #f8f9fa;
    display: none;
}

.results p {
    margin-bottom: 5px;
}

.results .highlight {
    color: #1e3c72;
    font-weight: bold;
    font-size: 1.1em;
}

.placeholder {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: #f8f9fa;
    border: 2px dashed #dee2e6;
}

.placeholder h3 {
    color: #666;
    border-bottom: none;
}

.placeholder p {
    color: #999;
    font-style: italic;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .calculators-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .calculators-grid {
        grid-template-columns: 1fr;
    }
    
    .converter-container {
        padding: 15px;
    }
    
    .calculator-card {
        padding: 15px;
    }
}