﻿:root {
    --primary-color: #1E1E24; /* Black */
    --secondary-color: #FFC107; /* Yellow */
    --white-color: #FFFFFF;
    --radius-xs: 6px;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-pill: 999px;
}

.lds-roller {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
}

    .lds-roller div {
        animation: lds-roller 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
        transform-origin: 40px 40px;
    }

        .lds-roller div:after {
            content: " ";
            display: block;
            position: absolute;
            width: 7px;
            height: 7px;
            border-radius: 50%;
            background: #1E1E24;
            margin: -4px 0 0 -4px;
        }

        .lds-roller div:nth-child(1) {
            animation-delay: -0.036s;
        }

            .lds-roller div:nth-child(1):after {
                top: 63px;
                left: 63px;
            }

        .lds-roller div:nth-child(2) {
            animation-delay: -0.072s;
        }

            .lds-roller div:nth-child(2):after {
                top: 68px;
                left: 56px;
            }

        .lds-roller div:nth-child(3) {
            animation-delay: -0.108s;
        }

            .lds-roller div:nth-child(3):after {
                top: 71px;
                left: 48px;
            }

        .lds-roller div:nth-child(4) {
            animation-delay: -0.144s;
        }

            .lds-roller div:nth-child(4):after {
                top: 72px;
                left: 40px;
            }

        .lds-roller div:nth-child(5) {
            animation-delay: -0.18s;
        }

            .lds-roller div:nth-child(5):after {
                top: 71px;
                left: 32px;
            }

        .lds-roller div:nth-child(6) {
            animation-delay: -0.216s;
        }

            .lds-roller div:nth-child(6):after {
                top: 68px;
                left: 24px;
            }

        .lds-roller div:nth-child(7) {
            animation-delay: -0.252s;
        }

            .lds-roller div:nth-child(7):after {
                top: 63px;
                left: 17px;
            }

        .lds-roller div:nth-child(8) {
            animation-delay: -0.288s;
        }

            .lds-roller div:nth-child(8):after {
                top: 56px;
                left: 12px;
            }

@keyframes lds-roller {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.white-color {
    color: var(--white-color);
}

body {
    background-color: #EBE8E7;
}

.mud-input-outlined-border {
    border-radius: var(--radius-md) !important;
}

.mud-button-root:not(.mud-icon-button) {
    border-radius: var(--radius-md);
}

.mud-alert {
    border-radius: var(--radius-md);
}

.mud-dialog {
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.mud-popover .mud-paper,
.mud-menu .mud-paper {
    border-radius: var(--radius-md);
    overflow: hidden;
}

.title {
    font-weight: bold;
}

.form-button {
    width: 200px;
    border-radius: var(--radius-md);
}

.form-button-large {
    width: 300px;
    border-radius: var(--radius-md);
}

.identity-auth-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.identity-auth-card input:-webkit-autofill,
.identity-auth-card input:-webkit-autofill:hover,
.identity-auth-card input:-webkit-autofill:focus,
.identity-auth-card input:-webkit-autofill:active {
    border-radius: var(--radius-md);
    -webkit-box-shadow: 0 0 0 1000px #FFFFFF inset !important;
    -webkit-text-fill-color: inherit !important;
    caret-color: inherit;
    transition: background-color 5000s ease-in-out 0s;
}

.identity-auth-card-padded {
    padding: 24px 0;
}

.investor-objective-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.investor-objective-form-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.investor-objective-toggle-group {
    width: 100%;
    border-radius: var(--radius-pill) !important;
    overflow: hidden;
}

.investor-objective-toggle-group .mud-toggle-item,
.investor-objective-toggle-group .mud-button-root:not(.mud-icon-button) {
    border-radius: 0 !important;
}

.investor-objective-toggle-group .mud-toggle-item:first-child,
.investor-objective-toggle-group .mud-button-root:not(.mud-icon-button):first-child {
    border-top-left-radius: var(--radius-pill) !important;
    border-bottom-left-radius: var(--radius-pill) !important;
}

.investor-objective-toggle-group .mud-toggle-item:last-child,
.investor-objective-toggle-group .mud-button-root:not(.mud-icon-button):last-child {
    border-top-right-radius: var(--radius-pill) !important;
    border-bottom-right-radius: var(--radius-pill) !important;
}

.net-worth-settings-tabs {
    box-shadow: none;
}

.net-worth-settings-tabs .mud-tabs-tabbar {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--mud-elevation-25);
}

.net-worth-settings-tabs .mud-tab {
    border-radius: 0;
}

.centered-items {
    display: flex;
    align-items: center;
    justify-content: center;
    align-content: center;
}

.righted-items {
    display: flex;
    align-items: center;
    justify-content: end;
    align-content: center;
}

.lefted-items {
    display: flex;
    align-items: center;
    justify-content: start;
    align-content: center;
}

.centered-items-full-width {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.centered-column-items {
    display: flex;
    align-items: center;
    justify-content: center;
    align-content: center;
    flex-direction: column;
}

.flex-full-space-item {
    flex-grow: 1;
}

.centered-text {
    text-align: center;
}

.client-report-actions-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
}

.client-report-action {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 8px;
    height: 100%;
    min-width: 0;
    min-height: 218px;
    padding: 14px;
    border: 1px solid #E4E7EC;
    border-top: 4px solid var(--command-color, #048A81);
    border-radius: var(--radius-lg);
    background: transparent;
    box-shadow: none;
    text-align: left;
    transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.client-report-action:hover {
    border-color: color-mix(in srgb, var(--command-color, #048A81) 42%, #DDE3EC);
    background: #FAFAFB;
    transform: translateY(-2px);
}

.client-report-action-command {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    padding: 5px 9px;
    border: 1px solid color-mix(in srgb, var(--command-color, #048A81) 38%, #111827);
    border-radius: var(--radius-sm);
    background: #111827;
    color: #F8FAFC;
    font-family: "Consolas", "Courier New", monospace;
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0;
    box-shadow: inset 3px 0 0 var(--command-color, #048A81);
}

.client-report-action-title {
    color: #111827;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.25;
}

.client-report-action-description {
    color: #687385;
    font-size: 0.8rem;
    line-height: 1.45;
}

.client-report-account-select {
    width: 100%;
}

.client-report-action-button {
    min-height: 38px;
    margin-top: auto;
    border-radius: var(--radius-md) !important;
    font-weight: 700;
    text-transform: none;
    box-shadow: none !important;
}

.client-report-action-button:hover {
    filter: brightness(0.97);
    box-shadow: 0 8px 16px rgba(17, 24, 39, 0.12) !important;
}

.client-report-action-button.mud-disabled {
    background: #E5E9F0 !important;
    color: #8B95A5 !important;
    box-shadow: none !important;
}

.portfolio-rebalancer-actions-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
}

.portfolio-rebalancer-action {
    min-height: 420px;
    background: #FFFFFF;
}

.portfolio-rebalancer-card-actions {
    width: 100%;
    margin-top: 8px;
}

.portfolio-rebalancer-card-actions .client-report-action-button {
    margin-top: 0;
}

.portfolio-rebalancer-card-actions .mud-icon-button {
    align-self: center;
}

.portfolio-rebalancer-selected-clients {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    flex: 0 0 auto;
    gap: 6px;
    width: 100%;
    margin-top: 2px;
    margin-bottom: 0;
}

.portfolio-rebalancer-selected-clients:empty {
    display: none;
}

.portfolio-rebalancer-info {
    width: 100%;
}

.righted-text {
    text-align: right;
}

.historical-report-grid {
    display: grid;
    grid-template-rows: 1fr 1fr;
    grid-template-columns: 1fr 1fr 5fr;
    justify-content: space-between;
}

.historical-report-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.historical-report-grid-img {
    grid-area: 1 / 1 / 3 / 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.historical-report-grid-month {
    grid-area: 1 / 2 / 2 / 3;
    display: flex;
    align-items: center;
    justify-content: center;
}

.historical-report-grid-account {
    grid-area: 1 / 3 / 2 / 4;
    display: flex;
    align-items: center;
    padding-left: 5px;
}

.historical-report-grid-download {
    grid-area: 2 / 2 / 3 / 3;
    display: flex;
    align-items: center;
    justify-content: center;
}

.historical-report-grid-description {
    grid-area: 2 / 3 / 3 / 4;
    display: flex;
    align-items: center;
    padding-left: 5px;
}

.last_month_header {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 50px;
}

.last-month-account-list {
    border-radius: var(--radius-md);
}

.last-month-account-item {
    border-radius: var(--radius-md);
    overflow: hidden;
}

.last-month-account-item:hover,
.last-month-account-item:focus,
.last-month-account-item:focus-within,
.last-month-account-item.mud-selected-item {
    border-radius: var(--radius-md);
}

.last-month-account-item .mud-ripple {
    border-radius: inherit;
    overflow: hidden;
}

.main-table-header {
    text-align: center;
    font-weight: bold !important;
    background-color: black !important;
    color: #FFC107 !important;
}

    .main-table-header > span:hover {
        color: #FFC107 !important;
    }

.mud-table {
    border-radius: var(--radius-md);
    overflow: hidden;
}

.mud-table .mud-table-container {
    border-radius: inherit;
}

.mud-simple-table {
    border-radius: var(--radius-md);
    overflow: hidden;
}

.mud-simple-table table {
    border-radius: inherit;
    overflow: hidden;
}

.main-table-cell {
    text-align: center;
}

.main-table-cell-number {
    text-align: right;
}

.main-table-footer-description {
    font-weight: bold;
    text-align: center;
}

.main-table-footer-total {
    font-weight: bold;
    text-align: right;
}

.chart {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 50vh;
    width: 100vw;
}

.impersonated-autocomplete {
    background: var(--primary-color);
    border-radius: var(--radius-md);
    padding: 0 8px 4px;
}

.impersonated-autocomplete > .mud-input-control-input-container {
    background-color: var(--primary-color);
    background: var(--primary-color);
    border-radius: var(--radius-md);
}

.impersonated-autocomplete .mud-input {
    background: #FFFFFF;
    border-radius: var(--radius-md);
}

.nav-menu-divider {
    border-color: rgba(255, 255, 255, 0.3);
    margin-left: 5px;
    margin-right: 5px;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(4, 1fr);
    gap: 10px;
}

.portfolio-grid-item {
    padding: 10px;
    text-align: center;
}

.portfolio-grid-item-icon {
    padding: 10px;
    text-align: left;
}

.portfolio-grid-item-money {
    padding: 10px;
    text-align: right;  
}

.portfolio-grid-item-money-text {
    font-weight: bold;
}

.video-item {
    display: flex;
    align-items: center;
}

.play-button {
    background-color: black;
    color: white;
    border: none;
    padding: 10px;
}

hr {
    border-top: 1px solid yellow;
}

#smart-investor-menu-report-weekly > a > span {
    padding-left: 5px;
}

#smart-investor-menu-report-special > a > span {
    padding-left: 5px;
}

#smart-investor-menu-finance-introduction > a > span {
    padding-top: 10px;
}

.smart-investor-report-card {
    border-radius: var(--radius-md) !important;
    overflow: hidden;
}

.smart-investor-report-link {
    font-weight: 700 !important;
}

.smart-investor-image {
    position: relative;
    width: 100%;
    height: 150px;
    overflow: hidden;
    border-top: 5px solid goldenrod; /* Borde dorado arriba */
}

    .smart-investor-image .background-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: black;
    }

    .smart-investor-image .background-image {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-image: url('../inversor-inteligente.jpg');
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
    }

.alert-info-color {
    color: var(--primary-color);
}

.paper-elevation {
    box-shadow: rgba(0, 0, 0, 0.16) 0px 3px 6px, rgba(0, 0, 0, 0.23) 0px 3px 6px;
}

.common-button {
    width: 150px;
    border-radius: var(--radius-md);
}

.pesos-color {
    color: #3185FC;
}

.dollar-color {
    color: #139A43;
}

.negative-color {
    color: #cf1b1b;
}

.main-menu-drawer,
.main-menu-drawer .mud-drawer-content {
    overflow-x: hidden;
}

.main-menu-drawer .mud-nav-link-text {
    white-space: normal;
}

.logo {
    border-radius: 5px 5px 0px 0px;
    background-color: black;
    padding: 10px;
}

.app-bar-logo {
    margin-top: 5px;
    width: 140px;
    padding: 10px;
}

.primary-background-color {
    background-color: var(--primary-color);
}

.secondary-color {
    color: var(--secondary-color);
}

.sticky-container {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 20px; /* Ajusta la distancia horizontal entre los botones según sea necesario */
    z-index: 1000;
}

.paper-base {
    padding: 20px;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.paper-base.primary-background-color:not(.paper-bottom):has(+ .paper-base) {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.paper-base.primary-background-color:not(.paper-bottom) + .paper-base {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

.paper-bottom {
    margin-bottom: 20px;
}

.general-commands-panel-paper {
    background: #FFFFFF;
}

.general-commands-panel {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.general-commands-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border: 1px solid #D7DBE3;
    border-radius: var(--radius-pill);
    font-size: 0.875rem;
    font-weight: 600;
    white-space: nowrap;
}

.general-commands-status-badge--idle {
    background: #F5F6F8;
    color: #414854;
}

.general-commands-status-badge--active {
    background: #FFF4D9;
    color: #7A5A00;
    border-color: #F0D27A;
}

.general-commands-status-badge--loading {
    background: #EEF5FF;
    color: #15539A;
    border-color: #BFD7F7;
}

.general-commands-panel-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    padding-bottom: 14px;
    border-bottom: 1px solid #ECECF3;
}

.general-commands-filter-wrapper {
    width: 320px;
    max-width: 100%;
}

.general-commands-filter .mud-input-slot,
.general-commands-filter .mud-input-outlined-border,
.general-commands-filter .mud-select-input {
    border-radius: var(--radius-md) !important;
}

.general-commands-actions-row {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    width: 100%;
}

.general-commands-actions-row--builders {
    margin-top: 4px;
}

.general-commands-action-card {
    display: flex;
    flex: 1 1 0;
    min-width: 260px;
    flex-direction: column;
    gap: 8px;
    padding: 18px;
    border: 1px solid #E3E7EE;
    border-top: 4px solid var(--command-color, #E3E7EE);
    border-color: var(--command-color, #E3E7EE);
    border-radius: var(--radius-lg);
    background: #FFFFFF;
}

.general-commands-action-card--oper {
    border-color: var(--command-color, #E3E7EE);
}

.general-commands-action-card--loper {
    border-color: var(--command-color, #E3E7EE);
}

.general-commands-action-card--flujo {
    border-color: var(--command-color, #E3E7EE);
}

.general-commands-action-card--builder {
    border-color: var(--command-color, #E3E7EE);
}

.general-commands-action-card--port {
    border-color: var(--command-color, #E3E7EE);
}

.general-commands-action-card--port-year {
    border-color: var(--command-color, #E3E7EE);
}

.general-commands-action-code {
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--command-color, #1E1E24);
}

.general-commands-action-code--oper {
    color: var(--command-color, #1E1E24);
}

.general-commands-action-code--loper {
    color: var(--command-color, #1E1E24);
}

.general-commands-action-code--flujo {
    color: var(--command-color, #1E1E24);
}

.general-commands-action-code--port {
    color: var(--command-color, #1E1E24);
}

.general-commands-action-code--port-year {
    color: var(--command-color, #1E1E24);
}

.general-commands-action-code--builder {
    color: var(--command-color, #1E1E24);
}

.general-commands-action-title {
    color: #1E1E24;
    font-weight: 700;
    line-height: 1.3;
}

.general-commands-launch-button {
    min-height: 48px;
    margin-top: auto;
    border-radius: var(--radius-md) !important;
    font-weight: 700;
    text-transform: none;
    box-shadow: none !important;
    color: #FFFFFF !important;
    background: var(--command-color, #C96480) !important;
}

.general-commands-launch-button--oper {
    color: #FFFFFF !important;
    background: var(--command-color, #C96480) !important;
}

.general-commands-launch-button--loper {
    color: #FFFFFF !important;
    background: var(--command-color, #C96480) !important;
}

.general-commands-launch-button--flujo {
    color: #FFFFFF !important;
    background: var(--command-color, #C96480) !important;
}

.general-commands-launch-button--port {
    color: #FFFFFF !important;
    background: var(--command-color, #C96480) !important;
}

.general-commands-launch-button--port-year {
    color: #FFFFFF !important;
    background: var(--command-color, #C96480) !important;
}

.general-commands-launch-button--builder {
    color: #FFFFFF !important;
    background: var(--command-color, #C96480) !important;
}

.general-commands-launch-button:hover {
    filter: brightness(0.97);
}

.general-commands-launch-button.mud-disabled {
    background: #E2E5EC !important;
    color: #8D95A4 !important;
}

@media (max-width: 959.98px) {
    .client-report-actions-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .general-commands-status-badge {
        white-space: normal;
    }

    .general-commands-filter-wrapper,
    .general-commands-action-card {
        max-width: none;
        width: 100%;
    }
}

.paper-black-title {
    padding-bottom: 10px;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.investor-profile-title-1 {
    font-weight: bold;
    text-align: center;
    padding-top: 20px;
}

.investor-profile-title-2-a {
    font-weight: bold;
    text-align: center;
    padding-top: 70px;
}

.investor-profile-title-2-b {
    font-weight: bold;
    text-align: center;
    padding-top: 50px;
}

.investor-profile-title-3-a {
    font-weight: bold;
    text-align: center;
    padding-top: 70px;
}

.investor-profile-title-3-b {
    font-weight: bold;
    text-align: center;
    padding-top: 40px;
}

/* Media section */

/* If the screen size is 600px wide or less */
@media (max-width: 600px) {
    .client-report-actions-grid {
        grid-template-columns: 1fr;
    }

    .app-bar-logo {
        margin-top: 5px;
        width: 80px;
        padding: 0px;
    }

    .investor-profile-title-1,
    .investor-profile-title-2-a,
    .investor-profile-title-2-b,
    .investor-profile-title-3-a,
    .investor-profile-title-3-b {
        padding: 0;
    }

    .main-bussiness-name {
        font-size: 12px;
    }

    #smart-investor-menu-saver-to-investor > a > span {
        padding-top: 5px;
    }

    .last_month_header {
        height: 100px;
        padding-bottom: 0px !important;
    }

    .righted-items,
    .lefted-items {
        justify-content: center;
    }
}

/* If the screen size is between 601px and 1500px */
@media screen and (min-width: 601px) and (max-width: 1500px) {
    .main-bussiness-name {
        font-size: 16px;
    }

    .last_month_header {
        height: 80px;
    }

    .last_month_item {
        padding-left: 0px !important;
        padding-right: 0px !important;
    } 
}
