body {
    background-color: var(--background-color-primary);
    color: var(--text-color);
    font-family: "Poppins", sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    margin: 0;
    padding: 0;
}

button, a.button {
    background-color: var(--primary-color);
    border: none;
    border-radius: 5px;
    color: #fff;
    cursor: pointer;
    font-family: "Poppins", sans-serif;
    padding: 10px 15px;
    text-align: center;
    text-decoration: none;
}

button:hover, a.button:hover {
    background-color: var(--primary-color-dark);
}

button.red {
    background-color: var(--red);
}

button.red:hover {
    background-color: #d93529;
}

button:disabled {
    opacity: 0.65;
    pointer-events: none;
}

.icon-button {
    align-items: center;
    border-radius: 999px;
    color: var(--primary-color);
    cursor: pointer;
    display: flex;
    font-size: 16px;
    height: 35px;
    justify-content: center;
    width: 35px;
}

.icon-button:hover {
    background-color: var(--background-color-secondary);
}

a {
    color: var(--primary-color);
}

a:hover {
    text-decoration: none;
}

input, textarea, select {
    background-color: var(--background-color-primary);
    border: 1px solid var(--border-color);
    border-radius: 5px;
    color: var(--text-color);
    font-family: "Poppins", sans-serif;
    padding: 8px 15px;
}

input:disabled, textarea:disabled, select:disabled {
    background-color: var(--background-color-secondary);
    cursor: not-allowed;
    opacity: 1;
}

.hidden {
    display: none !important;
}

.invisible {
    visibility: hidden;
}

.spacer {
    flex: 1 1 auto;
}

.loader {
    font-size: 32px;
    margin: 10px auto;
    text-align: center;
}

.page-content {
    margin: 50px auto 0;
    max-width: 800px;
    padding: 15px;
}

#banner {
    background-color: var(--secondary-color);
    color: #fff;
    display: flex;
    justify-content: center;
    padding: 25px 15px;
}

#banner-content {
    align-items: center;
    display: flex;
    gap: 25px;
    justify-content: center;
    max-width: 450px;
}

#banner-title {
    font-size: 20px;
    font-weight: 600;
}

#banner-tagline {
    font-weight: 200;
}

.form-group {
    display: flex;
    gap: 10px;
}

.form-group .form-field {
    width: 50%;
}

.form-field {
    display: flex;
    flex-direction: column;
    margin-bottom: 10px;
}

.form-field:last-child {
    margin-bottom: 0;
}

.form-field label {
    font-weight: 500;
    margin-bottom: 5px;
    padding-left: 10px;
}

.form-field label i {
    color: var(--primary-color);
    cursor: pointer;
}

.field-control {
    margin-bottom: 5px;
}

.field-control.error {
    border-color: var(--red);
}

.form-field .error-message {
    color: var(--red);
    font-size: 12px;
    margin: 0 5px;
}

.form-field .note {
    font-size: 12px;
    margin: 0 5px;
}

.entry {
    align-items: center;
    border-radius: 5px;
    display: flex;
    padding: 10px 5px 10px 0;
}

.entry:hover {
    background-color: var(--background-color-secondary);
}

.entry .image {
    margin-right: 25px;
    position: relative;
}

.entry .points {
    align-items: center;
    background-color: #333;
    border: 2px solid #fff;
    border-radius: 999px;
    bottom: -2px;
    color: #fff;
    display: flex;
    height: 20px;
    justify-content: center;
    padding: 2px;
    position: absolute;
    font-size: 12px;
    right: -2px;
    width: 20px;
}

.entry .name {
    font-size: 16px;
    font-weight: 500;
}

.entry .remove-button {
    color: var(--red);
}

.loading-placeholder {
    position: relative;
    height: 100%;
    width: 100%;
    background-color: var(--background-color-secondary);
    overflow: hidden;
}

.loading-placeholder > div {
    position: absolute;
    left: -45%;
    height: 100%;
    width: 45%;
    background-image: linear-gradient(to left, rgba(251,251,251, .05), rgba(251,251,251, .3), rgba(251,251,251, .6), rgba(251,251,251, .3), rgba(251,251,251, .05));
    background-image: -moz-linear-gradient(to left, rgba(251,251,251, .05), rgba(251,251,251, .3), rgba(251,251,251, .6), rgba(251,251,251, .3), rgba(251,251,251, .05));
    background-image: -webkit-linear-gradient(to left, rgba(251,251,251, .05), rgba(251,251,251, .3), rgba(251,251,251, .6), rgba(251,251,251, .3), rgba(251,251,251, .05));
    animation: loading 1s infinite;
}

@keyframes loading {
    0% {
        left: -45%;
    }
    100% {
        left: 100%;
    }
}
