@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;700&display=swap');

*, *:after, *:before {
	box-sizing: border-box;
}

body {
	font-family: "DM Sans", sans-serif;
	line-height: 1.5;
	background-color: #7d808a;
	padding: 0 0rem;
	background-image: url(img/bg.jpg);
	background-attachment: fixed;
}

h4{
    font-family: sans-serif;
}


img {
	max-width: 100%;
	display: block;
}


// iOS Reset 
input {
	appearance: none;
	border-radius: 0;
}

.title{
	text-align: center;
	margin-top: 20px;
}

.margin{
	margin-top: 40px; 
	margin-bottom: 40px;
}

.hldheight{
	min-height: 70px;
	padding:15px 0;
	border-bottom: 3px dotted #cecece;
}


.card {
	margin: 2rem auto;
	display: flex;
	flex-direction: column;
	width: 100%;
	max-width: 800px;
	background-color: #FFF;
	border-radius: 10px;
	box-shadow: 0 10px 20px 0 rgba(#999, .25);
	padding: .75rem;
}

.card-image {
	border-radius: 8px;
	overflow: hidden;
	padding-bottom: 30%;
	background-image: url('https://assets.codepen.io/285131/coffee_1.jpg');
	background-repeat: no-repeat;
	background-size: 150%;
	background-position: 0 5%;
	position: relative;
}


.card-image2 {
	border-radius: 8px;
	background-color: #434b5e;
	color: #fff;
	text-align: center;
	padding: 10px 5px 5px 5px;
	margin-bottom: 25px;
}


.card-heading {
	position: absolute;
	left: 10%;
	top: 15%;
	right: 10%;
	font-size: 1.75rem;
	font-weight: 700;
	color: #735400;
	line-height: 1.222;
	small {
		display: block;
		font-size: .75em;
		font-weight: 400;
		margin-top: .25em;
	}
}

.card-form {
	padding: 2rem 1rem 0;
}

.input {
	display: flex;
	flex-direction: column-reverse;
	position: relative;
	padding-top: 1rem;
	&+.input {
		margin-top: 1rem;
	}
}

.inputplayername {
	display: flex;
	flex-direction: column-reverse;
	position: relative;
	padding-top: 1.1rem;
	&+.input {
		margin-top: 1rem;
	}
}

.input-fieldplayername {
	background-color: transparent;
	border: 2px solid #ecdac2;
	padding: .25rem .30rem;
}


label {
    display: inline-block;
    margin-bottom: .5rem;
    padding: 0 5px;
}

.input-label {
	color: #414141;
	position: absolute;
	top: 1.5rem;
	transition: .25s ease;
	padding-bottom: 5px;
	pointer-events: none;
}

/* Float label when field has focus, value, or is invalid */
.input-label.label-float,
.input-field:focus + .input-label,
.input-field:not(:placeholder-shown) + .input-label,
.input-field.is-invalid + .input-label,
.input-field.is-valid + .input-label {
	color: #6658d3;
	transform: translateY(-1.8rem);
}

.input-field {
	border: 0;
	z-index: 1;
	background-color: transparent;
	border: 2px solid #ecdac2;
	font: inherit;
	font-size: 1.125rem;
	padding: .25rem 0;
}

.input-field:focus {
	outline: 0;
	border-color: #6658d3;
}

.input-field:focus + .input-label {
	color: #6658d3;
}

.action {
	margin-top: 2rem;
}

.action-button {
	font: inherit;
	font-size: 1.25rem;
	padding: 1em;
	width: 100%;
	font-weight: 500;
	background-color: #285891;
	border-radius: 6px;
	color: #FFF;
	border: 0;
	&:focus {
		outline: 0;
	}
}

.actionlater-button {
	font: inherit;
	font-size: 1.25rem;
	padding: 1em;
	width: 100%;
	font-weight: 500;
	background-color: #942926;
	border-radius: 6px;
	color: #FFF;
	border: 0;
	&:focus {
		outline: 0;
	}
}


.card-info {
	padding: 1rem 1rem;
	text-align: center;
	font-size: .875rem;
	background-color: red;
	color: #fff;
	a {
		display: block;
		color: #6658d3;
		text-decoration: none;
	}
}


.playerphoto{
	height: 80px;
	padding:5px;
	border-radius: 5px;
	box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* jQuery Validation Error Styles */
.invalid-feedback {
	display: block;
	color: #dc3545;
	font-size: 0.875rem;
	margin-top: 0.5rem;
	margin-bottom: 0.5rem;
	font-weight: 500;
	padding-left: 0.25rem;
}

.is-invalid {
	border-color: #dc3545 !important;
	background-color: #fff5f5;
}

.is-valid {
	border-color: #28a745 !important;
}

/* Ensure error appears after the input container */
.input + .invalid-feedback,
.inputplayername + .invalid-feedback {
	margin-top: 0.5rem;
	margin-bottom: 1rem;
}

/* Loading Spinner */
.spinner-border-sm {
	width: 1rem;
	height: 1rem;
	border-width: 0.15em;
}

/* Button Loading State */
button:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

/* Player Image Upload Styles */
.upload-photo-container {
	text-align: center;
}

.upload-btn-wrapper {
	position: relative;
	overflow: hidden;
	display: inline-block;
}

.upload-btn-wrapper input[type=file] {
	position: absolute;
	left: 0;
	top: 0;
	opacity: 0;
	width: 100%;
	height: 100%;
	cursor: pointer;
}

.upload-btn {
	border: 1px solid #6658d3;
	background-color: #6658d3;
	color: white;
	padding: 6px 12px;
	border-radius: 4px;
	font-size: 12px;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.3s ease;
}

.upload-btn:hover {
	background-color: #5547c2;
	border-color: #5547c2;
}

.upload-btn.btn-warning {
	background-color: #ffc107;
	border-color: #ffc107;
	color: #000;
}

.upload-btn.btn-warning:hover {
	background-color: #e0a800;
	border-color: #d39e00;
}

.upload-btn i {
	margin-right: 5px;
}

#preview_1, #preview_2, #preview_3, #preview_4, #preview_5, #preview_6 {
	max-width: 150px;
	margin: 0 auto;
}




@media screen and (max-width:766px){
    span.mobilehide{
        display: none !important;
        font-size:11px;
    }
}








