body {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.calculator-display {
    background: linear-gradient(135deg, #2c3e50, #34495e);
    color: white;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0 20px;
    font-size: 2.5rem;
    font-weight: bold;
    overflow: hidden;
}

.calculator-keypad button {
    border-radius: 10px;
    font-weight: 600;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
}

.calculator-keypad button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

.calculator-keypad button:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn-warning {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    border: none;
}

.btn-success {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    border: none;
}

.footer {
    background: rgba(0, 0, 0, 0.7);
    color: white;
}

.card {
    border-radius: 15px;
    overflow: hidden;
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.list-group-item {
    border-radius: 8px !important;
    margin-bottom: 8px;
    border: none;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

@media (max-width: 768px) {
    .calculator-display {
        font-size: 2rem;
        min-height: 80px;
    }
    
    .calculator-keypad button {
        padding: 15px 0;
        font-size: 1.2rem;
    }
}

/* Dark mode specific styles */
body.bg-dark {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}

body.bg-dark .card {
    background: #2d3748;
}

body.bg-dark .list-group-item {
    background: #4a5568;
    color: white;
}

/* Light mode specific styles */
body.bg-light {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

body.bg-light .card {
    background: white;
}