:root {
    --tennis-red: #dc3545;
    --tennis-green: #28a745;
    --sidebar-width: 250px;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 0.9rem;
    background-color: #fff;
    color: #495057;
}
.main-header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1030;
    height: 57px;
    background-color: #fff;
    border-bottom: 1px solid #dee2e6;
    box-shadow: 0 2px 4px rgba(0,0,0,.04);
}
.navbar-brand {
    font-weight: 600;
    color: #495057 !important;
    padding: 0.8rem 1rem;
    font-size: 1.25rem;
}
.navbar-brand:hover {
    color: var(--tennis-red) !important;
}
.main-sidebar {
    position: fixed;
    top: 57px;
    left: 0;
    bottom: 0;
    width: var(--sidebar-width);
    background-color: #343a40;
    overflow-y: auto;
    z-index: 1020;
    transition: margin-left .3s ease-in-out;
}
.sidebar {
    padding: 0.5rem 0;
}
.nav-sidebar {
    list-style: none;
    padding: 0;
}
.nav-item {
    margin: 0;
}
.nav-link {
    display: flex;
    align-items: center;
    padding: 0.7rem 1rem;
    color: #c2c7d0;
    text-decoration: none;
    transition: all .3s;
}
.nav-link:hover {
    background-color: #3f474e;
    color: #fff;
}
.nav-link.active {
    background-color: var(--tennis-red);
    color: #fff;
}
.nav-link i {
    width: 25px;
    font-size: 1.1rem;
}
.nav-link .badge {
    margin-left: auto;
}
.content-wrapper {
    margin-left: var(--sidebar-width);
    margin-top: 57px;
    min-height: calc(100vh - 57px);
    padding: 20px;
    background-color: #fff;
}
.content-header {
    padding: 15px 30px;
    background-color: #fff;
    border-bottom: 1px solid #dee2e6;
}
.content-header h1 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
}
.content {
    padding: 20px 30px;
}
.info-box {
    display: flex;
    min-height: 90px;
    background: #fff;
    border-radius: .25rem;
    box-shadow: 0 0 1px rgba(0,0,0,.125), 0 1px 3px rgba(0,0,0,.2);
    margin-bottom: 1rem;
    transition: all .3s;
}
.info-box:hover {
    box-shadow: 0 0 10px rgba(0,0,0,.15);
    transform: translateY(-2px);
}
.info-box-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 90px;
    font-size: 2.5rem;
    color: rgba(255,255,255,.8);
}
.info-box-icon.bg-red {
    background-color: var(--tennis-red);
}
.info-box-icon.bg-green {
    background-color: var(--tennis-green);
}
.info-box-icon.bg-yellow {
    background-color: #ffc107;
}
.info-box-icon.bg-info {
    background-color: #17a2b8;
}
.info-box-content {
    flex: 1;
    padding: 10px 10px 10px 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.info-box-text {
    font-size: .875rem;
    text-transform: uppercase;
    font-weight: 600;
    color: #6c757d;
}
.info-box-number {
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 3px;
}
.card {
    box-shadow: 0 0 1px rgba(0,0,0,.125), 0 1px 3px rgba(0,0,0,.2);
    margin-bottom: 1rem;
    border: 0;
}
.card-header {
    background-color: transparent;
    border-bottom: 1px solid rgba(0,0,0,.125);
    padding: .75rem 1.25rem;
    font-weight: 600;
}
.card-title {
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
}
.card-tools {
    float: right;
    margin-right: -.625rem;
}
.card-body {
    padding: 1.25rem;
}
.btn {
    border-radius: .25rem;
    font-weight: 400;
    padding: .375rem .75rem;
}
.btn-sm {
    padding: .25rem .5rem;
    font-size: .875rem;
}
.btn-primary {
    background-color: var(--tennis-red);
    border-color: var(--tennis-red);
}
.btn-primary:hover {
    background-color: #c82333;
    border-color: #bd2130;
}
.btn-success {
    background-color: var(--tennis-green);
    border-color: var(--tennis-green);
}
.btn-success:hover {
    background-color: #218838;
    border-color: #1e7e34;
}
.table {
    margin-bottom: 0;
}
.table thead th {
    border-bottom: 2px solid #dee2e6;
    font-weight: 600;
    font-size: .85rem;
    text-transform: uppercase;
    color: #6c757d;
}
.badge {
    font-weight: 600;
    padding: .25em .6em;
}
.main-footer {
    background-color: #fff;
    border-top: 1px solid #dee2e6;
    color: #869099;
    padding: 1rem;
    margin-left: var(--sidebar-width);
    margin-top: auto;
}
.dropdown-menu {
    border: 1px solid rgba(0,0,0,.15);
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,.175);
}
.dropdown-item:hover {
    background-color: #f8f9fa;
}
.user-panel {
    padding: 10px;
    margin-bottom: 10px;
    border-bottom: 1px solid #4b545c;
}
.user-panel-info {
    color: #fff;
    padding: 10px;
}
.user-panel-info .d-block {
    color: #c2c7d0;
    font-size: 0.9rem;
}
@media (max-width: 991.98px) {
    .main-sidebar {
        margin-left: calc(var(--sidebar-width) * -1);
    }
    .content-wrapper {
        margin-left: 0;
    }
    .main-footer {
        margin-left: 0;
    }
    .sidebar-open .main-sidebar {
        margin-left: 0;
        box-shadow: 3px 0 10px rgba(0,0,0,0.3);
    }
    .sidebar-overlay {
        position: fixed;
        top: 57px;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: rgba(0,0,0,0.5);
        z-index: 1010;
        display: none;
    }
    .sidebar-open .sidebar-overlay {
        display: block;
    }
}
.alert {
    border-radius: .25rem;
    border: 1px solid transparent;
}
.breadcrumb {
    background-color: #fff;
    padding: 0.75rem 1.5rem;
    margin: 0;
    font-size: 0.875rem;
    border-bottom: 1px solid #dee2e6;
}
.breadcrumb-item {
    color: #6c757d;
}
.breadcrumb-item + .breadcrumb-item::before {
    content: "›";
    color: #6c757d;
    font-size: 1.2rem;
    padding: 0 0.5rem;
}
.breadcrumb-item a {
    color: var(--tennis-red);
    text-decoration: none;
    transition: color 0.2s;
}
.breadcrumb-item a:hover {
    color: #c82333;
    text-decoration: underline;
}
.breadcrumb-item.active {
    color: #495057;
    font-weight: 600;
}
.content .container.mt-4:first-child {
    margin-top: 0 !important;
}
.small-box {
    border-radius: .25rem;
    box-shadow: 0 0 1px rgba(0,0,0,.125), 0 1px 3px rgba(0,0,0,.2);
    display: block;
    margin-bottom: 20px;
    position: relative;
    color: #fff;
    padding: 10px 15px;
    min-height: 100px;
}
.small-box .inner {
    padding: 10px;
}
.small-box .inner h3 {
    font-size: 2.2rem;
    font-weight: 700;
    margin: 0 0 10px;
}
.small-box .inner p {
    font-size: .9rem;
}
.small-box .icon {
    position: absolute;
    top: -10px;
    right: 15px;
    font-size: 90px;
    opacity: 0.15;
}
.small-box-footer {
    background-color: rgba(0,0,0,.1);
    color: rgba(255,255,255,.8);
    display: block;
    padding: 3px 10px;
    text-align: center;
    text-decoration: none;
    position: relative;
    margin: -10px -15px;
    margin-top: 10px;
    border-radius: 0 0 .25rem .25rem;
}
.small-box-footer:hover {
    color: #fff;
    background-color: rgba(0,0,0,.15);
}
.bg-red {
    background-color: var(--tennis-red) !important;
}
.bg-green {
    background-color: var(--tennis-green) !important;
}
.bg-yellow {
    background-color: #ffc107 !important;
}
.bg-gray {
    background-color: #6c757d !important;
}
