.app-sidebar .menu .menu-link.active {
    background-color: var(--bs-primary-light);
    color: var(--bs-primary);
}

.app-sidebar .menu .menu-link.active .menu-title,
.app-sidebar .menu .menu-link.active .menu-icon i {
    color: var(--bs-primary);
}

.pm-auth-hero {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 320px;
}

.pm-auth-overlay {
    background: linear-gradient(145deg, rgba(0, 0, 0, 0.20) 0%, rgba(0, 0, 0, 0.35) 100%);
}

.pm-auth-link {
    color: var(--bs-primary);
    text-decoration: none;
}

.pm-auth-link:hover {
    text-decoration: underline;
}

/* Compatibility for legacy internal components still using kt- prefixed tags */
.kt-input {
    display: block;
    width: 100%;
    padding: 0.775rem 1rem;
    font-size: 1.1rem;
    line-height: 1.5;
    color: var(--bs-gray-700);
    background-color: var(--bs-gray-100);
    background-clip: padding-box;
    border: 1px solid var(--bs-gray-300);
    border-radius: 0.475rem;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.kt-input:focus,
.kt-input input:focus,
.kt-input select:focus,
.kt-input textarea:focus {
    color: var(--bs-gray-700);
    background-color: var(--bs-body-bg);
    border-color: var(--pm-border-strong);
    outline: 0;
    box-shadow: 0 0 0 0.25rem var(--bs-focus-ring-color);
}

.kt-input input,
.kt-input select,
.kt-input textarea {
    border: 0;
    outline: 0;
    background: transparent;
    width: 100%;
}

.kt-form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    font-weight: 500;
}

.kt-alert {
    border-radius: 0.475rem;
    padding: 1rem;
    margin-bottom: 1rem;
}

.kt-alert-success {
    border: 1px solid var(--bs-success);
    background: var(--bs-success-bg-subtle);
    color: var(--bs-success-text-emphasis);
}

.kt-alert-destructive {
    border: 1px solid var(--bs-danger);
    background: var(--bs-danger-bg-subtle);
    color: var(--bs-danger-text-emphasis);
}

.kt-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border: 1px solid transparent;
    border-radius: 0.475rem;
    padding: calc(0.775rem + 1px) calc(1.5rem + 1px);
    font-size: 1.1rem;
    font-weight: 500;
    line-height: 1.5;
    cursor: pointer;
    text-decoration: none;
}

.kt-btn-primary {
    color: var(--bs-primary-inverse);
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
}

.kt-btn-light {
    color: var(--bs-gray-600);
    background-color: var(--bs-gray-100);
    border-color: var(--bs-gray-100);
}

.kt-btn-outline {
    color: var(--bs-gray-600);
    background-color: transparent;
    border-color: var(--pm-border-soft);
}

.kt-btn-sm {
    padding: 0.55rem 1rem;
    font-size: 0.95rem;
}

.kt-btn-xs {
    padding: 0.35rem 0.75rem;
    font-size: 0.85rem;
}

.kt-checkbox {
    width: 1.35rem;
    height: 1.35rem;
    margin-top: 0.1rem;
    border: 1px solid var(--pm-border-strong);
    border-radius: 0.45rem;
}

.kt-badge {
    display: inline-flex;
    align-items: center;
    border-radius: 0.425rem;
    padding: 0.35rem 0.65rem;
    font-size: 0.8rem;
    font-weight: 600;
}

.kt-badge-light {
    color: var(--bs-gray-600);
    background-color: var(--bs-gray-100);
}

.kt-badge-light-primary {
    color: var(--bs-primary);
    background-color: var(--bs-primary-light);
}
