/* Custom styles for Gaming Analytics */

:root {
    --primary-color: #8B0000;
    --primary-dark: #660000;
    --primary-light: #A31414;
    --secondary-color: #DC143C;
    --accent-color: #B22222;
    --success-color: #10B981;
    --danger-color: #EF4444;
    --gray-800: #1f2937;
    --gray-700: #374151;
    --gray-100: #f3f4f6;
    --white: #ffffff;
}

body {
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    background-color: #f5f8fb;
    font-size: 1rem;
    color: #31344b;
}

.content {
    background-color: #f5f8fb;
    margin-left: 260px;
    min-height: 100vh;
    padding-top: 70px;
}

/* Dashboard specific styling */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
}

/* Text Colors */
.text-gray-400 {
    color: #9ca3af !important;
}

.text-gray-500 {
    color: #6b7280 !important;
}

.text-gray-900 {
    color: #111827 !important;
}

.bg-gray-200 {
    background-color: #e5e7eb !important;
}

/* Badges */
.badge-sm {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
}

/* Avatar */
.avatar-sm {
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card {
    transition: all 0.2s ease-in-out;
}

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

.table {
    color: #495057;
}

.table-flush tbody tr:first-child td,
.table-flush tbody tr:first-child th {
    border-top: 0;
}

.thead-light th {
    background-color: #f8f9fa;
    color: #6c757d;
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.table thead th {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Icon Shapes */
.icon-shape {
    width: 3rem;
    height: 3rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-radius: 0.55rem;
}

.icon-shape svg {
    width: 1.5rem;
    height: 1.5rem;
}

.icon-shape-primary {
    background-color: #e6e6ff;
    color: #262B40;
}

.icon-shape-secondary {
    background-color: #FFC107;
    color: #fff;
}

.icon-shape-tertiary {
    background-color: #0dcaf0;
    color: #fff;
}

/* Volt Icon Sizes */
.icon {
    width: 1.25rem;
    height: 1.25rem;
}

.icon-xs {
    width: 1rem;
    height: 1rem;
}

.icon-sm {
    width: 1.5rem;
    height: 1.5rem;
}

.icon-lg {
    width: 2rem;
    height: 2rem;
}

.icon-xl {
    width: 3rem;
    height: 3rem;
}

.icon-xxs {
    width: 0.75rem;
    height: 0.75rem;
}

/* Breadcrumb styles */
.breadcrumb-dark {
    background-color: transparent;
}

.breadcrumb-dark .breadcrumb-item a {
    color: #6b7280;
}

.breadcrumb-dark .breadcrumb-item.active {
    color: #1f2937;
}

.breadcrumb-transparent {
    background-color: transparent;
}

/* Sidebar customization */
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    overflow-y: auto;
    z-index: 1000;
    width: 260px;
}

.bg-gray-800 {
    background-color: #000000 !important;
}

.sidebar {
    background-color: #000000;
    width: 260px;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    z-index: 100;
}

.sidebar .nav-link {
    color: rgba(255, 255, 255, 0.6);
    padding: 0.75rem 1rem;
    margin-bottom: 0.125rem;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
}

.sidebar .nav-link:hover {
    color: #fff;
    background-color: rgba(255, 255, 255, 0.05);
}

.sidebar .nav-item.active .nav-link,
.sidebar .nav-link.active {
    background-color: #DC143C;
    color: #fff;
}

.sidebar .icon {
    width: 1rem;
    height: 1rem;
}

.sidebar .sidebar-text {
    font-size: 0.875rem;
}

.border-gray-700 {
    border-color: rgba(255, 255, 255, 0.1) !important;
}

.sidebar-icon {
    width: 2rem;
    margin-right: 0.5rem;
}

/* Main content */
.content {
    margin-left: 0;
    padding: 1rem;
}

@media (min-width: 992px) {
    .content {
        margin-left: 260px;
    }
}

/* Cards */
.card {
    border: none;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    transition: box-shadow 0.15s ease;
    border-radius: 0.55rem;
    margin-bottom: 1.5rem;
}

.card:hover {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1) !important;
}

.icon-shape {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.75rem;
}

.icon-shape-primary {
    background-color: rgba(99, 102, 241, 0.1);
    color: var(--secondary-color);
}

.icon-shape-secondary {
    background-color: rgba(236, 72, 153, 0.1);
    color: #EC4899;
}

.icon-shape-tertiary {
    background-color: rgba(16, 185, 129, 0.1);
    color: var(--success-color);
}

.icon-shape-quaternary {
    background-color: rgba(251, 191, 36, 0.1);
    color: #FBBF24;
}

/* Navbar */
.navbar-top {
    background-color: #31344b;
    border-bottom: none;
}

.navbar-dark {
    background-color: #31344b;
}

.navbar-dashboard {
    padding: 1rem 1.5rem;
    margin-left: 260px;
}

.dropdown-menu {
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.175);
}

.dashboard-dropdown {
    min-width: 200px;
}

/* Forms */
.form-control:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 0.2rem rgba(99, 102, 241, 0.25);
}

.btn-primary {
    background-color: #262B40;
    border-color: #262B40;
}

.btn-primary:hover {
    background-color: #1a1d2e;
    border-color: #1a1d2e;
}

.btn-outline-gray-500 {
    color: #6b7280;
    border-color: #d1d5db;
}

.btn-outline-gray-500:hover,
.btn-outline-gray-500.active {
    background-color: #f3f4f6;
    border-color: #d1d5db;
    color: #374151;
}

.btn-secondary {
    background-color: #6c757d;
    border-color: #6c757d;
    color: #fff;
}

.btn-secondary:hover {
    background-color: #5a6268;
    border-color: #545b62;
}

/* Login page */
.login-page-centered {
    background: #f5f5f5;
    min-height: 100vh;
}

.logo-img {
    height: 100px;
    object-fit: contain;
}

.login-form-container {
    width: 100%;
    max-width: 420px;
    padding: 2rem 1rem;
    background: transparent;
    margin: 0 auto;
}

.login-form-container .form-control {
    border: 1px solid #d1d5db;
    padding: 0.875rem 1rem;
    font-size: 1rem;
    border-radius: 8px;
    background: white;
    transition: all 0.2s ease;
}

.login-form-container .form-control:focus {
    border-color: #DC143C;
    box-shadow: 0 0 0 3px rgba(220, 20, 60, 0.1);
    outline: none;
}

.login-form-container .btn-primary {
    background: #DC143C;
    border: none;
    padding: 0.875rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.login-form-container .btn-primary:hover {
    background: #B22222;
}

.login-form-container .text-primary {
    color: #DC143C !important;
}

.login-form-container .text-primary:hover {
    color: #B22222 !important;
}

.login-form-container h2, .login-form-container h3 {
    color: #1f2937;
}

/* Landing page */
.fmxw-500 {
    max-width: 500px;
}

.bg-soft {
    background-color: #f9fafb;
}

.vh-lg-100 {
    min-height: 100vh;
}

@media (min-width: 992px) {
    .vh-lg-100 {
        height: 100vh;
    }
}

/* Avatar */
.avatar {
    display: inline-flex;
    width: 2.5rem;
    height: 2.5rem;
    align-items: center;
    justify-content: center;
}

.rounded-circle {
    border-radius: 50% !important;
}

/* Utilities */
.text-white {
    color: #fff !important;
}

.border-gray-700 {
    border-color: var(--gray-700) !important;
}

.fw-extrabold {
    font-weight: 800 !important;
}

.fs-5 {
    font-size: 1.25rem !important;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .sidebar {
        position: fixed;
        top: 0;
        left: -100%;
        transition: left 0.3s ease;
    }
    
    .sidebar.show {
        left: 0;
    }
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

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