body {
    margin: 0;
    background: #f3f4f6;
    font-family: sans-serif;
}
.loader {
    position: fixed;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
    background: #f3f4f6;
}
.invalid-feedback {
    display: block;
}
.login .alert-danger,
.household .alert-danger,
.login_code .alert-danger,
.reset_password .alert-danger {
    margin-bottom: 10px;
    padding: 10px 16px;
}
.loader svg {
    display: block;
    width: 80px;
    height: 80px;
    transform-origin: 50%;
    animation: svg-spinner 1.4s linear infinite;
}
.loader svg .spinner {
    stroke-dasharray: 150;
    stroke-dashoffset: 0;
    transform-origin: 50%;
    animation: spinner 1.4s ease-in-out infinite;
}
.signin {
    width: 100%;
}
.logout {
    position: fixed;
    right: 10px;
    top: 10px;
    z-index: 1;
}
.login,.household,.login_code,.reset_password {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 700px;
    padding: 20px;
}
.login p,.household p,.login_code p,.reset_password p {
    margin-bottom: 6px;
    font-size: 18px;
    font-weight: bold;
}
.login .emailContainer,.household .emailContainer,.login_code .emailContainer,.reset_password .emailContainer {
    height: 55px;
    margin-top: 10px;
}
.getCode {
    margin-top: 10px;
    font-weight: bold;
    padding: 14px;
    width: 100%;
}
.displayCode input {
    padding: 12px;
}
.displayCode button {
    width: 50px;
}
.displayCode button {
    justify-content: space-around;
}
#login:not(:last-child),#household:not(:last-child),#reset_password:not(:last-child) {
    border-bottom: 1px solid #d2d2d2;
}
#login:not(:first-child),#household:not(:first-child),#reset_password:not(:first-child) {
    margin-top: 10px;
}
.goBack {
    width: max-content;
}
.login .alert-danger,.household .alert-danger,.login_code .alert-danger,.reset_password .alert-danger {
    margin-bottom: 10px;
}
#login:has(.orderDetails) {
    display: flex;
    justify-content: space-between;
    gap: 0 5px;
}
#login:not(:last-child) div,#household:not(:last-child) div {
    margin-bottom: 10px;
}
#household .orderDetails {
    margin-bottom: 10px;
}
#household .orderDetails,#reset_password > div {
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    gap: 0 5px;
    text-align: center;
}
#household .orderDetails div,#login .orderDetails,#reset_password .orderDetails {
    border: 1px solid #d2d2d2;
    width: 50%;
    padding: 12px;
    border-radius: 10px;
    font-weight: bold;
    text-align: center;
}
#login .displayCode {
    width: 50%;
}
.login .card,.household .card,.login_code .card,.reset_password .card {
    padding: 15px;
}
.login .card-title,.household .card-title,.login_code .card-title,.reset_password .card-title {
    margin-bottom: 30px;
}
.login .mb-3,.household .mb-3,.login_code .mb-3,.reset_password .mb-3 {
    display: flex;
    flex-direction: column;
    gap: 10px 0;
}
.login .copy,.household .copy,.login_code .copy,.reset_password .copy {
    padding: 8px 0;
}
.navbar {
    border-bottom: 1px solid #c6c7c8;
    z-index: 2;
    background: white;
}
.content {
    background: white;
    margin: 0 auto;
    padding: 12px;
    width: 99%;
    border: 1px solid #c6c7c8;
}
.title {
    text-align: center;
    margin: 50px 0 30px 0;
}
th, td {
    padding: 12px!important;
}
td:has(.spinner-border) {
    text-align: center;
}
.flix_accounts .dt-column-title {
    float: left;
}
.flix_accounts tbody td:not(.dt-empty) {
    text-align: left!important;
    vertical-align: middle;
}
@media (max-width: 925px){
    .flix_accounts table,
    .flix_accounts tbody,
    .flix_accounts th,
    .flix_accounts td,
    .flix_accounts tr {
        display: block;
    }
    .flix_accounts thead {
        display: none
    }
    .flix_accounts td:nth-of-type(1):before {content: "email : ";font-family:system-ui;font-weight:bold;}
    .flix_accounts td:nth-of-type(2):before {content: "sold : ";font-family:system-ui;font-weight:bold;}
    .flix_accounts td:nth-of-type(3):before {content: "expiry : ";font-family:system-ui;font-weight:bold;}
    .flix_accounts td:nth-of-type(4):before {content: "warranty(months) : ";font-family:system-ui;font-weight:bold;}
    .flix_accounts td:nth-of-type(5):before {content: "status : ";font-family:system-ui;font-weight:bold;}
    .flix_accounts td:nth-of-type(6):before {content: "actions : ";font-family:system-ui;font-weight:bold;}
    .flix_accounts .table {
        width: 100%;
    }
    .flix_accounts tbody,
    .flix_accounts td,
    .flix_accounts tfoot,
    .flix_accounts th,
    .flix_accounts thead,
    .flix_accounts tr {
        border-color: inherit;
        border-style: solid;
        border-width: 0;
    }
    .flix_accounts .table>:not(caption)>*>* {
        padding: .5rem .5rem;
        background-color: var(--bs-table-bg);
        border-bottom-width: 0;
        box-shadow: inset 0 0 0 9999px var(--bs-table-accent-bg);
    }
    .flix_accounts tr {
        border-bottom-width: 1px;
        border-top-width: 1px;
    }
}
.ftabs {
    display: flex;
    justify-content: space-between;
    font-weight: bold;
    border: 1px solid #d2d2d2;
    padding: 10px 16px;
    border-radius: 10px;
    align-items: center;
}
.ftabs .tab {
    cursor: pointer;
}
.ftabs .tab.selected {
    border-radius: 10px;
    background: #dddddd;
    padding: 6px 18px;
}
.ftabs a {
    color: black;
    text-decoration: none;
}
.get_code {
    margin: 10px 0;
    width: 100%;
    padding: 12px;
}
@keyframes spinner {
    0% {
        stroke-dashoffset: 150;
    }
    50% {
        stroke-dashoffset: 37.5;
        transform: rotate(135deg);
    }
    100% {
        stroke-dashoffset: 150;
        transform: rotate(360deg);
    }
}
@keyframes svg-spinner {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(270deg);
    }
}
@media (max-width:720px){
    .login,.household,.login_code,.reset_password {
        width: 98%;
    }
}
@media (max-width:500px){
    #login:has(.orderDetails),#household .orderDetails,#reset_password > div {
        flex-direction: column;
        gap: 5px 0;
    }
    #login:has(.orderDetails) > div,#household .orderDetails > div,#reset_password .orderDetails {
        width: 100%;
    }
    #login:has(.orderDetails):not(:last-child) div {
        margin: 0;
    }
    #login:has(.orderDetails):not(:last-child) .displayCode {
        margin-bottom: 10px;
    }
}
@media (max-width: 450px){
    .household,.login_code,.reset_password {
        padding: 0;
    }
    .ftabs {
        border-radius: 0;
        padding: 0;
    }
    .ftabs .tab.selected {
        border-radius: 0;
    }
    .tab {
        font-size: 14px;
        padding: 12px 11px!important;
    }
}