.w-full {
    width: 100% !important;
}
/* Standard icon size (1.25rem = 20px) */
.wtk-icon {
    width: 1.25rem;
    height: 1.25rem;
    flex-shrink: 0; /* Prevents icons from shrinking in flex containers */
}
.wtk-icon:not(:defined) {
    display: none; /* Hide broken icons */
}

/* Flex container with spacing */
.wtk-flex-center {
    display: flex;
    align-items: center;
    gap: 0.5rem; /* = gap-2 (8px if 1rem = 16px) */
}

/* Fallback for older browsers */
@supports not (gap: 0.5rem) {
    .wtk-flex-center > * {
        margin-right: 0.5rem;
    }
    .wtk-flex-center > *:last-child {
        margin-right: 0;
    }
}
/* Table Container */
.wtk-table-container {
    overflow: hidden;
    border-radius: 0.5rem; /* rounded-lg */
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06); /* shadow-md */
}

/* Base Table */
.wtk-table {
    width: 100%; /* min-w-full */
    border-collapse: collapse;
    font-size: 0.875rem; /* text-sm */
}

/* Table Head */
.wtk-table thead {
    height: 64px;
    background-color: var(--color-secondary);
    color: var(--color-secondary-content);
}
/*    background-color: hsl(var(--b2, 240 4% 95%));  DaisyUI's base-200 background; Fallback to light gray */

/* Table Cells */
.wtk-table th,
.wtk-table td {
    padding-left: 1.5rem; /* px-6 */
    padding-right: 1.5rem;
}

@media (max-width: 768px) {
    .wtk-table th,
    .wtk-table td {
        padding-left: .5rem;
        padding-right: .5rem;
    }
}

/* Header Cells */
.wtk-table th {
    padding-top: 0.75rem; /* py-3 */
    padding-bottom: 0.75rem;
    text-align: left;
    font-weight: 500; /* font-medium */
    color: rgb(55 65 81); /* text-gray-700 */
    letter-spacing: 0.05em; /* tracking-wider */
}

/* Body Cells */
.wtk-table td {
    padding-top: 1rem; /* py-4 */
    padding-bottom: 1rem;
    color: rgb(17 24 39); /* text-gray-900 */
}

/* Zebra Striping */
.wtk-table tbody tr:nth-child(odd) {
    background-color: rgb(255 255 255); /* bg-white */
}

.wtk-table tbody tr:nth-child(even) {
    background-color: rgb(249 250 251); /* bg-gray-50 */
}

/* Hover Effect */
.wtk-table tbody tr {
    transition-property: background-color;
    transition-duration: 75ms;
}

.wtk-table tbody tr:hover {
    background-color: rgb(243 244 246); /* hover:bg-gray-100 */
}

/* Footer Styles */
/* Optional: Footer background */
.wtk-table tfoot {
    background-color: var(--color-accent);
    color: var(--color-accent-content);
}
[data-theme=winter] {
    --b1: 240 4% 95%;
    --b2: 240 4% 90%;
    --b3: 240 4% 85%;
    --bc: 240 10% 20%;
}

.wtk-table tfoot td {
    padding-top: 0.75rem; /* py-3 - matches th */
    padding-bottom: 0.75rem;
    text-align: right;
    color: hsl(var(--bc)); /* DaisyUI's base-content text */
    border-top: 1px solid hsl(var(--b3)); /* DaisyUI's base-300 border */
}

.wtk-table-summary {
    font-weight: 500; /* font-medium */
}
/*
        input:focus + label,
        input:not(:placeholder-shown) + label {
            transform: translateY(-1rem) scale(0.75);
            color: #3b82f6;
}
*/

/* Widgets */
.widget-box {
    min-height: 165px;
    min-width: 180px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center; /* Vertical centering */
    align-items: center; /* Horizontal centering */
    padding: 1rem; /* Add some padding */
}

.widget-box h1 {
    margin: 0; /* Remove margins for perfect centering */
    color: #FFFFFF;
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.05em;
    margin-bottom: 12px;
}

.widget-box h2 {
    margin: 0;
    color: #FFFFFF;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.1;
}

.widget-box h3 {
    margin: 0 0 0.25rem 0; /* Small bottom margin only */
    color: #FFFFFF;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
}

.widget-box h4 {
    margin: 0 0 0.25rem 0;
    color: #FFFFFF;
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.25;
}

.widget-box h5 {
    margin: 0 0 0.25rem 0;
    color: #FFFFFF;
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 1.3;
}

.widget-box h6 {
    margin: 0 0 0.25rem 0;
    color: #eceff1;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.4;
}

.widget-header {
    /* used for multi-widget-dashboards */
    background-color: var(--gradient-right);
    color: #FFFFFF;
    font-weight: bold;
    border-radius: 18px !important;
}
.widget-dashboard td {
    padding: 5px 5px !important;
}
/* Gradients used for Widgets */
.info-gradient {
    /* fallback/image non-cover color */
    background-color: #7f9bff;
    /* Firefox 3.6+ */
    background-image: -moz-linear-gradient(left, #7f9bff 0%, #2ddeff 100%);
    /* Safari 4+, Chrome 1+ */
    background-image: -webkit-gradient(linear, left top, right top, color-stop(0%, #7f9bff), color-stop(100%, #2ddeff));
    /* Safari 5.1+, Chrome 10+ */
    background-image: -webkit-linear-gradient(left, #7f9bff 0%, #2ddeff 100%);
    /* Opera 11.10+ */
    background-image: -o-linear-gradient(left, #7f9bff 0%, #2ddeff 100%);
    /* IE10+ */
    background: -ms-linear-gradient(left, #7f9bff 0%, #2ddeff 100%);
    /* Standard */
    background: linear-gradient(to right, #7f9bff 0%, #2ddeff 100%);
}

.warning-gradient {
    /* fallback/image non-cover color */
    background-color: #fe8c81;
    /* Firefox 3.6+ */
    background-image: -moz-linear-gradient(left, #fe8c81 0%, #fbd323 100%);
    /* Safari 4+, Chrome 1+ */
    background-image: -webkit-gradient(linear, left top, right top, color-stop(0%, #fe8c81), color-stop(100%, #fbd323));
    /* Safari 5.1+, Chrome 10+ */
    background-image: -webkit-linear-gradient(left, #fe8c81 0%, #fbd323 100%);
    /* Opera 11.10+ */
    background-image: -o-linear-gradient(left, #fe8c81 0%, #fbd323 100%);
    /* IE10+ */
    background: -ms-linear-gradient(left, #fe8c81 0%, #fbd323 100%);
    /* Standard */
    background: linear-gradient(to right, #fe8c81 0%, #fbd323 100%);
}

.danger-gradient {
    /* fallback/image non-cover color */
    background-color: #a77ffc;
    /* Firefox 3.6+ */
    background-image: -moz-linear-gradient(left, #a77ffc 0%, #ff6eac 100%);
    /* Safari 4+, Chrome 1+ */
    background-image: -webkit-gradient(linear, left top, right top, color-stop(0%, #a77ffc), color-stop(100%, #ff6eac));
    /* Safari 5.1+, Chrome 10+ */
    background-image: -webkit-linear-gradient(left, #a77ffc 0%, #ff6eac 100%);
    /* Opera 11.10+ */
    background-image: -o-linear-gradient(left, #a77ffc 0%, #ff6eac 100%);
    /* IE10+ */
    background: -ms-linear-gradient(left, #a77ffc 0%, #ff6eac 100%);
    /* Standard */
    background: linear-gradient(to right, #a77ffc 0%, #ff6eac 100%);
}

.red-gradient {
    /* fallback/image non-cover color */
    background-color: #e3143a;
    /* Firefox 3.6+ */
    background-image: -moz-linear-gradient(left, #e3143a 0%, #fb7eb3 100%);
    /* Safari 4+, Chrome 1+ */
    background-image: -webkit-gradient(linear, left top, right top, color-stop(0%, #e3143a), color-stop(100%, #fb7eb3));
    /* Safari 5.1+, Chrome 10+ */
    background-image: -webkit-linear-gradient(left, #e3143a 0%, #fb7eb3 100%);
    /* Opera 11.10+ */
    background-image: -o-linear-gradient(left, #e3143a 0%, #fb7eb3 100%);
    /* IE10+ */
    background: -ms-linear-gradient(left, #e3143a 0%, #fb7eb3 100%);
    /* Standard */
    background: linear-gradient(to right, #e3143a 0%, #fb7eb3 100%);
}

.success-gradient {
    /* fallback/image non-cover color */
    background-color: #11d7e4;
    /* Firefox 3.6+ */
    background-image: -moz-linear-gradient(left, #11d7e4 0%, #48eaa1 100%);
    /* Safari 4+, Chrome 1+ */
    background-image: -webkit-gradient(linear, left top, right top, color-stop(0%, #11d7e4), color-stop(100%, #48eaa1));
    /* Safari 5.1+, Chrome 10+ */
    background-image: -webkit-linear-gradient(left, #11d7e4 0%, #48eaa1 100%);
    /* Opera 11.10+ */
    background-image: -o-linear-gradient(left, #11d7e4 0%, #48eaa1 100%);
    /* IE10+ */
    background: -ms-linear-gradient(left, #11d7e4 0%, #48eaa1 100%);
    /* Standard */
    background: linear-gradient(to right, #11d7e4 0%, #48eaa1 100%);
}

.primary-gradient {
    /* fallback/image non-cover color */
    background-color: #7559ce;
    /* Firefox 3.6+ */
    background-image: -moz-linear-gradient(left, #7559ce 0%, #678fe9 100%);
    /* Safari 4+, Chrome 1+ */
    background-image: -webkit-gradient(linear, left top, right top, color-stop(0%, #7559ce), color-stop(100%, #678fe9));
    /* Safari 5.1+, Chrome 10+ */
    background-image: -webkit-linear-gradient(left, #7559ce 0%, #678fe9 100%);
    /* Opera 11.10+ */
    background-image: -o-linear-gradient(left, #7559ce 0%, #678fe9 100%);
    /* IE10+ */
    background: -ms-linear-gradient(left, #7559ce 0%, #678fe9 100%);
    /* Standard */
    background: linear-gradient(to right, #7559ce 0%, #678fe9 100%);
}

/* Wizard's Toolkit special styles */

.code-text {
    font-family: "Courier New", monospace !important;
    font-size: 16px !important;
    font-weight: bolder !important;
    color: black !important; /* Ensure text color remains black */
}

.code-text:focus {
    background-color: #e0f7fa !important; /* Light cyan background when focused */
    color: black !important; /* Ensure text color remains black when focused */
}
.bg-red-600 {
    background-color: #dc2626; /* This is the standard red-600 color in Tailwind */
}
.tooltip {
    display: flex !important;
}
hr {
    border-radius: initial !important;
}
@media (min-width: 1024px) {
    .lg-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
