body {
    background-color: #f5f7fa;
    font-family: 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

.navbar-dark {
    background-color: #1a237e !important; /* Deep indigo */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.card {
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    border: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(26, 35, 126, 0.15);
}

/* Card headers with enterprise color scheme */
.card-header {
    font-weight: 600;
    padding: 0.8rem 1.25rem;
}

.bg-primary {
    background-color: #3949ab !important; /* Indigo */
}

.bg-info {
    background-color: #0288d1 !important; /* Vibrant blue */
}

.bg-success {
    background-color: #2e7d32 !important; /* Enterprise green */
}

.bg-warning {
    background-color: #283593 !important; /* Deep indigo */
}

.bg-dark {
    background-color: #000000 !important; /* Black for important sections */
}

/* Bitcoin price styling */
#btc-price-usd {
    font-weight: bold;
    font-size: 2.5rem;
    transition: all 0.3s;
    color: #424242;
}

.price-up {
    color: #2e7d32; /* Enterprise green */
}

.price-down {
    color: #d32f2f; /* Enterprise red */
}

/* Badge styling */
.badge.bg-success, .text-success {
    background-color: #2e7d32 !important; /* Enterprise green */
}

.badge.bg-danger, .text-danger {
    background-color: #d32f2f !important; /* Enterprise red */
}

.badge.bg-secondary {
    background-color: #455a64 !important; /* Blue-grey */
}

/* Form elements */
.form-control, .form-select {
    border-radius: 6px;
    border: 1px solid #e0e0e0;
}

.form-control:focus, .form-select:focus {
    border-color: #3949ab;
    box-shadow: 0 0 0 0.25rem rgba(57, 73, 171, 0.25);
}

.btn-primary {
    background-color: #3949ab;
    border-color: #3949ab;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
    background-color: #303f9f;
    border-color: #303f9f;
}

/* Result container */
#result-container {
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#result-placeholder {
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#result-amount {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a237e; /* Deep indigo */
}

.alert-info {
    background-color: #e8eaf6; /* Light indigo */
    border-color: #c5cae9;
    color: #3949ab;
}

.small {
    font-size: 0.875rem;
    font-weight: 500;
    color: #546e7a; /* Blue-grey */
}

/* Animation for price update */
@keyframes flash-price {
    0% { color: inherit; }
    50% { color: #2e7d32; }
    100% { color: inherit; }
}

.flash-price {
    animation: flash-price 1s;
}

/* Chart customization */
canvas {
    margin-top: 10px;
}

/* Card borders */
.card-body {
    padding: 1.5rem;
}

/* Badge for BTC amount */
.badge.bg-secondary {
    padding: 0.5rem 0.8rem;
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: 20px;
}
