/* Layout and Structure */
html, body {
    min-height: 100vh;
    margin: 0;
    padding: 0;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    padding-bottom: 60px; /* Add padding to prevent content from being hidden behind fixed footer */
}

.main-content {
    flex: 1 0 auto;
    width: 100%;
    padding-bottom: 0; /* Remove bottom padding */
}

.container {
    padding-left: 15px;
    padding-right: 15px;
}

/* Left Menu Styling (Bitcoin-inspired theme) */
.sidebar {
    background-color: #ffffff;
    border-right: 2px solid #f7931a; /* Bitcoin orange accent line */
    min-height: 100vh;
}

.sidebar .nav-link {
    color: #333;
    font-weight: 500;
    padding: 10px 15px;
    transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
    border-radius: 4px;
}

.sidebar .nav-link:hover {
    background-color: #f7931a;
    color: #ffffff;
}

.sidebar .nav-link.active {
    background-color: #f7931a;
    color: #ffffff;
    font-weight: 600;
}

.sidebar .nav {
    gap: 5px;
}

/* Home Page Styling */
.hover-shadow {
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.hover-shadow:hover {
    transform: translateY(-5px);
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.15)!important;
}

.hero-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.card {
    border: none;
    border-radius: 12px;
}

.badge {
    font-weight: 500;
    padding: 0.5em 0.8em;
}

.btn-primary {
    padding: 0.5rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
}

.btn-outline-primary {
    padding: 0.5rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
}

.lead {
    font-size: 1.25rem;
    color: #6c757d;
}

.text-muted {
    color: #6c757d !important;
}

/* Footer Styling */
.main-footer {
    background-color: #343a40;
    color: #ffffff;
    padding: 1rem 0;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    margin: 0; /* Ensure no margin */
}

.main-footer a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.2s ease-in-out;
}

.main-footer a:hover {
    color: #f7931a;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .sidebar {
        min-height: auto;
        border-right: none;
        border-bottom: 2px solid #f7931a;
        margin-bottom: 1rem;
    }
    
    .main-content {
        padding-top: 1rem;
        padding-bottom: 0; /* Ensure no bottom padding on mobile */
    }
    
    body {
        padding-bottom: 60px; /* Keep consistent padding */
    }
}
