﻿html {
    font-size: 16px;
}
body {
    font-family: "SW-Text", sans-serif;
}
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "SW-Headline", sans-serif;
    font-weight: bold;
}
a.margin-top {
    margin-top: 30px;
}
.form-control {
    padding: 1rem 0.75rem;
}
.navbar {
    background-color: var(--bs-body-bg);
}
.navbar a {
    text-decoration: none;
}
.navbar .form-control {
    /* language switch should not have increased height */
    padding: 0.25rem 0.75rem;
}
.justify-content {
    display: flex;
    justify-content: center;
}
.title-container {
    margin-bottom: 45px;
}
.title-container > h1 {
    font-size: 1.75rem;
    text-transform: uppercase;
}
.title-container p {
    margin-top: 1.5rem;
}
.content-container {
    width: 100%;
    margin-right: auto;
    margin-left: auto;
    padding: 60px 0;
}

@media (min-width: 360px) {
    .content-container {
        max-width: 328px;
    }
}
@media (min-width: 480px) {
    .content-container {
        max-width: 339px;
    }
}
@media (min-width: 600px) {
    .content-container {
        max-width: 500px;
    }
}
@media (max-width: 767px) {
    .login-options > div {
        text-align: center;
    }
    .login-options .margin-bottom-xs {
        margin-bottom: 50px;
    }
    .navbar .nav.navbar-nav {
        margin: 0 -10px;
    }
    .navbar .nav.navbar-nav .dropdown-toggle {
        padding-top: 0;
    }
    .navbar-content-wrapper {
        width: 100%;
    }
    .navbar-content-wrapper > a {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }
    .theme-toggle-wrapper {
        position: absolute !important;
        top: 12px;
        right: 15px;
    }
    .navbar-controls {
        width: 100%;
        margin-top: 15px;
    }
    .navbar-controls .language-selector-wrapper {
        width: 100%;
        text-align: center;
    }
    .theme-toggle-label {
        width: 38px;
        height: 18px;
        border-radius: 9px;
    }
    .theme-toggle-slider {
        width: 14px;
        height: 14px;
        top: 2px;
        left: 2px;
    }
    .theme-icon {
        font-size: 9px;
    }
    .theme-toggle-input:checked + .theme-toggle-label .theme-toggle-slider {
        transform: translateX(20px);
    }
}
@media (min-width: 768px) {
    .navbar .nav.navbar-nav {
        margin: 5px;
    }
    .navbar-content-wrapper {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }
    .navbar-content-wrapper > a {
        width: auto;
    }
    .theme-toggle-wrapper {
        position: static !important;
        margin-right: 1rem;
    }
    .navbar-right-section {
        display: flex;
        align-items: center;
    }
    .navbar-controls {
        display: flex;
        align-items: center;
        margin-top: 0;
    }
    .navbar-controls .language-selector-wrapper {
        width: auto;
        text-align: left;
    }
}
@media (min-width: 990px) {
    .grants.content-container {
        max-width: 691px;
    }
}
@media (min-width: 1440px) {
    .content-container {
        padding-top: 230px;
    }
}
.legal-text {
    padding: 0;
}
.theme-toggle-container {
    position: relative;
    display: inline-block;
}
.theme-toggle-input {
    opacity: 0;
    width: 0;
    height: 0;
    position: absolute;
}
.theme-toggle-label {
    display: block;
    width: 60px;
    height: 30px;
    background-color: #ccc;
    border-radius: 15px;
    cursor: pointer;
    transition: background-color 0.3s;
    position: relative;
}
.theme-toggle-label:hover {
    background-color: #bbb;
}
.theme-toggle-slider {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 26px;
    height: 26px;
    background-color: white;
    border-radius: 50%;
    transition: transform 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}
.theme-icon {
    font-size: 14px;
    position: absolute;
}
.light-icon {
    color: #ffa500;
    opacity: 1;
    transition: opacity 0.3s;
}
.dark-icon {
    color: #4169e1;
    opacity: 0;
    transition: opacity 0.3s;
}
.theme-toggle-input:checked + .theme-toggle-label {
    background-color: #4169e1;
}
.theme-toggle-input:checked + .theme-toggle-label:hover {
    background-color: #3a5fcd;
}
.theme-toggle-input:checked + .theme-toggle-label .theme-toggle-slider {
    transform: translateX(30px);
}
.theme-toggle-input:checked + .theme-toggle-label .light-icon {
    opacity: 0;
}
.theme-toggle-input:checked + .theme-toggle-label .dark-icon {
    opacity: 1;
}
.footer {
    margin-top: auto;
    padding-top: 2rem;
}

.footer-link {
    margin-right: 15px;
    white-space: nowrap;
}
.footer {
    color: var(--bs-secondary-color);
}
a, a:hover, a:visited {
    color: var(--bs-link-color);
    text-decoration: none;
}

a.footer-link {
    padding-right: 20px;
    font-size: 16px;
    font-weight: normal;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.38;
    letter-spacing: normal;
    color: var(--bs-secondary-color);
}

a.footer-link:hover {
    color: var(--bs-link-hover-color);
}

.store-badge-container {
    display: flex;
    gap: 1.5rem;
    align-items: flex-end;
}

.store-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.brand-image {
    max-height: 64px;
    margin-bottom: 38px;
}

.store-badge-img {
    width: 135px;
    height: 60px;
}

.google-play-badge {
    width: 155px;
    height: 60px;
}

.qr-code-img {
    width: 135px;
    height: 135px;
}