/*! modern-normalize v1.0.0 | MIT License | https://github.com/sindresorhus/modern-normalize */

/*
Document
========
*/

/**
Use a better box model (opinionated).
*/

*,
*::before,
*::after {
    box-sizing: border-box;
}

/**
Use a more readable tab size (opinionated).
*/

:root {
    -moz-tab-size: 4;
    -o-tab-size: 4;
    tab-size: 4;
}

/**
1. Correct the line height in all browsers.
2. Prevent adjustments of font size after orientation changes in iOS.
*/

html {
    line-height: 1.15;
    /* 1 */
    -webkit-text-size-adjust: 100%;
    /* 2 */
        display: flex;
    justify-content: center;
}

/*
Sections
========
*/

/**
Remove the margin in all browsers.
*/

body {
    margin: 0;
    font-family:
        system-ui,
        -apple-system,
        /* Firefox supports this but not yet `system-ui` */
        'Segoe UI',
        Roboto,
        Helvetica,
        Arial,
        sans-serif,
        'Apple Color Emoji',
        'Segoe UI Emoji';
            width: 100%;
            max-width: 1700px;

}

/*
Grouping content
================
*/

/**
1. Add the correct height in Firefox.
2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)
*/

hr {
    height: 0;
    /* 1 */
    color: inherit;
    /* 2 */
}

/*
Text-level semantics
====================
*/

/**
Add the correct text decoration in Chrome, Edge, and Safari.
*/

abbr[title] {
    -webkit-text-decoration: underline dotted;
    text-decoration: underline dotted;
}

/**
Add the correct font weight in Edge and Safari.
*/

b,
strong {
    font-weight: bolder;
}

/**
1. Improve consistency of default fonts in all browsers. (https://github.com/sindresorhus/modern-normalize/issues/3)
2. Correct the odd 'em' font sizing in all browsers.
*/

code,
kbd,
samp,
pre {
    font-family:
        ui-monospace,
        SFMono-Regular,
        Consolas,
        'Liberation Mono',
        Menlo,
        monospace;
    /* 1 */
    font-size: 1em;
    /* 2 */
}

/**
Add the correct font size in all browsers.
*/

small {
    font-size: 80%;
}

/**
Prevent 'sub' and 'sup' elements from affecting the line height in all browsers.
*/

sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

sub {
    bottom: -0.25em;
}

sup {
    top: -0.5em;
}


h1,
h2,
h3,
h4 {
    letter-spacing: -0.05rem;
}

h1,
h2,
h3 {
    font-weight: 700;
}

h4,
h5,
h6 {
    font-weight: 600;
}

h1 {
    font-size: 3rem;
    line-height: 1.25;
}

h2 {
    font-size: 2.25rem;
    line-height: 1.3;
}

h3 {
    font-size: 1.875rem;
    line-height: 1.375;
}

h4 {
    font-size: 1.5rem;
    line-height: 1.375;
}

h5 {
    font-size: 1.25rem;
    line-height: 1.375;
}

h6 {
    font-size: 1rem;
    line-height: 1.625;
}

/*
Tabular data
============
*/

/**
1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)
2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)
*/

table {
    text-indent: 0;
    /* 1 */
    border-color: inherit;
    /* 2 */
}

/*
Forms
=====
*/

/**
1. Change the font styles in all browsers.
2. Remove the margin in Firefox and Safari.
*/

button,
input,
optgroup,
select,
textarea {
    font-family: inherit;
    /* 1 */
    font-size: 100%;
    /* 1 */
    line-height: 1.15;
    /* 1 */
    margin: 0;
    /* 2 */
}

/**
Remove the inheritance of text transform in Edge and Firefox.
1. Remove the inheritance of text transform in Firefox.
*/

button,
select {
    /* 1 */
    text-transform: none;
}

/**
Correct the inability to style clickable types in iOS and Safari.
*/

button,
[type='button'] {
    -webkit-appearance: button;
    user-select: none;
}

/**
Remove the inner border and padding in Firefox.
*/

/**
Restore the focus styles unset by the previous rule.
*/

/**
Remove the additional ':invalid' styles in Firefox.
See: https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737
*/

/**
Remove the padding so developers are not caught out when they zero out 'fieldset' elements in all browsers.
*/

legend {
    padding: 0;
}

/**
Add the correct vertical alignment in Chrome and Firefox.
*/

progress {
    vertical-align: baseline;
}

/**
Correct the cursor style of increment and decrement buttons in Safari.
*/

/**
1. Correct the odd appearance in Chrome and Safari.
2. Correct the outline style in Safari.
*/

/**
Remove the inner padding in Chrome and Safari on macOS.
*/

/**
1. Correct the inability to style clickable types in iOS and Safari.
2. Change font properties to 'inherit' in Safari.
*/

/*
Interactive
===========
*/

/*
Add the correct display in Chrome and Safari.
*/

summary {
    display: list-item;
}

/**
 * Manually forked from SUIT CSS Base: https://github.com/suitcss/base
 * A thin layer on top of normalize.css that provides a starting point more
 * suitable for web applications.
 */

/**
 * Removes the default spacing and border for appropriate elements.
 */

blockquote,
dl,
dd,
h1,
h2,
h3,
h4,
h5,
h6,
hr,
figure,
p,
pre {
    margin: 0;
}

button {
    background-color: transparent;
    background-image: none;
}

/**
 * Work around a Firefox/IE bug where the transparent `button` background
 * results in a loss of the default `button` focus styles.
 */

button:focus {
    outline: 1px dotted;
    outline: 5px auto -webkit-focus-ring-color;
}

fieldset {
    margin: 0;
    padding: 0;
}

ol,
ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

/**
 * Tailwind custom reset styles
 */

/**
 * 1. Use the user's configured `sans` font-family (with Tailwind's default
 *    sans-serif font stack as a fallback) as a sane default.
 * 2. Use Tailwind's default "normal" line-height so the user isn't forced
 *    to override it to ensure consistency even when using the default theme.
 */

html {
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    /* 1 */
    line-height: 1.5;
    /* 2 */
}

/**
 * Inherit font-family and line-height from `html` so users can set them as
 * a class directly on the `html` element.
 */

body {
    font-family: inherit;
    line-height: inherit;
}

/**
 * 1. Prevent padding and border from affecting element width.
 *
 *    We used to set this in the html element and inherit from
 *    the parent element for everything else. This caused issues
 *    in shadow-dom-enhanced elements like <details> where the content
 *    is wrapped by a div with box-sizing set to `content-box`.
 *
 *    https://github.com/mozdevs/cssremedy/issues/4
 *
 *
 * 2. Allow adding a border to an element by just adding a border-width.
 *
 *    By default, the way the browser specifies that an element should have no
 *    border is by setting it's border-style to `none` in the user-agent
 *    stylesheet.
 *
 *    In order to easily add borders to elements by just setting the `border-width`
 *    property, we change the default border-style for all elements to `solid`, and
 *    use border-width to hide them instead. This way our `border` utilities only
 *    need to set the `border-width` property instead of the entire `border`
 *    shorthand, making our border utilities much more straightforward to compose.
 *
 *    https://github.com/tailwindcss/tailwindcss/pull/116
 */

*,
::before,
::after {
    box-sizing: border-box;
    /* 1 */
    border-width: 0;
    /* 2 */
    border-style: solid;
    /* 2 */
    border-color: #343461;
    /* 2 */
}

/*
 * Ensure horizontal rules are visible by default
 */

hr {
    border-top-width: 1px;
}

/**
 * Undo the `border-style: none` reset that Normalize applies to images so that
 * our `border-{width}` utilities have the expected effect.
 *
 * The Normalize reset is unnecessary for us since we default the border-width
 * to 0 on all elements.
 *
 * https://github.com/tailwindcss/tailwindcss/issues/362
 */

img {
    border-style: solid;
}

textarea {
    resize: vertical;
}

input::-moz-placeholder,
textarea::-moz-placeholder {
    color: #a1a1aa;
}

input:-ms-input-placeholder,
textarea:-ms-input-placeholder {
    color: #a1a1aa;
}

input::placeholder,
textarea::placeholder {
    color: #a1a1aa;
}

button {
    cursor: pointer;
}

table {
    border-collapse: collapse;
}

/**
 * Reset links to optimize for opt-in styling instead of
 * opt-out.
 */

a {
    color: inherit;
    text-decoration: inherit;
}

/**
 * Reset form element properties that are easy to forget to
 * style explicitly so you don't inadvertently introduce
 * styles that deviate from your design system. These styles
 * supplement a partial reset that is already applied by
 * normalize.css.
 */

button,
optgroup,
select {
    padding: 0;
    line-height: inherit;
    color: inherit;
}

input,
textarea,
select {
    padding: 5px 10px;
}

/**
 * Use the configured 'mono' font family for elements that
 * are expected to be rendered with a monospace font, falling
 * back to the system monospace stack if there is no configured
 * 'mono' font family.
 */

pre,
code,
kbd,
samp {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

/**
 * Make replaced elements `display: block` by default as that's
 * the behavior you want almost all of the time. Inspired by
 * CSS Remedy, with `svg` added as well.
 *
 * https://github.com/mozdevs/cssremedy/issues/14
 */

img,
svg,
video,
canvas,
audio,
iframe,
embed,
object {
    display: block;
    vertical-align: middle;
}

/**
 * Constrain images and videos to the parent width and preserve
 * their instrinsic aspect ratio.
 *
 * https://github.com/mozdevs/cssremedy/issues/14
 */

img,
video {
    max-width: 100%;
    height: auto;
}

.space-x-2> :not([hidden])~ :not([hidden]) {
    --tw-space-x-reverse: 0;
    margin-right: calc(0.5rem * var(--tw-space-x-reverse));
    margin-left: calc(0.5rem * calc(1 - var(--tw-space-x-reverse)));
}

.space-x-3> :not([hidden])~ :not([hidden]) {
    --tw-space-x-reverse: 0;
    margin-right: calc(0.75rem * var(--tw-space-x-reverse));
    margin-left: calc(0.75rem * calc(1 - var(--tw-space-x-reverse)));
}

.space-y-4> :not([hidden])~ :not([hidden]) {
    --tw-space-y-reverse: 0;
    margin-top: calc(1rem * calc(1 - var(--tw-space-y-reverse)));
    margin-bottom: calc(1rem * var(--tw-space-y-reverse));
}

.space-x-7> :not([hidden])~ :not([hidden]) {
    --tw-space-x-reverse: 0;
    margin-right: calc(1.75rem * var(--tw-space-x-reverse));
    margin-left: calc(1.75rem * calc(1 - var(--tw-space-x-reverse)));
}

.bg-transparent {
    background-color: transparent;
}

.bg-white {
    --tw-bg-opacity: 1;
    background-color: rgba(255, 255, 255, var(--tw-bg-opacity));
}

.bg-gray-100 {
    --tw-bg-opacity: 1;
    background-color: rgba(244, 244, 245, var(--tw-bg-opacity));
}

.bg-yellow-100 {
    --tw-bg-opacity: 1;
    background-color: rgba(254, 243, 199, var(--tw-bg-opacity));
}

.bg-blue-100 {
    --tw-bg-opacity: 1;
    background-color: rgba(219, 234, 254, var(--tw-bg-opacity));
}

.bg-green-100 {
    --tw-bg-opacity: 1;
    background-color: rgba(209, 250, 229, var(--tw-bg-opacity));
}

.bg-green-500 {
    --tw-bg-opacity: 1;
    background-color: rgba(16, 185, 129, var(--tw-bg-opacity));
}

.bg-red-500 {
    --tw-bg-opacity: 1;
    background-color: rgba(246, 59, 59, var(--tw-bg-opacity));
}

.bg-yellow-500 {
    --tw-bg-opacity: 1;
    background-color: rgba(255, 193, 7, var(--tw-bg-opacity));
}

.bg-blue-500 {
    --tw-bg-opacity: 1;
    background-color: rgba(59, 130, 246, var(--tw-bg-opacity));
}

.bg-gray-700 {
    --tw-bg-opacity: 1;
    background-color: rgba(63, 63, 70, var(--tw-bg-opacity));
}

.bg-gray-800 {
    --tw-bg-opacity: 1;
    background-color: rgba(39, 39, 42, var(--tw-bg-opacity));
}

.bg-gray-900 {
    --tw-bg-opacity: 1;
    background-color: rgba(24, 24, 27, var(--tw-bg-opacity));
}

.border-transparent {
    border-color: transparent;
}

.border-white {
    --tw-border-opacity: 1;
    border-color: rgba(255, 255, 255, var(--tw-border-opacity));
}

.border-gray-200 {
    --tw-border-opacity: 1;
    border-color: rgba(228, 228, 231, var(--tw-border-opacity));
}

.border-gray-300 {
    --tw-border-opacity: 1;
    border-color: rgba(212, 212, 216, var(--tw-border-opacity));
}

.border-blue-500 {
    --tw-border-opacity: 1;
    border-color: rgba(59, 130, 246, var(--tw-border-opacity));
}

@media (prefers-color-scheme: dark) {
    .dark\:border-white {
        --tw-border-opacity: 1;
        border-color: rgba(255, 255, 255, var(--tw-border-opacity));
    }

    .dark\:border-gray-700 {
        --tw-border-opacity: 1;
        border-color: rgba(63, 63, 70, var(--tw-border-opacity));
    }

    .dark\:border-gray-800 {
        --tw-border-opacity: 1;
        border-color: rgba(39, 39, 42, var(--tw-border-opacity));
    }

    .dark\:border-gray-900 {
        --tw-border-opacity: 1;
        border-color: rgba(24, 24, 27, var(--tw-border-opacity));
    }
}

.border-opacity-75 {
    --tw-border-opacity: 0.75;
}

.rounded-md {
    border-radius: 0.375rem;
}

.rounded-lg {
    border-radius: 0.5rem;
}

.rounded-full {
    border-radius: 9999px;
}

.border {
    border-width: 1px;
}

.border-b-2 {
    border-bottom-width: 2px;
}

.border-r {
    border-right-width: 1px;
}

.border-b {
    border-bottom-width: 1px;
}

.cursor-pointer {
    cursor: pointer;
}

.flex {
    display: flex;
}

.inline-flex {
    display: inline-flex;
}

.table {
    display: table;
}

.hidden {
    display: none;
}

.flex-col {
    flex-direction: column;
}
.flex-wrap {
    flex-wrap: wrap;
}

.items-center {
    align-items: center;
}
.items-end {
    align-items: end;
}
.justify-end {
    justify-content: flex-end;
}

.justify-center {
    justify-content: center;
}
.justify-between {
    justify-content: space-between;
}
.flex-grow {
    flex-grow: 1;
}

.flex-shrink-0 {
    flex-shrink: 0;
}

.font-normal {
    font-weight: 400;
}

.font-medium {
    font-weight: 500;
}

.h-2 {
    height: 0.5rem;
}

.h-5 {
    height: 1.25rem;
}

.h-7 {
    height: 1.75rem;
}

.h-8 {
    height: 2rem;
}

.h-9 {
    height: 2.25rem;
}

.h-10 {
    height: 2.5rem;
}

.h-16 {
    height: 4rem;
}

.h-full {
    height: 100%;
}

.h-screen {
    height: 100vh;
}

.text-xs {
    font-size: 0.75rem;
    line-height: 1rem;
}

.text-sm {
    font-size: 0.875rem;
    line-height: 1.25rem;
}

.text-lg {
    font-size: 1.125rem;
    line-height: 1.75rem;
}

.text-3xl {
    font-size: 1.875rem;
    line-height: 2.25rem;
}

.leading-none {
    line-height: 1;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.ml-1 {
    margin-left: 0.25rem;
}

.mt-2 {
    margin-top: 0.5rem;
}

.mr-2 {
    margin-right: 0.5rem;
}

.mb-2 {
    margin-bottom: 0.5rem;
}

.ml-2 {
    margin-left: 0.5rem;
}

.mt-3 {
    margin-top: 0.75rem;
}

.mr-3 {
    margin-right: 0.75rem;
}

.mt-4 {
    margin-top: 1rem;
}

.mr-4 {
    margin-right: 1rem;
}

.ml-4 {
    margin-left: 1rem;
}

.mt-5 {
    margin-top: 1.25rem;
}

.mr-5 {
    margin-right: 1.25rem;
}

.mb-7 {
    margin-bottom: 1.75rem;
}

.mr-8 {
    margin-right: 2rem;
}

.ml-auto {
    margin-left: auto;
}

.ml-1\.5 {
    margin-left: 0.375rem;
}

.mr-2\.5 {
    margin-right: 0.625rem;
}

.-mb-0 {
    margin-bottom: 0px;
}

.-mb-0\.5 {
    margin-bottom: -0.125rem;
}

.focus\:outline-none:focus {
    outline: 2px solid transparent;
    outline-offset: 2px;
}

.overflow-hidden {
    overflow: hidden;
}

.overflow-y-auto {
    overflow-y: auto;
}

.overflow-x-hidden {
    overflow-x: hidden;
}
.g-1 {
    gap: 0.25rem;
}
.g-2 {
    gap: 0.5rem;
}
.g-4 {
    gap: 1rem;
}
.p-1 {
    padding: 0.25rem;
}

.p-3 {
    padding: 0.75rem;
}

.p-4 {
    padding: 1rem;
}

.p-5 {
    padding: 1.25rem;
}

.p-1\.5 {
    padding: 0.375rem;
}

.py-0 {
    padding-top: 0px;
    padding-bottom: 0px;
}

.py-1 {
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
}

.px-1 {
    padding-left: 0.25rem;
    padding-right: 0.25rem;
}

.py-2 {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.px-2 {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

.px-3 {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
}

.px-4 {
    padding-left: 1rem;
    padding-right: 1rem;
}

.px-10 {
    padding-left: 2.5rem;
    padding-right: 2.5rem;
}

.pt-0 {
    padding-top: 0px;
}

.pb-1 {
    padding-bottom: 0.25rem;
}

.pr-2 {
    padding-right: 0.5rem;
}

.pb-2 {
    padding-bottom: 0.5rem;
}

.pl-2 {
    padding-left: 0.5rem;
}

.pb-3 {
    padding-bottom: 0.75rem;
}

.pt-4 {
    padding-top: 1rem;
}

.pl-8 {
    padding-left: 2rem;
}

.pb-1\.5 {
    padding-bottom: 0.375rem;
}

.pl-2\.5 {
    padding-left: 0.625rem;
}

.absolute {
    position: absolute;
}

.relative {
    position: relative;
}

.sticky {
    position: -webkit-sticky;
    position: sticky;
}

.top-0 {
    top: 0px;
}

.right-0 {
    right: 0px;
}

.bottom-0 {
    bottom: 0px;
}

.left-2 {
    left: 0.5rem;
}

.top-1\/2 {
    top: 50%;
}

* {
    --tw-shadow: 0 0 #0000;
}

.shadow {
    --tw-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.shadow-lg {
    --tw-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

* {
    --tw-ring-inset: var(--tw-empty,
        /*!*/
        /*!*/
        );
    --tw-ring-offset-width: 0px;
    --tw-ring-offset-color: #fff;
    --tw-ring-color: rgba(59, 130, 246, 0.5);
    --tw-ring-offset-shadow: 0 0 #0000;
    --tw-ring-shadow: 0 0 #0000;
}

.ring-2 {
    --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
    --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
    box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
}

.ring-blue-500 {
    --tw-ring-opacity: 1;
    --tw-ring-color: rgba(59, 130, 246, var(--tw-ring-opacity));
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}
.text-center {
    text-align: center;
}
.text-white {
    --tw-text-opacity: 1;
    color: rgba(255, 255, 255, var(--tw-text-opacity));
}

.text-gray-200 {
    --tw-text-opacity: 1;
    color: rgba(167, 167, 191, var(--tw-text-opacity));
}

.text-gray-400 {
    --tw-text-opacity: 1;
    color: rgba(161, 161, 170, var(--tw-text-opacity));
}

.text-gray-500 {
    --tw-text-opacity: 1;
    color: rgba(113, 113, 122, var(--tw-text-opacity));
}

.text-gray-600 {
    --tw-text-opacity: 1;
    color: rgba(82, 82, 91, var(--tw-text-opacity));
}

.text-gray-700 {
    --tw-text-opacity: 1;
    color: rgba(63, 63, 70, var(--tw-text-opacity));
}

.text-gray-900 {
    --tw-text-opacity: 1;
    color: rgba(24, 24, 27, var(--tw-text-opacity));
}

.text-red-500 {
    --tw-text-opacity: 1;
    color: rgba(239, 68, 68, var(--tw-text-opacity));
}

.text-yellow-500 {
    --tw-text-opacity: 1;
    color: rgba(245, 158, 11, var(--tw-text-opacity));
}

.text-yellow-600 {
    --tw-text-opacity: 1;
    color: rgba(217, 119, 6, var(--tw-text-opacity));
}

.text-green-500 {
    --tw-text-opacity: 1;
    color: rgba(16, 185, 129, var(--tw-text-opacity));
}

.text-green-600 {
    --tw-text-opacity: 1;
    color: rgba(5, 150, 105, var(--tw-text-opacity));
}

.text-blue-500 {
    --tw-text-opacity: 1;
    color: rgba(59, 130, 246, var(--tw-text-opacity));
}

@media (prefers-color-scheme: dark) {
    .dark\:text-white {
        --tw-text-opacity: 1;
        color: rgba(255, 255, 255, var(--tw-text-opacity));
    }

    .dark\:text-gray-100 {
        --tw-text-opacity: 1;
        color: rgba(244, 244, 245, var(--tw-text-opacity));
    }

    .dark\:text-gray-400 {
        --tw-text-opacity: 1;
        color: rgba(161, 161, 170, var(--tw-text-opacity));
    }

    .dark\:text-gray-500 {
        --tw-text-opacity: 1;
        color: rgba(113, 113, 122, var(--tw-text-opacity));
    }

    .dark\:text-gray-600 {
        --tw-text-opacity: 1;
        color: rgba(82, 82, 91, var(--tw-text-opacity));
    }
}

.tracking-wider {
    letter-spacing: 0.05em;
}

.w-2 {
    width: 0.5rem;
}

.w-4 {
    width: 1rem;
}

.w-5 {
    width: 1.25rem;
}

.w-7 {
    width: 1.75rem;
}

.w-8 {
    width: 2rem;
}

.w-9 {
    width: 2.25rem;
}

.w-12 {
    width: 3rem;
}

.w-20 {
    width: 5rem;
}

.w-48 {
    width: 12rem;
}

.w-full {
    width: 100%;
}

.transform {
    --tw-translate-x: 0;
    --tw-translate-y: 0;
    --tw-rotate: 0;
    --tw-skew-x: 0;
    --tw-skew-y: 0;
    --tw-scale-x: 1;
    --tw-scale-y: 1;
    transform: translateX(var(--tw-translate-x)) translateY(var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.translate-x-0 {
    --tw-translate-x: 0px;
}

.translate-x-0\.5 {
    --tw-translate-x: 0.125rem;
}

.-translate-y-1\/2 {
    --tw-translate-y: -50%;
}

@-webkit-keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@-webkit-keyframes ping {

    75%,
    100% {
        transform: scale(2);
        opacity: 0;
    }
}

@keyframes ping {

    75%,
    100% {
        transform: scale(2);
        opacity: 0;
    }
}

@-webkit-keyframes pulse {
    50% {
        opacity: .5;
    }
}

@keyframes pulse {
    50% {
        opacity: .5;
    }
}

@-webkit-keyframes bounce {

    0%,
    100% {
        transform: translateY(-25%);
        -webkit-animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
        animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
    }

    50% {
        transform: none;
        -webkit-animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
        animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
    }
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(-25%);
        -webkit-animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
        animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
    }

    50% {
        transform: none;
        -webkit-animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
        animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
    }
}
.postertable > div {
    max-height: 40px;
    overflow: hidden;
    border-radius: 7px;
}
@media (min-width: 640px) {
    .sm\:block {
        display: block;
    }

    .sm\:flex {
        display: flex;
    }

    .sm\:inline-flex {
        display: inline-flex;
    }

    .sm\:mt-7 {
        margin-top: 1.75rem;
    }

    .sm\:p-3 {
        padding: 0.75rem;
    }

    .sm\:p-7 {
        padding: 1.75rem;
    }

    .sm\:px-7 {
        padding-left: 1.75rem;
        padding-right: 1.75rem;
    }

    .sm\:pt-7 {
        padding-top: 1.75rem;
    }

    .sm\:hidden {
        display: none;
    }

    .sm\:text-gray-400 {
        --tw-text-opacity: 1;
        color: rgba(161, 161, 170, var(--tw-text-opacity));
    }
}

.mobilemenu {
    position: fixed;
    bottom: 0;
    left: 0;
    display: flex;
    justify-content: space-between;
    width: 100%;
    background: #18181b;
    padding: 10px;
    gap: 5px;
}

.mobilemenu svg {
    width: 30px;
}

.mobilemenu>div {
    display: none;
    align-items: center;
    flex-direction: column-reverse;
    width: 24%;
    font-size: 11px;
    padding: 5px;
    border-radius: 5px;
}

.mobilemenu>div.mact {
    background-color: #dddddd24;
}

.butplace {
    display: flex;
    justify-content: flex-end;
    width: 100%;
    gap: 10px;
}

.info {
    text-align: left;
    align-items: flex-end;
}

.info>div {
    width: 100%;
}

.navbars {
    display: none;
}
thead{
        font-variant: all-petite-caps;
}
#crosspost{
    margin-top: 20px;
}
#crosspost .sntop{
display: flex;
gap: 20px;
}
#crosspost .sntop>*{
    width: 50%;
}
#listnewusers{
    padding: 10px;
}
#listnewusers .newusers > td{
    border: 1px solid #494952;
    border-radius: 3px;
    padding: 5px;
}
.browseMaterial .topMat {display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;}
.matCart:has(>button>span:empty){display: none;}
@media (max-width: 768px) {
.socTasks .socTask{font-size: 12px;}
.newslist .process .workers{
        flex-direction: column;
}

#matPlayer{width: 100%!important; }
.matPreview {
        flex-direction: column;
            height: unset!important;
                max-height: unset!important;
}
.browseMaterial .searchbase{
    position: relative;
    display: grid;
    grid-template-columns: 0.5fr 2fr 1fr;
    width: 95%;
}
.browseMaterial .topMat {justify-content: end!important;}
.browseMaterial .searchbase select{
    font-size: 12px;
            width: 100px;
}
#matPlayer > *{width: 100%!important; }

.matPreview .matInfo .matImg {
    width: unset!important;
}
#crosspost .sntop{
    flex-direction: column;
}
 #crosspost .sntop>*{
    width: 100%;
}   
table tbody td,table thead th {padding-left: 2px!important;padding-right: 2px!important;}
.postertable > div {
    width: 40px!important;
}
.tabstat > div{font-size: 9px;width: 70px;}
.matfile{
  width: 48%;
}
.matbase{flex-direction: column;}
.matfile > .mfpreview{width: 100%!important;}
.materials .matlink {grid-template-columns: 20px 1fr 2fr 70px!important;gap: 7px!important;}
.matlink {word-break: break-all;}
.matlink button{
          background-position: center;
      font-size: 0px;
      padding: 15px;
    background: url(/assets/img/PencilSquare.svg) no-repeat #3c82f6;
}

.listusers button {
    font-size: 10px;
    font-weight: 600;
}

#sres{
    width: 90vw!important;
}
    .navbars {
        display: flex;
        width: 30px;
        height: 100%;
        align-items: center;
    }

    .mobilemenu>div {
        display: flex;
    }

    .newshead {
        flex-wrap: wrap;
        width: 100%!important;
        margin: 20px 0px !important;
        gap: 10px !important;
        justify-content: space-between;
        align-items: center;

    }
.newshead .htitle{font-size: 0px;}
    .newshead>div {}

    .headerbase {
        flex-wrap: wrap;
    }

    .listinfo {
            flex-direction: column;
    }

    .listinfo>div{
        width: 100% !important;
    }

    .listinfo> div >div:not(.mobact) {
        display: none !important;
    }

    .info .buts {
        justify-content: space-between;
    }

    .menu {

        display: none;
        flex-direction: column;
        position: absolute;
        padding: 10px;
        background: #01020f;
        z-index: 11;
        height: 100vh;
        left: 0;
        justify-content: flex-start;

    }

    .menu a {
        height: 50px;
                font-size: 20px;
    }

    .navicon.active .menu {
        display: flex;
    }

    .navicon {
        position: static !important;

    }

    img.lazymail {
        object-fit: cover;
        aspect-ratio: 1 / 1;
    }

    .modal-content {
        width: 100% !important;
    }
    .newslist .process .imgs {
        width: 30px!important;
    }
    .newslist .process > img{
        display: none;
    }
    .wids{flex-wrap: wrap;}
}

@media (min-width: 768px) {

    .md\:table-cell {
        display: table-cell;
    }

    .md\:block {
        display: block;
    }
}

@media (min-width: 1024px) {
    .lg\:block {
        display: block;
    }

    .lg\:flex {
        display: flex;
    }
}

@media (min-width: 1280px) {
    .xl\:border-b {
        border-bottom-width: 1px;
    }

    .xl\:flex-row {
        flex-direction: row;
    }

    .xl\:w-72 {
        width: 18rem;
    }
}

@media (min-width: 1536px) {}

.user-menu {
    position: relative;
    display: inline-block;
}


#hosting iframe {
    aspect-ratio: 16 / 9;
    border-radius: 20px;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    padding: 5px 10px;
    color: white;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.user-info:hover {
    background-color: #252535;
}

.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.username {
    font-size: 16px;
    font-weight: 500;
}

.dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background-color: #252535;
    border: 1px solid #444;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 100;
    min-width: 150px;
    overflow: hidden;
}

.dropdown ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.dropdown li {
}

.dropdown li:hover {
    background-color: #444;
}

.dropdown li a {
        padding: 10px;
    text-decoration: none;
    color: white;
    display: block;
    width: 100%;
}

.user-menu.active .dropdown,
.worker-menu.active .dropdown {
    display: block;
}

[onclick] {
    cursor: pointer;

}
[onclick]:hover,a:not(.cursor-pointer):hover {
box-shadow: 0px 0px 5px #ffffff;
}

.tbuts {
    width: 100%;
    margin: 40px 0px;
    display: flex;
    gap: 20px;
    justify-content: flex-end;
}

.status1 {
    background: #ffb627;
    color: #232323;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 400;
    text-transform: uppercase;
        width: 80px;
}
[onclick="genText(this)"]{
  margin: 10px;
}
.status2 {
    background: #00932e;
    color: #ffffff;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 400;
    text-transform: uppercase;
}

main {
    background: #1a1a27;
}

.headerbase {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

button:disabled {
    opacity: 50%;
    cursor: inherit;
}

.newshead {
    display: flex;
    margin: 20px;
    width: max-content;
    gap: 20px;
    padding: 10px;
}

.newshead>div {
    display: flex;
    gap: 10px;
    align-items: center;
        align-items: flex-start;
}
.newshead>div>div {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.newshead span {
    background: #000d18;
    padding: 6px;
    border-radius: 3px;
        display: block;
            text-align: center;
}
.statsinfo>div:has(span:empty){
    display: none;
}
.listinfo {
    margin-bottom: 100px;
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

.listinfo>div {
    width: 50%;
}

.listinfo>div>div {
    display: flex;
    gap: 10px;
    flex-direction: column;
}

.listinfo .buts {
    align-self: end;
        margin: 10px 0px;

}

.matinputs {
    width: 100%;
}
.matinputs input:disabled{
        opacity: 50%;
}
.matinputs input:not(.active) {
    display: none;
}

.sourcemat {
    width: 200px;
    position: relative;
}

div.sourcemat:not(:has(> input.smintp:focus)):not(:hover) #msresults {
    display: none;
}

.sourcemat>#msresults {
    border-radius: 0px 0px 5px 5px;
    padding: 3px;
    position: absolute;
    background: #27272a;
    text-align: center;
        display: flex;
    flex-direction: column;
    gap: 5px;
        width: 200px;
}
.sourcemat>#msresults{
        padding: 0;
    margin: 0;
}
.sourcemat>#msresults>a:hover{background: #54545a;}
.sourcemat>#msresults>a{
        text-align: start;
    padding: 5px;
}
.buts:not(.edit) .bsave {
    display: none;
}

.buts.edit .bedit {
    display: none;
}

.buts {
    display: flex;
    gap: 20px;
    width: 100%;
    justify-content: flex-end;
}
.info:has(.posterbase) .buts  {margin-bottom: 10px;}
button {
    text-transform: capitalize;
    font-variant: all-small-caps;
}

.upimage {
    width: 100%;
    margin-bottom: 20px;
}
.loginfo ul li{
        white-space: break-spaces;
}
.loginform {
    width: 300px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.listinfo *:readonly {
    background-color: #ccc !important;
}

.h-32 {
    height: 10rem;
}

.uploadprogress {
    width: 200px;
    border-radius: 5px;
    border: 1px solid #483a74;
    overflow: hidden;
    position: relative;
}

.uploadprogress>.filename {
    text-align: center;
    color: #ffffff;
    height: 100%;
    padding: 5px;
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 3;
    transform: translate(-50%, -50%);
    width: 100%;
}

.uploadprogress>.bar {
    height: 100%;
    width: 0%;
    background: #00ff00a6;
    position: absolute;
    top: 0px;
    left: 0px;
}

.uploadprogress>.close {
    position: absolute;
    right: 4px;
    padding: 5px;
    cursor: pointer;
    z-index: 5;
    backdrop-filter: blur(10px);
}

.uprogress:not(.uploadprogress)>div {
    display: none;
}

.info {
    margin-top: 20px;
    background: #18181b;
    padding: 20px;
    border-radius: 10px;
}

.info>input,
.info>textarea {
    padding: 5px;
}

.info>input:not(:read-only),
.info>textarea:not(:read-only) {
    color: #fff;
    background: #000d18;
}
.matheads{
    font-variant: all-petite-caps;
}
#modalbody .matbase {
flex-wrap: wrap;
}
#modalbody .matbase .matcomm{
    width: 100%;
}
#modalbody .matbase .sourcemat{
width: 28%;
}
#modalbody .matbase .matinputs{
width: 70%;
}
#modalbody .matbase .matbuts{
    width: 100%;
    justify-content: flex-end;
}
.matbase {
    display: flex;
    gap: 10px;
}
input:not(:placeholder-shown),textarea:not(:placeholder-shown){color:#fff;}
.posterbase {
    width: 100%;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}

.posterbase>.poster,
.posterbase>.video {
    border-radius: 10px;
}

.info video:not([src]),
.info img:not([src]) {
    display: none;
}


.usermain {
    display: flex;
    flex-direction: column;
}

.usermain span {
    font-size: 12px;
    padding: 0px;
    margin: 0px;
    line-height: 12px;
}

.role1 {
    color: #ff6363;
}

.role2 {
    color: #63a0ff;
}

.role3 {
    color: #22ff7a;
}
.role4 {
    color: #ff9800;
}
.role5 {
    color: aqua;
}
.role6 {
    color: deepskyblue;
}
.userfileds {
    margin-top: 30px;
    gap: 30px;
    max-width: 300px;
}

.userfileds label {
    display: flex;
    justify-content: space-between;
    position: relative;
}

.userfileds label .passwd {
    padding-right: 30px;
}

.userfileds .dice {
    filter: invert(1);
    position: absolute;
    right: 3px;
    width: 20px;
    top: 5px;
    cursor: pointer;
    z-index: 11;
}

.userfileds .saveusr {
    align-self: end;
}

#avatar {
    object-fit: cover;
    aspect-ratio: 1 / 1;
}

.materials {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 30px;
}
.matlinks{
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.materials .matlink {
    display: grid;
    grid-template-columns: 20px 1fr 1fr 2fr 138px;
    gap: 20px;
    align-items: center;
    justify-items: start;
}
.materials .matlink .mathref{
        overflow: hidden;
        width: 100%;
}
.materials img.maticon {
    filter: invert(100%);
    width: 30px;
    cursor: pointer;
}

.materials .matfile img.maticon {
    position: absolute;
    right: 10px;
    top: 10px;
}
.materials .matfile .mfcomment {
        bottom: 10px;
    top: unset!important;
}
.materials .matfile .mfsource {
    position: absolute;
    background: black;
    background: #00000082;
    backdrop-filter: blur(5px);
    padding: 10px;
    border-radius: 4px;
    z-index: 3;
    top: 5px;
    left: 5px;
}


.matfile>.mfpreview {
    overflow: hidden;
    position: relative;
    width: 195px;
    border-radius: 10px;
    min-height: 200px;
}
.matfile>.mfpreview:has(audio) .maticon{
    height: 100%;
    width: 100%;
}
.materials .matfile .matpreview {
    width: 200px;
    height: 200px;
    object-fit: cover;
    aspect-ratio: 1 / 1;
}

.matfiles {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.matfiles .mfpreview button {
    z-index: 11;
    position: absolute;
    bottom: 0px;
    right: 0px;
    width: 50px;
}
.matfiles .mfpreview button img{
    width: 100%;
}
.matfiles .matbuts {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    font-size: 12px;
}
#mfiles{display: none;}
#mfiles:has(div.matfile){display: block;}
#mlinks{display: none;}
#mlinks:has(div.matlink){display: block;}
.matlink .downmat{display: flex;}
.matlink .downmat img{
    max-width: 20px;
    width: 20px;
        filter: invert(1);
}
.ytdown:has(button:disabled) .ytprogress{
background: #f0ffff14;
}
.batchfilename{
        position: relative;
    z-index: 4;
    padding-left: 5px;
    height: 100%;
    display: flex;
    align-items: center;
    overflow: hidden;
}
.modal .matbase {
    margin-top: 30px;
}

.modal .matbase .matbuts {
    display: flex;
    gap: 10px;
}

.modal {
    display: none;
    position: fixed;
    z-index: 11;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.modal.show {
    display: block;
    opacity: 1;
}

.modal-content {
    background-color: #18181b;
    margin: 5% auto;
    padding: 20px;
    border: 1px solid #242e39;
    width: 80%;
    border-radius: 10px;
    min-height: 150px;
    position: relative;
}

.close-btn {
    color: #fff;
    float: right;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    right: 10px;
    top: -1px;
}

.close-btn:hover,
.close-btn:focus {
    color: #ff8c8c;
    text-decoration: none;
    cursor: pointer;
}

.modal .info {
    padding: 0px 20px;
}

.lbinfo {
    display: flex;
    justify-content: center;
    padding: 10px 20px;
}

.workerbase span {
    background-color: inherit;
}
.workerbase b{font-size: 11px;}
.worker {
  display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    width: 50px;
}
.worker{
    text-align: center;
}
.worker-menu {
    position: relative;
}

.worker-menu .dropdown .vdebase {
    display: flex;
    flex-direction: row;
    width: 100%;
}

#listfiles {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 30px;
}

#listfiles .usfb {
    display: grid;
    grid-template-columns: 1fr 100px 1fr;
}

.iframtextarea {
    resize: none;
    height: 86px;
}

#yandexinfo[data-id=""] {
    display: none;
}
button.load{display: flex;     align-items: center;}
button.load::after {

  top: 50%;
  width: 16px;
  height: 16px;
  animation: spin 1s linear infinite;
  content: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor"><path fill-rule="evenodd" d="M15.312 11.424a5.5 5.5 0 0 1-9.201 2.466l-.312-.311h2.433a.75.75 0 0 0 0-1.5H3.989a.75.75 0 0 0-.75.75v4.242a.75.75 0 0 0 1.5 0v-2.43l.31.31a7 7 0 0 0 11.712-3.138.75.75 0 0 0-1.449-.39Zm1.23-3.723a.75.75 0 0 0 .219-.53V2.929a.75.75 0 0 0-1.5 0V5.36l-.31-.31A7 7 0 0 0 3.239 8.188a.75.75 0 1 0 1.448.389A5.5 5.5 0 0 1 13.89 6.11l.311.31h-2.432a.75.75 0 0 0 0 1.5h4.243a.75.75 0 0 0 .53-.219Z" clip-rule="evenodd" /></svg>');
  margin: 16px 0 0 4px;
  animation: spin 1s linear infinite;
  display: block;
}

@keyframes spin {
  0% {
    transform: translateY(-50%) rotate(0deg);
  }
  100% {
    transform: translateY(-50%) rotate(360deg);
  }
}

#addmatBatch{
    min-height: 50vh;
}
.hdata{width: 110px;text-align: end;}

video:not([src*="."]){
    display: none!important;
}
.apexcharts-menu{
        background: #000000b0!important;
        border: 1px solid #3f3f3f!important;
}
.apexcharts-menu > div:hover{
    background: #3f3f4ed1!important;
}
.worklist{
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}
.wlist .workertd {
    width: 60px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 10px;
    line-height: 14px;
    gap: 4px;
}
.wlist{
    padding: 10px;
    display: flex;
    gap: 10px;
    align-items: center;
    background-color: #1488ed24;
    border-radius: 10px;
}
main > .wlist{
    margin-top: 10px;
    margin-bottom: 10px;
    width: max-content;
           max-width: calc(100vw - 30px);
}
.wlist span{font-size: 30px;line-height: normal;}
.wids{display: flex;gap: 3px;}
.idw {
    padding: 10px;
    background: #1a1a27;
    border-radius: 10px;
}
main > .finalImport:not(.vid){
    display: none;
}
main > .finalImport.vid{
    position: fixed;
    right: 10%;
    bottom: 0px;
    background: #222237;
    padding: 10px 20px;
    border-radius: 10px;
}
.newslist .process {
    display: flex;
        gap: 5px;
        justify-content: flex-end;
}
.newslist .process .workertd{
width: 50px;
display: flex;
flex-direction: column;
align-items: center;
font-size: 12px;
}
.selNews{scale: 1.3;}
.newslist tr:has(.selNews:checked){
        background-color: #0080b270;
} 
.newslist .process .workertd b {
    margin-top: 5px;
    text-align: center;
    line-height: 12px;
    font-size: 10px;

    max-width: 100%;
    overflow: auto;
}
.newslist .process a {
    display: flex;
        width: 20px;

}
.newslist .process .workertd img{
    object-fit: cover;
    border-radius: 57%;
    width: 30px;
    height: 30px;}
.newslist .process .imgs {
    width: 66px;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    }
.newslist .process .nwltags{
    width: 30px;

}
img.invert{
    filter: invert(1);
}
.newslist .process img{
        width: 20px;
}
#tooltip {
            position: absolute;
            padding: 8px 12px;
            background-color: #333;
            color: #fff;
            border-radius: 4px;
            font-size: 14px;
            display: none; 
            z-index: 1000;
            pointer-events: none;
                transform: translate(-50%);
        }

.youtask{
    background-color: #1488ed24;
}
.massbuts{
        display: flex;
    gap: 10px;
}
.loader{

    pointer-events: none;
}
.loader > *{
       opacity: 50%; 
}
.loader::after {
    content: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor"><path fill-rule="evenodd" d="M15.312 11.424a5.5 5.5 0 0 1-9.201 2.466l-.312-.311h2.433a.75.75 0 0 0 0-1.5H3.989a.75.75 0 0 0-.75.75v4.242a.75.75 0 0 0 1.5 0v-2.43l.31.31a7 7 0 0 0 11.712-3.138.75.75 0 0 0-1.449-.39Zm1.23-3.723a.75.75 0 0 0 .219-.53V2.929a.75.75 0 0 0-1.5 0V5.36l-.31-.31A7 7 0 0 0 3.239 8.188a.75.75 0 1 0 1.448.389A5.5 5.5 0 0 1 13.89 6.11l.311.31h-2.432a.75.75 0 0 0 0 1.5h4.243a.75.75 0 0 0 .53-.219Z" clip-rule="evenodd" /></svg>');
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30px; 
    height: 30px;
    background-size: contain; 
    animation: spin 1s linear infinite;
    z-index: 13; 
    filter: invert(1);
}
.searchbase{
    position: relative;
           width: 50%;
}
.searchbase:focus-within #sres {
    display: flex;
    
}
.searchbase input{
    color: #fff;
        background: #3b415d;
}
body:has(.searchbase>input:focus) >div.h-screen:after{
background-color: #000;
width: 100vw;
height: 100vh;
content: '';
position: absolute;
opacity: 70%;
}
body:has(.searchbase>input:focus) .overflow-y-auto{
    overflow: hidden;
}
.searchbase:has(input:focus){
    z-index: 11;
        position: relative;
}
#sres{
position: absolute;
    background: #18181b;
    width: 100%;
    padding: 10px;
    z-index: 11;
    display: none;
    flex-direction: column;
    max-height: 100vh;
    overflow-x: hidden;
    overflow-y: scroll;
    
}
a.search_result{
        display: flex;
        gap: 5px;
        padding: 10px;
}
a.search_result:hover{
    background-color: #ffffff0d;;
}
a.search_result > img{
    width: 50px;
    object-fit: contain;
    border-radius: 5px;
}
.newspeview{
        white-space: pre-wrap!important;
}
.razer{
    background-color: #000000;
    height: 15px;
    text-align: center;
    font-size: 20px;
    padding: 10px;
}
.idwc2{color: lime;}


.tabs{
    display: none;
    gap: 10px;
    margin-top: 30px;
    margin-bottom: -20px;
    margin-left: 20px;
}
.ur1 .tabs,.ur2 .tabs, .ur5 .tabs{
    display: flex;
}
.tabs div{
    background: #2c2c43;
    padding: 15px;
    border-radius: 10px 10px 0px 0px;
    cursor: pointer;
}
.tabs div:hover,.tabs div.active{
    background: #4f4f76;
}
.tbb:not(.active){display: none;}
.sndescr{
        white-space: pre-line;
}
.snconfig .info .buts{margin-top: 10px;} 
.socPost{
    height: 200px;
}
.socTasks{
    display: flex;
    flex-direction: column;
    gap: 10px;
            margin: 20px 0px;
}
.socTasks .socTask{
    display: grid;
        grid-template-columns: 1fr 2fr 1fr 1fr 50px;
            justify-items: center;
    justify-content: end;
}
.socTasks .socTask .close-btn {position: relative;}
.socials{
    display: flex;
    gap: 20px;
    font-variant: all-petite-caps;
    font-weight: 400;
    color: #d1d1ff;
    margin: 10px;
    flex-wrap: wrap;
}
.socials input.selNews{transform: scale(1.3);
    margin: 0px 5px;}
.socials label{
        display: flex;
    flex-direction: row-reverse;
    align-items: center;
}
.soctimeout label{
        align-items: center;
    gap: 5px;
}
.soctimeout input[type="datetime-local"] {
  background-color: #121212; 
  color: #ffffff; 
  border: 1px solid #333;
  border-radius: 4px; 
  padding: 5px;
}
.soctimeout:has(label>input[type="checkbox"]:not(:checked)) input[type="datetime-local"]{
        pointer-events: none;
        opacity: 0.5; 
}
.soctimeout input[type="datetime-local"]::-webkit-calendar-picker-indicator {
  filter: invert(1); /* Инвертировать цвета значка календаря для темной темы */
}
.info:has(.soctimeout ){
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}
.yt-dlp{
    display: flex;
    gap: 10px;
    }
.ytposter{
    width: 30%;
    max-width: 400px;
    object-fit: contain;
    }
.ytdes{
     display: block;
    text-overflow: ellipsis;
    word-wrap: break-word;
    overflow: hidden;
    max-height: 36px;
    line-height: 12px;
    font-size: 12px;
        margin-bottom: 30px;
        max-width: 450px;
}
.ytbages span{
     padding: 10px;
    background: #f0f8ff36;
    border-radius: 4px;
}
.ytdown{
    margin-top: 20px;
    display: flex;
    width: 100%;
    gap: 10px;
}
.ytprogress{
    width: 100%;
    height: 20px;
    position: relative;
}
.ytprc{
    position: relative;
    z-index: 2;
    filter: brightness(0.5);
    width: 100%;
    text-align: center;
    margin-top: -2px;
}
.ytbar{
    width: 0%;
    height: 100%;
    position: absolute;
    top: 0px;
    background: aliceblue;
    z-index: 1;
}
.ytinfo{width: 100%}
.matPreview{
    max-height: 40vh;
    width: 100%;
    display: flex;
        margin: 30px 0px;
    gap: 30px;
}
.matPreview iframe, .matPreview video{border-radius:10px; aspect-ratio: 16/9;    object-fit: cover;}
.matPreview img {border-radius:10px; aspect-ratio: 16/9;    object-fit: contain;}

.matBrowse {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: flex-start;
    justify-content: center;
    max-height: 60vh;
    overflow: scroll;
    padding-top: 20px;
    align-content: flex-start;
}
.matBrowse .bmat{
    width: 160px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: relative;
}
.matBrowse .bmat.act img{outline: 3px solid #fd5c98; 
}
.matBrowse1 .bmat.act{background: #ffffff24;}
 .matBrowse .bmat img{ max-height: 90px;
    border-radius: 5px;     object-fit: cover;  image-rendering: pixelated;}
 .matBrowse .bmat img[data-type="noimg"]{filter: invert(1);}
 .matBrowse .bmat .bmatTitle{
            word-wrap: break-word;
    font-size: 12px;
    line-height: 16px;
    height: 46px;
    overflow: hidden;
    font-weight: 500;
 }


 .matBrowse .bmat .bmatTags{    display: flex;
    flex-wrap: wrap;
        justify-content: center;
    gap: 3px;}




.matBrowse .bmat .bmatTags .mtag{    background: #f0f8ff38;
    padding: 5px;
    border-radius: 4px;
    font-size: 11px;
}
.matPreview .matInfo {    display: grid;
    grid-template-columns: 2fr 1fr;
        align-content: stretch;
    align-items: start;
    width: 100%;
    justify-items: end;
    grid-template-rows: max-content;
}
.matPreview .matInfo .matImg {width: 300px;height: 124px;
    object-fit: cover;}
.matPreview .matInfo .mainInf span{
        padding: 8px;
    background: #333939;
    border-radius: 5px;
    margin: 5px;
    display: block;
        font-size: 12px;
}
.matPreview .matInfo .mainInf{
    display: flex;
    gap: 5px 20px;
    flex-direction: row;
    align-items: flex-start;
        width: 100%;
            flex-wrap: wrap;
}

.modal-content:has(.browseMaterial){
margin: unset;
}
.mBButs{
        grid-column: span 2;
            display: flex;
    justify-content: flex-end;
    gap: 20px;
}
.pager{
        display: flex;
    align-items: center;
    gap: 10px;
        justify-content: flex-end;
    margin-top: -62px;
}
.matPreview{visibility: hidden;}
.matPreview:has(#matPlayer>*){visibility: visible;}
#matPlayer{width: 50%;object-fit: contain;
    aspect-ratio: 16 / 9;}
#matPlayer > *{height: 100%; }
.pager button img.matBack{
    transform: rotate(180deg);
}
.pager button img{
        height: 10px;
    filter: invert(1);
    scale: 2;
}
.pager .cntp{
        padding: 10px;
    background: #000;
    border-radius: 5px;
}
.mainInf>*:has(span:empty){
    display: none;
}
.newsMat:has(.newsTitle:empty){
    display: none;
}
.newsMat{max-width: calc(100vw/6);}
.newsMat .newsTitle{
        height: 44px;
    overflow: hidden;
}
.headerbase .workerbase:has(span:empty){display: none;}

/* Общие стили для скроллбара */
::-webkit-scrollbar {
    width: 12px; /* Ширина вертикального скроллбара */
    height: 12px; /* Высота горизонтального скроллбара */
}

/* Фон скроллбара */
::-webkit-scrollbar-track {
    background: #1e1e1e; /* Тёмный фон трека */
    border-radius: 10px; /* Закругление трека */
}

::-webkit-scrollbar-thumb {
    background: #3a3a3a; /* Тёмный цвет ползунка */
    border-radius: 10px; /* Закругление ползунка */
    border: 2px solid #1e1e1e; /* Добавляем границу, чтобы выглядело объёмно */
}

::-webkit-scrollbar-thumb:hover {
    background: #575757; /* Светлее при наведении */
}

* {
    scrollbar-width: thin; /* Тонкий скроллбар */
    scrollbar-color: #3a3a3a #1e1e1e; /* thumb-color track-color */
}

textarea[name="stitle"]:read-only{
    all: unset;
    display: inline-table;
    width: 100%;
    resize: none;
    white-space: break-spaces;
}
video#ycvideo {
    width: 100%;
    aspect-ratio: 16 / 9;
}
.cloudId:has(input[value=""]) > a{
    display: none;
}
input.error, textarea.error, button.error{
        outline: #f67979 3px solid;
}
.logbody .logdate{
    width: 85px;
    text-align: end;
}
.matInfo .matUser {
        display: flex;
    align-items: flex-start;
    gap: 10px;
}
.matInfo .matUser img{
    width: 50px;
    height: 50px;
}
.opacity{
    opacity: 50%;
}
.mathref a:visited {
  color: aqua;
}
.mBButs a[href='']{
    display: none;
}
.mBButs a{
    display: flex;
    align-items: center;
}
.mBButs img{width: 20px;
    height: 20px;
    filter: invert(1);
}
.priorlist1 {
    background: #840096;
}
.priorlist2 {
    background: #ff0848;
}
    .addbr{
        display: flex;
        gap: 20px;
    }
    .addbr > div{
        width: 100%;
    }
    .addbuts{
            border-top: 1px solid #3e3e5f;
            padding-top: 20px;
    }
    .addguest{
        display: flex;
        justify-content: flex-end;
    }
    .guestcustom{display: flex;
    justify-content: space-between;}
    .guestcustom label{
        display: flex;
    flex-direction: column;
    }
    .guestcustom label{width: 200px;}
    .guestpreview{border-radius: 10px;max-height: 350px;}
    .guestTabs > div{
        cursor: pointer;
        border: solid #747484;
        padding: 10px;
        border-radius: 10px 10px 0px 0px;
        border-bottom-width:0px;
    }
    .guestTabs > div.active{
        background: #3b82f6;
    }
    .guestTab > div{
        display: none;
    }
    .guestTab > div.active{
        display: block;
    }
    .resultGuests{
        margin-top: 20px;
        display: flex;
        flex-wrap: wrap;
        gap: 20px;
        justify-content: center;
    }
    .guest{
        width: 100px;
        text-align: center;
        font-size: 10px;
        font-weight: 800;
        position: relative;
    }
    .delguest{
        position: absolute;
        right: -2px;
        font-size: 20px;
        font-weight: bolder;
        color: red;
        padding: 10px;
        top: -7px;
        z-index: 4;
    }
    .guest img{
        width: 100%;
        object-fit: cover;
        height: 100px;
        border-radius: 4px;
        margin-bottom: 4px;
    }
    .resultGuests .selectguest img{
            outline: 2px solid #fcfcff;
    }
    .guestlist{
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    }
    input[type="datetime-local"] {
    background-color: #121212;
    color: #ffffff;
    border: 1px solid #333;
    border-radius: 4px;
    padding: 5px;
}
input[type="datetime-local"]::-webkit-calendar-picker-indicator {
  filter: invert(1); /* Инвертировать цвета значка календаря для темной темы */
}
.priorid1{
    font-weight: 900;
    background: #ffc008;
    padding: 2px;
    border-radius: 3px;
    color: black;
}
.priorid2{
    font-weight: 900;
    background: #ff0848;
    padding: 2px;
    border-radius: 3px;
}
    @media (max-width: 768px) {
       .process .tags{flex-direction: column;    justify-content: space-between;min-width: inherit;}
       .newslist tr:has(.priorid1) .postertable > div{
        border: 2px solid #ffb626;}
        .newslist tr:has(.priorid2) .postertable > div{
        border: 2px solid #ff0848;}
    }
    .process .tags{    align-items: center;
    display: flex;min-width: 47px;}
   .process .tags .socposts{filter: invert(1);}
   .process .tags .socposts >img{width: 20px;}
   .mycheck {display: flex;
    flex-direction: column;
    font-size: 10px;text-align: center;line-height: normal;
    gap: 6px;}
    .src1 {
    outline: 1px solid #737373;}
main:has(#mycheck:checked) .nomy:not(td.razer):not(td.razer){
    display: none;
}
.bdn0{font-weight: 200;}
.bdn1{font-weight: 800;}
.tubes{
        display: flex;
    gap: 5px;
}
.tubes .tubes_ch img{width: 25px;
    height: 25px;
    background: #fff;
    border-radius: 5px;}
.tstats{
        padding: 3px;
    font-size: 18px;
    margin-top: 3px;
    color: white;
    font-weight: 100;
    text-align: center;
}
