﻿:root {
    --hover: #f6f6f6;
    --hover-2: #000000b0;
    --accent: #3D5AFE;
    /*--accent-1: #3d5afe1a;*/
    --accent-1: #e0ecff;
    --primary: #09101F;
    --primary-1: #131c2e;
    --secondary: #F8FBFD; /* #FAFAFA;*/
    --primary-text-color-1: white;
    --secondary-text-color-1: black;
    --secondary-text-color-2: #c6c6c6;
    --secondary-border-color: lightgray;
    --highlight: #EA4C89;
    /* Headings (tight, modern, not oversized) */
    --fs-h1: clamp(1.875rem, 3.5vw + 0.5rem, 2.2rem); /* ~30px → 35px */
    --fs-h2: clamp(1.625rem, 3vw + 0.3rem, 1.9rem); /* ~26px → 30px */
    --fs-h3: clamp(1.375rem, 2.5vw + 0.25rem, 1.6rem); /* ~22px → 26px */
    --fs-h4: clamp(1.25rem, 2vw + 0.2rem, 1.4rem); /* ~20px → 22px */
    --fs-h5: clamp(1.125rem, 1.8vw + 0.15rem, 1.25rem); /* ~18px → 20px */
    /* Body text (normal reading size) */
    --fs-body: clamp(1rem, 1.2vw + 0.1rem, 1.0625rem); /* ~16px → 17px */
    /* Small text */
    --fs-small: clamp(0.875rem, 1vw, 0.9375rem); /* ~14px → 15px */
    /* Tiny / caption */
    --fs-tiny: clamp(0.75rem, 0.8vw, 0.8125rem); /* ~12px → 13px */
    --box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
    --box-shadow-accent: -10px 8px 0px var(--accent);
    --yellow: #FFE52A;
    --red: #D2042D;
    --orange: orange;
}

footer{
    display: flex;
    align-items:center;
    justify-content:center;
    padding: 20px;
    text-align:center;
    background: var(--primary);
    color: var(--primary-text-color-1);
    gap: 5px;
    flex-wrap: wrap;
}

body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    font-family: "Hedvig Letters Sans", sans-serif !important;
    background: var(--secondary);
}

.svg-image {
    width: 90%;
    max-height: 40vh;
    height: auto;
}

.svg-image.medium {
    max-height: 20vh;
    height: auto;
}

.layout-column {
    display: flex;
    flex-direction: column;
    width: calc(100% - 4vw);
    min-height: calc(100vh - 120px);
    margin: 60px 2vw 60px 2vw;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.link{
    display:flex;
    align-items: center;
    justify-content:center;
}

.unset {
    all: unset;
}

    .unset:hover {
        all: unset;
    }

main {
    width: 100%;
}

.display-1 {
    flex-grow: 1;
}


header {
    top: 0;
    position: sticky;
    z-index: 99;
}

    header .top-bar {
        display: flex;
        padding: 15px 20px;
        justify-content: space-between;
        align-items: center;
        background: var(--secondary);
        color: var(--secondary-text-color-1);
        transition: all 250ms;
    }

.sidebar-logo-container {
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

    .sidebar-logo-container .sidebar-logo, .top-bar .sidebar-logo {
        width: 100px;
        height: 35px;
        object-fit: contain;
        cursor: pointer;
    }

    .sidebar-logo-container .sidebar-logo-small {
        width: 23px;
        height: 23px;
        object-fit: cover;
        margin: auto;
        cursor: pointer;
    }

.separator-90 {
    width: calc(100% - 50px);
    height: 1px;
    background: var(--secondary-border-color);
    margin: auto;
}

aside {
    transform: translateX(-250px);
    opacity: 0;
    width: 0;
    transition: 250ms;
}

    aside.open {
        display: block;
        transform: translateX(0);
        min-width: 250px;
        opacity: 1;
    }

        aside.open .hide-on-close {
            display: block;
            opacity: 1;
        }

    aside .hide-on-close {
        display: none;
        opacity: 0;
    }

    aside.open .show-on-close {
        display: none;
        opacity: 0;
    }

    aside .show-on-close {
        display: block;
        opacity: 1;
    }

.center {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}


.align-items-center {
    align-items: center;
}

.end {
    justify-content: flex-end;
    text-align: end;
}
.start {
    justify-content: flex-start;
    text-align: start;
}

.cursor-pointer {
    cursor: pointer;
}

aside asidebackground {
    transition: background 500ms;
    background: transparent;
}

.registration-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-direction: column;
    min-height: 100vh;
    background: var(--primary);
}

.login-logo {
    object-fit: contain;
}

.registration-wrapper header {
    margin-top: 20px;
}

.registration-wrapper main {
    margin-bottom: 20px;
}

.registration-container {
    max-width: 500px;
    width: calc(90vw - 40px);
    border-radius: 10px;
    background: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--box-shadow-accent);
    padding: 50px 20px;
}

.registration-wrapper main {
    width: unset;
    background: transparent;
}

.registration-container .registration-content {
    max-width: 400px;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex-direction: column;
    gap: 20px;
}

.registration-container a {
    color: var(--accent);
}

.space-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.text-align-right {
    text-align: right;
}

.user-profile-button {
    position: relative;
}

topside {
    position: absolute;
    z-index: 100;
    top: 25px;
    right: 0;
    display: none;
    background: var(--secondary);
    color: var(--secondary-text-color-1);
    min-width: 300px;
    opacity: 0;
    transform: translateX(-300px);
    transition: all 250ms;
    padding: 20px;
    border: 1px solid var(--secondary-border-color);
    border-radius: 10px;
}

    topside.open {
        display: block;
        animation: topside-animation 250ms forwards ease-in-out;
    }

@keyframes topside-animation {
    from {
        opacity: 0;
        transform: translateX(300px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

#loading-overlay {
    background: var(--primary);
    position: fixed;
    inset: 0;
    height: 100vh;
    width: 100vw;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    gap: 60px;
    z-index: 10000;
}

    #loading-overlay p {
        font-size: 25px;
        font-weight: bold;
        animation: infinite ease-in-out 2s p-loading;
    }

    @keyframes p-loading{
        0%, 100%{
            opacity: 0.7;
        }
        50%{
            opacity: 0.3;
        }
    }

    .page {
        padding: 60px 2vw;
    }

.content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.action-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.plan-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
    text-align: center;
}

.plan-card {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
    display: grid;
    gap: 30px;
    grid-template-rows: 1fr 80px 1fr 60px;
}

.full-width {
    width: 100%;
}

.full-height {
    height: 100%;
}

.column-0, .column-5, .column-10, .column-20, .column-30, .column-60 {
    display: flex;
    flex-direction: column;
}

.column-0 {
    gap: 0px;
}
.column-5 {
    gap: 5px;
}
.column-10 {
    gap: 10px;
}
.column-20 {
    gap: 20px;
}
.column-30 {
    gap: 30px;
}
.column-60 {
    gap: 60px;
}

.wrap{
    flex-wrap: wrap;
}

.flex {
    display: flex;
}

.flex-5 {
    display: flex;
    gap: 5px;
}

.flex-10 {
    display: flex;
    gap: 10px;
}

.flex-20 {
    display: flex;
    gap: 20px;
}

.flex-30 {
    display: flex;
    gap: 30px;
}

.margin-top-10 {
    margin-top: 10px;
}

.margin-top-20 {
    margin-top: 20px;
}

.margin-top-30 {
    margin-top: 30px;
}

.synchronizing-1{
    min-height: 200px;
    display:flex;
    align-items:center;
    justify-content:center;
}

.statistics-filters{
    display:flex;
    gap: 20px;
    justify-content: space-between;
    align-items:center;
}

@media (min-width: 700px) {
    aside {
        width: 70px;
        transform: translateX(0);
        opacity: 1;
    }

        aside .sidebar-navigations {
            align-items: center;
            justify-content: center;
        }

        aside.open .sidebar-navigations {
            align-items: unset;
            justify-content: unset;
        }

    .sidebar-close {
        display: none !important;
    }

    header .top-bar img {
        display: none;
    }
}

@media (max-width: 700px) {
    aside.open {
        width: 85vw;
        height: 100vh;
        top: 0;
        left: 0;
        z-index: 100;
    }

    aside {
        position: fixed;
    }

        aside.open asidebackground {
            position: fixed;
            width: 15vw;
            height: 100vh;
            right: -15vw;
            top: 0;
            z-index: 100;
            background: #000000c4;
        }

    .sidebar-logo-container {
        justify-content: space-between;
    }

    .sidebar-close {
        font-size: 30px;
    }

    .content {
        text-align: center;
    }

    .action-buttons {
        justify-content: center;
    }

    .input-group {
        width: 100%;
        max-width: 400px;
    }

    header .top-bar {
        background: var(--primary);
        color: var(--primary-text-color-1);
    }

    header .top-bar img{
        display:block;
    }

    .column-0, .column-5, .column-10, .column-20, .column-30, .column-60 {
        align-items: center;
    }

    .input-group{
        margin: auto;
    }

    .statistics-filters{
        flex-direction: column;
    }
}














































.input-group {
    position: relative;
}

.input {
    width: calc(100% - 34px);
    border: solid 2px lightgray;
    border-radius: 1rem;
    background: none;
    padding: 15px;
    font-size: var(--fs-body);
    max-width: 400px;
    color: black;
    background: white;
    transition: border 150ms cubic-bezier(0.4, 0, 0.2, 1);
}

.user-label {
    position: absolute;
    left: 15px;
    color: gray;
    pointer-events: none;
    transform: translateY(1rem);
    transition: 150ms cubic-bezier(0.4,0,0.2,1);
}

.input:-webkit-autofill ~ label, .input:valid ~ label, .input:focus ~ label, .input:not(:placeholder-shown) ~ label {
    transform: translateY(-50%) scale(0.8);
    padding: 0 5px;
    color: var(--primary);
    background: white;
    border-radius: 15px;
    box-shadow: 0px -1px 0px 0.5px lightgray;
}


/******************************************************  ******************************************************/
/******************************************************  ******************************************************/
/******************************************************  ******************************************************/
/******************************************************  ******************************************************/
/****************************************************** START TEXTS ******************************************************/
/******************************************************  ******************************************************/
/******************************************************  ******************************************************/
/******************************************************  ******************************************************/
/******************************************************  ******************************************************/

h1 {
    all: unset;
    font-size: var(--fs-h1);
}

h2 {
    all: unset;
    font-size: var(--fs-h2);
}

h3 {
    all: unset;
    font-size: var(--fs-h3);
}

h4 {
    all: unset;
    font-size: var(--fs-h4);
}

h5 {
    all: unset;
    font-size: var(--fs-h5);
}

p {
    all: unset;
    font-size: var(--fs-body);
}

small {
    all: unset;
    font-size: var(--fs-small);
}

tiny {
    all: unset;
    font-size: var(--fs-tiny);
}

.info-text {
    color: gray;
}
/******************************************************  ******************************************************/
/******************************************************  ******************************************************/
/******************************************************  ******************************************************/
/******************************************************  ******************************************************/
/****************************************************** END TEXTS ******************************************************/
/******************************************************  ******************************************************/
/******************************************************  ******************************************************/
/******************************************************  ******************************************************/
/******************************************************  ******************************************************/
/* CSS */

.notyf-info-toast {
    background-color: #3b82f6 !important;
    color: white !important;
}

.button-1 {
    background-color: var(--primary);
    border-radius: 8px;
    border-style: none;
    box-sizing: border-box;
    color: #FFFFFF;
    cursor: pointer;
    display: flex;
    gap: 15px;
    align-items: center;
    justify-content: center;
    font-size: var(--fs-body);
    font-weight: 700;
    height: 40px;
    line-height: 20px;
    list-style: none;
    margin: 0;
    outline: none;
    padding: 10px 16px;
    position: relative;
    text-align: center;
    text-decoration: none;
    transition: color 100ms;
    vertical-align: baseline;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    transition: all 250ms;
    text-transform: uppercase;
    box-shadow: var(--box-shadow);
}

    .button-1:hover {
        background-color: var(--accent);
    }

    .button-1.small {
        font-size: var(--fs-tiny);
        padding: 4px 8px;
        height: 25px;
    }

    .button-1:disabled {
        background: gray;
        color: white;
        cursor: default;
    }

.button-2 {
    background-color: var(--accent);
    border-radius: 8px;
    border-style: none;
    box-sizing: border-box;
    color: #FFFFFF;
    cursor: pointer;
    display: flex;
    gap: 15px;
    align-items: center;
    justify-content: center;
    font-size: var(--fs-body);
    font-weight: 700;
    height: 40px;
    line-height: 20px;
    list-style: none;
    margin: 0;
    outline: none;
    padding: 10px 16px;
    position: relative;
    text-align: center;
    text-decoration: none;
    transition: color 100ms;
    vertical-align: baseline;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    transition: all 250ms;
    text-transform: uppercase;
    box-shadow: var(--box-shadow);
}

    .button-2:hover {
        background-color: var(--primary);
    }

    .button-2.small {
        font-size: var(--fs-tiny);
        padding: 5px 8px;
        height: 25px;
    }

    .button-2:disabled {
        background: gray;
        color: white;
        cursor: default;
    }

    .button-2.big {
        font-size: var(--fs-h4);
        padding: 18px 28px;
        height: 60px;
    }

.button-3 {
    background-color: var(--red);
    border-radius: 8px;
    border-style: none;
    box-sizing: border-box;
    color: #FFFFFF;
    cursor: pointer;
    display: flex;
    gap: 15px;
    align-items: center;
    justify-content: center;
    font-size: var(--fs-body);
    font-weight: 700;
    height: 40px;
    line-height: 20px;
    list-style: none;
    margin: 0;
    outline: none;
    padding: 10px 16px;
    position: relative;
    text-align: center;
    text-decoration: none;
    transition: color 100ms;
    vertical-align: baseline;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    transition: all 250ms;
    text-transform: uppercase;
    box-shadow: var(--box-shadow);
}

    .button-3:hover {
        background-color: var(--primary);
    }

    .button-3.small {
        font-size: var(--fs-tiny);
        padding: 5px 8px;
        height: 25px;
    }

    .button-3:disabled {
        background: gray;
        color: white;
        cursor: default;
    }


.button-4 {
    background-color: var(--orange);
    border-radius: 8px;
    border-style: none;
    box-sizing: border-box;
    color: #FFFFFF;
    cursor: pointer;
    display: flex;
    gap: 15px;
    align-items: center;
    justify-content: center;
    font-size: var(--fs-body);
    font-weight: 700;
    height: 40px;
    line-height: 20px;
    list-style: none;
    margin: 0;
    outline: none;
    padding: 10px 16px;
    position: relative;
    text-align: center;
    text-decoration: none;
    transition: color 100ms;
    vertical-align: baseline;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    transition: all 250ms;
    text-transform: uppercase;
    box-shadow: var(--box-shadow);
}

    .button-4:hover {
        background-color: var(--primary);
    }

    .button-4.small {
        font-size: var(--fs-tiny);
        padding: 5px 8px;
        height: 25px;
    }

    .button-4:disabled {
        background: gray;
        color: white;
        cursor: default;
    }

    .button-4.blink {
        animation: button-4-blink 1.5s infinite;
    }

    @keyframes button-4-blink{
        0%,100% {
            background-color: var(--orange);
        }
        50% {
            background-color: var(--primary);
        }
    }


    .status-synchronizing, .status-active, .status-failed, .status-creating, .status-removing, .status-unknown, .status-stopped, .status-disabled, .status-inactive, .status-verify-dns, .status-verify-email {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
    }

    .status-synchronizing i {
        color: blue;
        font-size: 20px;
    }
    .status-active i {
        color: green;
        font-size: 20px;
    }
    .status-failed i {
        color: red;
        font-size: 20px;
    }
    .status-creating i {
        color: blue;
        font-size: 20px;
    }
    .status-removing i {
        color: red;
        font-size: 20px;
    }
    .status-unknown i {
        color: darkgray;
        font-size: 20px;
    }
    .status-stopped i {
        color: red;
        font-size: 20px;
    }
    .status-disabled i {
        color: red;
        font-size: 20px;
    }
.status-inactive i {
    color: gray;
    font-size: 20px;
}
.status-verify-dns i{
    color: var(--orange);
    font-size: 20px;
}

.status-verify-email i {
    color: var(--orange);
    font-size: 20px;
}

.unset-center {
    align-items: unset;
    justify-content: unset;
    text-align: unset;
}