/* Casino Admin Panel Stylesheet */

:root {
    --primary: #4e73df;
    --secondary: #6c757d;
    --success: #1cc88a;
    --info: #36b9cc;
    --warning: #f6c23e;
    --danger: #e74a3b;
    --light: #f8f9fc;
    --dark: #5a5c69;
    --white: #fff;
    --sidebar-width: 250px;
    --topbar-height: 60px;
}

/* General Styles */
body {
    font-family: 'Nunito', sans-serif;
    background-color: #f8f9fc;
    margin: 0;
    padding: 0;
    min-height: 100vh;
}

/* Sidebar Styles */
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: var(--sidebar-width);
    background-color: #4e73df;
    background-image: linear-gradient(180deg, #4e73df 10%, #224abe 100%);
    color: var(--white);
    z-index: 1000;
    overflow-y: auto;
    transition: all 0.3s;
}

.sidebar-brand {
    padding: 1.5rem 1rem;
    text-align: center;
}

.sidebar-brand a {
    color: var(--white);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-icon {
    margin-right: 0.5rem;
    font-size: 1.5rem;
}

.sidebar-divider {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    margin: 0 1rem;
}

.sidebar-heading {
    padding: 0.75rem 1rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1rem;
    color: rgba(255, 255, 255, 0.6);
}

.nav-item {
    position: relative;
    padding: 0 1rem;
}

.nav-link {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    border-radius: 0.35rem;
    transition: background-color 0.3s;
}

.nav-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
}

.nav-link.active {
    background-color: rgba(255, 255, 255, 0.2);
    color: var(--white);
    font-weight: 700;
}

.nav-link i {
    margin-right: 0.75rem;
    width: 1.25rem;
    text-align: center;
}

/* Content Styles */
.content {
    margin-left: var(--sidebar-width);
    padding: calc(var(--topbar-height) + 1.5rem) 1.5rem 1.5rem;
    min-height: 100vh;
    transition: margin-left 0.3s;
}

/* Topbar Styles */
.topbar {
    position: fixed;
    top: 0;
    right: 0;
    left: var(--sidebar-width);
    height: var(--topbar-height);
    background-color: var(--white);
    box-shadow: 0 0.15rem 1.75rem 0 rgba(58, 59, 69, 0.15);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1.5rem;
    z-index: 990;
    transition: left 0.3s;
}

#sidebarToggle {
    background-color: transparent;
    border: none;
    color: var(--dark);
    font-size: 1.5rem;
    cursor: pointer;
}

.dropdown-toggle {
    background-color: transparent;
    border: none;
    color: var(--dark);
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 0.5rem;
}

.dropdown-toggle i {
    font-size: 1.5rem;
}

/* Card Styles */
.card {
    margin-bottom: 1.5rem;
    box-shadow: 0 0.15rem 1.75rem 0 rgba(58, 59, 69, 0.15);
    border: none;
    border-radius: 0.5rem;
}

.card-header {
    background-color: var(--white);
    border-bottom: 1px solid #e3e6f0;
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.card-header h5 {
    margin: 0;
    font-weight: 700;
    color: var(--dark);
}

.card-body {
    padding: 1.25rem;
}

/* Table Styles */
.table-responsive {
    overflow-x: auto;
}

.table {
    width: 100%;
    margin-bottom: 0;
}

.table-actions {
    white-space: nowrap;
}

.table-actions .btn {
    margin-right: 0.25rem;
}

/* Form Styles */
.filter-section {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
}

.form-group {
    margin-bottom: 1rem;
}

.form-label {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* Button Styles */
.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
}

.btn-primary:hover {
    background-color: #224abe;
    border-color: #224abe;
}

.page-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.page-heading h1 {
    margin: 0;
    font-weight: 700;
    color: var(--dark);
}

/* Alert Styles */
.alert-container {
    position: fixed;
    top: calc(var(--topbar-height) + 1rem);
    right: 1rem;
    z-index: 1050;
    width: 350px;
    max-width: 90%;
}

.alert {
    margin-bottom: 0.5rem;
    box-shadow: 0 0.15rem 1.75rem 0 rgba(58, 59, 69, 0.15);
}

/* Responsive Styles */
@media (max-width: 768px) {
    .sidebar {
        transform: translateX(-100%);
    }
    
    .sidebar.show {
        transform: translateX(0);
    }
    
    .content, .topbar {
        margin-left: 0;
        left: 0;
    }
    
    .topbar {
        left: 0;
    }
    
    .filter-section {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-section .form-group {
        width: 100%;
    }
}

/* Page-specific Styles */
/* Casino View Page */
.detail-table th {
    width: 150px;
}

/* Modal Styles */
.modal-header {
    background-color: #f8f9fc;
    border-bottom: 1px solid #e3e6f0;
}

.modal-footer {
    background-color: #f8f9fc;
    border-top: 1px solid #e3e6f0;
}

/* Image Preview Styles */
.image-preview {
    max-width: 200px;
    max-height: 200px;
    border: 1px solid #e3e6f0;
    border-radius: 0.25rem;
    margin-top: 0.5rem;
} 