@tailwind base;
@tailwind components;
@tailwind utilities;

.p-menubar .p-menubar-submenu {
    z-index: 30; 
}

.p-dialog-content {
    display: flex;
    flex-direction: column;
}

/* Fix for FloatLabel positioning */
.p-float-label {
    display: block;
    position: relative;
    margin-top: 1.5rem; /* Space for floating label */
}

.p-float-label label {
    position: absolute;
    top: -0.75rem;
    left: 0.75rem;
    font-size: 12px;
    background: white;
    padding: 0 0.5rem;
    z-index: 1;
    transition: all 0.3s ease;
}

/* Ensure inputs have proper padding */
.p-float-label .p-inputtext,
.p-float-label .p-float-label-over,
.float-labels,
.p-float-label .p-dropdown {
    padding-top: 1.25rem !important;
    padding-bottom: 0.5rem !important;
}

a .p-tab,
a .p-button {
    text-decoration: none;
}

table.striped tr:nth-child(even) {
    background-color: white;
}

table.striped tr:nth-child(odd) {
    background-color: var(--primary-200);
}

table.full {
    width: 100%;
}
