
body, html {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

select, input {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
}

#calendar {
    width: 100%;
    max-width: 300px;
    margin-bottom: 20px;
}



/**
    ===============
        BUTTONS
    ===============
 */

.button {
    display: inline-block;
    margin: 10px;
    padding: 15px 30px;
    background-color: var(--color-on-plain-button-after-bg);
    color: var(--color-on-plain-button-text);
    text-decoration: none;
    border-radius: 5px;
    font-size: 16px;
}

.button:hover {
    background-color: var(--color-on-plain-button-bg-hover);
}


/* button icon right: https://codepen.io/daviddarnes/pen/VLXxMa */
.button-icon-right {
    min-width: 15em;
    display: inline-block;
	font-family: "Montserrat", "Trebuchet MS", Helvetica, sans-serif;
	-webkit-font-smoothing: antialiased;
	position: relative;
    padding: .8em 4.7em .8em 1.4em;
    background: var(--color-on-plain-button-bg);
	border: none;
	color: var(--color-on-plain-button-text);
	transition: .2s;
	&:before,
	&:after {
		position: absolute;
		top: 0;
		bottom: 0;
		right: 0;
		padding-top: inherit;
		padding-bottom: inherit;
		width: 2.8em;
		content: "\00a0";
		font-family: 'Font Awesome 6 Free', sans-serif;
		font-size: 1.2em;
		text-align: center;

		transition: .2s;
		transform-origin: 50% 60%;
	}
	&:before {
		background: #1F679D;
	}
	&:hover {
		background: #1F679D;
	}
	&:active,
	&:focus {
		background: #1fa6e1;
		outline: none;
	}
}

.icon-after-hover-animation {
	&:hover:after {
		-webkit-animation: none;
		animation: none;
		transform: scale(1.4);
	}
}




/**
    ========================
        FLOATING BUTTONS
    ========================
 */


/**
    Floating add button
 */
.plus {
    color: white;
    position: absolute;
    top: 0;
    display: block;
    bottom: 0;
    left: 0;
    right: 0;
    text-align: center;
    padding: 0;
    margin: 0;
    line-height: 55px;
    font-size: 38px;
    font-family: 'Roboto', serif;
    font-weight: 300;
}


/**
    ===============
        ICONS
    ===============
 */

/* Support CSS Font Awesome Icons https://docs.fontawesome.com/web/add-icons/pseudo-elements */
.fa-icon-after::after {
    font-family: var(--fa-style-family-classic), serif;
    -webkit-font-smoothing: antialiased; /* Make sure icons render pixel-perfect */
}

.fa-icon-trash-can-after::after {
    font-family: var(--fa-style-family-classic), serif;
    -webkit-font-smoothing: antialiased;
    content: '\f2ed';
}

.fa-icon-home-after::after {
    font-family: var(--fa-style-family-classic), serif;
    -webkit-font-smoothing: antialiased;
    content: '\f015';
}

.fa-icon-edit-after::after {
    font-family: var(--fa-style-family-classic), serif;
    -webkit-font-smoothing: antialiased;
    content: '\f044';
}



/*
    ===============
        MATCHES
    ===============
 */

.match-tile {
    display: flex;
    flex-direction: column; /* Stack the header and details vertically */
    background-color: white;
    border-radius: 8px;
    margin-bottom: 10px;
    padding: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: transform 0.2s;
}

.match-tile:hover {
    transform: scale(1.02);
}

.tile-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.details {
    margin-top: 10px;
    padding: 10px;
    border-top: 1px solid #e0e0e0;
    background-color: #f9f9f9;
    border-radius: 0 0 8px 8px; /* Rounded corners at the bottom */
}

.tile-arrow {
    font-size: 1.2em;
    user-select: none; /* Prevent text selection on click */
}

.matches-container {
    height: 90vh;
    overflow-y: auto;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 10px;
    background-color: #f8f9fa;
}

.tile-expanded {
    background-color: #f1f1f1;
}

.filter-container {
    margin-top:5%;
    margin-bottom: 15px;
    text-align: center;
}



/**
    ===============
        SUBMIT_SCORE_FORM1
    ===============
 */


.next-button {
    padding: 10px 20px;
    background-color: #1F679D;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 4px;
}

.next-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.next-button:hover {
    background-color: rgba(31, 103, 157, 0.9);
}

.cancel-button {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    background-color: #F92A5E;
    color: white;
    cursor: pointer;
}

.cancel-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.cancel-button:hover {
    background-color: rgba(249, 42, 94, 0.9);
}

.decision-button-container {
    display: flex;
    flex-flow: row wrap;
    justify-content: flex-start;
    gap: 25px;
    margin: 0 10px 10px 10px;
}

@media (max-width: 600px) {
    .decision-button-container {
        justify-content: space-evenly;
        margin: 0 20px 20px 20px;
    }
}

.home-button {
    text-decoration: none;
    color: #007bff; /* Bootstrap primary blue */
    font-size: 2rem;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.home-button:hover {
    background-color: #007bff;
    color: white;
}

#home-button-container {
    display: flex;
    justify-content: flex-start; /* Default to left-aligned */
    padding: 10px;
}

@media (max-width: 600px) {
    .home-button {
        width: 30px;
        height: 30px;
    }
    #home-button-container {
        justify-content: center; /* Center the button on smaller screens */
    }
}





/**
    ===============
   SUBMIT_SCORE_FORM2
    ===============
 */



/**
    ===============
        ADMIN
    ===============
 */

/**
    ===============
        ADMIN.base
    ===============
 */

.admin-base-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}


/**
    ===============
        ADMIN.navigation_bar
    ===============
 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1030;
}

.navbar-nav .nav-link {
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.navbar-nav .nav-link i {
    font-size: 20px;
}

.navbar-brand {
    font-size: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}





