body {
	color: black;
	font-family: Roboto, sans-serif;
}

.title-elem {
    background-color: #ffdf57;
}

.subtitle-elem {
    background-color: #feffaa;
}

.small-text {
	font-size: 0.9em;
}

.large-1-text {
	font-size: 1.3em;
}

.large-2-text {
	font-size: 1.6em;
}

.large-margin-top {
	margin-top: 100px;
}

.small-margin-top {
	margin-top: 40px;
}

a:link {
	color: #1a0dab;
}

a:visited {
	color: #000;
}

.noxpadding {
    padding-left: 0;
    padding-right: 0;
}

.go-badge {
    display: inline-block;
    border: 2px solid #ffffff;
    border-radius: 999px;
    padding: 0.1rem 0.55rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    line-height: 1;
}

.go-submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 1.05rem;
    font-weight: 700;
    border-radius: 0 !important;
}

.go-submit-btn .rocket-icon {
    width: 22px;
    height: 22px;
    filter: brightness(0) invert(1);
    flex-shrink: 0;
}

.submit-final-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 1.05rem;
    font-weight: 700;
}

.submit-final-btn .rocket-icon {
    width: 22px;
    height: 22px;
    filter: brightness(0) invert(1);
    flex-shrink: 0;
}

.submit-final-btn--compact {
    gap: 0;
}

.submit-final-btn--compact .submit-label {
    display: none;
}

@media (max-width: 576px) {
    .submit-final-btn {
        gap: 0;
    }
    .submit-final-btn .submit-label {
        display: none;
    }
}

.navbar {
    padding: 15px 10px;
    background-color: #feffaa;
    border: none;
    border-radius: 0;
    margin-bottom: 20px;
    box-shadow: none;
}

.navbar-btn {
    box-shadow: none;
    outline: none;
    border: none;
}

.line {
    width: 100%;
    height: 1px;
    border-bottom: 1px dashed #ddd;
    margin: 40px 0;
}

/* ---------------------------------------------------
    SIDEBAR STYLE
----------------------------------------------------- */

.wrapper {
    display: flex;
    width: 100%;
}

#sidebar {
    width: 220px;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    z-index: 999;
    background-color: #feffaa;
    color: #000;
    transition: all 0.3s;
}

#sidebar.active {
    margin-left: -220px;
}

#sidebar .sidebar-header {
    padding: 20px;
    background-color: #ffdf57;
    text-align: center;
}

#sidebar ul.components {
    padding: 20px 0;
    border-bottom: 1px solid #feffaa;
}

#sidebar ul p {
    color: #000;
    padding: 10px;
}

#sidebar ul li a {
    padding: 10px;
    display: block;
}

#sidebar ul li a:hover {
    color: #000;
    background-color: #ffdf57;;
}

#sidebar ul li.active>a,
a[aria-expanded="true"] {
    color: #000;
    background-color: #feffaa;
}

.city-panel {
    margin: 10px;
    padding: 10px;
    border: 1px solid #000;
    border-radius: 8px;
    background-color: #fff7c7;
}

.city-panel-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.city-stats-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    margin-bottom: 8px;
}

.city-theme-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.city-theme-label {
    margin: 0;
    font-size: 0.85rem;
    font-weight: 700;
    white-space: nowrap;
}

.city-theme-select {
    height: 2rem;
    font-size: 0.82rem;
    max-width: 240px;
}

.city-progress-shell {
    width: 100%;
    height: 10px;
    background-color: #ececec;
    border-radius: 8px;
    overflow: hidden;
}

.city-progress-fill {
    height: 100%;
    width: 0%;
    background-color: #28a745;
    transition: width 0.2s ease-in-out;
}

.city-progress-label {
    font-size: 0.75rem;
    margin-top: 5px;
    margin-bottom: 8px;
}

.city-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
}

.city-panel-main {
    margin: 0 auto;
    max-width: 820px;
}

.city-panel-main .city-grid {
    grid-template-columns: repeat(5, 1fr);
}

.city-item-tile {
    border: 1px solid #ccc;
    border-radius: 6px;
    padding: 4px;
    text-align: center;
    min-height: 56px;
}

.city-item-tile.unlocked {
    background-color: #dff8df;
    border-color: #84c784;
}

.city-item-tile.locked {
    background-color: #f2f2f2;
    color: #666;
}

.city-item-emoji {
    font-size: 1.1rem;
    line-height: 1.1;
}

.city-item-label {
    font-size: 0.67rem;
    line-height: 1.1;
}

.city-reset-btn {
    width: 100%;
    margin-top: 8px;
}

.city-toast {
    margin-top: 8px;
    padding: 6px;
    border-radius: 6px;
    background-color: #d7f5dd;
    border: 1px solid #8ccf97;
    font-size: 0.75rem;
}

@media (max-width: 992px) {
    .city-panel-main .city-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 576px) {
    .city-panel-main .city-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .city-theme-row {
        flex-direction: column;
        align-items: stretch;
    }

    .city-theme-select {
        max-width: none;
    }
}

a[data-toggle="collapse"] {
    position: relative;
}

.dropdown-toggle::after {
    display: block;
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
}

ul ul a {
    font-size: 0.9em;
    padding-left: 30px;
    background-color: #ffdf57;
}

ul.call_to_action {
    padding: 20px;
}

ul.call_to_action a {
    text-align: center;
    display: block;
    border-radius: 5px;
    margin-bottom: 5px;
    background-color: #ffdf57;
}

/* ---------------------------------------------------
    SIDEBAR COLLAPSE STYLE
----------------------------------------------------- */

#sidebarCollapse {
    width: 40px;
    height: 40px;
    background-color: #feffaa;
    cursor: pointer;
}

#sidebarCollapse span {
    width: 80%;
    height: 2px;
    margin: 0 auto;
    display: block;
    background-color: #000;
    transition: all 0.8s cubic-bezier(0.810, -0.330, 0.345, 1.375);
    transition-delay: 0.1s;
}

#sidebarCollapse span:first-of-type {
    transform: rotate(45deg) translate(2px, 2px);
}
#sidebarCollapse span:nth-of-type(2) {
    opacity: 0;
}
#sidebarCollapse span:last-of-type {
    transform: rotate(-45deg) translate(1px, -1px);
}

#sidebarCollapse.active span {
    transform: none;
    opacity: 1;
    margin: 5px auto;
}


/* ---------------------------------------------------
    TOPBAR COLLAPSE STYLE
----------------------------------------------------- */

#topbarCollapse {
    width: 40px;
    height: 40px;
    background-color: #feffaa;
    cursor: pointer;
}

#topbarCollapse span {
    width: 80%;
    height: 2px;
    margin: 0 auto;
    display: block;
    background-color: #000;
    transition: all 0.8s cubic-bezier(0.810, -0.330, 0.345, 1.375);
    transition-delay: 0.1s;
}

#topbarCollapse span:first-of-type {
    transform: rotate(45deg) translate(2px, 2px);
}
#topbarCollapse span:nth-of-type(2) {
    opacity: 0;
}
#topbarCollapse span:last-of-type {
    transform: rotate(-45deg) translate(1px, -1px);
}

#topbarCollapse.active span {
    transform: none;
    opacity: 1;
    margin: 5px auto;
}

#navbar-baptitle {
    margin-left: 220px;
}

/* ---------------------------------------------------
    CONTENT STYLE
----------------------------------------------------- */

#contentContainer.active {
    width: 100%;
    min-height: 100vh;
    top: 0;
    right: 0;
}
#contentContainer {
    width: calc(100% - 220px);
    min-height: 100vh;
    transition: all 0.3s;
    position: absolute;
    top: 0;
    right: 0;
}
#contentMain {
    width: 100%;
    padding: 0 25px 0 25px;
}

/* ---------------------------------------------------
    MEDIA QUERY TO TRIGGER TRANSFORMATION ON MEDIUM WIDTH
----------------------------------------------------- */

@media (max-width: 768px) {
    #sidebar {
        margin-left: -220px;
        transform: rotateY(90deg);
    }
    #sidebar.active {
        margin-left: 0;
        transform: none;
    }
    #sidebarCollapse span:first-of-type,
    #sidebarCollapse span:nth-of-type(2),
    #sidebarCollapse span:last-of-type {
        transform: none;
        opacity: 1;
        margin: 5px auto;
    }
    #sidebarCollapse.active span {
        margin: 0 auto;
    }
    #sidebarCollapse.active span:first-of-type {
        transform: rotate(45deg) translate(2px, 2px);
    }
    #sidebarCollapse.active span:nth-of-type(2) {
        opacity: 0;
    }
    #sidebarCollapse.active span:last-of-type {
        transform: rotate(-45deg) translate(1px, -1px);
    }
    #contentContainer {
        width: 100%;
        min-height: 100vh;
        top: 0;
        right: 0;
    }
    #contentContainer.active {
        width: calc(100% - 220px);
        min-height: 100vh;
        transition: all 0.3s;
        position: absolute;
        top: 0;
        right: 0;
    }
}

/* ---------------------------------------------------
    MEDIA QUERY TO TRIGGER TRANSFORMATION ON LARGE WIDTH
----------------------------------------------------- */

@media (max-width: 992px) {
    #navbar-baptitle {
        margin-right: auto;
        margin-left: auto;
    }
}
