* {
	box-sizing: border-box;
	overflow: hidden;
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    position: absolute;
    display: flex;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: white;
    background-image: url('./images/backgrounds/black-suits-light-grey-burst.jpg');
	background-size: cover;
	overflow: hidden; 
	align-items: center;
}

.hidden {
	display: none;
}

#boxContainer {
	display: flex;
	width: 100%;
	align-items: stretch;
	gap: 50px;
	height: 60%;
	justify-content: flex-start;
}

#headerDiv {
	width: 100%;
	text-align: center;
	font-size: 22px;
	margin: 0;
}

#playerBox.inSession #sessionBox {
	display: inline-block;
}

#sessionBox {
	display: none;
	width: 70%;
	text-align: center;
	font-size: 22px;
	position: absolute;
	margin-top: 60px;
	color: red;
}

#boxContainer p {
	font-size: 16px;
}

#gameBox {
	width: 230px;
	margin: 25px;
    justify-content: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	background-image: url('./images/backgrounds/controlBackground.png');
	background-size: cover;
	border-radius: 7px;
	overflow: hidden;
	box-shadow: 
		inset 2px 2px 4px rgba(0, 0, 0, 0.4),
		inset 4px 4px 7px rgba(0, 0, 0, 0.6),
		inset -2px -2px 4px rgba(255, 255, 255, 0.1),
		inset -4px -4px 7px rgba(255, 255, 255, 0.15),
		0px 7px 14px -3px rgba(0, 0, 0, 0.9);
}

#gameBox h3 {
	color: white;
	font: 19px;
	margin: 10px 0 0 0;
}

#moneyBox {
	height: 100%;
	width: 100px;
	padding: 10px;
	display: flex;
	flex-direction: column;
	text-align: center;
	align-items: center;
	justify-content: center;
	gap: 15px;
}

#moneyBox p {
	overflow: visible;
	border-radius: 40%;
	margin: 0;
	color: white;
	padding: 0 2px;
	background: rgba(0, 0, 0, 0.5);
	text-shadow: 
		1px 1px 2px black,
		-1px -1px 2px black,
		-1px 1px 2px black,
		1px -1px 2px black;
}

.chipDisplay {
	height: 100%;
	width: 100%;
	background-repeat: no-repeat;
	overflow: hidden;
	background-size: contain;
	background-position: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	user-select: none;
}

#tenDiv {
	background-image: url('./images/chips/blueChipFinal.png');
}

#fiveDiv {
	background-image: url('./images/chips/redChipFinal.png');
}

#oneDiv {
	background-image: url('./images/chips/blackChipFinal.png');
}

.backBorBox {
	background: #eee;
	border: 1px solid #ddd;
	box-shadow: 0 2px 2px rgba(0, 0, 0, 0.4);
	border-radius: 7px;
}

.gameSmall {
	text-align: center;
}

#playerBox {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 60%;
	margin: 25px;
	padding: 20px;
	border: none;
	background-image: url('./images/backgrounds/playerBackground.png');
	background-size: cover;
	overflow: hidden;
	box-shadow: 
		inset 4px 4px 7px rgba(0, 0, 0, 0.8),
		inset -3px -4px 7px rgba(255, 255, 255, 0.2),
		0px 7px 14px -3px rgba(0, 0, 0, 0.9);
}

#boxContainer .defaultPlayer .nickNameP {
	font-style: italic;
	color: #666;
	font-size: 17px;
	margin: 5px 0;
}
	
.defaultPlayer {
	text-align: center;
	padding-top: 0px;
	padding-left: 15px;
	padding-right: 15px;
	width: 220px;
	border-radius: 7px;
	cursor: pointer;
	user-select: none;
	background-size: cover;
	background-repeat: no-repeat;
	transition: background-color 0.6s ease, box-shadow 0.4s ease, transform 1s ease, opacity 0.6s ease;
	height: 300px;
	font-weight: bold;
	background-color: rgba(255, 255, 255, 0.8);
	box-shadow: 
		inset 0px -1px 0px rgba(255, 255, 255, 0.2),
		inset 0px -3px 0px rgba(0, 0, 0, 0.6),
		0px 3px 6px rgba(0, 0, 0, 0.7),
		0px 6px 12px rgba(0, 0, 0, 0.6);
}
	
.defaultPlayer.waiting {
	transition: background-color 0.6s ease 0.4s, transform 1s ease;
	background-color: rgba(255, 255, 255, 0.0);
	transform: scale(1.03);
}

#playerBox.inSession .defaultPlayer.waiting {
	transition: background-color 0.6s ease 0.4s, transform 1s ease;
	background-color: rgba(255, 255, 255, 1);
	transform: scale(1.03);
	box-shadow: 
		inset 0px -1px 0px rgba(255, 255, 255, 0.2),
		inset 0px -3px 0px rgba(0, 0, 0, 0.6),
		0px 3px 6px rgba(0, 0, 0, 0.7),
		0px 6px 12px rgba(0, 0, 0, 0.6);
}

.defaultPlayer h3 {
	padding-bottom: 5px;
	border-bottom: 2px solid #777;
	font-size: 19px;
	margin-bottom: 0;
}

.defaultPlayer h3, .defaultPlayer p {
	opacity: 1;
	transition: opacity 0.6s ease 0.4s;
}

.defaultPlayer.waiting h3, .defaultPlayer.waiting p {
	opacity: 0;
	transition: opacity 0.6s ease;
}

.defaultPlayer .background-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    opacity: 0;
    transition: filter 1s ease, opacity 0.6s ease;
	border-radius: 7px;
}


#playerBox.inSession .defaultPlayer.waiting .background-video {
	transition: background-color 0.6s ease, opacity 0.6s ease 0.4s, transform 1.1s ease;
    opacity: 1;
}

#playerBox.inSession .defaultPlayer.waiting h3, 
#playerBox.inSession .defaultPlayer.waiting p {
    opacity: 0;
    transition: opacity 0.6s ease;
}

#players-container {
	display: flex;
	flex-wrap: wrap;
	max-width: 1100px;
	justify-content: center;
	margin: auto;
	gap: 30px;
	height: 100%;
	align-items: center;
}

.isReady {
	color: green;
	opacity: 0;
	margin-top: 80px;
	transition: opacity 0.6s ease;
}

#playerBox.inSession .isReady {
	opacity: 0;
}

.defaultPlayer.waiting .isReady {
	color: green;
	transition: opacity 0.6s ease 0.4s;
	opacity: 1;
}

.chipInputs {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 15px;
	font-size: 16px;
	justify-content: space-between;
}

.chipInputs label {
	font-size: 16px;
	margin-left: auto;
	display: inline-block;
}

.chipInputs div {
	display: flex;
	align-items: center;
}

.chipInputs input {
	width: 50px;
	font-size: 16px;
	padding: 4px;
	border-radius: 5px;
	margin-left: auto;
	display: inline-block;
	outline: none;
}

#game-players-container {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 5px;
}

#game-players-container div {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 5px;
}

#game-players-container button {
	padding: 10px 20px;
	border-radius: 5px;
	cursor: pointer;
	margin: 10px;
	color: #222;
	font-size: 16px;
	min-width: 130px;
}

#game-players-container button:disabled {
	background: rgb(170, 170, 170);
	color: #666;
	cursor: not-allowed;
}

.bottomHalf {
	display: flex;
	justify-content: center;
	gap: 10px;
	margin-bottom: 15px;
}

.chipTotals {
	display: flex;
	flex-direction: column;
	align-items: center;
	font-size: 16px;
	font-weight: 400;
	justify-content: space-between;
}

.chipTotals p {
	margin: 0;
}

.chipTotals div p span {
	width: 100%;
}

#tenDivP.negChips, #fiveDivP.negChips, #oneDivP.negChips {
	color: red;
}

#moneyBox #moneyBox #tenDivP, #moneyBox #fiveDivP, #moneyBox #oneDivP, #moneyBox #tenDivText, #moneyBox #fiveDivText, #moneyBox #oneDivText {
	font-size: 18px;
}

button:hover {
	background: rgb(200, 200, 200);
}

button {
	transition: background .2s ease;
}

#passwordCheckOuter {
	display: none;
	position: fixed;
	height: 100%;
	width: 100%;
	top: 0;
	left: 0;
	background: rgba(0, 0, 0, 0.5);
	z-index: 10;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	gap: 20px;
}

#passwordCheckOuter.show {
	display: flex;
}

#passwordCheck.show, #passwordChange.show {
	display: flex;
	overflow: hidden;
	position: relative;
}

#passwordCheckOuter button {
	padding: 10px 20px;
	border-radius: 5px;
	cursor: pointer;
	margin: 10px;
	color: #222;
	background: #eee;
	font-size: 16px;
	min-width: 130px;
}

#passwordCheckOuter button:hover {
	background: #ddd;
}

#passwordCheckOuter button:disabled {
	background: #ccc;
}

#passwordCheck, #passwordChange {
	width: 30%;
	height: 70%;
	background: url('./images/backgrounds/quadLogo.svg') no-repeat center / contain, #bbb;
	background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
	background-blend-mode: overlay;
	font-size: 18px;
	display: none;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	border-radius: 7px;
	font-weight: bold;
	gap: 15px;
	box-shadow: 
		inset 0px -1px 0px rgba(255, 255, 255, 0.2),
		inset 0px -3px 0px rgba(0, 0, 0, 0.6),
		0px 3px 6px rgba(0, 0, 0, 0.7),
		0px 6px 12px rgba(0, 0, 0, 0.6);
	text-shadow: 
		1px 1px 1px white,
		-1px -1px 1px white,
		-1px 1px 1px white,
		1px -1px 1px white,
		2px 2px 1px white,
		-2px -2px 1px white,
		-2px 2px 1px white,
		2px -2px 1px white;
}

#passwordCheckOuter input {
	font-size: 18px;
	padding: 5px;
	border-radius: 5px;
	outline: none;
	box-shadow: 0px 2px 6px -1px rgba(0, 0, 0, 0.8);
	transition: box-shadow 0.2s ease;
}

#passwordCheckOuter input:focus {
	box-shadow: 0px 4px 8px -2px rgba(0, 0, 0, 0.9);
}

#hideDiv {
	position: static;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: url('./images/backgrounds/quadLogo.svg') no-repeat center / contain, #bbb;
	background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

#passwordMessage {
	background: #ddd;
	font-size: 18px;
	box-shadow: 
		inset 0px -1px 0px rgba(255, 255, 255, 0.2),
		inset 0px -3px 0px rgba(0, 0, 0, 0.6),
		0px 3px 6px rgba(0, 0, 0, 0.7),
		0px 6px 12px rgba(0, 0, 0, 0.6);
	border-radius: 7px;
	padding: 20px 30px;
}

#passwordCheck div, #passwordChange div {
	display: flex;
	gap: 10px;
	align-items: center;
	width: 100%;
	justify-content: center;
	flex-direction: column;
	margin-bottom: 25px;
	overflow: visible;
}

#passwordCheck .passwordBtnDiv, #passwordChange .passwordBtnDiv {
	display: flex;
	gap: 10px;
	align-items: center;
	width: 100%;
	justify-content: center;
	flex-direction: row;
}

#passwordCheckOuter label {
	overflow: visible;
}

.outer-container {
	display: flex;
	justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
	left: 100%;
	transform: translateX(-100%);
    width: 120px;
    height: 120px;
	background: radial-gradient(
        ellipse at center,
        rgba(255, 255, 255, .8) 0%,  		
        rgba(255, 255, 255, 0) 65%
    );
}

#rotatingLogo {
    width: 110px;
    height: 110px;
    background: url('./images/backgrounds/forExport.svg') no-repeat center / contain;
    animation: rotateY 3s linear infinite;
}

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



/* Recessed Container 
.recessed-container {
    width: 150px;
    height: 150px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative; 
    perspective: 200px;
	margin: 0;
	padding: 0;
	overflow: visible;
	background: #e0e0e0;
	border-radius: 50%;
}


.recessed-area {
    width: 95%;
    height: 95%;
    border-radius: 50%;
    background: radial-gradient(
        ellipse at center,
        rgba(0, 0, 0, 0.6) 0%, 
        rgba(0, 0, 0, 0.2) 50%, 
        rgba(255, 255, 255, 0) 100%
    );
    box-shadow: inset 0 20px 40px rgba(0, 0, 0, 0.6),
                inset 0 -10px 20px rgba(255, 255, 255, 0.2),
				0 -3px 7px rgba(0, 0, 0, 0.5),
				0 0 15px rgba(0, 0, 0, 0.3);
    transform: translateZ(-20px);
		margin: 0;
	padding: 0;
	overflow: visible;
}
*/