/* PhotoBooth Pro - Professional Black & White Theme (Default) */
:root {
    /* Monochrome Professional Palette */
    --primary-dark: #000000;
    --secondary-dark: #1a1a1a;
    --card-bg: #ffffff;
    --sidebar-bg: #000000;
    --content-bg: #f8f9fa;
    --border-color: #dee2e6;
    --text-primary: #212529;
    --text-secondary: #6c757d;
    --text-light: #adb5bd;
    --accent-dark: #000000;
    --accent-gray: #495057;
    --accent-light: #e9ecef;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 20px rgba(0, 0, 0, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: var(--content-bg);
    color: var(--text-primary);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    min-height: 100vh;
    font-size: 14px;
    line-height: 1.6;
}

/* Navbar - Elegant Gradient Black */
.navbar-dark {
    background: linear-gradient(135deg, #1a1a1a 0%, #000000 100%) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.navbar-brand {
    font-weight: 600;
    letter-spacing: 0.3px;
    color: #ffffff !important;
    font-size: 1.1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.navbar .dropdown-toggle {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 500;
}

/* Sidebar - Elegant Gradient with Depth */
.sidebar {
    background: linear-gradient(180deg, #0a0a0a 0%, #1a1a1a 50%, #0a0a0a 100%);
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 4px 0 20px rgba(0, 0, 0, 0.3);
    position: relative;
}

.sidebar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.02) 50%, transparent 100%);
    pointer-events: none;
}

.sidebar .nav-link {
    color: rgba(255, 255, 255, 0.75);
    padding: 0.75rem 1.25rem;
    margin: 0.25rem 0.75rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.sidebar .nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.sidebar .nav-link:hover::before {
    left: 100%;
}

.sidebar .nav-link:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    transform: translateX(5px);
    box-shadow: 0 2px 8px rgba(255, 255, 255, 0.1);
}

.sidebar .nav-link.active {
    background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 100%);
    color: #000000;
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
    font-weight: 600;
}

.sidebar .nav-link i {
    margin-right: 0.75rem;
    font-size: 1rem;
    width: 20px;
    text-align: center;
}

/* Main Content - Clean White */
.content-wrapper {
    background: var(--content-bg);
}

/* Cards - Professional White */
.card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    overflow: hidden;
}

.card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.card-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-bottom: 2px solid #000000;
    color: var(--text-primary);
    font-weight: 700;
    padding: 1rem 1.5rem;
    font-size: 0.95rem;
}

.card-body {
    color: var(--text-primary);
    padding: 1.5rem;
}

/* Stats Cards - Monochrome with Subtle Variations */
.border-left-primary {
    border-left: 4px solid #000000 !important;
}

.border-left-success {
    border-left: 4px solid #495057 !important;
}

.border-left-info {
    border-left: 4px solid #6c757d !important;
}

.border-left-warning {
    border-left: 4px solid #212529 !important;
}

/* Tables - Elegant Headers */
.table {
    color: var(--text-primary);
}

.table thead th {
    background: linear-gradient(135deg, #1a1a1a 0%, #000000 100%);
    color: #ffffff;
    border-color: #000000;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
    padding: 1rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.table tbody tr {
    border-color: var(--border-color);
    transition: all 0.2s ease;
}

.table tbody tr:hover {
    background: #f8f9fa;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.table-bordered {
    border-color: var(--border-color);
}

.table-bordered td,
.table-bordered th {
    border-color: var(--border-color);
}

/* Buttons - Elegant Gradients */
.btn {
    border-radius: 6px;
    font-weight: 600;
    padding: 0.5rem 1.25rem;
    transition: all 0.3s ease;
    border: none;
    font-size: 0.875rem;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: linear-gradient(135deg, #1a1a1a 0%, #000000 100%);
    color: #ffffff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
    color: #ffffff;
}

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

.btn-secondary:hover {
    background: #5a6268;
    color: #ffffff;
}

.btn-success {
    background: #495057;
    color: #ffffff;
}

.btn-success:hover {
    background: #343a40;
}

.btn-danger {
    background: #000000;
    color: #ffffff;
    border: 1px solid #000000;
}

.btn-danger:hover {
    background: #212529;
}

.btn-warning {
    background: #e9ecef;
    color: #000000;
    border: 1px solid #dee2e6;
}

.btn-warning:hover {
    background: #dee2e6;
    color: #000000;
}

.btn-info {
    background: #343a40;
    color: #ffffff;
}

.btn-info:hover {
    background: #23272b;
}

.btn-outline-primary {
    border: 2px solid #000000;
    color: #000000;
    background: transparent;
}

.btn-outline-primary:hover {
    background: #000000;
    color: #ffffff;
}

/* Forms - Clean and Professional */
.form-control,
.form-select {
    background: #ffffff;
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    border-radius: 6px;
    padding: 0.625rem 1rem;
    font-size: 0.9rem;
}

.form-control:focus,
.form-select:focus {
    background: #ffffff;
    border-color: #000000;
    color: var(--text-primary);
    box-shadow: 0 0 0 0.2rem rgba(0, 0, 0, 0.1);
}

.form-control::placeholder {
    color: var(--text-light);
}

.form-label {
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.form-check-input {
    background-color: #ffffff;
    border: 1px solid var(--border-color);
}

.form-check-input:checked {
    background-color: #000000;
    border-color: #000000;
}

/* Badges - Professional Monochrome */
.badge {
    padding: 0.375rem 0.75rem;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.75rem;
}

.bg-primary {
    background: #000000 !important;
    color: #ffffff !important;
}

.bg-success {
    background: #495057 !important;
    color: #ffffff !important;
}

.bg-danger {
    background: #000000 !important;
    color: #ffffff !important;
}

.bg-warning {
    background: #e9ecef !important;
    color: #000000 !important;
}

.bg-secondary {
    background: #6c757d !important;
    color: #ffffff !important;
}

.bg-info {
    background: #343a40 !important;
    color: #ffffff !important;
}

/* Alerts - Professional */
.alert {
    border-radius: 6px;
    border: none;
    border-left: 4px solid;
}

.alert-success {
    background: rgba(73, 80, 87, 0.1);
    color: #495057;
    border-left-color: #495057;
}

.alert-danger {
    background: rgba(0, 0, 0, 0.05);
    color: #000000;
    border-left-color: #000000;
}

/* Dropdown - Professional */
.dropdown-menu {
    background: #ffffff;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
    border-radius: 6px;
}

.dropdown-item {
    color: var(--text-primary);
    transition: all 0.2s ease;
    font-size: 0.9rem;
}

.dropdown-item:hover {
    background: #f8f9fa;
    color: var(--text-primary);
}

.dropdown-divider {
    border-color: var(--border-color);
}

/* Pagination */
.pagination .page-link {
    background: #ffffff;
    border-color: var(--border-color);
    color: var(--text-primary);
}

.pagination .page-link:hover {
    background: #f8f9fa;
    color: var(--text-primary);
}

.pagination .page-item.active .page-link {
    background: #000000;
    border-color: #000000;
    color: #ffffff;
}

/* Text Colors */
.text-primary {
    color: #000000 !important;
}

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

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

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

.text-info {
    color: #343a40 !important;
}

.text-muted {
    color: var(--text-secondary) !important;
}

.text-gray-800 {
    color: var(--text-primary) !important;
}

/* Border */
.border-bottom {
    border-bottom: 1px solid var(--border-color) !important;
}

/* List Group */
.list-group-item {
    background: #ffffff;
    border-color: var(--border-color);
    color: var(--text-primary);
}

/* Image Thumbnails */
.img-thumbnail {
    background: #ffffff;
    border-color: var(--border-color);
}

/* Scrollbar - Subtle */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

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

::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 5px;
}

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

/* Login Page - Professional Monochrome */
.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #000000 0%, #212529 100%);
    position: relative;
}

.login-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    padding: 3rem;
    max-width: 450px;
    width: 100%;
    position: relative;
    z-index: 1;
}

.login-logo {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: block;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card {
    animation: fadeInUp 0.4s ease-out;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    color: var(--text-primary);
}

.h2 {
    font-size: 1.75rem;
}