html,
body {
    min-height: 100%;
}

body {
    position: relative;
    margin: 0;
    font-family: "PT Sans", Helvetica, Arial, sans-serif;
    color: #d7dce1;
    background: #0f1114;
}
body a {
    color: inherit;
    transition: 0.2s ease;
}
body a:hover {
    color: #ffffff;
    text-decoration: none;
}

.app-background {
    position: fixed;
    inset: 0;
    background: radial-gradient(circle at top left, rgba(255, 202, 115, 0.88), transparent 32%), radial-gradient(circle at 82% 10%, rgba(255, 160, 85, 0.66), transparent 27%), radial-gradient(circle at 50% 100%, rgba(255, 202, 115, 0.36), transparent 36%), linear-gradient(124deg, rgba(255, 202, 115, 0.82) 0%, rgba(222, 111, 57, 0.84) 22%, rgba(132, 82, 61, 0.66) 42%, rgba(57, 43, 41, 0.76) 66%, rgba(255, 160, 85, 0.74) 100%), linear-gradient(180deg, #a76845 0%, #5b392d 24%, #1b1719 100%);
    z-index: -2;
}
.app-background::before, .app-background::after {
    content: "";
    position: absolute;
    pointer-events: none;
}
.app-background::before {
    top: 4%;
    right: -6%;
    width: 38rem;
    height: 38rem;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 202, 115, 0.5) 0%, rgba(255, 160, 85, 0.26) 46%, transparent 75%);
    filter: blur(14px);
}
.app-background::after {
    left: -6%;
    bottom: -14%;
    width: 48rem;
    height: 26rem;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(242, 133, 63, 0.58), rgba(255, 202, 115, 0.4), transparent 82%);
    filter: blur(20px);
}

.app-authenticated .app-main {
    padding: 7.5rem 0 3rem;
}

.app-login .app-main {
    padding: 0;
}
.app-login .app-footer {
    margin-top: 1rem;
}

.app-main {
    position: relative;
    z-index: 1;
}

.app-navbar {
    padding: 1rem 0;
    background: linear-gradient(135deg, rgba(15, 17, 20, 0.96), rgba(33, 37, 41, 0.94) 52%, rgba(222, 111, 57, 0.92) 100%);
    border-bottom: 1px solid rgba(255, 202, 115, 0.18);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.34);
    backdrop-filter: blur(16px);
}
.app-navbar .container {
    align-items: center;
}
.app-navbar__brand {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    font-family: "Poppins", Helvetica, Arial, sans-serif;
    font-weight: 600;
    color: #ffffff;
}
.app-navbar__brand img {
    height: 54px;
}
.app-navbar__brand span {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    font-size: 1.05rem;
}
.app-navbar__notice {
    display: block;
    font-family: "PT Sans", Helvetica, Arial, sans-serif;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: #ffd1bf;
    text-transform: none;
}
.app-navbar__toggler {
    border: 0;
    padding: 0.5rem 0.75rem;
    border-radius: 999px;
    background: rgba(255, 160, 85, 0.12);
}
.app-navbar__toggler .navbar-toggler-icon {
    width: 1.4rem;
    height: 1.4rem;
    background-image: none;
    position: relative;
}
.app-navbar__toggler .navbar-toggler-icon::before, .app-navbar__toggler .navbar-toggler-icon::after,
.app-navbar__toggler .navbar-toggler-icon span {
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: #ffa055;
}
.app-navbar__toggler .navbar-toggler-icon::before {
    top: 0.25rem;
}
.app-navbar__toggler .navbar-toggler-icon::after {
    bottom: 0.25rem;
}
.app-navbar .navbar-nav {
    gap: 0.35rem;
}
.app-navbar .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.88);
    font-family: "Poppins", Helvetica, Arial, sans-serif;
    font-weight: 500;
    padding: 0.7rem 1rem;
    border-radius: 999px;
}
.app-navbar .navbar-nav .nav-link:hover, .app-navbar .navbar-nav .nav-link:focus {
    color: #ffffff;
    background: linear-gradient(135deg, rgba(255, 160, 85, 0.24), rgba(255, 202, 115, 0.12));
}
.app-navbar .navbar-nav .dropdown-menu {
    border: 1px solid rgba(255, 160, 85, 0.14);
    border-radius: 16px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.98);
}
.app-navbar .navbar-nav .dropdown-menu .dropdown-item {
    border-radius: 12px;
    padding: 0.65rem 0.85rem;
    color: #212529;
}
.app-navbar .navbar-nav .dropdown-menu .dropdown-item:hover, .app-navbar .navbar-nav .dropdown-menu .dropdown-item:focus {
    color: #ffa055;
    background: rgba(255, 160, 85, 0.08);
}
.app-navbar .nav-item--logout {
    margin-left: 0.6rem;
}

.page-header-card,
.content-panel,
.dashboard-card,
.quick-link-card,
.login-card,
.inner-panel {
    background: rgba(255, 255, 255, 0.97);
    color: #212529;
    border-radius: 22px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
}

.page-header-card {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    padding: 2rem 2.2rem;
    margin-bottom: 1.75rem;
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, rgba(15, 17, 20, 0.96), rgba(33, 37, 41, 0.9) 56%, rgba(222, 111, 57, 0.9) 100%);
    color: #ffffff;
    border: 1px solid rgba(255, 202, 115, 0.14);
}
.page-header-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg, transparent 0%, rgba(255, 160, 85, 0.08) 44%, rgba(255, 202, 115, 0.18) 100%);
    pointer-events: none;
}
.page-header-card::after {
    content: "";
    position: absolute;
    inset: auto -10% -55% auto;
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(255, 202, 115, 0.34), transparent 68%);
}
.page-header-card h1 {
    margin: 0 0 0.65rem;
    font-family: "Poppins", Helvetica, Arial, sans-serif;
    font-size: clamp(2rem, 3vw, 3rem);
    font-weight: 600;
    color: #ffffff;
}
.page-header-card p {
    margin: 0;
    max-width: 780px;
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.78);
}
.page-header-card__eyebrow {
    display: inline-block;
    margin-bottom: 0.7rem;
    color: #ffd4c6;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.content-panel {
    padding: 1.75rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 160, 85, 0.08);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 247, 242, 0.98));
}
.content-panel h2,
.content-panel h3 {
    margin-top: 0;
    font-family: "Poppins", Helvetica, Arial, sans-serif;
    color: #212529;
}
.content-panel--tight {
    padding: 1.25rem;
}
.content-panel--nested {
    height: 100%;
    background: linear-gradient(180deg, rgba(255, 249, 244, 0.96), rgba(246, 241, 235, 0.98));
    box-shadow: none;
}

.dashboard-card {
    height: 100%;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    background: radial-gradient(circle at top right, rgba(255, 202, 115, 0.26), transparent 24%), linear-gradient(145deg, rgba(15, 17, 20, 0.98), rgba(33, 37, 41, 0.97) 58%, rgba(222, 111, 57, 0.94) 100%);
    color: #d7dce1;
    border: 1px solid rgba(255, 202, 115, 0.1);
}
.dashboard-card h3 {
    margin: 0;
    color: #ffffff;
    font-family: "Poppins", Helvetica, Arial, sans-serif;
    font-size: 1.35rem;
}
.dashboard-card__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
}
.dashboard-card__actions {
    margin-top: 1.25rem;
}
.dashboard-card__actions .btn + .btn {
    margin-top: 0.75rem;
}

.customers-grid > [class*=col-] {
    margin-bottom: 0.75rem;
}

.users-grid > [class*=col-] {
    margin-bottom: 0.75rem;
}

.quick-link-card {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    height: 100%;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 246, 240, 0.98));
    border: 1px solid rgba(255, 160, 85, 0.1);
}
.quick-link-card strong {
    font-family: "Poppins", Helvetica, Arial, sans-serif;
    font-size: 1.15rem;
    color: #212529;
}
.quick-link-card small {
    color: #495057;
    font-size: 0.95rem;
}
.quick-link-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.3rem;
    height: 3.3rem;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(255, 160, 85, 0.18), rgba(255, 202, 115, 0.3));
    color: #de6f39;
    font-size: 1.35rem;
}
.quick-link-card--compact {
    min-height: 100%;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
    margin: 0;
}
.stats-grid > div {
    padding: 0.9rem 1rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
}
.stats-grid dt {
    margin: 0 0 0.2rem;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.7);
}
.stats-grid dd {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 700;
}
.status-pill--success {
    background: rgba(51, 148, 3, 0.18);
    color: #b4f0a1;
}
.status-pill--danger {
    background: rgba(230, 0, 0, 0.16);
    color: #ffc9c9;
}

.section-actions,
.app-backlink,
.spot-form__actions {
    margin: 1.5rem 0 0;
}

.action-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    height: 100%;
}

.app-footer {
    margin-top: 2rem;
    padding: 0 0 2rem;
}
.app-footer__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1.5rem 1.75rem;
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(15, 17, 20, 0.86), rgba(33, 37, 41, 0.8) 58%, rgba(222, 111, 57, 0.74) 100%);
    border: 1px solid rgba(255, 202, 115, 0.14);
}
.app-footer__eyebrow {
    margin: 0 0 0.35rem;
    color: #ffa055;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.82rem;
    font-weight: 700;
}
.app-footer__text {
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
}
.app-footer__logo {
    height: 72px;
    max-width: 100%;
}

.login-screen {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(360px, 480px);
    min-height: calc(100vh - 160px);
    gap: 1.5rem;
    align-items: stretch;
    padding: 1.25rem 0 0;
}
.login-screen__hero, .login-screen__panel {
    min-height: 100%;
}
.login-screen__hero {
    display: flex;
    align-items: flex-end;
    padding: 2.25rem;
    border-radius: 28px;
    background: radial-gradient(circle at top left, rgba(255, 202, 115, 0.38), transparent 24%), linear-gradient(118deg, rgba(222, 111, 57, 0.82) 0%, rgba(15, 17, 20, 0.92) 38%, rgba(33, 37, 41, 0.92) 62%, rgba(255, 160, 85, 0.46) 100%), url("https://www.soundflower.cz/images/content/mikrofon-wide.jpg");
    background-size: cover;
    background-position: center;
    box-shadow: 0 32px 80px rgba(0, 0, 0, 0.28);
}
.login-screen__copy {
    max-width: 620px;
}
.login-screen__copy h1 {
    margin: 0.75rem 0;
    color: #ffffff;
    font-family: "Poppins", Helvetica, Arial, sans-serif;
    font-size: clamp(2rem, 3.5vw, 3.25rem);
    font-weight: 600;
    line-height: 1.1;
}
.login-screen__copy p {
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.02rem;
    line-height: 1.55;
}
.login-screen__logo {
    height: 60px;
}
.login-screen__eyebrow {
    display: block;
    margin-top: 1rem;
    color: #ffd4c6;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}
.login-screen__panel {
    display: flex;
    align-items: center;
}

.login-card {
    width: 100%;
    padding: 1.75rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 246, 239, 0.98));
    border: 1px solid rgba(255, 160, 85, 0.12);
}
.login-card h2 {
    margin: 0 0 0.55rem;
    font-family: "Poppins", Helvetica, Arial, sans-serif;
    font-size: 1.75rem;
    color: #212529;
}
.login-card__text {
    color: #495057;
    margin-bottom: 1.1rem;
}

.login-form .form-group {
    margin-bottom: 0.9rem;
}
.login-form label {
    font-weight: 700;
    color: #212529;
}

.app-inline-alert {
    margin-bottom: 1.5rem;
    border: 0;
    border-radius: 16px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

.transparent {
    opacity: 0.5;
}

.app-modal {
    border: 0;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 32px 80px rgba(0, 0, 0, 0.28);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(255, 244, 237, 0.98));
    color: #212529;
}
.app-modal .modal-header {
    border-bottom: 1px solid rgba(33, 37, 41, 0.12);
    background: linear-gradient(135deg, rgba(255, 160, 85, 0.12), rgba(255, 255, 255, 0.96));
    color: #212529;
}
.app-modal .modal-header .modal-title {
    color: #212529;
    font-family: "Poppins", Helvetica, Arial, sans-serif;
    font-weight: 600;
}
.app-modal .modal-header .close {
    color: #212529;
    opacity: 0.7;
    text-shadow: none;
}
.app-modal .modal-header .close:hover, .app-modal .modal-header .close:focus {
    color: #de6f39;
    opacity: 1;
}
.app-modal .modal-footer {
    border-top: 1px solid rgba(33, 37, 41, 0.12);
    background: rgba(255, 255, 255, 0.92);
}
.app-modal .modal-body {
    color: #212529;
    font-size: 1rem;
    line-height: 1.6;
}
.app-modal .modal-body strong {
    color: #de6f39;
}

.app-table-wrap {
    overflow: hidden;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.04);
}

.status-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 1.25rem;
}
.status-legend__item {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 0.85rem;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 700;
    color: #212529;
    background: rgba(255, 255, 255, 0.88);
}

.spot-folder-row {
    display: grid;
    grid-template-columns: minmax(180px, 220px) minmax(0, 1fr);
    gap: 1rem;
    align-items: flex-start;
    padding: 1rem 0;
    border-top: 1px solid rgba(33, 37, 41, 0.08);
}
.spot-folder-row:first-of-type {
    border-top: 0;
    padding-top: 0;
}
.spot-folder-row__positions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.spot-position {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.55rem 0.8rem;
    border-radius: 999px;
    background: rgba(33, 37, 41, 0.06);
    font-weight: 700;
}

.table-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.inner-panel {
    padding: 1.5rem;
    background: #f6f1eb;
}

.custom-checkbox-row {
    margin-bottom: 0.75rem;
}
.custom-checkbox-row label {
    margin: 0;
    font-weight: 400;
}

@media (max-width: 1199.98px) {
    .app-navbar .navbar-collapse {
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid rgba(33, 37, 41, 0.08);
    }
    .app-navbar .nav-item--logout {
        margin-left: 0;
        margin-top: 0.5rem;
    }
}
@media (max-width: 991.98px) {
    .app-authenticated .app-main {
        padding-top: 6.5rem;
    }
    .login-screen {
        grid-template-columns: 1fr;
    }
    .login-screen__hero {
        min-height: 260px;
    }
    .spot-folder-row {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 767.98px) {
    .page-header-card,
    .content-panel,
    .login-card {
        padding: 1.25rem;
    }
    .page-header-card h1 {
        font-size: 1.85rem;
    }
    .stats-grid {
        grid-template-columns: 1fr;
    }
    .app-footer__inner {
        flex-direction: column;
        align-items: flex-start;
    }
    .login-screen {
        padding-top: 0.75rem;
    }
    .login-screen__hero {
        padding: 1.25rem;
    }
}
.btn {
    border-width: 1px;
    border-radius: 999px;
    font-family: "PT Sans", Helvetica, Arial, sans-serif;
    font-weight: 700;
    letter-spacing: 0.01em;
    box-shadow: none;
}
.btn:focus {
    box-shadow: 0 0 0 0.2rem rgba(255, 160, 85, 0.18);
}

.btn-primary,
.btn-success,
.btn-info,
.btn-warning {
    color: #ffffff !important;
    border-color: transparent;
}

.btn-primary {
    background: linear-gradient(135deg, #ffa055, #ffca73);
}
.btn-primary:hover, .btn-primary:focus {
    background: linear-gradient(135deg, #f2853f, #ffa055);
}

.btn-warning,
.btn-info {
    background: linear-gradient(135deg, #ffa055, #ff7f3f);
}
.btn-warning:hover, .btn-warning:focus,
.btn-info:hover,
.btn-info:focus {
    background: linear-gradient(135deg, #f2853f, #ffa055);
}

.btn-success {
    background: linear-gradient(135deg, #339403, #43b60d);
}
.btn-success:hover, .btn-success:focus {
    background: linear-gradient(135deg, #2b7d02, #339403);
}

.btn-danger,
.btn-outline-danger {
    border-color: rgba(230, 0, 0, 0.3);
}

.btn-outline-light {
    color: #ffffff;
    border-color: rgba(255, 202, 115, 0.22);
    background: linear-gradient(135deg, rgba(255, 160, 85, 0.16), rgba(33, 37, 41, 0.26));
}
.btn-outline-light:hover, .btn-outline-light:focus {
    color: #ffffff;
    border-color: #ffa055;
    background: linear-gradient(135deg, #ffa055, #ffca73);
}

.btn-outline-secondary {
    border-color: rgba(33, 37, 41, 0.18);
    color: #212529;
}

.form-control,
.select2-container .select2-choice,
.selectize-input {
    min-height: 48px;
    border: 1px solid rgba(33, 37, 41, 0.12);
    border-radius: 14px;
    padding: 0.75rem 1rem;
    background: #ffffff;
    color: #212529;
    box-shadow: none;
}
.form-control:focus,
.select2-container .select2-choice:focus,
.selectize-input:focus {
    border-color: rgba(255, 160, 85, 0.5);
    box-shadow: 0 0 0 0.2rem rgba(255, 160, 85, 0.12);
}

textarea.form-control {
    min-height: 120px;
}

.form-control-file {
    display: block;
    width: 100%;
    padding: 0.85rem 1rem;
    border: 1px dashed rgba(33, 37, 41, 0.18);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.8);
}

.form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.filter-form {
    margin-bottom: 1.5rem;
}

.project-form .data-form-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 0.9rem;
}
.project-form .data-form-table th,
.project-form .data-form-table td {
    padding: 0;
    vertical-align: top;
}
.project-form .data-form-table th {
    width: 240px;
    padding-right: 1.25rem;
    font-family: "Poppins", Helvetica, Arial, sans-serif;
    font-weight: 600;
    color: #212529;
}
.project-form .data-form-table .editor-cell {
    padding: 0.75rem;
    border: 1px solid rgba(33, 37, 41, 0.08);
    border-radius: 16px;
    background: #ffffff;
}
.project-form .data-form-table .checkboxes-cell label {
    display: block;
    margin-bottom: 0.45rem;
}
.project-form .data-form-table .checkboxes-cell input {
    margin-right: 0.4rem;
}

.table,
table {
    width: 100%;
}
.table th,
.table td,
table th,
table td {
    padding: 0.9rem 1rem;
    vertical-align: top;
}
.table th,
table th {
    font-family: "Poppins", Helvetica, Arial, sans-serif;
    font-weight: 600;
}

.app-table,
.table-bordered,
table[border="1"] {
    margin-bottom: 0;
    overflow: hidden;
}
.app-table thead th,
.table-bordered thead th,
table[border="1"] thead th {
    border-top: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.88);
    background: rgba(15, 17, 20, 0.94);
}
.app-table tbody tr,
.table-bordered tbody tr,
table[border="1"] tbody tr {
    background: rgba(255, 255, 255, 0.92);
}
.app-table tbody tr:nth-child(even),
.table-bordered tbody tr:nth-child(even),
table[border="1"] tbody tr:nth-child(even) {
    background: rgba(246, 241, 235, 0.96);
}
.app-table td,
.app-table th,
.table-bordered td,
.table-bordered th,
table[border="1"] td,
table[border="1"] th {
    border-color: rgba(33, 37, 41, 0.08);
}

.table-hover tbody tr:hover {
    background: rgba(255, 160, 85, 0.08);
}

.app-table--preview {
    table-layout: auto;
}
.app-table--preview th,
.app-table--preview td {
    padding: 0.75rem 0.9rem;
    font-size: 0.95rem;
}
.app-table--preview th:nth-child(1),
.app-table--preview td:nth-child(1) {
    width: 74px;
}
.app-table--preview th:nth-child(2),
.app-table--preview td:nth-child(2) {
    min-width: 170px;
    font-size: 0.88rem;
    white-space: nowrap;
}
.app-table--preview th:nth-child(3),
.app-table--preview td:nth-child(3) {
    min-width: 128px;
    white-space: nowrap;
}
.app-table--preview th:nth-child(4),
.app-table--preview td:nth-child(4) {
    width: 100px;
}
.app-table--preview th:nth-child(6),
.app-table--preview td:nth-child(6) {
    min-width: 108px;
}
.app-table--preview th:nth-child(7),
.app-table--preview td:nth-child(7) {
    min-width: 92px;
    text-align: right;
}
.app-table--preview .btn {
    padding: 0.45rem 0.8rem;
    font-size: 0.82rem;
}
.app-table--preview td:nth-child(4) .btn {
    border-radius: 12px;
    padding: 0.4rem 0.7rem;
    line-height: 1.25;
    color: #de6f39;
    border-color: rgba(255, 160, 85, 0.32);
    background: rgba(255, 160, 85, 0.14);
}
.app-table--preview td:nth-child(4) .btn:hover, .app-table--preview td:nth-child(4) .btn:focus {
    color: #ffffff;
    background: linear-gradient(135deg, #ffa055, #ffca73);
}
.app-table--preview .preview-note {
    overflow-wrap: anywhere;
    word-break: break-word;
}

.fancy {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(255, 160, 85, 0.14), rgba(255, 202, 115, 0.18));
    font-size: 0.82rem;
    font-weight: 700;
    color: #de6f39;
}

.project_zadano td,
.project_zadano th, .project_zadano.status-legend__item {
    background-color: rgba(127, 209, 255, 0.22) !important;
}

.project_prijato td,
.project_prijato th, .project_prijato.status-legend__item {
    background-color: rgba(255, 184, 77, 0.28) !important;
}

.project_vyroba td,
.project_vyroba th, .project_vyroba.status-legend__item {
    background-color: rgba(91, 141, 239, 0.28) !important;
    color: #212529 !important;
}

.project_vyrobeno td,
.project_vyrobeno th, .project_vyrobeno.status-legend__item {
    background-color: rgba(91, 197, 118, 0.25) !important;
}

.project_odeslano td,
.project_odeslano th, .project_odeslano.status-legend__item {
    background-color: rgba(199, 125, 255, 0.26) !important;
}

.project_schvaleno td,
.project_schvaleno th, .project_schvaleno.status-legend__item {
    background-color: rgba(255, 224, 102, 0.36) !important;
}

.project_vysila td,
.project_vysila th, .project_vysila.status-legend__item {
    background-color: rgba(255, 255, 255, 0.65) !important;
}

.project_skonceno td,
.project_skonceno th, .project_skonceno.status-legend__item {
    background-color: rgba(141, 110, 99, 0.3) !important;
}

.select2-container {
    width: 100% !important;
}
.select2-container .select2-choice {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 0.75rem 3rem 0.75rem 1rem;
    border: 1px solid rgba(33, 37, 41, 0.12);
    border-radius: 14px;
    background: #ffffff;
    color: #212529;
    box-shadow: none;
}
.select2-container .select2-choice .select2-chosen {
    margin-right: 0;
    line-height: 1.4;
}
.select2-container .select2-choice .select2-arrow {
    width: 2.75rem;
    border-left: 1px solid rgba(33, 37, 41, 0.08);
    border-radius: 0 14px 14px 0;
    background: linear-gradient(180deg, rgba(255, 160, 85, 0.08), rgba(255, 202, 115, 0.14));
}
.select2-container .select2-choice .select2-arrow b {
    background-position: 0 11px;
}
.select2-container.select2-container-active .select2-choice, .select2-container.select2-dropdown-open .select2-choice {
    border-color: rgba(255, 160, 85, 0.5);
    box-shadow: 0 0 0 0.2rem rgba(255, 160, 85, 0.12);
}

.select2-drop {
    border: 1px solid rgba(255, 160, 85, 0.18);
    border-radius: 14px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
    overflow: hidden;
}

.select2-results {
    margin: 0;
    padding: 0.5rem;
}
.select2-results .select2-highlighted {
    background: linear-gradient(135deg, #ffa055, #ffca73);
}

.daterangepicker.dropdown-menu {
    width: 100%;
    max-width: 940px;
    min-width: 760px;
    padding: 1.25rem;
    border: 1px solid rgba(255, 160, 85, 0.18);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 32px 80px rgba(0, 0, 0, 0.28);
    color: #212529;
}
.daterangepicker.dropdown-menu::before, .daterangepicker.dropdown-menu::after {
    display: none;
}
.daterangepicker.dropdown-menu .ranges,
.daterangepicker.dropdown-menu .calendar {
    margin: 0;
}
.daterangepicker.dropdown-menu .ranges {
    clear: both;
    display: flex;
    align-items: flex-end;
    gap: 1rem;
    width: 100%;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(33, 37, 41, 0.08);
}
.daterangepicker.dropdown-menu .ranges .range_inputs {
    display: grid;
    grid-template-columns: repeat(2, minmax(160px, 1fr));
    gap: 0.75rem;
    flex: 1 1 auto;
}
.daterangepicker.dropdown-menu .ranges .range_inputs > div {
    float: none;
    margin-bottom: 0;
}
.daterangepicker.dropdown-menu .ranges .range_inputs > div:nth-child(2) {
    padding-left: 0;
}
.daterangepicker.dropdown-menu .ranges label {
    margin-bottom: 0.3rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #495057;
}
.daterangepicker.dropdown-menu .ranges input {
    width: 100%;
    min-height: 44px;
    padding: 0.55rem 0.75rem;
    border: 1px solid rgba(33, 37, 41, 0.1);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.98);
}
.daterangepicker.dropdown-menu .ranges .applyBtn,
.daterangepicker.dropdown-menu .ranges .cancelBtn {
    min-width: 110px;
}
.daterangepicker.dropdown-menu .ranges .cancelBtn {
    background: transparent;
    border: 0;
    color: #495057;
    box-shadow: none;
}
.daterangepicker.dropdown-menu .calendar {
    float: left;
    width: calc(50% - 0.5rem);
    max-width: none;
}
.daterangepicker.dropdown-menu .calendar.left, .daterangepicker.dropdown-menu .calendar.right {
    padding: 0;
}
.daterangepicker.dropdown-menu .calendar.left {
    margin-right: 1rem;
}
.daterangepicker.dropdown-menu .calendar-date {
    padding: 0;
    border: 1px solid rgba(33, 37, 41, 0.08);
    border-radius: 16px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.98);
}
.daterangepicker.dropdown-menu .calendar-time {
    padding: 0.85rem 1rem 0;
    background: transparent;
}
.daterangepicker.dropdown-menu table {
    width: 100%;
    table-layout: fixed;
    margin: 0;
}
.daterangepicker.dropdown-menu th,
.daterangepicker.dropdown-menu td {
    width: auto;
    height: 2.65rem;
    min-width: 0;
    padding: 0;
    border: 0;
    text-align: center;
    vertical-align: middle;
    line-height: 2.65rem;
    font-size: 1rem;
}
.daterangepicker.dropdown-menu th {
    font-family: "Poppins", Helvetica, Arial, sans-serif;
    font-weight: 600;
    color: #212529;
}
.daterangepicker.dropdown-menu tr th:nth-child(6),
.daterangepicker.dropdown-menu tr th:nth-child(7),
.daterangepicker.dropdown-menu tr td:nth-child(6),
.daterangepicker.dropdown-menu tr td:nth-child(7) {
    background: rgba(255, 160, 85, 0.05);
}
.daterangepicker.dropdown-menu td.off,
.daterangepicker.dropdown-menu td.disabled {
    color: rgba(33, 37, 41, 0.28);
}
.daterangepicker.dropdown-menu td.available:hover,
.daterangepicker.dropdown-menu th.available:hover {
    background: rgba(255, 160, 85, 0.08);
    color: #de6f39;
}
.daterangepicker.dropdown-menu td.in-range {
    background: rgba(255, 160, 85, 0.14);
    color: #212529;
}
.daterangepicker.dropdown-menu td.active,
.daterangepicker.dropdown-menu td.active:hover {
    background: linear-gradient(135deg, #ffa055, #ffca73);
    color: #ffffff;
    text-shadow: none;
}
.daterangepicker.dropdown-menu .daterangepicker_start_input,
.daterangepicker.dropdown-menu .daterangepicker_end_input {
    width: 100%;
}
.daterangepicker.dropdown-menu select {
    min-height: 38px;
    border: 1px solid rgba(33, 37, 41, 0.1);
    border-radius: 10px;
    background: #ffffff;
}
.daterangepicker.dropdown-menu .btn {
    min-height: 40px;
    padding: 0.55rem 1rem;
}

.selectize-control.single .selectize-input {
    background-image: none;
}

.spot-form .row {
    margin-bottom: 1rem;
}

.spot-category-panel__header {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

@media (max-width: 767.98px) {
    .daterangepicker.dropdown-menu {
        min-width: 0;
        width: calc(100vw - 2rem);
        max-width: calc(100vw - 2rem);
    }
    .daterangepicker.dropdown-menu .ranges,
    .daterangepicker.dropdown-menu .calendar {
        width: 100%;
        max-width: none;
        padding-right: 0;
    }
    .daterangepicker.dropdown-menu .calendar {
        float: none;
        margin-right: 0;
    }
    .daterangepicker.dropdown-menu .calendar.left {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    .daterangepicker.dropdown-menu .ranges {
        display: block;
    }
    .daterangepicker.dropdown-menu .ranges .range_inputs {
        grid-template-columns: 1fr;
    }
    .daterangepicker.dropdown-menu .ranges .applyBtn,
    .daterangepicker.dropdown-menu .ranges .cancelBtn {
        width: 100%;
        margin-top: 0.75rem;
    }
    .project-form .data-form-table {
        display: block;
    }
    .project-form .data-form-table tr,
    .project-form .data-form-table th,
    .project-form .data-form-table td {
        display: block;
        width: 100%;
    }
    .project-form .data-form-table th {
        padding-bottom: 0.45rem;
    }
    .form-actions {
        flex-direction: column;
    }
    .form-actions .btn,
    .form-actions input[type=submit] {
        width: 100%;
    }
}
