/**
 * Ponderosa ERP - Custom Styles
 */

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
}

/* Don't override Metronic colors - let Tailwind handle theme */

/* Layout */
.d-flex {
    display: flex;
}

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

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

.flex-column-fluid {
    flex: 1;
}

.flex-root {
    flex: 1;
}

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

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

/* Grid */
.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -12px;
}

.col-xl-3, .col-xl-4, .col-xl-6, .col-xl-8 {
    padding: 0 12px;
    width: 100%;
}

@media (min-width: 1200px) {
    .col-xl-3 { width: 25%; }
    .col-xl-4 { width: 33.333333%; }
    .col-xl-6 { width: 50%; }
    .col-xl-8 { width: 66.666667%; }
}

.g-5 {
    gap: 20px;
}

/* Cards - don't override Metronic kt-card styles */
.card:not(.kt-card) {
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
}

.card-header {
    padding: 20px 24px;
}

.card-body {
    padding: 24px;
}

/* Tables - let Metronic kt-table handle styling */

/* Forms */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
}

/* Forms - let Metronic kt-input handle styling */


/* Buttons, Alerts, Badges - let Metronic kt-btn, kt-badge handle styling */

/* Sidebar - let Metronic kt-menu handle styling */

/* Container */
.container-fluid {
    width: 100%;
    padding: 0 24px;
}

/* Utilities - use Tailwind classes instead */
.fw-bold {
    font-weight: 700;
}

.fw-semibold {
    font-weight: 600;
}

/* Page wrapper */
.page {
    min-height: 100vh;
}

.wrapper {
    flex: 1;
    margin-left: 265px;
}

/* Content area */
.content {
    flex: 1;
    padding: 24px 0;
}

.post {
    flex: 1;
}

/* Breadcrumb - layout only, colors handled by Tailwind */
.breadcrumb {
    list-style: none;
    padding: 0;
    margin: 4px 0 0;
    display: flex;
    flex-wrap: wrap;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
    font-size: 13px;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "/";
    margin: 0 8px;
}

.breadcrumb-item a {
    text-decoration: none;
}

/* Responsive */
@media (max-width: 991px) {
    .wrapper {
        margin-left: 0;
    }

    #kt_aside {
        position: fixed;
        left: -265px;
        transition: left 0.3s;
        z-index: 1000;
    }

    #kt_aside.show {
        left: 0;
    }
}
