/**
 * Basic Calculator Specific Styles
 */

.calc-display {
    min-height: 76px;
    font-size: 2rem;
    font-weight: 700;
    text-align: right;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(13, 110, 253, 0.06), rgba(13, 110, 253, 0.01));
    border: 1px solid rgba(13, 110, 253, 0.12);
    overflow-x: auto;
    white-space: nowrap;
    word-break: break-all;
}

[data-bs-theme="dark"] .calc-display {
    background: linear-gradient(135deg, rgba(13, 110, 253, 0.12), rgba(0, 0, 0, 0.2));
    border-color: rgba(13, 110, 253, 0.2);
}

.calc-keypad {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
    margin-top: 1rem;
}

.calc-key {
    height: 52px;
    font-weight: 700;
    font-size: 1.05rem;
    border-radius: 10px;
}

.calc-key.calc-key-wide {
    grid-column: span 4;
    height: 52px;
}

.calc-key-mem {
    font-size: 0.8rem;
    height: 42px;
}

#memory-indicator {
    font-size: 0.7rem;
    vertical-align: middle;
}

.calc-history-panel {
    max-height: 420px;
    overflow-y: auto;
}

.feature-card {
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

@media (max-width: 576px) {
    .calc-display { font-size: 1.5rem; }
    .calc-key { height: 46px; font-size: 0.95rem; }
}
