.scientific-calculator-container {
    max-width: 400px;
    margin: 2rem auto;
    padding: 2rem;
    background: linear-gradient(145deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    font-family: 'Segoe UI', sans-serif;
}

.calculator-header {
    text-align: center;
    margin-bottom: 2rem;
}

.calculator-header h2 {
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.calculator-header p {
    font-size: 1rem;
    color: #7f8c8d;
}

.calculator-display {
    margin-bottom: 1.5rem;
}

.calculator-display input {
    width: 100%;
    padding: 1rem;
    border: 2px solid #dee2e6;
    border-radius: 8px;
    font-size: 1.5rem;
    text-align: right;
    background: white;
    color: #2c3e50;
}

.calculator-buttons {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.5rem;
}

.btn {
    padding: 1rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 1.2rem;
}

.btn-secondary {
    background: #495057;
    color: white;
}

.btn-secondary:hover {
    background: #343a40;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

@media (max-width: 768px) {
    .scientific-calculator-container {
        padding: 1rem;
        margin: 1rem;
    }

    .calculator-buttons {
        grid-template-columns: repeat(4, 1fr);
    }
}