/* Custom CSS for SOL Trading Bot */

/* Dashboard price highlights */
.price-up {
    color: #28a745;
    font-weight: bold;
}

.price-down {
    color: #dc3545;
    font-weight: bold;
}

/* Chart containers */
.chart-container {
    position: relative;
    height: 300px;
    width: 100%;
}

/* Card animations */
.card {
    transition: transform 0.2s ease-in-out;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Loading spinner */
.loading-spinner {
    display: inline-block;
    width: 1.5rem;
    height: 1.5rem;
    border: 0.25rem solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Custom footer styling */
.footer {
    margin-top: 3rem;
    padding: 2rem 0;
    background-color: #343a40;
    color: #f8f9fa;
}

/* Dashboard status indicators */
.status-badge {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
}

.status-active {
    background-color: rgba(40, 167, 69, 0.2);
    color: #28a745;
}

.status-inactive {
    background-color: rgba(220, 53, 69, 0.2);
    color: #dc3545;
}

/* Form field customization */
.form-floating input:focus,
.form-floating select:focus,
.form-floating textarea:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

/* Page transitions */
.fade-enter-active {
    transition: opacity 0.5s;
}
.fade-enter {
    opacity: 0;
}

/* Avatar placeholder */
.avatar-placeholder {
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    background-color: #0d6efd;
    color: white;
    border-radius: 50%;
}

/* Custom scrollbar for tables */
.table-responsive::-webkit-scrollbar {
    height: 8px;
}

.table-responsive::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.table-responsive::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 10px;
}

.table-responsive::-webkit-scrollbar-thumb:hover {
    background: #555;
}