:root {
    --lime: #a3e635;
    --lime-dark: #65a30d;
    --gray-100: #f9fafb;
    --gray-200: #e5e7eb;
    --gray-300: #dddddd;
    --text: #111827;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, Ubuntu, Arial, sans-serif;
    background: #f8fafc;
    color: var(--text);
}

h1 {
    font-weight: 700;
    color: #000000;
}

.container {
    width: 400px;
    border: 1px solid var(--gray-300);
    margin: 15px;
    border-radius: 7px;
    padding-top: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}

.main {
    display: flex;
    width: auto;
    align-items: flex-start;
    flex-direction: row;
    flex-wrap: wrap;
    margin-right: 15%;
    margin-left: 15%;
}
.main.ix-products {
    margin: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 56px 80px 72px;
    background: #2b2b2b;
    display: grid;
    grid-template-columns: repeat(4, minmax(240px, 1fr));
    justify-items: center;
    align-items: start;
    gap: 40px 32px;
    box-sizing: border-box;
}


.ix-products {
    max-width: none;
    margin: 0;
}
.nav {
    width: auto;
    height: 120px;
    background-color: #f6f3f3;
    display: flex;
    flex-direction: row;
}

.indexNav {
    background: linear-gradient(90deg, #000000 0%, #0a0a0a 100%);
    height: 100px;
    padding: 0 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 30px rgba(0,0,0,0.8);
    position: relative;
}
.nav-main__logo img {
    height: auto;
    max-height: 70px;
}

.nav-main__logo:last-child img {
    max-height: 90px;
}

.head .indexNav .button {
    color: #f8fafc;
    font-size: 18px;
    transition: color .25s ease;
}

.head .indexNav img {
    height: 40px;
    width: auto;
    padding: 0;
}

.head .indexNav .button:hover {
    color: var(--lime, #a3e635);
}

.three-header {
    margin-left: 0;
    display: flex;
    align-items: center;
    gap: 32px;
}

.indexOption {
    margin: 0;
    padding: 0;
    font-size: 18px;
}

.option {
    font-size: 30px;
    padding: 10px;
    padding-top: 40px;
    padding-bottom: 25px;
}

.accountOption {
    height: 100px;
    width: 300px;
    font-size: 30px;
    margin: 10px;
    justify-content: center;
    display: flex;
    align-items: center;
}

.button {
    text-decoration: none;
    color: #000000;
}

.flash {
    margin: 5px;
    padding: 10px;
    font-weight: 700;
}

.flash.success {
    color: #1a8f37;
}

.flash.error {
    color: #b31b29;
}

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

.message {
    text-align: center;
}

.form {
    max-width: 600px;
    margin: 100px auto;
    padding: 24px 28px 28px;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 20px;
}

label {
    font-weight: 300;
    color: #000000;
}

.cancel {
    margin: 8px;
    padding: 10px 50px;
    font-weight: 300;
    border: 0;
    border-radius: 6px;
    background: #89898a;
    color: #ffffff;
    cursor: pointer;
}

.cancel:hover {
    background: #8f8f8f;
}

.create {
    margin: 8px;
    padding: 10px 50px;
    font-weight: 300;
    border: 0;
    border-radius: 6px;
    background: #0d6efd;
    color: #ffffff;
    cursor: pointer;
}

.create:hover {
    background: #2c7cf1;
}

input {
    margin-top: 10px;
    width: 300px;
    height: 30px;
    border: 1px solid var(--gray-300);
    border-radius: 5px;
}

input:focus {
    border-color: #6daefd;
    box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.15);
    outline: none;
}

.buttons {
    display: flex;
    justify-content: center;
}

.start {
    margin: 8px;
    padding: 10px 50px;
    font-weight: 300;
    border: 0;
    border-radius: 6px;
    background: #18ba18;
    color: #ffffff;
    cursor: pointer;
}

.start:hover {
    background: #3bdf3b;
}

.stop {
    margin: 8px;
    padding: 10px 50px;
    font-weight: 300;
    border: 0;
    border-radius: 6px;
    background: #f12626;
    color: #ffffff;
    cursor: pointer;
}

.stop:hover {
    background: #ff0000;
}

span {
    font-weight: 600;
}

.info {
    margin: 20px;
}

.value {
    font-weight: normal;
}

.forgotPassword {
    border: 0;
    color: #000000;
    cursor: pointer;
}

.buttonsForm {
    display: flex;
    flex-direction: row;
    padding: 15px;
    justify-content: space-around;
    align-items: center;
}

.product {
    width: 300px;
    border: 1px solid var(--gray-300);
    margin: 15px;
    border-radius: 7px;
    display: flex;
    flex-direction: column;
    height: auto;
    align-items: center;
    background: #ffffff;
}

.title {
    font-weight: 500;
    font-size: 25px;
    text-align: center;
    margin-top: 15px;
}

.desc {
    text-align: center;
    padding-top: 20px;
    padding-bottom: 20px;
    min-height: 72px;
    color: #4b5563;
}

.product-data {
    width: 300px;
}
.price {
    height: 30px;
    color: #6daefd;
}

.buttonBuy,
.checkout-form-button {
    margin: 8px;
    font-weight: 300;
    border: 0;
    height: 30px;
    border-radius: 6px;
    background: #0d6efd;
    color: #ffffff;
    cursor: pointer;
    text-decoration: none;
    display: flex;
    justify-content: center;
    width: 45px;
    align-items: center;
}

.checkout-wrap {
    max-width: 600px;
    margin: 24px auto;
    padding: 20px;
    border: 1px solid var(--gray-300);
    border-radius: 12px;
    background: #ffffff;
}

.checkout-form-label {
    display: block;
    margin: 12px 0;
    color: #111827;
    font-weight: 600;
}

.checkout-form-input {
    width: 100%;
    padding: 10px;
    height: 34px;
    line-height: 34px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    background: #ffffff;
    color: #111827;
}

.checkout-form-input:focus {
    border-color: var(--lime);
    box-shadow: 0 0 0 3px rgba(163, 230, 53, 0.2);
    outline: none;
}

.chk-wrap {
    background: #ffffff;
    border: 1px solid var(--gray-200);
    border-radius: 14px;
    padding: 20px;
}

.chk-head {
    margin-bottom: 12px;
}

.chk-title {
    margin: 0 0 6px;
    font-size: 22px;
    color: #111827;
}

.chk-desc {
    margin: 0 0 8px;
    color: #4b5563;
}

.chk-meta {
    display: flex;
    gap: 12px;
    align-items: center;
    font-weight: 700;
}

.chk-price {
    color: var(--lime);
}

.chk-days {
    color: #1f2937;
}

.chk-alert {
    border: 1px solid var(--gray-200);
    border-radius: 10px;
    padding: 10px 12px;
    margin: 10px 0 14px;
    background: #f9fafb;
    color: #1f2937;
    font-size: 14px;
}

.variants {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 8px 0 14px;
}

.variants-label {
    color: #374151;
    font-weight: 600;
    margin-right: 4px;
}

.chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 34px;
    padding: 0 12px;
    border: 1px solid var(--gray-200);
    border-radius: 999px;
    background: #ffffff;
    color: #111827;
    text-decoration: none;
    font-weight: 600;
}

.chip--active {
    border-color: rgba(163, 230, 53, 0.65);
    background: linear-gradient(180deg, rgba(163, 230, 53, 0.2), rgba(253, 224, 71, 0.12));
}

.input-wrapper {
    position: relative;
    display: block;
    width: 100%;
}

.input-wrapper input {
    padding-right: 34px;
}

.input-wrapper .info-icon {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 15px;
    color: var(--lime);
    cursor: pointer;
    user-select: none;
    pointer-events: auto;
    z-index: 2;
}

.chk-actions {
    display: flex;
    justify-content: center;
    margin-top: 14px;
}

.checkout-form-button {
    min-width: 180px;
    height: 40px;
    border-radius: 8px;
    border: 1px solid rgba(163, 230, 53, 0.4);
    background: linear-gradient(180deg, rgba(163, 230, 53, 0.22), rgba(253, 224, 71, 0.16));
    color: #111827;
    font-weight: 800;
    letter-spacing: 0.2px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.main-account {
    box-sizing: border-box;
    padding: 16px;
    min-height: 100vh;
    background: #f8fafc;
}

.main-header {
    border: 1px solid var(--gray-200);
    width: 100%;
    min-height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    margin-bottom: 12px;
    background: #ffffff;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.input-header {
    border: none;
    background: transparent;
    font-weight: 600;
    color: #1f2937;
    text-align: center;
    width: 100%;
    outline: none;
    font-size: 30px;
}

.body-account {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 16px;
    align-items: start;
}

.account-nav {
    height: 100%;
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    background: #ffffff;
    padding: 0;
}

.account-option {
    margin: 6px 0;
}

.account-nav-button {
    display: flex;
    padding: 12px 14px;
    border-bottom: 1px solid var(--gray-200);
    text-decoration: none;
    color: #000000;
    font-size: 25px;
    height: 8vh;
    align-items: center;
    text-align: center;
    justify-content: center;
}

.account-nav-button.active {
    background: #f8fafc;
    font-weight: 700;
}

.account-content {
    background: #ffffff;
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    padding: 16px;
    min-height: 560px;
    box-sizing: border-box;
    font-size: 16px;
    color: #1f2937;
}

.account-info {
    display: block;
    align-items: initial;
    justify-content: initial;
    background: transparent;
    border: 0;
    padding: 0;
    min-height: auto;
    width: 100%;
    box-sizing: border-box;
}

.account-no-instances {
    text-align: center;
    color: #6b7280;
    width: 100%;
}

.account-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: auto;
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
}

.account-th {
    text-align: left;
    padding: 12px 14px;
    background: var(--gray-100);
    font-weight: 700;
    color: #111827;
    border-bottom: 1px solid var(--gray-200);
}

.account-td {
    padding: 12px 14px;
    border-bottom: 1px solid #f1f5f9;
    color: #1f2937;
    vertical-align: top;
}

.account-td a {
    color: #1d4ed8;
    text-decoration: none;
    word-break: break-word;
}

.account-td a:hover {
    text-decoration: underline;
}

.status-label {
    font-weight: 700;
}

.empty_data {
    font-size: 22px;
    color: #000000;
    text-align: center;
    margin: 40px 0;
}

.btn {
    display: inline-block;
    padding: 8px 12px;
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    background: #ffffff;
    color: #111827;
    text-decoration: none;
    cursor: pointer;
    font-weight: 600;
}

.btn:hover {
    background: #f8fafc;
}

.btn.btn-secondary {
    background: #f9fafb;
}

.account-content [class^="flash-"] {
    margin: 0 0 12px;
    padding: 10px 12px;
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    background: #ffffff;
    font-weight: 600;
}

.account-content .flash-success {
    color: #15803d;
    border-color: #bbf7d0;
    background: #f0fdf4;
}

.account-content .flash-error {
    color: #991b1b;
    border-color: #fecaca;
    background: #fef2f2;
}

.loader-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 220px;
}

.loader-overlay {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 24px 28px;
    background: #ffffff;
    border: 1px solid #eeeeee;
    border-radius: 12px;
    box-shadow: 0 3px 20px rgba(0, 0, 0, 0.05);
    font-size: 16px;
    font-weight: 600;
    color: #222222;
}

.spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@media (max-width: 980px) {
    .body-account {
        grid-template-columns: 1fr;
    }

    .account-nav {
        order: 1;
    }

    .account-content {
        order: 2;
    }
}

.product.ix-card {
    width: 280px;
    background: #ffffff;
    border-radius: 24px;
    border: none;
    padding: 24px 24px 28px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}

.product.ix-card .title {
    font-weight: 700;
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #111827;
    text-align: left;
    margin: 4px 0 8px;
}

.product.ix-card .desc {
    color: #4b5563;
    font-size: 13px;
    min-height: 64px;
    text-align: left;
    margin: 0 0 16px;
}

.product.ix-card .product-data .price {
    color: #1f2937;
    font-weight: 700;
}
.product.ix-card .buttonBuy {
    width: auto;
    min-width: 140px;
    height: 40px;
    padding: 0 8px;
    border-radius: 999px;
    border: none;
    background: #ebff3b;
    color: #111827;
    font-weight: 800;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}

.ix-card-actions {
    margin-top: 18px;
    display: flex;
    justify-content: center;
}

.auth {
    width: 100%;
    max-width: 520px;
    margin: 60px auto;
    padding: 24px;
}

.auth-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 10px 30px -20px rgba(0, 0, 0, 0.15);
}

.auth-title {
    font-size: 28px;
    font-weight: 700;
    margin: 4px 0 12px 0;
    text-align: center;
    color: #000000;
}

.auth-field {
    width: 100%;
    margin: 10px 0 6px;
}

.auth-field label {
    display: block;
    font-weight: 500;
    color: #000000;
}

.auth-field input {
    width: 100%;
    height: 34px;
    margin-top: 8px;
    padding: 0 10px;
    border-radius: 8px;
    border: 1px solid #dddddd;
    background: #ffffff;
    color: #000000;
}

.auth-actions {
    margin-top: 14px;
}

.auth-links {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: space-between;
    padding-top: 6px;
}

.auth-links .forgotPassword {
    background: transparent;
    padding: 4px 8px;
    border-radius: 6px;
}

@media (max-width: 560px) {
    .auth {
        margin: 40px auto;
        padding: 20px;
        max-width: 92%;
    }
    .auth-title {
        font-size: 24px;
    }
}

.account-content form{
    max-width: 28rem;
}

.account-content form .form-group,
.account-content form .form-row,
.account-content form > div{
    margin-bottom: 10px;
}

.account-content form label{
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    color: #111827;
}

.account-content form input[type="text"],
.account-content form input[type="email"],
.account-content form input[type="password"]{
    height: 34px;
    line-height: 34px;
    font-size: 14px;
    padding: 0 10px;
    width: 100%;
    max-width: 100%;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #fff;
    box-sizing: border-box;
}

.account-content .btn{
    display: inline-block;
    padding: 8px 12px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #fff;
    color: #111827;
    text-decoration: none;
    cursor: pointer;
    font-weight: 600;
    margin-right: 8px;
}

.account-content .btn:hover{
    background: #f8fafc;
}

.account-content .btn.btn-secondary{
    background: #f9fafb;
}
.loader-wrapper {
    display: flex; align-items: center; justify-content: center; min-height: 220px;
}
.loader-overlay {
    display: flex; align-items: center; gap: 14px; padding: 24px 28px;
    background: #fff; border: 1px solid #eee; border-radius: 12px;
    box-shadow: 0 3px 20px rgba(0,0,0,.05); font-size: 16px; font-weight: 600; color: #222;
}
.spinner {
    width: 28px; height: 28px; border: 3px solid rgba(255,0,0,.2);
    border-top-color: rgba(255,0,0,1); border-radius: 50%; animation: spin 1s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.is-hidden { display: none !important; }
.muted { color: #666; font-weight: 500; }

.required {
    color: red;
    font-weight: bold;
    margin-left: 3px;
}
.price-line { display:flex; align-items:center; gap:8px; flex-wrap:wrap; justify-content: center}
.price-line .label { opacity:.8; font-size:13px; }
.price-line .price { font-size:16px; display:flex; gap:6px; align-items:baseline; flex-wrap:wrap; }
.old-price { text-decoration:line-through; opacity:.6; font-size:13px; }
.new-price { font-weight:700; }
.badge {color:#0a7a2a; padding:2px 6px; border-radius:6px; font-size:12px; }
.product-note { font-size: 12px; color:#4b5563; margin-top:8px; text-align:center; }
.price-note { font-size: 21px;
    color: #dadada; text-align:center;
    margin: 24px 0; }
.head .indexNav > .nav-main__logo {
    position: absolute;
    left: 64px;
    top: 50%;
    transform: translateY(-50%);
}
.head .indexNav .three-header .nav-main__logo {
    position: absolute;
    right: 64px;
    top: 50%;
    transform: translateY(-50%);
}
.three-header {
    margin-left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
}
.head .indexNav .button {
    font-size: 30px;
}

.head .indexNav > .nav-main__logo img {
    height: 40px;
    width: auto;
    padding: 0;
}

.head .indexNav .three-header .nav-main__logo img {
    height: 100px;
    width: auto;
    padding: 0;
}
.product.ix-card {
    width: 400px;
    height: 400px;
    background: #ffffff;
    border-radius: 28px;
    border: none;
    padding: 26px 26px 30px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: relative;
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.7);
}

.product.ix-card .title {
    font-weight: 700;
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #111827;
    text-align: center;
    margin: 4px 0 10px;
}

.product.ix-card .desc {
    color: #4b5563;
    font-size: 13px;
    min-height: 64px;
    text-align: center;
    margin: 0 0 18px;
}


.ix-card-meta {
    width: 100%;
    display: flex;
    justify-content: space-around;
    margin-bottom: 12px;
}

.ix-card-meta .meta {
    font-size: 12px;
    padding: 6px 12px;
    border-radius: 999px;
    background: #f3f4f6;
    color: #4b5563;
}

.ix-card-prices {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
}

.price-line {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 6px;
}

.price-line .label {
    opacity: .75;
    font-size: 12px;
    text-transform: uppercase;
}

.price-line .price {
    font-size: 16px;
    display: flex;
    gap: 6px;
    align-items: baseline;
    flex-wrap: wrap;
    color: #111827;
}

.price-line .old-price {
    text-decoration: line-through;
    opacity: .6;
    font-size: 13px;
}

.price-line .new-price {
    font-weight: 700;
}

.price-line--trial {
    justify-content: center;
    width: 100%;
    margin: 10px 0;
}

.price-line--trial .price--main {
    font-size: 28px;
    font-weight: 800;
}

.product-note {
    font-size: 11px;
    color: #6b7280;
    margin-top: 10px;
    text-align: left;
}
.ix-card-badge {
    position: absolute;
    top: -18px;
    right: 24px;
    background: #ebff3b;
    padding: 6px 16px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 11px;
}

.ix-card-badge__icon {
    font-size: 13px;
}

.ix-card-badge__label {
    letter-spacing: 0.08em;
}
.ix-card-badge {
    position: absolute;
    top: -18px;
    right: 24px;
    background: #ebff3b;
    padding: 6px 16px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 11px;
}

.ix-card-badge__label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.ix-card-badge__label img {
    height: 20px;
    width: auto;
    display: block;
}
.buttonBuy img {
    height: 18px;
    width: auto;
    display: block;
    margin-right: 8px;
}
.main.ix-products .product.ix-card:last-of-type {
    grid-column: 2 / span 2;
}
.ix-price-footer {
    width: 100%;
    background: #2b2b2b;
    padding: 8px 16px 32px;
    box-sizing: border-box;
    text-align: center;
}

.ix-price-footer .price-note {
    margin: 0;
    font-size: 12px;
    color: #d1d5db;
    font-style: italic;
}
.ix-card-badge {
    position: absolute;
    top: -18px;
    right: 24px;
    background: #ebff3b;
    padding: 6px 18px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 20px;
}

.ix-card-badge__label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.ix-card-badge__label img {
    height: 26px;
    width: auto;
    display: block;
}
.buttonBuy img {
    height: 20px;
    width: auto;
    display: block;
    margin-right: 8px;
}
