@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100..900&display=swap');

/* FEATHER ICONS STYLE */
.feather-48 {
    width: 48px;
    height: 48px;
}

.feather-30 {
    width: 30px;
    height: 30px;
}

.feather-24 {
    width: 24px;
    height: 24px;
}

.feather-20 {
    width: 20px;
    height: 20px;
}

.feather-17 {
    width: 17px;
    height: 17px;
    stroke-width: 3;

}

body {
    background-color: #3a3a3a;
    min-height: 100vh;
    color: white;
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
    font-family: "Inter", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
}

main {
    padding: 2em;
}


.title-row {
    text-align: center;
    color: white;
    margin-bottom: 2em;
}


h1, h2, h3, h4, h5, h6 {
    margin: 0;
    padding: 0;
}

h1 {
    font-size: 2.5em;
    font-weight: 500;
}

h2 {
    font-size: 2em;
    margin-top: 1em;
    margin-bottom: 1em;
    font-weight: 500
}

h3 {
    font-size: 2rem;
    font-weight: 500;
    margin-top: 1em;
    margin-bottom: 1em;
}

.title-row > h2 {
    margin-top: .25em;
    font-weight: 300
}

th, td {
    padding: 8px;
    text-align: center;
    border-bottom: 1px solid #ffffff;
    color: white;
}

tr:hover {
    background-color: grey;
}


.avatar {
    border: 0.3rem solid rgba(#fff, 0.3);
    margin-top: -4rem;
    margin-bottom: 1rem;
    max-width: 9rem;
}

/* HEADER */

header {
    background-color: #212529;
    font-size: 1.1rem;
    color: white;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    /*padding: .5rem;*/
    border-bottom: 1px solid #141a1a;
    height: 4rem;
    padding-right: 1rem;
}

a {
    color: white;
    text-decoration: none;
    font-weight: 300;
}

.header-logo {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
    font-size: 1.3rem;
    font-weight: 500;
}

.logo-header {
    height: 2.5rem;
    margin: .5em;
}

nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    height: 100%;
}

.nav-item {
    display: flex;
    align-items: center;
}


.active {
    font-weight: 600;
}

.dropdown {
    height: 100%;
}

.dropbtn {
    height: 100%;
    color: #0D6EFD;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
}

.dropdown-icon {
    height: .6em;
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #212529;
    min-width: 160px;
    z-index: 1;
    border-bottom-right-radius: 5px;
    border-bottom-left-radius: 5px;
    border: 1.5px solid #141a1a;
    border-top: none;
    box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.dropdown-content a {
    display: block;
    padding: .5em .7em;
    transition: background-color 0.2s ease;
}

.dropdown-content a:hover {
    background-color: #0D6EFD;
    transition: background-color 0.2s ease;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.logout-button {
    background-color: #0B4884;
    width: 100%;
    border-radius: 0;
}

.logout-button:hover {
    background-color: #0D6EFD;
}


/* FOOTER */

footer {
    margin-top: auto;
    padding: .5em .7em;
    background-color: #212529;
    font-size: 1rem;
    display: flex;
    flex-direction: row;
    align-items: center;
    border-top: 1px solid #141a1a;
    gap: 1em;
}

.footer-logo {
    height: 2rem
}


/* HOME */

.card-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}


.buttoncard {
    /*height: 15rem;*/
    font-size: 1.25rem;
    font-weight: 500;
    flex-basis: 15rem;
    border-radius: 5px;
    padding: 1rem;
    flex-shrink: 1;
    background-color: #212529;
    border: 1px solid #141a1a;
    transition: background-color 0.4s ease;
}

.buttoncard:hover {
    background-color: #191c1f;
    color: white;
    transition: background-color 0.4s ease;
}

.buttoncard > a {
    color: white;
    text-decoration: none;
}

.buttoncard > a > .content {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
    gap: 1.5em;
}

.content > img {
    height: 6rem
}

.large {
    flex-basis: 30rem;
}

.large > a > .content {
    flex-direction: row;
}

.large > a > .content > img {
    height: 10rem
}


.large > a > .content > div > p {
    font-size: 0.75em;
    font-weight: 300;
}

.default-message {
    text-align: center;
    font-weight: 350;
    font-size: 1.5em;
    margin: 2em;
}

.default-message-mods {
    text-align: center;
    font-weight: 350;
    font-size: 1.5em;
    margin: 1em;
}

.ecus-list, .price-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr));
    gap: 1rem;
    height: fit-content;
    max-height: 88%;
    overflow: scroll;
    grid-auto-rows: 1fr
}


.profile-data {
    height: fit-content;
    max-height: 88%;
    overflow: scroll;
}


.ecu {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.ecu > .content {
    text-align: center;
    background-color: #191c1f;
    border: 1px solid #141a1a;
    padding: 3em 1em 1em;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    gap: 1em;
    align-self: stretch;
}

.logo-container {
    position: relative;
    bottom: -2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: .5rem;
    background-color: white;
    width: 3rem;
    height: 3rem;
    border-radius: 100%;
    margin-top: -2rem;

}

.logo {
    width: 70%
}

.top-infos {
    text-align: center;
    font-size: 1.4em;
    font-weight: 700;
}
.top-infos div:nth-child(1) {
    font-size: .7em;
    margin-bottom: .25em;
    font-weight: 300;
}

.ecu .info-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1em;
    font-size: .9em;
    font-weight: 400;
}

.ecu .info-row a {
    color: #0095ff
}


.ecu .info-row .link {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: .5em;
    font-size: .9em;
    font-weight: 400;
}

.ecu .info-row .link span {
    width: 4em;
}

.ecu .info-row .line {
    height: 100%;
}

.info-group > .info-title {
    margin-bottom: .25rem;
    font-size: 1.1em;
    font-weight: 450;
}

.info-group > .info-data {
    font-weight: 300;
}

.content > .buttons {
    display: flex;
    flex-direction: row;
    gap: 1em;
    justify-content: stretch;
    margin-top: .5em;
}

.content > .buttons > button {
    width: 50%;
    cursor: pointer;
    font-size: 1.1em;
    background-color: #0D6EFD;
    border: none;
    border-radius: 5px;
    transition: background-color 0.2s ease;
}

.content > .buttons > button:hover {
    background-color: #0F5AC9;
}

.content > .buttons > button > a {
    font-weight: 400;
    display: inline-block;
    padding-top: .3em;
    padding-bottom: .3em;
    width: 100%
}

button.delete-button {
    background-color: red !important;
}

button.delete-button:hover {
    background-color: #d90000 !important;
}


/* LOGIN */
.error-message {
    text-align: center;
    font-weight: 350;
    background-color: #C53142;
    padding: 1em;
    border-radius: 5px;
    color: white;
    border: 1px solid #861212;
    width: fit-content;
    margin: 1em auto;
}

.login-form {
    color: white;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 1.5em;
    width: 50vw;
    margin: 1em auto;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: .5em;
}

.form-group > .title {
    font-size: 1.5em;
    font-weight: 600;
    margin-bottom: .25em;
    margin-top: .5em;
}

label, #profile .title {
    font-size: 1.1em;
    font-weight: 500;
}

input, select, textarea {
    border: none;
    background-color: #474747;
    padding: .5em .8em;
    color: white;
    height: fit-content;
    border-radius: 5px;
    font-size: 1em;
    transition: background-color 0.4s ease;
    font-family: inherit;
}

input:focus, textarea:focus {
    outline: none !important;
    color: white;
    background-color: #525252;
    transition: background-color 0.4s ease;
}


.login-button, .button-type-1 {
    width: fit-content;
    cursor: pointer;
    font-weight: 400;
    font-size: 1.1em;
    background-color: #0D6EFD;
    color: white;
    padding: .5em 2em;
    border: none;
    border-radius: 7px;
    transition: background-color 0.4s ease;
    margin-left: auto;
    margin-right: auto;
    margin-top: 1em;
}

button.button-type-1 {
    padding: 0;
}

button.button-type-1 > a {
    font-weight: 400;
    font-size: 1.25em;
    padding: .5em 2em;
    display: inline-block;
}

.login-button:hover, .button-type-1:hover {
    background-color: #0F5AC9;
    transition: background-color 0.4s ease;
}

.login-title {
    text-align: center;
    font-size: 2em;
    font-weight: 500;
    margin-top: 1em;
    margin-bottom: 1em;
    color: white;
}

/* ALL USERS */
.user-list {
    background-color: red;
    display: grid;
    grid-template-rows: repeat(auto-fill, minmax(15rem, 1fr));
    gap: 1rem;
    padding: 1rem;

}

/* MANUAL CREATE ECU */

.manual-ecu > .title, .cs-new-ticket > .title {
    font-size: 1.4rem;
    text-align: center;
    font-weight: 400;
    margin: 1em;
}

.manual-ecu-form, .cs-new-ticket-form, .profile-data-form {
    display: flex;
    flex-direction: column;
    gap: 1.5em;
}

.form-row {
    display: flex;
    flex-direction: row;
    gap: 1em;
    width: 100%;
    justify-content: stretch;
    align-items: stretch;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(20rem, 1fr));
    gap: 1em;
}

.manual-ecu .form-row > .form-group {
    flex-basis: 50%
}


.manual-ecu-form .form-group > label,
.cs-new-ticket-form .form-group > label {
    font-weight: 300;
}

/* UPLOAD */

.upload-zone-border {
    width: 35vw;
    height: 20vw;
    border: 2px dashed #0D6EFD;
    border-radius: 15px;
    transition: border-color 0.4s ease;
    padding: 1em;
}

.upload-zone-border:hover {
    border-color: #0F5AC9;
    transition: border-color 0.4s ease;
}


.upload-zone {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1em;
    height: 100%;
    width: 100%;
    background-color: #0D6EFD;
    border-radius: 10px;
    font-size: 1.2rem;
    transition: background-color 0.4s ease;
}

.upload-zone:hover {
    background-color: #0F5AC9;
    transition: background-color 0.4s ease;
}

.upload-zone > p {
    margin: 0;
}

.input-zone {
    display: flex;
    flex-direction: row;
    gap: 2em;
    align-items: center;
    justify-content: center;
}

.input-zone > p {
    font-size: 1.2em;
}

.upload-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1em
}

input[type=file] {
    color: #222245;
    padding: .5em;
    background-color: white;
}

input[type=file]::file-selector-button {
    border: none;
    background: #0747d2;
    padding: .5em 1em;
    color: white;
    cursor: pointer;
    border-radius: 5px;
}


input[type=file]::file-selector-button:hover {
    background: #0d45a5;
}

/* AUTO DETECTION RESULTS */

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

.ecu-infos {
    background-color: #191c1f;
    border: 1px solid #141a1a;
    border-radius: 10px;
    padding: 1.5em;
    width: 40rem;
    margin: auto;
    display: flex;
    flex-direction: row;
    gap: 2em;
    align-items: stretch;
    justify-content: space-between;
}

.autodetec {
    width: 60rem !important
}


.ecu-infos-col {
    display: flex;
    flex-direction: column;
    gap: 1em;
    width: 50%;
}

.autodetec > .ecu-infos-col:nth-child(1) {
    width: 40%;
    justify-content: center;
}

.autodetec > .manual-ecu {
    width: 60%
}

.line {
    width: 2px;
    background-color: white
}

.ecu-infos-col > a {
    color: #0095ff;
}

.ecu-infos-col > .info-group {
    display: flex;
    flex-direction: row;
    gap: .75em;
    align-items: center;
    font-size: 1.2rem;
}

.ecu-infos-col > ul {
    margin: 0;
    padding-left: 1em;
    display: flex;
    flex-direction: column;
    gap: .5em;
}


.ecu-infos-col > ul > .more {
    font-size: 1rem;
}

.results > h2 {
    text-align: center;
    margin-bottom: .5em;
}

.all-mods {
    display: grid;
    grid-template-columns:1fr 1fr;
    grid-column-gap: 1em;
    grid-row-gap: 1em;
    justify-items: center;
    width: 35rem;
    margin: auto;
    background-color: #212529;
    border: 1px solid #141a1a;
    border-radius: 10px;
    padding: 2em;
    color: #a2a2a2
}


.results .button-type-1 {
    align-self: center;
}


.results > .default-message, .results > .default-message > a {
    display: flex;
    align-items: center;
    gap: .3em;
    justify-content: center;
}

.results > .default-message > a {
    color: #0095ff;
    font-weight: 400;
}

/* MODS SEARCH RESULTS */

.mods-available {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(25rem, 1fr));
    grid-column-gap: 1em;
    grid-row-gap: 1em;
}

.mod-available {
    background-color: #191c1f;
    border: 1px solid #141a1a;
    border-radius: 10px;
    padding: 1em;
    display: flex;
    flex-direction: row;
    gap: 1em;
    align-items: center;
    justify-content: space-between;
}


.mod-available img {
    height: 6rem;
}

.mod-available .content {
    display: flex;
    flex-direction: column;
    gap: .5em;
}

.mod-available .title {
    font-size: 1.2em;
    font-weight: 550;
}

.toggle {
    display: none;
}

.toggle-label {
    display: inline-block;
    width: 40px;
    height: 20px;
    background-color: #ccc;
    border-radius: 10px;
    position: relative;
    cursor: pointer;
}

.toggle-label::before {
    content: "";
    position: absolute;
    top: 2px;
    left: 2px;
    width: 16px;
    height: 16px;
    background-color: white;
    border-radius: 50%;
    transition: transform 0.3s, background-color 0.3s ease;
}

.toggle:checked + .toggle-label {
    background-color: #0095ff;
}

.toggle:checked + .toggle-label::before {
    transform: translateX(20px);
}

.mod-available .cost, .mod-available .cost > div {
    display: flex;
    flex-direction: row;
    gap: .5em;
    align-items: center;
}

.mod-available .cost {
    margin-top: 1em
}

.results > form {
    display: flex;
    flex-direction: column;
}

.results > form .button-type-1 {
    margin-top: 3em;
}

.tooltip {
    position: relative;
    display: inline-block;
}

.tooltip .tooltiptext {
    visibility: hidden;
    font-size: .8em;
    font-weight: 400;
    width: 20em;
    background-color: #b8b8b8;
    color: black;
    text-align: center;
    border-radius: 6px;
    padding: 1em 0;
    position: absolute;
    z-index: 1;
    bottom: 150%;
    left: 50%;
    margin-left: -10em;
}

.tooltip .tooltiptext::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #b8b8b8 transparent transparent transparent;
}

.tooltip:hover .tooltiptext {
    visibility: visible;
}

/* POPUP FOR LEGAL TERMS */

.modal-mask {
    width: 100%;
    height: 100%;
    position: fixed;
    z-index: 9998;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.6);
    visibility: hidden;
    opacity: 0;
    display: table;
}

.modal-mask:target {
    visibility: visible;
    opacity: 1;
}

.modal-wrapper {
    display: table-cell;
    vertical-align: middle;
}

.modal {
    width: 30rem;
    max-width: calc(30rem * 1.5);
    min-width: calc(30rem / 1.5);
    max-height: 50vh;
    background: white;
    color: black;
    border-radius: 10px;
    position: relative;
    transition: all 5s ease-in-out;
    margin: 0 auto;
}

.modal > div {
    padding: 1em;
}

.modal-header {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    border-bottom: 2px solid #ccc;
    padding: 0 !important;
    padding-bottom: .75em !important;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    box-shadow: rgba(0, 0, 0, 0.35) 0 3px 15px;
}

.modal .close {
    position: relative;
    top: .75em;
    right: .75em;
    color: black;
    cursor: pointer;
    transition: color 0.2s ease;
}

.modal h2 {
    margin: 0;
    padding: 0;
    width: 100%;
    text-align: center;
    font-weight: 600;
}

.modal-content {
    overflow: scroll;
    height: 20vh;
    text-align: justify;
    padding: 1.5em !important;

}

.modal-footer {
    box-shadow: rgba(0, 0, 0, 0.35) 0 -3px 15px;
    border-top: 2px solid #ccc;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    display: flex;
    flex-direction: column;
}

.modal-footer input {
    margin: 0 !important;
}

/* CUSTOMER SERVICE */

.cs-top-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.cs-top-row button {
    margin: 0;
    font-size: .9rem;
}

.cs-top-row button > a {
    display: flex;
    align-items: center;
    gap: .5em;
    padding: .5em 1em;
}

.tickets {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr));
    gap: 1rem;
}

.ticket, .ticket-modal {
    background-color: #191c1f;
    border-radius: 10px;
    padding: 1em;
    transition: background-color 0.4s ease;
}

.ticket {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.ticket:focus, .ticket:active {
    outline: none;
}

.ticket:hover {
    background-color: #0c0f10;
    transition: background-color 0.4s ease;
}

.ticket-header, .ticket-modal-header {
    font-weight: 600;
    font-size: 1.25em;
    text-align: center;
}

.ticket-header .link, .ticket-modal-header a {
    display: flex;
    align-items: center;
    width: fit-content;
    float: right;
}

.ticket-modal-header a {
    padding-right: .5em;
}

.ticket-header div, .ticket-modal-header div {
    padding-top: 1.3em;
    text-align: center;
}

.ticket-modal-header .subtitle {
    font-size: .5em;
    padding-top: .5em;
    padding-bottom: 1em;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 300;
}

.ticket-header svg, .ticket-modal-header svg {
    stroke: #4692ff;
    transition: stroke 0.2s ease;
}

.ticket-modal-header svg:hover {
    stroke: #0F5AC9;
    transition: stroke 0.2s ease;
}

.ticket-content {
    display: flex;
    flex-direction: row;
    gap: 1em;
    align-items: center;
    justify-content: center;
    margin-top: 1.5em;
    margin-bottom: 1.5em;
    color: #cecece;
}


.ticket-content .content {
    display: grid;
    grid-template-columns: minmax(3rem, 1fr) minmax(7rem, 2fr);
    grid-column-gap: .5em;
    grid-row-gap: .5em;
    font-weight: 300;
    border-left: 1px solid white;
    padding-left: 1em;
    height: 100%;
    word-break: break-all;
}

.ticket-footer, .ticket-footer > div {
    display: flex;
    gap: .5em;
    align-items: center;
    font-size: .9em;
}

.ticket-footer > div > svg {
    stroke-width: 1.5;
    height: 1.2em
}

.ticket-footer {
    justify-content: space-between;
    margin-top: 1em;
}

.modal-mask-ticket {
    background-color: rgba(255, 255, 255, 0.7);
}

/* CS TICKET MODAL */

.modal-mask-ticket {
    background-color: rgba(255, 255, 255, 0.3);
}

.ticket-modal {
    width: 80%;
    max-width: calc(60rem);
    min-width: calc(30rem);
    max-height: 80vh;
    border-radius: 10px;
    position: relative;
    transition: all 5s ease-in-out;
    margin: 0 auto;
    text-align: justify;
    padding-right: 0;
}

.ticket-modal-header {
    font-size: 1.7em;
    padding-bottom: .5em;
    color: #4692ff;
}

.ticket-modal-content {
    overflow: scroll;
    max-height: 66vh;
    padding-left: 1em;
    padding-right: 2em;
    box-sizing: border-box;
}

.ticket-modal-content .dates {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1em;
    font-size: 1.2em;
    font-weight: 500
}

.ticket-modal-content .dates > div {
    display: flex;
    align-items: center;
    gap: .5em;
}

.ticket-modal-content .dates svg {
    stroke-width: 2.5;
}

.ticket-modal-content .content-group .title {
    font-weight: 500;
    font-size: 1.4em;
    display: flex;
    align-items: center;
    gap: .5em;
    margin-bottom: .5em;
}

.ticket-modal-content .content-group {
    margin-bottom: 1.25em;
}

.ticket-modal-content .data {
    display: flex;
    gap: 1em;
    padding-left: 10px;

}

.ticket-modal-content .content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(12rem, 1fr));
    grid-column-gap: 1em;
    grid-row-gap: .5em;
    font-weight: 300;
    flex-basis: 100%;
}

.ticket-modal-content strong {
    font-weight: 500 !important;
}

.ticket-modal-content .history {
    display: flex;
    flex-direction: column;
    gap: 1.5em;
    width: 100%
}

.ticket-modal-content .message > .top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1em;
    margin-bottom: .5em;
}

.ticket-modal-content .message > .top .user {
    display: flex;
    align-items: center;
    gap: .5em;
    font-size: 1.1em;
    font-weight: 500;
    color: #4692ff;
}

.ticket-modal-content .message > .top .date {
    font-weight: 200;
}

.ticket-modal-content .response {
    display: flex;
    gap: .5em;
    align-items: center;
    padding-top: 1em;
}

.ticket-modal-content .response input {
    flex-basis: 80%;
}

.ticket-modal-content .response .button-type-1 {
    margin: 0;
    font-size: 1em;
    border-radius: 5px;
    flex-basis: 20%;
}


/* Profile page */

.profile-infos {
    height: 75vh;
    min-height: 20rem;
    display: flex;
    gap: 2em;
    align-items: flex-start;
}

.profile-infos h3 {
    margin-top: 0;
    font-size: 1.75em;
}

.profile-side-bar {
    flex-basis: 17rem;
    flex-grow: 0;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1em;
    width: 20%;
    padding: 1em;
    padding-top: 2em;
    background-color: #191c1f;
    border-radius: 10px;
    border: 1px solid #141a1a;
    margin-right: 1em;
    font-size: 1.2em;
    height: 100%;
    box-sizing: border-box;
    word-break: break-word;
}

.profile-side-bar .user {
    display: flex;
    flex-direction: column;
    gap: .5em;
    align-items: center;
    text-align: center;
    font-weight: 300;
}

.profile-side-bar .user strong {
    font-weight: 600;
}

.profile-side-bar .logo-container {
    position: initial;
    margin: 0 0 .5em;
}

.profile-side-bar .user svg {
    height: 3rem;
    width: 3rem;
    stroke: #34393d;
}

.profile-side-bar .buttons {
    display: flex;
    flex-direction: column;
}

.profile-side-bar .button-type-1 > a {
    font-size: 1.25rem;
    width: 100%;
    padding: .5em 0;
}

.profile-side-bar .button-type-1 {
    width: 100%
}

#profile .form-row label {
    font-weight: 350;
    font-size: 1em
}

#profile .form-row .form-group {
    flex-basis: 50%;
}


.tabs {
    width: 80%;
    height: 100%;
}

.tabs h3 {
    height: 12%;
    margin: 0
}

.tab {
    display: none;
}

.tab:target {
    display: block;
    width: 100%;
    height: 100%
}

#history > .ecus-list {
    overflow: scroll;
    height: 88%
}

.profile-data-form {
    gap: 1em !important;
}

.pricing-card {
    display: flex;
    flex-direction: column;
    gap: 1em;
    background-color: #212529;
    border-radius: 5px;
    border: .5px solid #949494;
    text-align: center;
    height: fit-content;
}

.pricing-card .card-header {
    background-color: #5C5C5C;
    font-size: 1.25em;
    text-transform: uppercase;
    padding: .5em;
    font-weight: 550;
}

.pricing-card .card-content {
    font-size: 2.5em;
    font-weight: 250;
}

.pricing-card button {
    font-size: 1.25em;
    padding: .25em 1.5em;
    margin-top: 0;
    margin-bottom: .75em;
}




/* LOADING ANIMATION */

#loader {
    width: 75px;
    min-width: 75px;
    max-width: 75px;
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(farthest-side, #0D6EFD 100%, #0000) top/15px 15px no-repeat,
    conic-gradient(#0000 30%, #0D6EFD);
    -webkit-mask: radial-gradient(farthest-side, #0000 calc(100% - 15px), #000 0);
    animation: l13 1s infinite linear;
}


@keyframes l13 {
    100% {
        transform: rotate(1turn)
    }
}

#loader-hidden {
    visibility: hidden;
    opacity: 0;
}

#loading-text {
    text-align: center;
    font-size: 1.5rem;
    padding-top: 1em;
}
/* Loader with animation */

.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: rgb(0, 0, 0, 0.75);
    transition: opacity 0.75s, visibility 0.75s;
}

.loader-hidden {
    opacity: 0;
    visibility: hidden;
}

.loading {
    width: 75px;
    height: 75px;
    border: 15px solid #dddddd;
    border-top-color: #0D6EFD;
    border-radius: 50%;
    animation: loading 1s infinite linear;
}

.loading-text {
    text-align: center;
    font-size: 1.5rem;
    padding-top: 1em;
}

@keyframes loading {
    from { transform: rotate(0turn); }
    to { transform: rotate(1turn); }
}


/* ERROR PAGES */
.error {
    width: 40vw;
    margin: 10% auto;
    text-align: center;
}

.error .status {
    font-size: 1.1em;
    font-weight: 400;
    color: #3387ff;
}

.error h1 {
    margin-bottom: .75em
}

.error .text {
    font-size: 1.5em;
    margin-bottom: 1em
}