@import url("_theme.css");
@import url("_components.css");
@import url("_page.css");

/* --- Paginator --- */
.invisible-content {
    width: 100%;
    display: table;
}

/* --- Locator ---- */

div.locator {
    width: calc(100% - 4em - 500px);
    border-bottom: 1px solid rgb(0 0 0 / 5%);
    font-size: var(--font-s);
    margin: 0 auto;
    padding: 0 var(--spacing);
}

div.locator ul {
    list-style: none;
    display: flex;
    gap: var(--spacing-xs);
    margin: var(--spacing-xs) 0 0 0;
}

div.locator * {
    text-transform: uppercase;
    color: var(--color-text);
}

div.locator li::before {
    content: "/";
    color: var(--color-primary);
}

/* Message */
#system-message {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 3000;
    padding: var(--spacing-s);
    box-shadow: var(--shadow);
}

#system-message.information {
    background: var(--color-secondary);
    color: var(--color-primary);
}

#system-message.success {
    background: var(--color-success);
    color: white;
}

#system-message.error {
    background: var(--color-error);
    color: white;
}

/* Feedback form */
#feedback-form {
    width: clamp(30rem, 50vh, 50vh);
    align-self: center;
}

#feedback-form textarea {
    min-height: 10rem;
}

/* Debuging */
.content-context-menu {
    background: red;
    width: 10px;
    height: 10px;
    border-radius: 10px;
    display: none;
    position: absolute;
    font-size: 4px;
    cursor: pointer;
}

.content-context-menu ul {
    display: none;
    position: absolute;
    border: 1px solid #ccc;
    margin: 0;
    padding: 0;
}

.content-context-menu ul li {
    font-size: 8pt;
    color: #222;
    background: white;
    padding: 0.3em 3em;
    border-bottom: 1px solid #ccc;
    text-align: center;
    text-transform: lowercase;
    list-style: none;
}

.content-context-menu ul li:hover {
    background: #ccc;
}

.content-context-menu:hover > ul {
    display: table;
}

/* --- Start custom scroller design */
::-webkit-scrollbar-track {
    border-radius: 8px;
    background-color: lightgray;
}

::-webkit-scrollbar {
    width: 8px;
    border-radius: 0.125rem;
}

::-webkit-scrollbar-thumb {
    border-radius: 8px;
    background-color: gray;
}

/* --- End custom scroller design */

@media screen and (width >=0) and (width <=700px) {
    body {
        overflow-x: hidden;
    }

    .mobile-hide {
        display: none;
    }

    div.locator {
        display: none;
    }
}

.buttons-container {
    display: flex !important;
    gap: var(--spacing-s);
}
