@font-face
{
	font-family: 'Concert One';
	font-style: normal;
	font-weight: 400;
	src: url('/fonts/concert-one-v17-latin-regular.woff2') format('woff2');
}


:root
{
    --bg-primary-color: #f8f8f8;
	--primary-color: #1e87f0;
    --secondary-color: #222;
    --success-color: #32d296;
    --danger-color: #f0506e;
    --warning-color: #faa05a;
}

html
{
	background-color: var(--bg-primary-color);
}

body
{
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

    /*
	display: flex;
    flex-direction: column;

     */
}

.uk-width-xsmall
{
	width: 100px;
}

.uk-heading
{
	font-family: 'Concert One', cursive;
	font-size: 2.2rem;
}

.uk-container
{
    flex: 1;
}

.uk-container-2xsmall
{
	max-width: 500px;
}

/* Navigation */
.uk-navbar-container:not(.uk-navbar-transparent)
{
    background: var(--primary-color);
}


.uk-navbar-item
{
	column-gap: 0;
    min-height: 50px;
}

.uk-navbar-nav
{
	gap: 0;
}

.uk-navbar-nav>li>a
{
    padding: 10px 20px;
    column-gap: 0;
    min-height: 70px;
    font-size: .875rem;
}

.uk-navbar-right .uk-navbar-nav > li > a
{
	padding: 0;
}

.uk-navbar-container .uk-navbar-nav > li > a,
.uk-navbar-item,
.uk-navbar-item.uk-logo
{
    color: white !important;
}

.uk-navbar-item.uk-logo
{
	font-family: 'Concert One', cursive;
	font-size: 1.8rem;
}

.uk-navbar-center .uk-navbar-nav > li:hover > a,
.uk-navbar-center .uk-navbar-nav > li.uk-active > a
{
    color: white !important;
    background: rgba(255, 255, 255, 0.1);
}

.uk-navbar-dropdown
{
	padding: 0;
}

.uk-navbar-dropdown .uk-nav li > a
{
    padding: 10px 15px;
	column-gap: 0;
}

.uk-navbar-dropdown .uk-nav li > a:hover
{
	background-color: #eaeaea;
}


.uk-card
{
    transition: box-shadow 0.3s ease;
}

.uk-card-header
{
	padding: 10px 20px;
}

.uk-card-header .uk-card-title
{
	font-size: 1rem;
}

.uk-card-hover:hover
{
    box-shadow: 0 14px 25px rgba(0, 0, 0, 0.16);
}

.game-view .uk-card-title
{
	font-family: 'Concert One', cursive;
	color: #999999;
}

.uk-description-list > dt
{
    color: #999999;
}

.uk-description-list > dd
{
    color: #000000;
	font-size: 1.05rem;
}

/* Tables */

.uk-table-small td, .uk-table-small th
{
	padding: 8px 12px;
}

.uk-table th
{
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.875rem;
    color: #666;
}

.uk-table tbody tr
{
    transition: background-color 0.2s ease;
}


.uk-button
{
    transition: all 0.3s ease;
}

.uk-button:hover
{
    transform: translateY(-1px);
}


.uk-progress
{
    height: 10px;
}


.uk-progress.progress-green1::-webkit-progress-value
{
	background-color: #3efd3d;
}

.uk-progress.progress-green2::-webkit-progress-value
{
	background-color: #37da36;
}

.uk-progress.progress-green3::-webkit-progress-value
{
	background-color: #2aa82a;
}

.uk-progress.progress-yellow1::-webkit-progress-value
{
	background-color: #fdea24;
}

.uk-progress.progress-yellow2::-webkit-progress-value
{
	background-color: #dfcd21;
}

.uk-progress.progress-yellow3::-webkit-progress-value
{
	background-color: #c3b21e;
}

.uk-progress.progress-red1::-webkit-progress-value
{
	background-color: #ff3131;
}

.uk-progress.progress-red2::-webkit-progress-value
{
	background-color: #d82525;
}

.uk-progress.progress-red3::-webkit-progress-value
{
	background-color: #ac1616;
}


.uk-badge
{
    padding: 3px 8px 5px 8px;
    font-size: 0.75rem;
}

.uk-badge.uk-badge-secondary
{
	background-color: #d30c70;
}

.uk-badge.uk-badge-tertiary
{
	background-color: #03a141;
}

.uk-form-label
{
    font-weight: 600;
    margin-bottom: 5px;
}

.uk-input:focus,
.uk-select:focus,
.uk-textarea:focus
{
    border-color: var(--primary-color);
}

.uk-button i
{
	font-size: 1rem;
}


.uk-alert
{
    border-left: 4px solid;
}

.uk-alert-success
{
    border-left-color: var(--success-color);
}

.uk-alert-danger
{
    border-left-color: var(--danger-color);
}


.uk-notification
{
	width: 400px;
}

.uk-notification-bottom-center, .uk-notification-top-center
{
    margin-left: -200px;
}

.uk-notification-message
{
	position: relative;
    padding: 15px 15px 18px 15px;
}

.uk-notification-message > div
{
    display: flex;
	flex-wrap: nowrap;
	justify-content: flex-start;
	align-content: flex-start;
	column-gap: 10px;
}

.uk-notification-message .icon
{
	display: block;
	width: 40px;
	height: 40px;
	padding-top: 8px;
	font-size: 1.8rem;
	text-align: center;
}

.notification-content
{
	font-size: .9rem;
    line-height: 1.5;
}

.notification-content h4
{
	margin-bottom: 5px;
	font-family: 'Concert One', cursive;
	font-size: 1.2rem;
}

.uk-notification-message-success,
.uk-notification-message-success h4
{
	background-color: #cdffd5;
	color: #03870e;
}

.uk-notification-message-danger,
.uk-notification-message-danger h4
{
	background-color: #ffdede;
	color: #a80701;
}

.uk-notification-message-warning,
.uk-notification-message-warning h4
{
	background-color: #fdf7ce;
	color: #9c7701;
}



.uk-modal-title
{
	font-family: 'Concert One', cursive;
	font-size: 2rem;
}

.uk-pagination > * > *
{
    transition: all 0.2s ease;
}

.uk-pagination > .uk-active > *
{
    border: 1px dotted #666666;
}


#image-preview
{
	height: 300px;
	border: 1px solid #e5e5e5;
	position: relative;
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
}

#remove-image
{
	display: none;
}

label:has(> .uk-checkbox)
{
	cursor: pointer;
}

footer
{
    margin-top: auto;
}

.list-cover-image
{
	display: inline-block;
	height: 46px;
	width: 46px;
	margin-right: 8px;
	background-repeat: no-repeat;
	background-size: contain;
	background-position: center;
	border: 1px solid #e5e5e5;
}

/* Responsive */

@media (min-width: 960px)
{
    .uk-navbar-center
    {
        padding-left: 40px;
        padding-right: 40px;
    }
}

@media (min-width: 640px)
{
    .uk-navbar-container
    {
        padding-left: 30px;
        padding-right: 30px;
    }
}


@media (max-width: 768px)
{
    .uk-navbar-center
    {
        display: none;
    }

    .uk-table
    {
        font-size: 0.875rem;
    }
}

/* Custom utilities */
.uk-text-truncate
{
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.uk-cursor-pointer
{
    cursor: pointer;
}

/* Loading animation */
.uk-loading
{
    position: relative;
    pointer-events: none;
    opacity: 0.5;
}

.uk-loading::after
{
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 30px;
    height: 30px;
    margin: -15px 0 0 -15px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin
{
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}


/* Multiselect Dropdown */

.multiselect
{
    position: relative;
}

.multiselect-toggle
{
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    text-align: left;
    background: #fff;
    color: #666;
    font-size: .875rem;
}

.multiselect-toggle i
{
    font-size: 10px;
    transition: transform 0.2s;
}

.multiselect.open .multiselect-toggle i
{
    transform: rotate(180deg);
}

.multiselect-toggle.has-selection
{
    color: #333;
}

.multiselect-dropdown
{
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-top: none;
    z-index: 1000;
    box-shadow: 0 5px 15px rgba(0, 0, 0, .08);
    max-height: 250px;
    overflow-y: auto;
}

.multiselect-item
{
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 12px;
    cursor: pointer;
    font-size: .875rem;
    transition: background .1s;
}

.multiselect-item:hover
{
    background: #f8f8f8;
}
