:root {
    --bg-color: #ffffff;
    --text-color: #000000;
    --accent-color: #333333;
    --border-color: #e5e5e5;
    --card-bg: #fcfcfc;
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1100px;
}

/* Premium B/W Header */
.navbar {
    background: #000 !important;
    padding: 1.5rem 0;
}

.navbar-brand {
    font-weight: 800;
    letter-spacing: -1px;
    font-size: 1.5rem;
    color: #fff !important;
}

.navbar .nav-link {
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    color: rgba(255, 255, 255, 0.7) !important;
    padding: 0.5rem 1.2rem !important;
    margin: 0 0.2rem;
    border-radius: 2px;
}

.navbar .nav-link:hover {
    background: #f8f8f8;
    color: #000 !important;
    transform: scale(1.05);
}

/* Aesthetic Cards */
.modern-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 0;
    /* Box-shaped as requested */
    padding: 2.5rem;
    margin-bottom: 2rem;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
}

.modern-card:hover {
    border-color: #000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

/* Typography */
h1,
h2,
h3 {
    font-weight: 800;
    letter-spacing: -0.05em;
    color: #000;
}

/* Form Styles */
.form-control-minimal {
    border: 1px solid var(--border-color);
    border-radius: 0;
    padding: 1rem;
    background: #fff;
    color: #000;
    font-size: 0.95rem;
}

.form-control-minimal:focus {
    border-color: #000;
    box-shadow: none;
    outline: none;
}

.btn-black {
    background: #000;
    color: #fff;
    border: none;
    border-radius: 0;
    padding: 1rem 2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.8rem;
    transition: all 0.2s ease;
}

.btn-black:hover {
    background: #333;
    color: #fff;
    transform: translateY(-1px);
}

/* Table Design */
.table-minimal {
    border-collapse: separate;
    border-spacing: 0 10px;
}

.table-minimal th {
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 2px;
    font-weight: 700;
    border-bottom: 2px solid #000;
    padding-bottom: 1rem;
}

.table-minimal td {
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--border-color);
    vertical-align: middle;
}

/* Dashboard Cards */
.dash-card {
    text-decoration: none;
    color: #000;
    border: 1px solid var(--border-color);
    padding: 3rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: 0.3s ease;
    aspect-ratio: 1 / 1;
    /* Force perfect square shape */
    width: 100%;
}

.dash-card:hover {
    background: #f8f8f8;
    /* Soft light gray instead of black */
    border-color: #000;
    transform: scale(1.02);
    color: #000;
    /* Ensure text remains black */
}

.dash-card i {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

/* Utility */
/* Search Box Styling */
.search-wrapper {
    position: relative;
    margin-bottom: 2.5rem;
}

.search-input-aesthetic {
    border: none;
    border-bottom: 2px solid #eee;
    padding: 1rem 0;
    font-size: 1.1rem;
    font-weight: 300;
    width: 100%;
    transition: border-color 0.3s ease;
    text-transform: none !important;
    /* Force usual case as requested */
}

.search-input-aesthetic:focus {
    outline: none;
    border-color: #000;
}

.search-icon {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.3;
}

@media (max-width: 768px) {
    .navbar-brand {
        font-size: 1.2rem;
    }

    .modern-card {
        padding: 1.5rem;
    }

    .dash-card {
        aspect-ratio: auto;
        padding: 2rem;
    }
}