/*
 Theme Name:   Bricks Child Theme
 Theme URI:    https://bricksbuilder.io/
 Description:  Use this child theme to extend Bricks.
 Author:       Bricks
 Author URI:   https://bricksbuilder.io/
 Template:     bricks
 Version:      1.1
 Text Domain:  bricks
*/

/* Tailwind-like utilities for Bricks Template Demo */
/* Removed !important as requested */

/* Layout & Spacing */
.p-8 {
    padding: 2rem;
}

.p-6 {
    padding: 1.5rem;
}

.py-12 {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.py-20 {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.px-4 {
    padding-left: 1rem;
    padding-right: 1rem;
}

.px-8 {
    padding-left: 2rem;
    padding-right: 2rem;
}

.py-2 {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.py-3 {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

.mb-16 {
    margin-bottom: 4rem;
}

.mb-8 {
    margin-bottom: 2rem;
}

.mb-4 {
    margin-bottom: 1rem;
}

.mb-2 {
    margin-bottom: 0.5rem;
}

.mt-8 {
    margin-top: 2rem;
}

.w-full {
    width: 100%;
}

.max-w-6xl {
    max-width: 72rem;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.w-12 {
    width: 3rem;
}

.h-12 {
    height: 3rem;
}

/* Flex & Grid */
.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.items-center {
    align-items: center;
}

.justify-center {
    justify-content: center;
}

.justify-between {
    justify-content: space-between;
}

.grid {
    display: grid;
}

.grid-cols-1 {
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

.gap-8 {
    gap: 2rem;
}

/* Colors & Backgrounds */
.bg-white {
    background-color: #ffffff;
}

.bg-gray-50 {
    background-color: #f9fafb;
}

.bg-gray-100 {
    background-color: #f3f4f6;
}

.bg-gray-900 {
    background-color: #111827;
}

.bg-blue-100 {
    background-color: #dbeafe;
}

.bg-blue-600 {
    background-color: #2563eb;
}

.hover-bg-blue-700:hover {
    background-color: #1d4ed8;
}

.text-white {
    color: #ffffff;
}

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

.text-gray-600 {
    color: #4b5563;
}

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

.text-gray-400 {
    color: #9ca3af;
}

.text-blue-600 {
    color: #2563eb;
}

/* Typography */
.text-center {
    text-align: center;
}

.text-4xl {
    font-size: 2.25rem;
    line-height: 2.5rem;
}

.text-2xl {
    font-size: 1.5rem;
    line-height: 2rem;
}

.text-xl {
    font-size: 1.25rem;
    line-height: 1.75rem;
}

.text-lg {
    font-size: 1.125rem;
    line-height: 1.75rem;
}

.font-bold {
    font-weight: 700;
}

.font-medium {
    font-weight: 500;
}

.italic {
    font-style: italic;
}

/* Borders & Effects */
.rounded-lg {
    border-radius: 0.5rem;
}

.rounded-xl {
    border-radius: 0.75rem;
}

.rounded-full {
    border-radius: 9999px;
}

.shadow-md {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.shadow-lg {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.border {
    border-width: 1px;
}

.border-gray-100 {
    border-color: #f3f4f6;
}

.border-gray-200 {
    border-color: #e5e7eb;
}

/* Specific Components */
.opacity-50 {
    opacity: 0.5;
}

.grayscale {
    filter: grayscale(100%);
}

/* Responsive */
@media (min-width: 768px) {
    .md-grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .md-grid-cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .md-grid-cols-4 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .md-text-6xl {
        font-size: 3.75rem;
        line-height: 1;
    }

    .md-flex-row {
        flex-direction: row;
    }
}

/* Dashboard Specific Styles */
.h-screen {
    height: 100vh;
}

.w-64 {
    width: 16rem;
}

.bg-dark-blue {
    background-color: #001529;
}

.flex-1 {
    flex: 1 1 0%;
}

.overflow-hidden {
    overflow: hidden;
}

.overflow-y-auto {
    overflow-y: auto;
}

/* Menu Items */
.menu-item-normal {
    display: flex;
    align-items: center;
    padding: 1rem 1.5rem;
    color: #a6adb4;
    cursor: pointer;
    transition: color 0.2s, background-color 0.2s;
}

.menu-item-normal:hover {
    color: #ffffff;
}

.menu-item-active {
    display: flex;
    align-items: center;
    padding: 1rem 1.5rem;
    background-color: #1890ff;
    color: #ffffff;
    cursor: default;
}

/* Dashboard Stats */
.text-3xl {
    font-size: 1.875rem;
    line-height: 2.25rem;
}

.text-sm {
    font-size: 0.875rem;
    line-height: 1.25rem;
}

/* Chart Visuals (CSS-only bars) */
.chart-bar-placeholder {
    background-color: #3b82f6;
    width: 2rem;
    border-radius: 2px 2px 0 0;
    transition: height 0.5s ease;
}

.chart-bar-placeholder:hover {
    opacity: 0.8;
}

/* Modern Welcome Page Styles */
.bg-slate-900 {
    background-color: #0f172a;
}

.flex-center-screen {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

.text-gradient {
    background: linear-gradient(to right, #60a5fa, #a855f7, #ec4899);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 800;
}

.text-8xl {
    font-size: 6rem;
    line-height: 1;
}

.tracking-widest {
    letter-spacing: 0.25em;
    text-transform: uppercase;
}

.relative {
    position: relative;
}

.z-10 {
    z-index: 10;
}

.z-0 {
    z-index: 0;
}

/* Glow Effect */
.glow-effect {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, rgba(15, 23, 42, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
}

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

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

.animate-fade-in {
    animation: fadeIn 1.5s ease-out forwards;
}