.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    min-height: 42px;
    padding: 0.58rem 0.95rem;
    border-radius: 999px !important;
    font-weight: 600;
    line-height: 1.2;
}

.btn.btn-sm,
.btn.btn-lg {
    min-height: 42px;
}

.btn svg,
.btn .icon {
    width: 1rem !important;
    height: 1rem !important;
    flex: 0 0 auto;
}

.app-page-back-slot {
    display: flex;
    justify-content: flex-start;
    margin: 0 0 0.75rem;
}

.app-page-back-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    min-height: 42px;
    padding: 0.58rem 0.95rem;
    border-radius: 999px;
    font-weight: 600;
    color: #0d7fa7 !important;
    background: rgba(19, 150, 195, 0.10) !important;
    border: 1px solid rgba(19, 150, 195, 0.24) !important;
    text-decoration: none !important;
    box-shadow: 0 10px 20px rgba(15, 35, 55, 0.10);
}

.app-page-back-btn:hover,
.app-page-back-btn:focus {
    color: #0b7398 !important;
    background: rgba(19, 150, 195, 0.18) !important;
    border-color: rgba(13, 127, 167, 0.35) !important;
}

.app-page-back-btn svg {
    width: 1rem !important;
    height: 1rem !important;
    stroke: currentColor !important;
}

.row > .app-page-back-slot {
    width: 100%;
}

.app-scroll-top-btn {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    z-index: 1990;
    width: 3rem;
    height: 3rem;
    border: 1px solid rgba(13, 127, 167, 0.24);
    border-radius: 999px;
    background: linear-gradient(135deg, #0d7fa7, #1396c3);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 14px 28px rgba(10, 31, 52, 0.28);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    pointer-events: none;
}

.app-scroll-top-btn.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.app-scroll-top-btn:hover,
.app-scroll-top-btn:focus {
    color: #fff;
    background: linear-gradient(135deg, #0b7398, #1290bb);
}

.app-scroll-top-btn svg {
    width: 1.1rem;
    height: 1.1rem;
    stroke: currentColor;
}
