/* EnnaPanLaam - Layout */

.app-shell {
    position: relative;
    min-height: 100vh;
    padding-bottom: var(--bottom-nav-height);
}

.page {
    min-height: calc(100vh - var(--bottom-nav-height));
    padding: var(--space-lg);
}

.bottom-nav {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    align-items: stretch;
    width: 100%;
    max-width: var(--app-max-width);
    height: var(--bottom-nav-height);
    margin: 0 auto;
    background: var(--color-surface);
    border-top: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm);
}

.bottom-nav__item {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1px;
    color: var(--color-text-muted);
    font-size: 12px;
    transition: color var(--transition-fast), background var(--transition-fast);
}

.bottom-nav__item:hover,
.bottom-nav__item.is-active {
    color: var(--color-primary);
}

.bottom-nav__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    line-height: 1;
}

.bottom-nav__icon-image {
    display: block;
    width: 60px;
    height: 40px;
    object-fit: contain;
}

.bottom-nav__icon {
    position: relative;
}

.bottom-nav__badge {
    position: absolute;
    top: -7px;
    right: -15px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #ef4444;
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
    border: 2px solid var(--color-surface);
    box-sizing: border-box;
}

.bottom-nav__label {
    line-height: 1;
}

.bottom-nav__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1px;
    text-decoration: none;
    color: #6b7280;
}

.bottom-nav__icon-image {
    display: block;
    width: 60px;
    height: 40px;
    object-fit: contain;
    transition: transform 0.2s ease, filter 0.2s ease;
}

.bottom-nav__label {
    font-size: 13px;
    font-weight: 500;
    transition: color 0.2s ease, font-weight 0.2s ease;
}

.bottom-nav__item.is-active .bottom-nav__icon-image {
    transform: translateY(-2px) scale(1.05);
}

.bottom-nav__item.is-active .bottom-nav__label {
    color: #5b3fc4;
    font-weight: 700;
}

/* Dedicated alert-card action menu alignment */
.ep-leave-card__menu-button {
    position: absolute !important;
    top: 12px !important;
    right: 12px !important;
    margin: 0 !important;
    z-index: 10;
}

.ep-leave-card__link {
    padding-right: 54px;
}
