.account-home-page {
    width: 100%;
    min-height: 1541px;
    padding: 48px 32px 56px;
    position: relative;
    background: #020b1d;
    overflow: hidden;
    display: flex;
    justify-content: center;
}

.account-home-page__glow {
    width: 600px;
    height: 600px;
    position: absolute;
    top: -83px;
    right: -100px;
    border-radius: 999px;
    background: rgba(91, 70, 185, 0.26);
    filter: blur(90px);
    pointer-events: none;
}

.account-home-page__content {
    width: 100%;
    max-width: 1280px;
    display: flex;
    flex-direction: column;
    gap: 48px;
    position: relative;
    z-index: 1;
    margin: 0 auto;
}

.account-home-summary {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 24px;
}

.account-home-summary__copy {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.account-home-summary__title {
    color: var(--light-blue-01);
    font-size: 40px;
    font-weight: var(--semiBold);
    line-height: 40px;
    letter-spacing: -0.4px;
}

.account-home-summary__subtitle {
    color: #c1c6d7;
    font-size: 16px;
    font-weight: var(--regular);
    line-height: 160%;
}

.account-home-summary__stats {
    display: flex;
    align-items: center;
    gap: 16px;
}

.account-home-stat-card {
    width: 260px;
    min-height: 78px;
    padding: 16px 20px;
    border-radius: 12px;
    border: 1px solid rgba(67, 158, 239, 0.1);
    background: rgba(255, 255, 255, 0.03);
    display: flex;
    align-items: center;
    gap: 16px;
}

.account-home-stat-card__icon-wrap {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    border: 1px solid #131f31;
    background: rgba(33, 55, 94, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 4px 4px rgba(134, 170, 225, 0.2);
    flex-shrink: 0;
}

.account-home-stat-card__icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.account-home-stat-card__content {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.account-home-stat-card__label {
    color: var(--neutral-06);
    font-size: 12px;
    font-weight: var(--medium);
    line-height: 12px;
    text-transform: uppercase;
}

.account-home-stat-card__value {
    color: var(--light-blue-01);
    font-size: 18px;
    font-weight: var(--semiBold);
    line-height: 18px;
}

.account-home-search {
    width: 100%;
    min-height: 90px;
    padding: 17px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.00);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.10), 0 4px 6px -4px rgba(0, 0, 0, 0.10);
    border: 1px solid rgba(67, 158, 239, 0.1);
    display: grid;
    grid-template-columns: minmax(0, 1fr) 203px 128px;
    gap: 16px;
    align-items: center;
}

.account-home-search__field,
.account-home-search__select,
.account-home-search__submit {
    min-height: 56px;
    border-radius: 8px;
}

.account-home-search__field {
    padding: 16px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    gap: 16px;
    cursor: text;
}

.account-home-search__icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
    flex-shrink: 0;
}

.account-home-search__input {
    width: 100%;
    border: 0;
    padding: 0;
    background: transparent;
    color: var(--neutral-02);
    font-family: "Montserrat", sans-serif;
    font-size: 16px;
    font-weight: var(--regular);
    line-height: 20px;
    outline: none;
}

.account-home-search__input::placeholder {
    color: rgba(181, 200, 227, 0.3);
}

.account-home-search__select-wrap {
    position: relative;
    display: block;
}

.account-home-search__select {
    width: 100%;
    padding: 16px;
    border: 1px solid rgba(67, 158, 239, 0.12);
    background: #182131;
    color: var(--neutral-02);
    font-size: 14px;
    font-weight: var(--medium);
    line-height: 24px;
    cursor: pointer;
    font-family: "Montserrat", sans-serif;
    padding-right: 44px;
    outline: none;
}

.account-home-search__select-button {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(30, 42, 64, 0.96) 0%, rgba(22, 31, 48, 0.98) 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.03),
        0 10px 18px rgba(0, 0, 0, 0.18);
    transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.account-home-search__select-button::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(67, 158, 239, 0.08) 0%, rgba(91, 70, 185, 0.08) 100%);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.account-home-search__select-button:is(:hover, :focus-visible),
.account-home-search__select-wrap.is-open .account-home-search__select-button {
    border-color: rgba(67, 158, 239, 0.35);
    transform: translateY(-1px);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.04),
        0 14px 24px rgba(0, 0, 0, 0.22);
}

.account-home-search__select-button:is(:hover, :focus-visible)::before,
.account-home-search__select-wrap.is-open .account-home-search__select-button::before {
    opacity: 1;
}

.account-home-search__select-label,
.account-home-search__chevron {
    position: relative;
    z-index: 1;
}

.account-home-search__select-label {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-align: left;
}

.account-home-search__chevron {
    width: 24px;
    height: 24px;
    object-fit: contain;
    position: absolute;
    top: 16px;
    right: 16px;
    pointer-events: none;
    transition: transform 0.2s ease;
}

.account-home-search__select-wrap.is-open .account-home-search__chevron {
    transform: rotate(180deg);
}

.account-home-search__select-menu {
    width: 100%;
    margin-top: 8px;
    padding: 8px;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 20;
    border-radius: 12px;
    border: 1px solid rgba(67, 158, 239, 0.14);
    background:
        linear-gradient(180deg, rgba(17, 26, 42, 0.98) 0%, rgba(11, 18, 31, 0.98) 100%);
    box-shadow:
        0 22px 40px rgba(0, 0, 0, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.03);
    display: flex;
    flex-direction: column;
    gap: 4px;
    backdrop-filter: blur(14px);
}

.account-home-search__select-menu[hidden] {
    display: none !important;
}

.account-home-search__select-option {
    width: 100%;
    min-height: 42px;
    padding: 10px 12px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: rgba(240, 240, 240, 0.86);
    text-align: left;
    font-family: "Montserrat", sans-serif;
    font-size: 13px;
    font-weight: var(--medium);
    line-height: 18px;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.account-home-search__select-option:is(:hover, :focus-visible),
.account-home-search__select-option.is-selected {
    background: rgba(67, 158, 239, 0.12);
    color: var(--neutral-02);
    outline: none;
}

.account-home-search__submit {
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: var(--light-blue-01);
    color: #010713;
    font-size: 14px;
    font-weight: var(--semiBold);
    line-height: 16px;
    cursor: pointer;
    transition: 0.5s;
}

.account-home-search__submit:is(:hover, :focus-visible, :focus-within) {
    background-color: var(--blue-01);
    color: var(--white);
    scale: 1.02;
}

.account-home-tools-section,
.account-home-widget,
.account-home-promo {
    width: 100%;
}

.account-home-section-heading {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.account-home-section-heading__title {
    color: #FFF;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 24px;
}

.account-home-section-heading__link {

    color: #ADC6FF;
    text-align: center;
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: 20px;
    transition: 0.5s;
}

.account-home-section-heading__link:is(:hover, :focus-visible) {
    color: var(--blue-04);
    font-size: 15px;
}

.account-home-tools-grid {
    margin-top: 16px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

.account-home-tool-card {
    min-height: 365px;
    padding: 24px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(255, 255, 255, 0.03);
    box-shadow: 0 4px 24px 0 rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.account-home-tool-card__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
}


.account-home-tool-card__icon {
    width: 48px;
    height: 48px;
}

.account-home-tool-card__credits {
    min-width: 82px;
    padding: 4px 8px;
    border-radius: 4px;
    background: #0C518F33;
    color: #C1C6D7;
    text-align: center;
    font-size: 12px;
    font-weight: var(--semiBold);
    line-height: 12px;
}

.account-home-tool-card__body {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.account-home-tool-card__title {
    color: var(--white);
    font-size: 20px;
    font-weight: var(--semiBold);
    line-height: 28px;
}

.account-home-tool-card__description {
    color: #c1c6d7;
    font-size: 14px;
    font-weight: var(--regular);
    line-height: 20px;
}

.account-home-tool-card__usage {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.account-home-tool-card__usage-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}

.account-home-tool-card__usage-row span {
    color: #8B90A0;
    font-family: Montserrat;
    font-size: 12px;
    font-style: normal;
    line-height: 16px;
}

.account-home-tool-card__progress {
    width: 100%;
    height: 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    overflow: hidden;
}

.account-home-tool-card__progress-fill {
    display: block;
    height: 100%;
    border-radius: inherit;
}

.account-home-tool-card__progress-fill.is-blue {
    background: #ADC6FF;
}

.account-home-tool-card__progress-fill.is-purple {
    background: #DCB8FF;
}

.account-home-tool-card__progress-fill.is-cyan {
    background: #00DBE7;
}

.account-home-tool-card__progress-fill.is-slate {
    background: #ADC6FF;
}

.account-home-tool-card__button {
    min-height: 48px;
    border-radius: 12px;
    width: 100%;
    max-width: unset !important;
}

.account-home-widgets {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.account-home-widget {
    min-height: 345px;
    padding: 24px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    flex-direction: column;
    gap: 24px;
}

.account-home-history-table__head,
.account-home-history-row {
    display: grid;
    grid-template-columns: 1.5fr 1.7fr 1fr 1fr 56px;
    gap: 8px;
}

.account-home-history-table__head {
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(181, 200, 227, 0.08);
}

.account-home-history-table__head span {
    color: #64748B;
    font-family: Montserrat;
    font-size: 10px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    text-transform: uppercase;
}

.account-home-history-table__body {
    margin-top: 4px;
}

.account-home-history-row {
    min-height: 60px;
    align-items: center;
    border-bottom: 1px solid rgba(181, 200, 227, 0.05);
}

.account-home-history-row:last-child {
    border-bottom: 0;
}

.account-home-history-row__tool {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    padding-right: 12px;
}



.account-home-history-row__tool-icon {
    width: 28px;
    height: 28px;
}

.account-home-history-row__tool-name {
    color: #FFF;
    font-size: 12px;
    font-style: normal;
    font-weight: 600;
    line-height: 16px;
}

.account-home-history-row__prompt code {
    display: inline-flex;
    align-items: center;
    min-height: 16px;
    padding: 2px 8px;

    color: #CDE4FF;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.05);
}

.account-home-history-row__executed {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.history-date-span {
    color: #C1C6D7;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 14px;
}

.history-time-span {
    color: #7e7e7e;
    font-size: 10px;
    font-style: normal;
    font-weight: 400;
    line-height: 12px;
}



.account-home-status-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 20px;
    padding: 4px 8px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: var(--medium);
    line-height: 12px;
    border: 1px solid transparent;
}

.account-home-status-pill.is-success {
    border: 1px solid rgba(255, 180, 171, 0.00);
    background: rgba(34, 197, 94, 0.10);
    color: #4ADE80;
}

.account-home-status-pill.is-danger {
    border: 1px solid rgba(255, 180, 171, 0.00);
    background: rgba(147, 0, 10, 0.20);
    color: #FFB4AB;
}

.account-home-status-pill.is-pending {
    border: 0 solid rgba(249, 115, 22, 0.20);
    background: rgba(249, 115, 22, 0.10);
    color: #FB923C;
}

.account-home-history-row__action {
    display: flex;
    justify-content: flex-start;
}

.account-home-history-row__action-button {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 0;
    padding: 0;
    cursor: pointer;
}

.account-home-history-row__action-icon {
    width: 12px;
    height: 12px;
    object-fit: contain;
}

.account-home-service-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
}

.account-home-service-item {
    min-height: 70px;
    padding: 16px;
    width: 100%;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.account-home-service-item__main {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 0;
}



.account-home-service-item__icon {
    width: 32px;
    height: 32px;

}

.account-home-service-item__copy h3 {
    line-height: 20px;
    color: #FFF;
    font-size: 14px;
    font-weight: var(--semiBold);
    line-height: 20px;
}

.account-home-service-item__copy p {
    margin-top: 2px;
    color: #C1C6D7;
    font-size: 12px;
    font-style: var(--regular);
    font-weight: 400;
    line-height: 16px;
}

/* ACCOUNT BANNER */


.account-home-promo {
    min-height: 280px;
    padding: 40px;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-start;
    background-image: url('../images/Images/account-banner.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.account-home-promo__content {
    max-width: 672px;
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    flex-direction: column;
    gap: 16px
}

.account-home-promo__title {
    color: var(--white);
    font-size: 40px;
    font-weight: var(--semiBold);
    line-height: 48px;
    letter-spacing: -2%;
}

.account-home-promo__description {
    color: #C1C6D7;
    font-size: 16px;
    font-weight: var(--regular);
    line-height: 160%;
}

.account-home-promo__actions {
    margin-top: 16px;
    display: flex;
    gap: 16px;
    align-items: center;
}


.account-home-promo__button--primary {
    padding: 12px 32px;
    height: 50px;
}

.account-home-promo__button--secondary {
    padding: 12px 32px;
    height: 50px;

}
