.fenris-device-login-page {
    background: #050505;
    min-height: 100vh;
}

.fenris-device-login-page + #footer,
.fenris-device-login-page ~ #footer {
    display: none;
}

.fenris-device-hero {
    position: relative;
    min-height: 100vh;
    padding: 150px 0 70px;
    overflow: hidden;
    background: #050505;
}

.fenris-device-hero::before,
.fenris-device-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.fenris-device-hero::before {
    background: url('/img/demos/digital-agency-2/about-us/about-us-2.jpg') center right / cover no-repeat;
    filter: grayscale(100%);
}

.fenris-device-hero::after {
    background: rgba(0, 0, 0, .2);
    background-image: linear-gradient(90deg, rgba(0, 0, 0, .95) 0%, rgba(0, 0, 0, .55) 40%, rgba(0, 0, 0, .2) 100%);
}

.fenris-device-hero > .container {
    position: relative;
    z-index: 1;
}

.fenris-device-content {
    width: min(520px, 100%);
}

.fenris-device-heading {
    margin-bottom: 40px;
    color: #fff;
}

.fenris-device-heading h1 {
    margin: 0 0 8px;
    color: #fff;
    font-family: Poppins, Arial, sans-serif;
    font-size: clamp(2.25rem, 4vw, 3.8rem);
    font-weight: 800;
    letter-spacing: -1.5px;
    line-height: 1.05;
}

.fenris-device-heading p {
    margin: 0;
    color: #fff;
    font-size: 1.05rem;
    font-weight: 700;
}

.fenris-login-card {
    width: 100%;
    padding: clamp(32px, 4vw, 56px) clamp(32px, 5vw, 60px) 38px;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(0, 0, 0, .96), rgba(38, 38, 38, .94));
    box-shadow: 0 26px 90px rgba(0, 0, 0, .5);
    color: #fff;
}

.fenris-login-brands {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-bottom: 28px;
}

.fenris-login-brands img {
    width: 48px;
    height: auto;
    object-fit: contain;
}

.fenris-login-brands img:nth-child(2) {
    opacity: .75;
    transform: translateY(4px) rotate(-7deg);
}

.fenris-login-brands img:nth-child(3) {
    opacity: .9;
    transform: translateY(3px) rotate(7deg);
}

.fenris-login-card h2 {
    margin: 0 0 28px;
    color: #fff;
    text-align: center;
    font-size: 1.45rem;
    font-weight: 700;
    letter-spacing: -.5px;
}

.fenris-form-field {
    margin-bottom: 23px;
}

.fenris-form-field label {
    display: block;
    margin-bottom: 8px;
    color: #cfcfcf;
    font-size: .92rem;
    font-weight: 700;
}

.fenris-form-field input {
    width: 100%;
    height: 34px;
    padding: 4px 6px;
    border: 0;
    border-bottom: 2px solid rgba(255, 255, 255, .45);
    border-radius: 0;
    outline: 0;
    background: transparent;
    color: #fff;
    font: 600 1rem/1.2 Poppins, Arial, sans-serif;
    transition: border-color .2s ease;
}

.fenris-form-field input:focus {
    border-bottom-color: #d5202f;
}

.fenris-captcha-field {
    margin-top: 8px;
}

.fenris-captcha-box {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 132px;
    height: 48px;
    margin-bottom: 10px;
    overflow: hidden;
    background: #030303;
    color: rgba(255, 255, 255, .62);
    font-size: 2.75rem;
    font-weight: 800;
    letter-spacing: -7px;
    text-shadow: -2px 2px 0 rgba(255, 255, 255, .12);
}

.fenris-captcha-box::before,
.fenris-captcha-box::after {
    content: "";
    position: absolute;
    left: 8px;
    right: 8px;
    height: 2px;
    background: #00a56a;
    transform: rotate(8deg);
}

.fenris-captcha-box::before {
    top: 18px;
}

.fenris-captcha-box::after {
    bottom: 12px;
    transform: rotate(-6deg);
}

.fenris-refresh-captcha {
    margin-top: -4px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #dcdcdc;
    font-size: .78rem;
    text-decoration: underline;
}

.fenris-login-button {
    width: 100%;
    margin-top: 2px;
    padding: 12px 20px;
    border: 0;
    border-radius: 5px;
    background: #d5202f;
    color: #fff;
    font-size: .86rem;
    font-weight: 800;
    line-height: 1;
    text-transform: uppercase;
    transition: background-color .2s ease, transform .2s ease;
}

.fenris-login-button:hover,
.fenris-login-button:focus {
    background: #e41645;
    transform: translateY(-1px);
}

@media (max-width: 991px) {
    .fenris-device-hero {
        padding-top: 120px;
    }

    .fenris-device-hero::before {
        background-position: center;
    }

    .fenris-device-content {
        margin: 0 auto;
    }
}

@media (max-width: 575px) {
    .fenris-device-hero {
        padding: 105px 0 45px;
    }

    .fenris-device-heading {
        margin-bottom: 28px;
    }
}

.fenris-playlist-page {
    background: #fff;
    color: #243044;
}

.fenris-playlist-page + #footer,
.fenris-playlist-page ~ #footer {
    display: none;
}

.fenris-playlist-hero {
    position: relative;
    min-height: 255px;
    padding: 110px 0 55px;
    overflow: hidden;
    text-align: center;
    color: #fff;
    background: #111;
}

.fenris-playlist-hero::before,
.fenris-playlist-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.fenris-playlist-hero::before {
    background: url('/img/demos/digital-agency-2/contact-us/contact-us-2.jpg') center 36% / cover no-repeat;
    filter: grayscale(35%);
    transform: scale(1.02);
}

.fenris-playlist-hero::after {
    background: rgba(0, 0, 0, .55);
}

.fenris-playlist-hero .container {
    position: relative;
    z-index: 1;
}

.fenris-playlist-hero h1 {
    margin: 0 0 10px;
    color: #fff;
    font-size: clamp(2rem, 3vw, 3rem);
    font-weight: 800;
    letter-spacing: -.8px;
}

.fenris-playlist-hero p {
    margin: 0;
    color: rgba(255, 255, 255, .9);
    font-size: 1rem;
}

.fenris-playlist-main {
    padding: 52px 0 76px;
    background: #fff;
}

.fenris-section-heading {
    margin-bottom: 48px;
    text-align: center;
}

.fenris-section-heading h2 {
    margin: 0;
    color: #20293a;
    font-size: clamp(2rem, 3vw, 2.9rem);
    font-weight: 700;
}

.fenris-section-heading span {
    position: relative;
    display: block;
    width: 82px;
    height: 6px;
    margin: 16px auto 18px;
    border-radius: 999px;
    background: linear-gradient(90deg, transparent, #66d998, transparent);
}

.fenris-section-heading span::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #52cf88;
    transform: translate(-50%, -50%);
}

.fenris-section-heading p {
    margin: 0;
    color: #8791a6;
}

.fenris-device-summary {
    width: min(320px, 100%);
    margin: 0 90px 28px auto;
    color: #657187;
    text-align: right;
    font-size: .95rem;
}

.fenris-device-summary p {
    margin: 0 0 5px;
}

.fenris-playlist-shell {
    display: grid;
    grid-template-columns: 138px minmax(0, 1fr);
    gap: 24px;
    width: min(980px, 100%);
    margin: 0 auto;
    align-items: start;
}

.fenris-account-menu {
    display: grid;
    gap: 8px;
}

.fenris-account-menu a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 47px;
    padding: 12px 14px;
    border-radius: 2px;
    background: #9a9a9a;
    color: #fff;
    font-weight: 700;
    text-decoration: none;
}

.fenris-account-menu a:hover,
.fenris-account-menu a:focus,
.fenris-account-menu a.active {
    color: #fff;
    background: #8a8a8a;
}

.fenris-account-menu i {
    margin-right: 8px;
}

.fenris-playlist-panel {
    min-width: 0;
}

.fenris-playlist-actions {
    display: flex;
    gap: 8px;
    margin-bottom: 3px;
}

.fenris-small-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    padding: 7px 16px;
    border-radius: 2px;
    background: #6a7480;
    color: #fff;
    font-size: .82rem;
    font-weight: 800;
    text-decoration: none;
}

.fenris-small-button:hover,
.fenris-small-button:focus {
    color: #fff;
    background: #535d68;
}

.fenris-playlist-table {
    width: 100%;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 12px 35px rgba(38, 46, 62, .08);
}

.fenris-playlist-row {
    display: grid;
    grid-template-columns: 1.1fr 2.2fr 120px;
    align-items: center;
    min-height: 78px;
    border-bottom: 1px solid #e8ebf0;
    color: #5e687b;
}

.fenris-playlist-row > div {
    padding: 14px 28px;
}

.fenris-playlist-header {
    min-height: 57px;
    border-bottom: 0;
    background: linear-gradient(90deg, #ef0d76 0%, #f21d44 52%, #ff6200 100%);
    color: #fff;
    font-weight: 700;
}

.fenris-row-actions {
    display: grid;
    justify-items: start;
    gap: 7px;
}

.fenris-edit-button,
.fenris-delete-button {
    display: inline-flex;
    justify-content: center;
    min-width: 56px;
    padding: 5px 10px;
    border: 0;
    border-radius: 3px;
    color: #fff;
    font-size: .78rem;
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
}

.fenris-edit-button {
    background: #12a36b;
}

.fenris-delete-button {
    background: #ffc107;
    color: #2c2c2c;
}

.fenris-edit-button:hover,
.fenris-edit-button:focus {
    color: #fff;
    background: #0d8758;
}

.fenris-playlist-footer {
    padding: 62px 0 70px;
    background: #050c12;
    color: #fff;
}

.fenris-playlist-footer .container {
    display: grid;
    grid-template-columns: 1.1fr 1fr 1fr;
    gap: 52px;
    width: min(980px, 100%);
}

.fenris-playlist-footer img {
    width: 34px;
    height: auto;
    margin-right: 10px;
    vertical-align: middle;
}

.fenris-playlist-footer strong,
.fenris-playlist-footer h3 {
    color: #fff;
    font-size: 1.3rem;
    font-weight: 800;
}

.fenris-playlist-footer h3 {
    margin: 0 0 22px;
    padding-bottom: 13px;
    border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.fenris-playlist-footer h3::after {
    content: "";
    display: block;
    width: 42px;
    height: 2px;
    margin-top: 12px;
    background: #ef0d76;
}

.fenris-playlist-footer a {
    display: block;
    margin-bottom: 12px;
    color: rgba(255, 255, 255, .82);
    text-decoration: none;
}

.fenris-footer-socials {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.fenris-footer-socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    margin: 0;
    border-radius: 50%;
    background: #fff;
    color: #ef0d76;
}

.fenris-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.fenris-modal:target {
    display: flex;
}

.fenris-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, .74);
}

.fenris-modal-card {
    position: relative;
    z-index: 1;
    width: min(520px, 100%);
    background: #fff;
    box-shadow: 0 28px 90px rgba(0, 0, 0, .25);
}

.fenris-modal-titlebar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 48px;
    padding: 0 18px;
    background: linear-gradient(90deg, #ef0d76 0%, #f21d44 52%, #ff6200 100%);
    color: #fff;
}

.fenris-modal-titlebar h2 {
    margin: 0;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 800;
}

.fenris-modal-titlebar a {
    color: #fff;
    font-size: 2rem;
    line-height: 1;
    text-decoration: none;
}

.fenris-modal-form {
    padding: 16px 18px 12px;
}

.fenris-modal-form label {
    display: block;
    margin-bottom: 6px;
    color: #556078;
    font-size: .82rem;
    font-weight: 600;
}

.fenris-modal-form input[type="text"],
.fenris-modal-form input[type="url"],
.fenris-modal-form input[type="password"] {
    width: 100%;
    height: 40px;
    margin-bottom: 18px;
    padding: 8px 13px;
    border: 1px solid #d9dde4;
    color: #243044;
}

.fenris-check-label {
    display: flex !important;
    align-items: center;
    gap: 8px;
    margin-bottom: 3px !important;
}

.fenris-check-label input {
    margin: 0;
}

.fenris-pin-note {
    margin: 0 0 11px;
    color: #d89821;
    font-size: .7rem;
    font-weight: 700;
}

.fenris-pin-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 46px;
}

.fenris-modal-form button {
    width: 100%;
    min-height: 40px;
    margin-top: 2px;
    border: 0;
    border-radius: 3px;
    background: linear-gradient(90deg, #ef0d76 0%, #f21d44 52%, #ff6200 100%);
    color: #fff;
    font-size: .82rem;
    font-weight: 800;
    text-transform: uppercase;
}

@media (max-width: 991px) {
    .fenris-device-summary {
        margin-right: 0;
    }

    .fenris-playlist-shell,
    .fenris-playlist-footer .container {
        width: 100%;
    }
}

@media (max-width: 767px) {
    .fenris-playlist-shell {
        grid-template-columns: 1fr;
    }

    .fenris-account-menu {
        grid-template-columns: repeat(3, 1fr);
    }

    .fenris-playlist-row {
        grid-template-columns: 1fr;
    }

    .fenris-playlist-header > div:last-child {
        display: none;
    }

    .fenris-playlist-footer .container,
    .fenris-pin-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
}
/* Accessibility: retain visible keyboard focus and respect reduced motion
   across both the public theme and the CMS/admin surfaces. */
:where(a, button, input, select, textarea, [tabindex]):focus-visible {
    outline: 3px solid #ff4d72 !important;
    outline-offset: 3px !important;
}

@media (prefers-reduced-motion: reduce) {
    html:focus-within { scroll-behavior: auto !important; }
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}
