
:root {
    --text-primary: #111927;
    --text-secondary: #6C737F;
    --text-disabled: rgba(17, 25, 39, 0.38);
    --nav-discreet-color: var(--text-primary);
}

html, body, #root {
    height: 100%;
    margin: 0;
    background: #f8f9fa;
}

/* avoid webpack runtime error overlay in development mode */
body > #webpack-dev-server-client-overlay {
    display: none;
}

* {
    font-family: "Inter", arial, serif !important;
}

/* change standard MUI buttons to not enforce uppercase text */
.MuiButton-outlined {
    text-transform: initial !important;
}

.MuiButton-contained {
    text-transform: initial !important;
}

.MuiButton-text {
    text-transform: initial !important;
}

.scroll-left-side {
    direction: rtl;
}

.scroll-left-side > * {
    direction: initial;
}

*::-webkit-scrollbar {
    direction: rtl;
    width: 12px;
    height: 12px;
    background-color: inherit;
}

*::-webkit-scrollbar-thumb {
    direction: rtl;
    border-radius: 10px;
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, .3);
    background-color: #CCC;
}

*::-webkit-scrollbar-thumb:hover {
    background-color: #AAA;
}

/*Custom css for customer portal*/
.policy-card-container {
    width: 56px !important;
    height: 56px !important;
    border-radius: 8px !important;
    background-color: #fff !important;
    border: 1px solid #e0e0e0 !important;
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    padding: 16px !important;
}

/* Advisor card mobile */
.card-container {
    position: fixed;
    top: -100%;
    left: 0;
    right: 0;
    width: 100%;
    margin: 0 auto;
    transition: top 0.5s ease-in-out;
    z-index: 1100;
}

.card-container.visible {
    top: 0;
}
