@import url('https://use.typekit.net/dfi6ezd.css');

.element-container:has(.stMarkdown style) {
    display: none;
}

.appview-container .block-container:first-of-type {
    padding: 20px 16px 0;
}

.stSelectbox *,
.stMultiSelect * {
    cursor: pointer !important;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
label,
.prediction-result,
li {
    font-family: Urbane, sans-serif !important
}

h1#site-title {
    margin-top: 20px;
    margin-bottom: 20px;
    text-align: center;
}

[data-testid="stForm"] {
    padding: 0;
    border: none;
}

h1 svg {
    display: none;
}

/* custom header */
header {
    background-color: unset !important;
}

.dark header {
    background-color: rgba(14, 17, 23, .95);
}

/* custom header */
[data-testid="stStatusWidget"] button {
    display: none;
}

/* custom sidebar */
[data-testid="stSidebar"] {
    z-index: 1;
    width: 325px !important;
}

[data-testid="stSidebar"]>div:last-child,
[data-testid="stSidebarCollapseButton"],
[data-testid="stSidebarHeader"] {
    display: none !important;
}

[data-testid="stSidebar"]>div:first-child {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 0;
}

.main .block-container:first-child {
    max-width: 960px;
    padding-bottom: 120px;
}

[data-testid="stSidebarNav"]>ul {
    max-height: unset !important;
}

[data-testid="stSidebarNav"]>div {
    display: none;
}

[data-testid="stSidebar"]>div:nth-child(1)>div:nth-child(1)>button {
    display: none;
}

[data-testid="stSidebarNav"] ul {
    padding-top: 0;
}

[data-testid="stSidebarNav"] ul li:first-child a {
    height: 120px;
    overflow: hidden;
    text-indent: -200px;
    margin: 0px 0 10px;
    background-color: unset;
    background-size: cover;
}

[data-testid="stSidebarNav"] ul li a {
    font-size: 16px;
}

[data-testid="stSidebarNav"] ul li a span {
    color: #333333;
}

.dark [data-testid="stSidebarNav"] ul li a span {
    color: #CCCCCC;
}

.dark [data-testid="stSidebarNav"] ul li:first-child a {
    filter: invert();
}


[data-testid="stSidebarNav"] ul li:first-child::after {
    font-family: Urbane, sans-serif;
    font-weight: bold;
    width: 90%;
    display: block;
    text-align: center;
    margin: 0 auto 10px;
    padding-bottom: 20px;
    border-bottom: 1px solid #666666;
}

[data-testid="stSidebar"] .wsai-action {
    padding: 8px;
    border-radius: 25px;
    background-color: #2E3391;
    color: white;
    text-align: center;
    width: 100%;
    display: block;
    margin-top: 20px;
    margin-bottom: 0px;
    text-decoration: none;
}

.dark .wsai-sidebar {
    filter: invert();
}

.quick-tips {
    padding: 20px;
    margin: -10px -10px 20px;
    box-shadow: rgba(0, 0, 0, 0.25) 0px 5px 10px;
    background-color: white;
    border-radius: 10px;
}

.dark .quick-tips {
    background-color: black;
}

.quick-tips ul {
    list-style: none;
    margin-bottom: 0;
}

.quick-tips li {
    padding-left: 0 !important;
    margin-left: 0 !important;
    margin-bottom: 10px !important;
    font-size: 13px !important;
}

.quick-tips li:last-child {
    margin-bottom: 0;
}

[data-testid="stSidebarUserContent"] {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px 30px 32px !important;
}


/* end custom sidebar */

/* custom footer */
footer {
    display: none;
}

.wsai-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    padding: 20px 0 8px 300px;
    text-align: center;
    font-size: 80%;
    width: 100%;
    background-color: rgba(255, 255, 255, .95);
}

.dark .wsai-footer {
    background-color: rgba(14, 17, 23, .95);
}

.wsai-footer p {
    font-size: .8rem;
}

.wsai-footer .app-version {
    color: rgba(180, 180, 180, 1);
    font-size: 80%;
    text-align: right;
    margin-top: -35px;
    margin-right: 40px;
}

/* end custom footer */

.main .block-container:first-child {
    padding-bottom: 120px;
}

@media screen and (max-width: 768px) {
    .wsai-footer {
        display: none;
    }
}

/* end custom footer */