@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700&display=swap');

body {
    background: linear-gradient(135deg, #f0f4fd 0%, #e1e9f6 100%);
    font-family: 'Outfit', sans-serif;
    color: #2b3a4a;
    min-height: 100vh;
}

h1 {
    font-weight: 700;
    color: #1a2530;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.05);
}

.card {
    border: none;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.table {
    --bs-table-bg: transparent;
}

.table th {
    background-color: #1a2530 !important;
    color: #fff !important;
    border-bottom: none;
}

.table th, .table td {
    vertical-align: middle;
    padding: 1rem;
}

.table-hover tbody tr:hover {
    background-color: rgba(26, 37, 48, 0.04);
}

.profit {
    color: #059669;
    font-weight: 700;
}

.loss {
    color: #e11d48;
    font-weight: 700;
}

.summary-card {
    background: linear-gradient(135deg, #ffffff 0%, #f9fbfd 100%);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.06);
    text-align: center;
    margin-bottom: 24px;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255,255,255,0.7);
}

.summary-card:hover {
    transform: translateY(-8px);
}

.summary-card h3 {
    margin: 0;
    font-size: 32px;
    font-weight: 700;
}

.summary-card p {
    margin: 0;
    color: #64748b;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 8px;
    font-weight: 600;
}

/* Custom Input Styles */
.form-control {
    border-radius: 8px;
    border: 1px solid #ced4da;
    padding: 0.6rem 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    box-shadow: 0 0 0 4px rgba(67, 97, 238, 0.15);
    border-color: #4361ee;
}

.btn-primary {
    background-color: #4361ee;
    border-color: #4361ee;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #3f51b5;
    border-color: #3f51b5;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(67, 97, 238, 0.3);
}

.text-primary {
    color: #4361ee !important;
}

.text-success {
    color: #059669 !important;
}

.text-danger {
    color: #e11d48 !important;
}

/* Sidebar Styles */
#wrapper {
    overflow-x: hidden;
}

#sidebar-wrapper {
    min-height: 100vh;
    margin-left: -15rem;
    -webkit-transition: margin .25s ease-out;
    -moz-transition: margin .25s ease-out;
    -o-transition: margin .25s ease-out;
    transition: margin .25s ease-out;
    width: 15rem;
}

#sidebar-wrapper .sidebar-heading {
    padding: 0.875rem 1.25rem;
    font-size: 1.2rem;
}

#sidebar-wrapper .list-group {
    width: 15rem;
}

#page-content-wrapper {
    min-width: 100vw;
}

#wrapper.toggled #sidebar-wrapper {
    margin-left: 0;
}

@media (min-width: 768px) {
    #sidebar-wrapper {
        margin-left: 0;
    }
    #page-content-wrapper {
        min-width: 0;
        width: 100%;
    }
    #wrapper.toggled #sidebar-wrapper {
        margin-left: -15rem;
    }
}

.list-group-item.active {
    background-color: rgba(67, 97, 238, 0.1) !important;
    border-color: transparent;
    border-left: 4px solid #4361ee;
}

/* Filter Tiles */
.filter-tile {
    cursor: pointer;
    border-radius: 8px;
    padding: 8px 16px;
    background: #fff;
    border: 1px solid #ced4da;
    color: #495057;
    font-weight: 600;
    transition: all 0.2s ease;
}

.filter-tile:hover {
    background: #f8f9fa;
    border-color: #adb5bd;
}

.filter-tile.active {
    background: #4361ee;
    color: #fff;
    border-color: #4361ee;
}
