body {
    margin: 0;
    background: #f3f4f6;
    font-family: sans-serif;
    background:
        radial-gradient(ellipse at 100% 0%, rgba(0, 197, 200, 0.13), transparent 25%),
        radial-gradient(ellipse at 0% 100%, rgba(0, 197, 200, 0.20), transparent 30%),
        linear-gradient(135deg, #f8fbfc 0%, #f1f7f9 50%, #f8fbfc 100%);
    background-attachment: fixed;
}
.loader {
    position: fixed;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
    background: #f3f4f6;
}
.invalid-feedback {
    display: block;
}
.login .alert-danger,
.login_code .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 {
    font-weight: bold;
    padding: 12px;
    width: 100%;
    color: white;
    outline: none;
    border: none;
    border-radius: 6px;
    background: #007f91;
}
button:disabled{
    opacity: 0.65!important;
}
.logout {
    margin-right: 10px;
}
.login,.login_code {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 700px;
    padding: 20px;
}
.login p,.login_code p {
    margin-bottom: 6px;
    font-size: 18px;
    font-weight: bold;
}
.login .emailContainer,.login_code .emailContainer {
    height: 55px;
    margin-top: 10px;
}
.getCode {
    margin-top: 10px;
    font-weight: bold;
    padding: 14px;
    width: 100%;
    color: white;
    outline: none;
    border: none;
    border-radius: 6px;
    background: #007f91;
}
.displayCode input {
    padding: 12px;
}
.displayCode button {
    width: 50px;
}
.displayCode button {
    justify-content: space-around;
}
#login:not(:last-child) {
    border-bottom: 1px solid #d2d2d2;
}
#login:not(:first-child) {
    margin-top: 10px;
}
.goBack {
    width: max-content;
}
.login .alert-danger,.login_code .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;
}
#login .orderDetails {
    border: 1px solid #d2d2d2;
    width: 50%;
    padding: 12px;
    border-radius: 10px;
    font-weight: bold;
    text-align: center;
}
#login .displayCode {
    width: 50%;
}
.login .card,.login_code .card {
    padding: 15px;
}
.login .card-title,.login_code .card-title {
    margin-bottom: 30px;
}
.login .mb-3,.login_code .mb-3 {
    display: flex;
    flex-direction: column;
    gap: 10px 0;
}
.login .copy,.login_code .copy {
    padding: 14px 0;
}
.copy,
.get_login_links,
.copy_link,
.get_profile_info {
    font-weight: bold;
    padding: 8px 14px;
    color: white;
    outline: none;
    border: none;
    border-radius: 6px;
    background: #007f91;
}
.copy,
.get_login_links {
    width: max-content;
    height: max-content;
}
.navbar {
    padding: 0;
    box-shadow: 0 4px 15px rgba(0, 43, 58, 0.08);

}
.navbar .navbar-nav {
    height: 62px;
}
.navbar .nav-item {
    height: 100%;
}
.navbar .nav-link {
    color: #718096;
    font-weight: 500;
    padding: 0 16px!important;
    height: 100%;
    display: flex;
    align-items: center;
    position: relative;
    transition: all 0.2s ease;
}
.navbar .nav-link.disabled {
    color: #007f91!important;
    font-weight: 600;
}
.navbar .nav-link.disabled::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 16px;
    right: 16px;
    height: 3px;
    background: #00b9c0;
    border-radius: 5px 5px 0 0;
}
@media (max-width: 991.98px) {
    .navbar {
        padding: 10px 12px;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        background: #fff;
    }
    .navbar > .container-fluid {
        display: contents;
    }
    .navbar .navbar-toggler {
        border: 1px solid #e2e8f0;
        border-radius: 9px;
        padding: 7px 10px;
        box-shadow: none;
        order: 1;
    }
    .navbar .navbar-toggler:focus {
        box-shadow: 0 0 0 3px rgba(0, 185, 192, 0.12);
    }
    .navbar .navbar-collapse {
        order: 3;
        flex: 0 0 100%;
        width: 100%;
        margin-top: 10px;
        padding-top: 8px;
        border-top: 1px solid #edf2f7;
    }
    .navbar .navbar-nav {
        height: auto;
        gap: 5px;
        margin-bottom: 0 !important;
    }
    .navbar .nav-item {
        height: auto;
    }
    .navbar .nav-link {
        min-height: 42px;
        padding: 0 14px !important;
        border-radius: 8px;
    }
    .navbar .nav-link.disabled {
        background: #e8fafa;
        color: #007f91 !important;
    }
    .navbar .nav-link.disabled::after {
        display: none;
    }
    .navbar > a:has(.logout),
    .navbar .logout {
        order: 2;
    }
    .navbar .logout {
        width: 42px;
        height: 42px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 9px;
        margin: 0;
    }
}
.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;
}
.dt-empty::before {
    display: none;
}
td:has(.spinner-border) {
    text-align: center;
}
.disn_accounts tbody tr td:last-child {
    display: flex;
    align-items: center;
    gap: 5px;
}
.disn_accounts .dt-column-title {
    float: left;
}
.disn_accounts tbody td:not(.dt-empty) {
    text-align: left!important;
    vertical-align: middle;
}
@media (max-width: 925px){
    .disn_accounts table,
    .disn_accounts tbody,
    .disn_accounts th,
    .disn_accounts td,
    .disn_accounts tr {
        display: block;
    }
    .disn_accounts thead {
        display: none
    }
    .disn_accounts td:nth-of-type(1):before {content: "email : ";font-family:system-ui;font-weight:bold;}
    .disn_accounts td:nth-of-type(2):before {content: "sold : ";font-family:system-ui;font-weight:bold;}
    .disn_accounts td:nth-of-type(3):before {content: "expiry : ";font-family:system-ui;font-weight:bold;}
    .disn_accounts td:nth-of-type(4):before {content: "warranty(months) : ";font-family:system-ui;font-weight:bold;}
    .disn_accounts td:nth-of-type(5):before {content: "type : ";font-family:system-ui;font-weight:bold;}
    .disn_accounts td:nth-of-type(6):before {content: "status : ";font-family:system-ui;font-weight:bold;}
    .disn_accounts td:nth-of-type(7):before {content: "actions : ";font-family:system-ui;font-weight:bold;}
    .disn_accounts .table {
        width: 100%;
    }
    .disn_accounts tbody,
    .disn_accounts td,
    .disn_accounts tfoot,
    .disn_accounts th,
    .disn_accounts thead,
    .disn_accounts tr {
        border-color: inherit;
        border-style: solid;
        border-width: 0;
    }
    .disn_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);
    }
    .disn_accounts tr {
        border-bottom-width: 1px;
        border-top-width: 1px;
    }
}
#login_links .input-group > * {
    padding: 10px;
}
#login_links .input-group:not(:last-child) {
    margin-bottom: 10px;
}
.get_code {
    margin: 10px 0;
    width: 100%;
    padding: 12px;
}
#profile_info b {
    font-size: 14px;
}
#profile_info .input-group {
    margin-bottom: 12px;
    margin-top: 4px;
}
@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,.login_code {
        width: 98%;
    }
}
@media (max-width:500px){
    #login:has(.orderDetails) {
        flex-direction: column;
        gap: 5px 0;
    }
    #login:has(.orderDetails) > div {
        width: 100%;
    }
    #login:has(.orderDetails):not(:last-child) div {
        margin: 0;
    }
    #login:has(.orderDetails):not(:last-child) .displayCode {
        margin-bottom: 10px;
    }
}
@media (max-width: 480px){
    .login_code {
        padding: 0;
    }
    .tab {
        font-size: 14px;
        padding: 12px 11px!important;
    }
}
.ftabs {
    display: flex;
    width: 100%;
    text-align: center;
    font-weight: bold;
    background: #eef2f5;
    padding: 5px;
    border-radius: 12px;
    align-items: center;
    gap: 5px;
    border: none;
}
.ftabs > * {
    width: 50%;
    text-align: center;
}
.ftabs .tab {
    cursor: pointer;
    padding: 12px 18px;
    border-radius: 10px;
    color: #24445a;
}
.ftabs .tab.selected {
    background: #007f91;
    color: #fff;
    box-shadow: 0 3px 8px rgba(0, 100, 119, 0.15);
}
.ftabs a {
    color: inherit;
    text-decoration: none;
}
@media (max-width: 480px) {
    .ftabs {
        border-radius: 10px;
        padding: 4px;
    }
    .ftabs .tab {
        border-radius: 8px;
        padding: 11px 8px!important;
        font-size: 14px;
    }
}