/* De mutat pe ines.ro */
:root {
    --sidebar-width: 11.5em;
    --gradient-background: linear-gradient(180deg, rgba(145, 145, 145, 0.25) 30%, rgba(145, 145, 145, 0.1175) 100%);
    --transparent-background: rgba(255, 255, 255, 0.247);
}

.landing-packs__card-misc:empty {
    display: none;
}

strong {
    font-weight: 500;
}

.text-left {
    text-align: left;
}

.gradient-background {
    background: var(--gradient-background);
}

.transparent-background {
    background: var(--transparent-background);
}

.bg-grey {
    background-color: #333;
}

.button.button--link {
    padding: 0;
}

.text-green {
    color: #00a859;
}

.header {
    z-index: 9999;
}

.collapse.show {
    display: block;
}

.collapse {
    display: none;
}

.form-select.form-select--wlabel::before {
    top: calc(40% + 15px);
}

.form-select.form-select--wlabel::after {
    top: calc(55% + 15px);
}

.form-group input[type="tel"],
.form-group input[type="date"] {
    position: relative;
    z-index: 1;
    padding: 0.45em 0.85rem;
    border: 0;
    width: 100%;
    color: var(--text-color-invert);
    background-color: var(--text-color);
    border-radius: 8px;
    -webkit-appearance: none;
    appearance: none;
    box-sizing: border-box;
    line-height: 1.6rem;
    outline-color: var(--accentColor);
    text-align: left;
    outline: 0;
}

.form-group__input {
    flex: 1;
}

.form-separator {
    height: 1px;
    background-color: rgb(255 255 255 / 27%);
    margin: 2em auto 1em auto;
}

.form-group input[type="checkbox"] {
    appearance: auto;
    display: inline-block;
}

.form-checkbox {
    display: grid;
    grid-template-columns: 1em auto;
    gap: 0.5em;
}

.bold,
b {
    font-weight: 500;
}

p {
    font-weight: 300;
}

.alert {
    position: fixed;
    bottom: 1em;
    right: 1em;
    background: var(--accent-color);
    padding: 1em;
    border-radius: 8px;
}

.d-none {
    display: none;
}

.d-block {
    display: block;
}

.d-flex {
    display: flex;
}

.d-flex--column {
    flex-direction: column;
}

@media screen and (max-width: 768px) {

    .show-desktop,
    .show-desktop-inline,
    .show-desktop-flex {
        display: none !important;
    }
}

.show-mobile {
    display: block !important;
}

.show-mobile-inline {
    display: inline-block !important;
}

.show-mobile-flex {
    display: flex !important;
}

.page__intro h1,
.page__intro .h1 {
    font-size: 1.65em;
}

@media screen and (min-width: 425px) {
    .form-group--row {
        flex-wrap: wrap;
    }

    .form-group--row .form-group__input {
        min-width: 47%;
    }
}

@media screen and (min-width: 768px) {

    .show-mobile,
    .show-mobile-inline,
    .show-mobile-flex {
        display: none !important;
    }

    .show-desktop {
        display: block !important;
    }

    .show-desktop-inline {
        display: inline-block !important;
    }

    .show-desktop-flex {
        display: flex !important;
    }

    .page__intro h1,
    .page__intro .h1 {
        font-size: 3em;
    }


}

@media screen and (min-width: 1024px) {
    .form-group--row .form-group__input {
        min-width: 18%;
    }
}

/* De mutat pe ines.ro */

/* Homepage */
.landing-devices .landing-solutions__card-logo-image::before {
    display: none;
}

.landing-intro__banner-action {
    text-align: center;
}

.landing-devices .landing-solutions__card {
    min-height: auto;
    width: 100%
}

@media screen and (min-width: 768px) {
    .landing-intro__banner {
        align-items: center;
    }

    .landing-intro__banner .landing-intro__banner-image,
    .landing-intro__banner .landing-intro__banner-left {
        width: 50%;
        flex: 1 auto;
    }

    .landing-intro__banner .landing-intro__banner-image .homepage-slider .slick-slide img {
        object-fit: contain;
    }

    .landing-devices {
        gap: 1em;
    }

    .landing-devices .landing-solutions__card {
        flex: 1 auto;
        width: auto;
    }

    .landing-intro .landing-intro__banner-features {
        margin: 0;
    }

    .landing-intro__banner-action {
        text-align: left;
    }
}


/* Register page */
.form-register .form-container {
    max-width: 45em;
}


/* Sidebar */
@media screen and (min-width: 768px) {
    .page--has-sidebar .header-content__logo img {
        position: fixed;
        left: 1em;
        top: 1em;
    }
}

@media screen and (min-width: 768px) {
    .page--has-sidebar .container {
        padding-left: 13em;
    }
}

@media screen and (min-width: 1280px) {
    .page--has-sidebar .container {
        padding-left: 10em;
    }
}

@media screen and (min-width: 1580px) {
    .page--has-sidebar .container {
        padding-left: 1em;
    }
}


.client__sidebar {
    visibility: none;
    position: fixed;
    width: var(--sidebar-width);
    transform: translateX(calc(var(--sidebar-width) * -1)) scaleX(0.2);
    height: 100%;
    left: 0;
    top: 0;
    z-index: 10001;
    box-sizing: border-box;
    transition-delay: 0.3s;
    transition: all 0.3s ease-in-out;
}

.client__sidebar--visible {
    visibility: visible;
    transform: translateX(0) scaleX(1);
}

.client__sidebar::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    background-color: var(--main-bg-color);
}

.client__sidebar-toggle {
    cursor: pointer;
    line-height: 0;
}

.client__sidebar-toggle svg {
    transition: stroke 0.2s ease-in-out;
}

.client__sidebar-toggle:hover svg {
    stroke: var(--accent-color);
}

.client__sidebar .client__sidebar-toggle {
    display: block;
    position: fixed;
    top: 1.25em;
    left: 1.25em;
    z-index: 10002;
}

.client__sidebar::after {
    content: "";
    position: absolute;
    right: 0;
    top: 0;
    width: 3px;
    height: 100%;
    background: var(--gradient-background);
}

@media screen and (min-width: 768px) {

    .client__sidebar-toggle,
    .client__sidebar .client__sidebar-toggle {
        display: none;
    }

    .client__sidebar {
        display: block;
        visibility: visible;
        transform: none;
        opacity: 1;
        z-index: 9998;
    }

    .client__sidebar::before {
        opacity: 0.4
    }
}

.client__sidebar-elements {
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 5;
    padding: 6em 1em 2em 1em;
    box-sizing: border-box;
    max-height: 100%;
    height: 100%;
    overflow-y: auto;
}

.client__sidebar-element {
    margin-bottom: 0.25em;
}

.client__sidebar-element--separator {
    margin-top: auto;
}

.client__section {
    position: relative;
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    align-items: center;
    margin: 2em auto;
    padding: 1em;
    background: linear-gradient(180deg, rgba(145, 145, 145, 0.25) 30%, rgba(145, 145, 145, 0.1175) 100%);
    border-radius: 8px;
}

.client__section p {
    text-align: left;
}

.client__section-alert {
    background: rgb(255 92 0 / 50%);
    justify-content: center;
}

.client__section-column {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5em;
    margin: 0.5em 0;
}

@media screen and (min-width: 1024px) {
    .client__section-column {
        width: auto;
        flex: 1;
        max-width: 33.3333333%;
        margin: 0;
    }

    .client__section .client__section-column--buttons {
        padding-left: 2em;
        /* align-items: center; */
        align-items: flex-end;
    }
}

.client__sidebar-link {
    display: flex;
    position: relative;
    /* display: block; */
    justify-content: space-between;
    padding: 0.65em 0.5em;
    font-size: 1em;
    box-sizing: border-box;
    text-decoration: none;
    transition: color 0.2s ease-in-out;
}

.client__sidebar-link::before {
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    height: 100%;
    top: 0;
    opacity: 0;
    transition: opacity 0.2s ease-in-out;
    border-radius: 8px;
    background: linear-gradient(180deg, rgba(145, 145, 145, 0.25) 30%, rgba(145, 145, 145, 0.1175) 100%);
}

.client__sidebar-link.active::before {
    opacity: 1;
}

.client__sidebar-link:hover::before,
.client__sidebar-link:active::before {
    opacity: 0.6;
}

.client__sidebar-link:hover,
.client__sidebar-link:active,
.client__sidebar-link:focus {
    text-decoration: none;
}

/* Abonamente */
.abonamente__table {
    display: flex;
}

.abonamente__table table {
    border-spacing: 4px 4px;
    border-collapse: separate;
}

.abonamente__table td {
    padding: 5px;
    box-sizing: border-box;
}

.abonamente__logo-img {
    display: block;
    margin: 0 auto;
}

.abonamente__column {
    position: relative;
    flex: 1;
    overflow: hidden;
}

.abonamente__column--active .abonamente__column-action {
    display: none;
}

.abonamente__extra-column {
    overflow: hidden;
}

.abonamente__extra-column--active {
    background-color: var(--accent-color) !important;
}

.abonamente__extra-alert {
    display: none;
    padding: 1em 1em 1em 1em;
    background-color: red;
}

.abonamente__extra-column--active .abonamente__extra-alert {
    display: block;
    margin-top: -0.65em;
}

.abonamente__extra-column--active .abonamente__extra-price {
    border-color: var(--text-color) !important;
}

.abonamente__extra-column--active .button-add,
.abonamente__extra-column .button-remove {
    display: none !important;
}

.abonamente__extra-column--active .button-remove {
    display: inline-block !important;
    background-color: var(--text-color) !important;
    color: var(--accent-color) !important;
}

.abonamente__column table {
    position: relative;
    overflow: hidden;
}

/* .abonamente__column table::before {
    content: "";
    position: absolute;
    z-index: -1;
    left: -0.25em;
    top: -0.25em;
    border-radius: 16px;
    width: calc(100% + 0.5em);
    height: calc(100% + 0.5em);
    background-color: transparent;
    transition: background-color 0.2s ease-in-out;
    opacity: 0.8;
} */
.abonamente__column table::before {
    content: "";
    position: absolute;
    z-index: -1;
    left: 0;
    top: 0;
    border-radius: 7px;
    width: 100%;
    height: 100%;
    background-color: transparent;
    transition: background-color 0.2s ease-in-out;
    opacity: 0.8;
}

.abonamente__column--active table::before {
    background-color: var(--accent-color);
}

/* .abonamente__column--active .abonamente__row-7 .text-green,
.abonamente__column--active .abonamente__row-7 .text-red,
.abonamente__column--active .abonamente__row-8 .text-green,
.abonamente__column--active .abonamente__row-8 .text-red {
    filter: brightness(0) invert(1);
} */
.abonamente__column .text-red,
.abonamente__column .text-green {
    filter: brightness(0) invert(1);
}

.abonamente__extra-content {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 2em;
    margin: 2em 0;
}


@media screen and (min-width: 768px) {
    .abonamente__extra-content {
        flex-direction: row;
    }

    .abonamente__extra-column {
        flex: 1;
    }
}

/* Cart summary */

.cart__summary {
    position: fixed;
    background: var(--main-bg-color);
    background: #35211f;
    border: 2px solid var(--accent-color);
    width: 100%;
    max-width: calc(100vw - 3em);
    margin: 0 auto;
    right: 0;
    left: 0;
    bottom: 1em;
    z-index: 15;
    border-radius: 30px;
    padding: 1em 2em;
    box-sizing: border-box;
}

.cart__summary:empty {
    display: none;
}

.cart__summary-product {
    font-size: 1.25em;
}

.cart__summary-price {
    font-size: 1.45em;
}

.cart__summary-row {
    display: flex;
    border-bottom: 1px solid #fff;
    padding: 0.45em 0;
    justify-content: space-between;
}

.cart__summary-actions {
    margin-top: 1em;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 1em;
}

.cart__summary-actions .button:not(.button--accent) {
    color: var(--accent-color);
    background-color: var(--text-color);
}

@media screen and (min-width: 768px) {
    .cart__summary {
        max-width: 72em;
    }

    .page--has-sidebar .cart__summary {
        position: relative !important;
    }

    .cart__container .client__section {
        gap: 1em;
    }

    .cart__container .client__section .client__section-column--buttons {
        align-items: center;
    }
}


/* Client devices */
.client__devices {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.device__tag {
    position: relative;
    background: #222;
    flex-grow: 0;
    width: auto;
    align-self: flex-start;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #3f3f3f;
}

.device__tag-name {
    display: flex;
    gap: 1em;
    padding: 0.45rem 1em;
    align-items: center;
    position: relative;
    z-index: 1;
    min-width: 15em;
}

.device__tag-name .button {
    background-color: #F44336;
    border-radius: 50%;
    width: 1em;
    height: 1em;
    display: flex;
    padding: 0;
    justify-content: center;
    align-items: center;
    font-size: 1.55em;
}

.device__tag-confirm {
    position: absolute;
    display: none;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
}

.device__tag-confirm .button {
    padding: 0;
    cursor: pointer;
    background-color: var(--accent-color);
    height: 100%;
    flex: 1 auto;
    transform: none !important;
}

.device__tag-confirm .button:hover {
    text-decoration: underline;
}

.device__tag-buttons {
    display: flex;
    position: absolute;
    text-align: center;
    justify-content: center;
    align-items: center;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    z-index: 2;
}

.device__tag-buttons .device__tag-cancel {
    background-color: #222;
    color: #fff;
}

@media screen and (min-width: 1024px) {
    .device__tag {
        align-self: flex-end;
    }
}

/* Edit account page */
.form-account .form-container,
.form-register .form-container {
    max-width: 100%;
}

/* FAQ */
.faq__title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2em;
}

.faq__card-toggle {
    display: block;
    text-decoration: none;
    padding: 1em;
    border-bottom: 1px solid var(--transparent-background);
    transition: all 0.2s ease-in-out;
}

.faq__card-toggle--active {
    margin-top: 0.45em;
    border-radius: 8px 8px 0 0;
    background: var(--transparent-background);
}

.faq__card-toggle:hover,
.faq__card-toggle:focus {
    text-decoration: none;
}

.faq__card-toggle:hover {
    opacity: 0.8;
}

.faq__card-toggle .info-icon {
    margin-right: 1em;
    background-color: var(--accent-color);
    line-height: 0;
    width: 1em;
    height: 1em;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
}

.faq__card-content {
    padding: 1em;
    background: var(--transparent-background);
    border-radius: 0 0 8px 8px;
}

/* Payment types */
.payment__options {
    padding: 2em 0 0 0;
    display: flex;
    gap: 1em;
    align-items: center;
    justify-content: flex-start;
    flex-direction: column;
}

.payment__cards {
    display: flex;
    flex-wrap: wrap;
    gap: 1em;
    padding: 1em;
    border-radius: 16px;
    flex-grow: 1;
    justify-content: space-evenly;
}

@media screen and (min-width: 768px) {
    .payment__options {
        flex-direction: row;
    }
}

/* Features page */
.features__section {
    position: relative;
    display: flex;
    overflow: hidden;
    margin: 2em 0;
    align-items: center;
}

.features__section {
    flex-direction: column;
}

.features__section--flip-mobile {
    flex-direction: column-reverse;
}

.features__section--align-top {
    align-items: flex-start;
}

.features__section--wbg {
    padding: 4em 0;
    border-radius: 60px;
}

.features__section--wbg .features__section-text {
    position: absolute;
    z-index: 2;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
}

.features__section--wbg .features__section-img {
    object-fit: cover;
}

.features__section-content {
    display: block;
    max-width: 100%;
    flex: 1;
    margin-bottom: 2em;
}

.features__description {
    margin: 3em 0;
}

.features-channels__list {
    margin: 2em 0 4em 0;
}

.features__section-steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 2em;
    margin-top: 2em;
    flex-direction: column;
}

.features__section-steps .features__description {
    margin: 1em 0;
}

.features__section-steps__step {
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1;
    gap: 1em;
    width: 100%;
}

.features__section-steps__step:nth-child(2) {
    flex-direction: row-reverse;
}


.features__section-steps__number {
    border-radius: 50%;
    width: 3em;
    height: 3em;
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    background-color: var(--accent-color);
}

.features__section-steps__text {
    flex-grow: 1;
}

.features__section-img {
    border-radius: 60px;
}

@media screen and (min-width: 768px) {
    .features__section {
        gap: 2em;
    }

    .features__section-steps {
        flex-direction: row;
    }

    .features__section-steps__step,
    .features__section-steps__step:nth-child(2) {
        flex-direction: column;
        width: auto;
    }

    .features__section,
    .features__section--flip-mobile {
        flex-direction: row;
    }

}


/* Page image intro */
.page__intro {
    position: relative;
    margin-bottom: 2em;
    margin-top: -4em;
    height: 50vh;
    min-height: 31.25em;
}

.page__intro img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    user-select: none;
    pointer-events: none;
}

.page__intro-text {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1em;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.page__intro-description {
    margin: 1em 0 2em 0;
}

/* Footer iNES live */
.footer-content__soccial {
    display: flex;
    gap: 0.5em;
}

/* La mall */
.mall-payment-method {
    display: flex;
    justify-content: flex-start;
    gap: 1em;
    margin-top: 2em;
}

.mall-payment-method__entry {
    background: var(--gradient-background);
    padding: 1em;
    text-align: center;
}


/* Main menu overwrite */
.page--has-sidebar .header-content .header-content__nav {
    width: 100%;
}

.header-content__nav-item--logout {
    margin-left: auto;
}

@media screen and (min-width: 768px) {
    .header-content__nav-item--logout .header-content__nav-link {
        display: flex;
        transform: scaleX(-1);
    }
}

.header-content__social {
    position: relative;
    display: flex;
    width: 100%;
    justify-content: flex-end;
}

@media screen and (min-width: 768px) {
    .header-content__social {
        width: auto;
        padding-left: 1em;
    }
}

.header-content__social .social__link {
    display: flex;
    padding: 1em 0.5em;
    transition: color 0.2s ease-in-out;
    transform: scale(1.1);
}

.social__link:hover,
.social__link:focus {
    color: var(--accent-color);
}

.header-content__social::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(0, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.16) 50%, rgba(255, 255, 255, 0) 100%);
}

/* Cart */
.cart__products {
    display: flex;
    flex-direction: column;
    background-color: rgba(255, 231, 216, 0.14);
    padding: 0.5em 1em;
    border-radius: 16px;
    margin: 2em auto;
}

.cart__products-row {
    flex-direction: column;
    justify-content: space-between;
    margin: 0.5em 0;
    margin-bottom: 2em;
}

.cart__products-column {
    flex: 1;
    padding: 0.65rem;
    border-radius: 2px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cart__products-column-product {
    background-color: var(--accent-color);
}

.cart__products-actions {
    display: flex;
    justify-content: flex-end;
    justify-content: center;
}

@media screen and (min-width: 768px) {
    .cart__products-row {
        flex-direction: row;
        gap: 1em;
        margin-bottom: 0.5em;
    }

    .cart__products-column {
        padding: 1em;
    }
}

/* Modal */

.modal {
    display: none;
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgb(0 0 0 / 60%);
    opacity: 0;
    transition-delay: 0.3ms;
    z-index: 99999;
}

.modal.show {
    opacity: 1;
}

#siteModalContent {
    position: absolute;
    left: 50%;
    top: 50%;
    padding: 2em;
    transform: translate(-50%, -50%);
    background: var(--main-bg-color);
    border-radius: 18px;
    max-width: 50em;
    width: 100%;
    max-height: 100%;
    overflow-y: auto;
    border: 2px solid var(--accent-color);
    box-shadow: 0 0px 30px 2px #ff5c502b;
}

.modal .modal-loading {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

/* Facturi */
.client__table {
    /* padding: 1em; */
    /* background: var(--gradient-background); */
    border-radius: 8px;
}

.client__table-row {
    display: flex;
    justify-content: space-between;
    padding: 0.5em 1em;
    margin-bottom: 0.25em;
    gap: 0.25em;
    border: 1px solid rgba(255, 255, 255, 0.1);
    flex-direction: column;
    align-items: flex-start;
    min-height: 3.75em;
}

.client__table-header {
    display: none;
}

.client__table-actions {
    text-align: right;
    width: 100%;
}

@media screen and (min-width: 768px) {
    .client__table-row {
        flex-direction: row;
        align-items: center;
        gap: 1em;
    }

    .client__table-column {
        flex: 1;
        display: flex;
        justify-content: center;
    }

    .client__table-header {
        display: flex;
    }
}



/* Device control page */
.device-control__form.form-container {
    max-width: 100%;
}

.device-control__devices {
    display: flex;
    flex-direction: row;
    gap: 1em;
}

.device-control__devices-row,
.device-control__devices-column {
    display: flex;
    flex-direction: row;
    gap: 1em;
    align-items: flex-start;
}

.device-control__devices-column {
    max-width: 100%;
}

.device-control__section {
    padding: 1em;
    /* border-radius: 8px; */
    border: 1px solid rgba(255, 255, 255, 0.1);
    flex: 1;
    margin-top: 1em;
}

.device-control__device {
    display: flex;
    /* Varianta 2 */
    flex-direction: column;
    /* Varianta 2 */
    gap: 1em;
    /* Varianta 2 */
    flex: 1 auto;
    width: 40%;
    text-align: left;
}

.device-control__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2em;
}

.device-control__actions {
    display: flex;
    gap: 1em;
}

.device-control__action {
    background: none;
    border: none;
    cursor: pointer;
}

.device-control__field-group {
    margin: 1em 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.device-control__field-group .button--link {
    transform: none !important;
    font-size: 0.85em;
    display: block !important;
    text-align: center;
    width: 100%;
    padding: 0.1em 0;
}

.device-control__field-group .button--link:hover,
.device-control__field-group .button--link:focus {
    text-decoration: underline;
}

.device-control__field-group input[type="checkbox"] {
    appearance: auto;
}

.device-control__field-group--fill {
    height: 2.25em;
    display: flex;
    align-items: center;
}

.device-control__label {
    display: block;
}

.device-control__input {
    width: 100%;
    padding: 0.45em;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.device-control__input::placeholder {
    opacity: 0.3;
    font-weight: normal;
}

.device-control__checkbox {
    width: auto;
}

.device-control-category {
    margin-bottom: 1em;
}

.device-control__channels {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin: 0;
}

.device-control__channel,
.device-control-category__channel {
    display: flex;
    justify-content: flex-start;
    border-bottom: 1px solid #414141;
    width: 100%;
    padding: 1em 0;
}

.device-control__channel-label {
    display: flex;
    align-items: center;
    gap: 1em;
    min-height: 1.4em;
}

.device-control-category__channel {
    justify-content: flex-start;
}


.device-control__channels .device-control__channel:last-child,
.device-control-category__channels .device-control-category__channel:last-child {
    border: 0;
}

.device-control__devices .slick-prev {
    left: -2em;
}

.device-control__devices .slick-next {
    right: -2em;
}

.device-control__selector {
    display: flex;
    justify-content: space-between;
}

.device-control__select {
    padding: 0.45em 0.65em;
    border-radius: 16px;
    background-color: transparent;
    cursor: pointer;
    transition: background-color 0.2s ease-in-out;
}

.device-control__select--active {
    background-color: var(--accent-color);
}

@media screen and (min-width: 768px) {

    /* .device-control__devices {
        flex-direction: column;
    } */
    /* .device-control__devices-row {
        flex-direction: row;
    } */
    .device-control__channel {
        justify-content: center;
    }

    .device-control__section {
        margin-top: 0;
    }
}

/* Custom checkbox */
.custom-checkbox-input {
    display: none;
}

.custom-checkbox {
    display: flex;
    align-items: center;
    cursor: pointer;
    position: relative;
}

.custom-checkbox::before {
    content: '';
    width: 20px;
    height: 20px;
    border: 2px solid #ccc;
    border-radius: 4px;
    margin-right: 8px;
    display: inline-block;
    box-sizing: border-box;
    transition: all 0.3s ease;
}

.custom-checkbox-input:checked+.custom-checkbox::before {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    content: '✔';
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 14px;
}

.custom-checkbox:hover::before {
    border-color: var(--accent-color);
}


/* Recaptcha */
.g-recaptcha {
    display: flex;
    justify-content: center;
    margin: 1em auto;
}


/* Alerts overwrite */
body .alert {
    position: relative;
    text-align: center;
    width: 72em;
    margin: 0 auto;
    margin-top: 1rem;
    right: 0;
    left: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding-left: 3rem;
    max-width: calc(100% - 2rem);
}

body .alert .close {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    width: 2rem;
    height: 2rem;
    cursor: pointer;
    font-size: 2rem;
    background: rgb(255 255 255 / 13%);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transform: translateY(-50%);
    transition: all 0.2s ease-in-out;
}

body .alert .close:hover,
body .alert .close:focus {
    background: #fff;
    color: var(--accent-color);
}



/* Grila noua */
.channels-grid.channels-grid--static {
    display: grid;
    gap: 1em;
    grid-template-columns: repeat(auto-fit, minmax(10em, 13em));
}

.channels-grid--static .channels-grid__title {
    position: relative;
    top: 0;
    margin-top: 1rem;
    opacity: 1;
    transform: none !important;
}

.channels-grid--static .channels-grid__image {
    opacity: 1 !important;
}

.channels-grid--static .channels-grid__category {
    flex: 0 1 auto;
}

.channels-grid--static .channels-grid__item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
}


.channels-filters {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.channels-filters .channels-filters__reset {
    display: block;
    margin: 0 auto;
    font-size: 0.85rem;
    padding: 0.25rem;
    opacity: 0.3;
}

.channels-filters__dropdown-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 1rem;
    cursor: pointer;
    background: #000;
    color: white;
    border-radius: 6px;
    width: 100%;
    user-select: none;
    transition: background-color 0.2s ease-in-out;
}

.channels-filters__dropdown-label:hover,
.channels-filters__dropdown-label:focus {
    background-color: #2e2e2e;
}

.channels-filters__dropdown--parent {
    position: relative;
}

.channels-filters__dropdown-label-icon {
    display: flex;
    margin-right: -0.65rem;
    transition: transform 0.2s ease-in-out;
}

.channels-filters__dropdown--parent>.channels-filters__dropdown-label {
    /* background-color: var(--accent-color); */
    border: 1px solid var(--accent-color);
}

/* .channels-filters__dropdown--parent > .channels-filters__dropdown-label .channels-filters__dropdown-label-icon, */
.channels-filters__dropdown.open>.channels-filters__dropdown-label .channels-filters__dropdown-label-icon {
    transform: rotate(90deg);
}

.channels-filters__dropdown.open:not(.channels-filters__dropdown--parent)>.channels-filters__dropdown-label {
    background-color: #5b5b5b;
}

.channels-filters__dropdown--parent.active>.channels-filters__dropdown-label,
.channels-filters__dropdown.open .channels-filters__dropdown-label.active,
.channels-filters__dropdown .channels-filters__dropdown-label.active {
    background-color: var(--accent-color);
}

.channels-filters__dropdown {
    /* position: relative; */
    z-index: 2;
    width: 100%;
    margin-bottom: 0.25rem;
}

.channels-filters__dropdown-content {
    width: 100%;
    margin-top: 0.25rem;
    /* background-color: #242424; */
    display: none;
    padding-left: 1rem;
}

/* .channels-filters__dropdown.open > .channels-filters__dropdown-content {
    display: block;
} */
.channels-filters__dropdown-content .channels-filters__item {
    padding: 0.62rem 1rem;
    border-radius: 6px;
    margin-bottom: 0.25rem;
}

@media screen and (min-width: 768px) {
    .channels-filters__dropdown {
        width: auto;
    }

    .channels-filters__dropdown-content {
        position: absolute;
        top: 0;
        left: 100%;
        background: transparent;
        width: 12rem;
        background: rgb(255 255 255 / 12%);
        padding: 0.25rem 0.25rem 0 0.25rem;
        border-radius: 8px;
        box-sizing: border-box;
        margin-top: 0;
    }

    .channels-filters__dropdown-content::before {
        content: '';
        position: absolute;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        border-radius: 8px;
        backdrop-filter: blur(50px);
        z-index: -1;
    }

    .channels-filters__dropdown--parent>.channels-filters__dropdown-content {
        left: 0;
        top: calc(100% + 0.25rem);
    }

    .channels-filters__dropdown.open:not(.channels-filters__dropdown--parent)>.channels-filters__dropdown-label .channels-filters__dropdown-label-icon {
        transform: rotate(0) translateX(5px);
    }

    .channels-filters__dropdown--child>.channels-filters__dropdown-content {
        margin-left: 0.45rem;
    }

    .channels-filters__dropdown--parent>.channels-filters__dropdown-label {
        width: 12rem;
    }

    .channels-filters__dropdown-label {
        background-color: #242424;
    }
}


/* Packs picker */
.packs__picker-tabs {
    display: flex;
    text-transform: uppercase;
    background-color: rgba(255, 231, 216, 0.14);
    margin: 1rem auto;
    width: fit-content;
    border-radius: 16px;
    padding: 0.25rem;
    gap: 2px;
}

.packs__picker-tab {
    position: relative;
    padding: 0.65rem 1rem;
    cursor: pointer;
    text-align: center;
}

.packs__picker-tab::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: transparent;
    transition: background-color 0.2s ease-in-out, transform 0.2s ease-in-out;
    transform-origin: center center;
    border-radius: 12px;
    z-index: -1;
}

.packs__picker-tab:hover::before,
.packs__picker-tab:active::before {
    background-color: rgba(255, 231, 216, 0.24);
}

.packs__picker-tab:active::before {
    transform: scale(0.95);
}

.packs__picker-tab--active::before {
    background-color: var(--accent-color) !important;
}

.packs__picker-tab--hidden {
    display: none !important;
}

.packs__picker-tab--visible {
    animation: animatetabcontent 0.4s;
}

@keyframes animatetabcontent {
    from {
        bottom: -1rem;
        opacity: 0
    }

    to {
        bottom: 0;
        opacity: 1
    }
}