:root{
    --input-border: #C3BFD7;

}
.symbol-search {
    display: flex;
    align-items: center;
    height: 32px;
    width: 100%;
    border-radius: 999px;
    box-sizing: border-box;
    padding: 0.5rem;
    background-color: var(--sponser-bg-lighter);
    border: 1px solid var(--input-border);
    transition: width .5s;
}
.symbol-search input {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    font-size: 15px;
    font-weight: 300;
    background-color: transparent;
    border: 0;
    margin: 0;
    padding: 0;
    outline: none;
    width: 100%;
}

.symbol-search:focus-within {
    border: solid 1px var(--sponser-purple);
}

.symbol-search .symbol-icon {
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
    fill: var(--sponser-text);
    opacity: .4;
}

.symbol-search:focus-within .symbol-icon {
    fill: var(--sponser-purple);
    opacity: 1;
}

.circle {
    border-radius: 100%;
    text-align: center;
    transition-property: all;
    transition-duration: 150ms;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    background-color: var(--sponser-purple-soft);
    width: 4.75rem;
    height: 4.75rem;
    color: var(--sponser-purple);
}

.circle svg {
    width: 3rem;
    height: 3rem;
    fill: var(--sponser-purple-light);
}

.symbol-search.portfolio {
    border-radius: .375rem;
    background-color: var(--sponser-white-bg) !important;
}

.portfolio-actions {
    display: flex;

    justify-content: space-between;
}

.portfolio-actions button {
    display: inline-flex;
}

.portfolio-actions > li svg {
    width: 1.25rem;
    height: 1.25rem;
    fill: var(--sponser-text);
}

.portfolio-actions > li > button:hover svg {
    fill: var(--sponser-pink)
}

.add-edit-security {
    display: flex;
    flex: 1;
    align-items: end;
    justify-content: start;
    border: solid 1px var(--sponser-purple-pastel-border);



    background-color: var(--sponser-purple-pastel-bg);
        border-radius: 0.375rem;
        overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, .1), 0 2px 4px -2px rgba(0, 0, 0, .1) !important;

}

#add-edit-security-name {
    border: none !important;
    background-color: transparent !important;
}

.add-edit-security li {
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: center;
}

.add-edit-security li label {
    margin-bottom: .25rem;
}

.add-edit-security li input {
    width: auto;
    border-radius: .375rem !important;
}

.add-edit-security li:not(:last-child) {
    margin-left: 1rem;
}

.portfolio-toolbar .forum-btn,
.portfolio-toolbar .security-suggest{
    font-size: 1rem !important;
}

.portfolio-yield{
    background-color: var(--sponser-white-bg) !important;
    cursor: auto !important;
}


.portfolio-yield img {
    width: 30px;
    height: 20px;
    display: inline-flex;
}

.portfolio-yield .quote{
    font-size: 1rem !important;
    font-weight: 700;
}

#securities .gain{
    color: #008456;
}
#securities .loss{
    color: #ce2b2b;
}


.security-suggest::-webkit-input-placeholder {
    color: var(--sponser-purple);
}
.security-suggest:-moz-placeholder {
    color: var(--sponser-purple);
    opacity: 1;
}


/* tool-tip */

.s-dropdown-menu.purple .dropdown-caret .caret-inner {
    border-bottom: 9px solid var(--sponser-purple);
}
.s-dropdown-menu.purple > ul {
    background-color:  var(--sponser-purple);
}
.s-dropdown-menu.purple li:not(.dropdown-caret, .s-menu-item, .menu-section) p{
    color: var(--sponser-white) !important;
}

/* toast */
.portfolio-footer{
    width: 100% !important;
    z-index: 10;
    position: sticky !important;
    bottom: 60px;
    padding: 1rem .625rem;
}
.iziToast.iziToast-color-red{
    background-color: var(--sponser-pink) !important;
    color: var(--sponser-white) !important;
}
.iziToast.iziToast-color-green{
    background-color: var(--sponser-green) !important;
    color: var(--sponser-white) !important;
}


/* datepicker */
#add-edit-security-date {
    width: 120px;
    border-radius: .375rem;
}
#add-edit-security-price {
    width: 100px;
}

#add-edit-security-change{
    width: 80px;
}

[dir="rtl"] .datepicker-controls .prev-button,
[dir="rtl"] .datepicker-controls .next-button {
    transform: scaleX(-1);
}