/*

Copyright (c) 2018 - 2025 PhotoPrism UG. All rights reserved.

    This program is free software: you can redistribute it and/or modify
    it under Version 3 of the GNU Affero General Public License (the "AGPL"):
    <https://docs.photoprism.app/license/agpl>

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU Affero General Public License for more details.

    The AGPL is supplemented by our Trademark and Brand Guidelines,
    which describe how our Brand Assets may be used:
    <https://www.photoprism.app/trademark>

Feel free to send an email to hello@photoprism.app if you have questions,
want to support our work, or just want to say hello.

Additional information can be found in our Developer Guide:
<https://docs.photoprism.app/developer-guide/>

*/

@import url("../../node_modules/photoswipe/dist/photoswipe.css");
@import url("../../node_modules/maplibre-gl/dist/maplibre-gl.css");
@import url("root.css");
@import url("splash.css");
@import url("text.css");
@import url("lightbox.css");
@import url("controls.css");
@import url("wallpapers.css");
@import url("themes.css");
@import url("effects.css");
@import url("navigation.css");
@import url("logs.css");
@import url("visibility.css");
@import url("views.css");
@import url("places.css");
@import url("labels.css");
@import url("files.css");
@import url("pages.css");
@import url("help.css");
@import url("auth.css");
@import url("layout.css");
@import url("vuetify.css");
@import url("notify.css");

/* Core Element Styles */

html,
body {
    overscroll-behavior-y: none;
    overscroll-behavior-x: none;
    min-height: 100%;
    margin: 0;
    padding: 0;
}

body {
    background-color: #fafafa;
    min-width: 320px;
}

main {
    padding: 0;
    margin: 0;
    z-index: 1;
}

/* General App Styles */

.v-autocomplete__selection {
    min-width: 100%;
}

.v-slide-group {
    overflow: initial;
}

.v-expansion-panel-text__wrapper {
    padding: 0;
}

.clickable {
    cursor: pointer;
}

.p-scroll {
    position: fixed;
    top: 72px;
    left: 50%;
    transform: translate(-50%, 0);
    padding: 0.6rem 1.2rem;
    margin: auto;
    opacity: 1;
    color: rgb(var(--v-theme-on-button, #000000));
    background-color: rgba(var(--v-theme-button, #ffffff), 0.8);
    /* backdrop-filter: blur(12px);
    box-shadow: 0 0.2rem 0.5rem #0000001a, 0 0 0.05rem #00000040;
    transition: color 125ms, background-color 125ms, transform 125ms cubic-bezier(.4, 0, .2, 1), opacity 125ms; */
    -webkit-tap-highlight-color: transparent;
    border: 0;
    border-radius: 1.6rem;
    cursor: pointer;
    display: block;
    font-family: inherit;
    font-size: 1rem;
    outline: none;
    user-select: none;
    text-decoration: none;
    z-index: 2;
}

.p-scroll svg {
    display: inline-block;
    vertical-align: -0.4em;
    fill: currentcolor;
    height: 1.33rem;
    width: 1.33rem;
}

.float-left {
    float: left;
}

.float-right {
    float: right;
}

a.float-left,
a.float-right {
    display: inline-block;
}

.p-page {
    user-select: none !important;
}

.not-selectable {
    user-select: none !important;
}

.text-selectable,
a.text-selectable,
span.text-selectable,
.p-page .text-selectable {
    user-select: text !important;
}

.p-page pre {
    overflow: auto;
    font-size: 0.875rem;
}

.is-rtl .v-card .caption {
    text-align: right;
}

ol,
ul {
    padding-left: 24px;
    padding-right: 24px;
}

body .v-list__item .v-icon {
    color: inherit;
}

/* Mouse Cursor */

.cursor-text {
    cursor: text !important;
}

.cursor-copy,
.cursor-copy i,
.cursor-copy svg,
.cursor-copy input,
.cursor-pointer {
    cursor: pointer !important;
}

.cursor-help {
    cursor: help !important;
}

.cursor-zoom-in {
    cursor: zoom-in !important;
}

.cursor-zoom-out {
    cursor: zoom-out !important;
}

.cursor-grab {
    cursor: grab !important;
}

/* Image Orientation */

.orientation-0 {
    transform: rotate(0deg);
}

.orientation-1 {
    transform: rotate(0deg);
}

.orientation-2 {
    transform: rotate(0deg);
}

.orientation-3 {
    transform: rotate(180deg);
}

.orientation-4 {
    transform: rotate(180deg);
}

.orientation-5 {
    transform: rotate(90deg);
}

.orientation-6 {
    transform: rotate(90deg);
}

.orientation-7 {
    transform: rotate(270deg);
}

.orientation-8 {
    transform: rotate(270deg);
}
