﻿/* PAGE BACKGROUND */
/*body {
	background: #f4f7fb;
	font-family: Arial, Helvetica, sans-serif;
}*/

/* CARD */
/*.official-card {
	width: 100%;
	margin: 0;
	background: #ffffff;
	border-radius: 10px;
	box-shadow: 0 10px 30px rgba(0,0,0,0.08);
	overflow: hidden;
	box-sizing: border-box;
}*/

/*.rddiv {
	width: 100%;
	margin: 10px 0 0 0;
	padding: 5px;
	font-size: medium;
	border: 1px solid #295288;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	background-color: #ffffff;
	overflow: visible !important;*/ /* instead of hidden */
/*position: relative;
	z-index: 1;*/ /* optional, helps define stacking context */
/*overflow-x: auto;
	-webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1) inset;
	-moz-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1) inset;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1) inset;
}*/

.official-card {
	width: 100%;
	margin: 10px 0 0 0;
	padding: 5px;
	font-size: medium;
	border: 1px solid #295288;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 10px;
	background-color: #ffffff;
	overflow: visible !important;
	position: relative;
	z-index: 1;
	overflow-x: auto;
	-webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1) inset;
	-moz-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1) inset;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1) inset;
}

/* HEADER */
.card-header {
	background: #31576f;
	color: #fff;
	padding: 25px;
}

	.card-header h2 {
		margin: 0;
		font-size: 26px;
		font-weight: 600;
	}

/* BODY GRID */
.card-body {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 20px;
	padding: 15px;
}

/* FULL WIDTH */
.full {
	grid-column: 1 / -1;
}

/* FORM */
.form-group {
	display: flex;
	flex-direction: column;
}

/* INPUTS & DROPDOWNS */
.input-style,
.select-style {
	width: 100%;
	height: 52px;
	padding: 0 16px;
	border: 1px solid #d9e1ec;
	border-radius: 12px;
	background: #f9fbfd;
	font-size: 15px;
	color: #495057; /* SAME TEXT COLOR */

	transition: 0.3s;
	box-sizing: border-box;
}

	/* PLACEHOLDER */
	.input-style::placeholder {
		color: #6c757d;
		opacity: 1;
	}

/* DROPDOWN */
.select-style {
	width: 100%;
	height: 52px;
	padding: 0 45px 0 16px;
	border: 1px solid #d9e1ec;
	border-radius: 12px;
	background-color: #f9fbfd;
	font-size: 15px;
	color: #6c757d;
	box-sizing: border-box;
	cursor: pointer;
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='%236c757d' viewBox='0 0 16 16'%3E%3Cpath d='M1.5 5.5l6 6 6-6' stroke='%236c757d' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 16px center;
	background-size: 16px;
}

	.select-style:valid {
		color: #495057;
	}

	/* FOCUS */
	.input-style:focus,
	.select-style:focus {
		border-color: #31576f;
		background: #fff;
		outline: none;
		box-shadow: 0 0 0 4px rgba(49,87,111,0.12);
	}

/* PHOTO SECTION */
.photo-section {
	display: flex;
	align-items: center;
	gap: 25px;
	padding: 20px;
	border: 1px dashed #c8d3e0;
	border-radius: 16px;
	background: #f9fbfd;
}

.photo-preview img {
	width: 120px;
	height: 150px;
	border-radius: 16px;
	object-fit: cover;
	border: 4px solid #fff;
	box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.photo-previews img {
	width: 60px;
	height: 75px;
	border-radius: 8px;
	object-fit: cover;
	border: 4px solid #fff;
	box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}


/* PHOTO SECTION */
.photo-section {
	display: flex;
	align-items: flex-end;
	gap: 20px;
	padding: 20px;
	border: 1px dashed #d9e1ec;
	border-radius: 12px; /* SAME AS INPUTS */

	background: #f8fbff;
}

.photo-sections {
	display: flex;
	align-items: flex-end;
	gap: 20px;
	padding: 20px;
	border: 1px dashed #d9e1ec;
	border-radius: 12px; /* SAME AS INPUTS */
	height: 100px;

	background: #f8fbff;
}

/* IMAGE */
.photo-img {
	width: 140px;
	height: 140px;
	object-fit: cover;
	border-radius: 10px; /* SAME AS INPUTS */

	border: 4px solid #fff;
	box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

/* RIGHT SIDE */
.photo-upload {
	display: flex;
	align-items: flex-end;
	height: 140px; /* SAME AS IMAGE HEIGHT */
}

/* HIDDEN INPUT */
.hidden-upload {
	display: none;
}

/* BUTTON */
.upload-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 12px 22px;
	border-radius: 12px;
	background: #31576f;
	color: #fff;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	transition: 0.3s;
	box-shadow: 0 4px 12px rgba(49,87,111,0.25);
}

	/* HOVER */
	.upload-button:hover {
		background: #274657;
		transform: translateY(-2px);
		box-shadow: 0 8px 18px rgba(49,87,111,0.35);
	}

/* MOBILE */
@media screen and (max-width:768px) {

	.photo-section {
		flex-direction: column;
		align-items: center;
	}

	.photo-upload {
		height: auto;
		width: 100%;
		justify-content: center;
	}
}

/* MOBILE */
@media screen and (max-width:768px) {

	.photo-section {
		justify-content: center;
	}

	.photo-card {
		width: 100%;
		max-width: 280px;
	}
}

/* MOBILE */
@media screen and (max-width:768px) {

	.photo-section {
		flex-direction: column;
		text-align: center;
	}

	.photo-upload-area {
		align-items: center;
	}

	.upload-button {
		width: 100%;
		justify-content: center;
	}
}

/* TABLET */
@media screen and (max-width:992px) {

	.card-body {
		grid-template-columns: 1fr;
	}

	.photo-section {
		flex-direction: column;
		text-align: center;
	}

	.card-header h2 {
		font-size: 22px;
	}
}

/* MOBILE */
@media screen and (max-width:600px) {

	.official-card {
		/*margin: 10px;*/
		border-radius: 14px;
	}

	.card-body {
		padding: 15px;
		gap: 15px;
	}

	.input-style,
	.select-style {
		font-size: 14px;
		padding: 12px;
	}

	.card-header {
		padding: 18px;
	}

		.card-header h2 {
			font-size: 18px;
		}

	.photo-preview img {
		width: 120px;
		height: 150px;
	}

	.upload-btn {
		width: 100%;
		text-align: center;
	}
}

/* TWO FIELDS SAME ROW */
.double-field {
	grid-column: 1 / -1;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
}

/* MOBILE */
@media screen and (max-width:600px) {

	.double-field {
		grid-template-columns: 1fr;
		gap: 15px;
	}
}

/* THREE FIELDS SAME ROW */
.triple-field {
	grid-column: 1 / -1;
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	gap: 20px;
	align-items: stretch;
}

/* TABLET */
@media screen and (max-width:992px) {

	.triple-field {
		grid-template-columns: 1fr 1fr;
	}
}

/* MOBILE */
@media screen and (max-width:600px) {

	.triple-field {
		grid-template-columns: 1fr;
		gap: 15px;
	}
}

/* FOUR FIELDS SAME ROW */
.quad-field {
	grid-column: 1 / -1;
	display: grid;
	grid-template-columns: 1fr 1fr 1fr 1fr; /* 4 columns */
	gap: 20px;
	align-items: stretch;
}

/* TABLET */
@media screen and (max-width:992px) {

	.quad-field {
		grid-template-columns: 1fr 1fr;
	}
}

/* MOBILE */
@media screen and (max-width:600px) {

	.quad-field {
		grid-template-columns: 1fr;
		gap: 15px;
	}
}

/*Players*/

/* ==========================
   PLAYER REGISTRATION
   ========================== */

.PlrsCard {
	background: #ffffff;
	border: 1px solid #d8e1e8;
	border-radius: 6px;
	padding: 20px;
	box-shadow: 0 2px 8px rgba(0,0,0,.05);
}

.PlrsCardBody {
	display: grid;
	grid-template-columns: 1fr 300px;
	gap: 20px;
	align-items: start;
}

/* ==========================
   FORM LAYOUT
   ========================== */

.PlrsRow {
	display: grid;
	gap: 15px;
	margin-bottom: 15px;
}

.PlrsRow2 {
	grid-template-columns: 1fr 1fr;
}

.PlrsRow1 {
	grid-template-columns: 1fr;
}

.PlrsGroup {
	display: flex;
	flex-direction: column;
}

.PlrsLabel {
	margin-bottom: 5px;
	font-size: 13px;
	font-weight: 600;
	color: #444;
}

/* ==========================
   INPUTS
   ========================== */

.PlrsInput,
.PlrsSelect {
	width: 100%;
	height: 42px;
	padding: 0 12px;
	border: 1px solid #d8e1e8;
	border-radius: 6px;
	background: #fff;
	color: #555;
	font-size: 13px;
	box-sizing: border-box;
}

.PlrsSelect {
	appearance: auto;
	-webkit-appearance: auto;
	-moz-appearance: auto;
}

/* ==========================
   PHOTO SECTION
   ========================== */

.PlrsPhotoSection {
	background: #fafbfc;
	border: 1px solid #d8e1e8;
	border-radius: 6px;
	padding: 15px;
}

.PlrsPhotoPreview {
	border: 1px solid #d8e1e8;
	border-radius: 6px;
	overflow: hidden;
	background: #fff;
}

.PlrsPhotoImage {
	width: 100%;
	display: block;
}

.PlrsPhotoActions {
	margin-top: 10px;
	text-align: center;
}

.PlrsUploadBtn {
	width: 42px;
	height: 42px;
	padding: 6px;
	border-radius: 6px;
	background: #31576f;
}

.PlrsPhotoText {
	margin-top: 12px;
	text-align: center;
	color: #666;
	font-size: 13px;
	line-height: 1.5;
}

.PlrsPhotoIcons {
	margin-top: 10px;
	text-align: center;
}

/* ==========================
   RESPONSIVE
   ========================== */

@media (max-width: 992px) {

	.PlrsCardBody {
		grid-template-columns: 1fr;
	}

	.PlrsPhotoSection {
		order: -1;
	}
}

@media (max-width: 768px) {

	.PlrsRow2 {
		grid-template-columns: 1fr;
	}
}


/* ==========================
   TAGS
   ========================== */

.licenses-container {
	display: flex;
	gap: 10px; /* increase this value for more space */
}

/*.license-chip {
	display: inline-block;
	padding: 6px 10px;
	border-radius: 6px;
	font-size: 12px;*/
/*font-weight: bold;*/
/*color: #495057;
	white-space: nowrap;*/
/* Modern shadow */
/*box-shadow: 0 2px 6px rgba(0, 0, 0, 0.10);*/
/* Smooth hover */
/*transition: all .2s ease;
}*/
.license-chip {
	display: inline-block;
	padding: 6px 10px;
	border-radius: 6px;
	border: 1px solid rgba(0,0,0,.08);
	font-size: 12px;
	color: #495057;
	white-space: nowrap;
	box-shadow: 0 2px 4px rgba(0,0,0,.08);
	transition: all .2s ease
}

	.license-chip:hover {
		transform: translateY(-1px);
		box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
	}

/* Active */
.license-active {
	border-left: 4px solid #28a745;
	background: #eafaf0;
}

/* Expired */
.license-expired {
	border-left: 4px solid #dc3545;
	background: #fdecec;
}

/* Future */
.license-future {
	border-left: 4px solid #ffc107;
	background: #fff8e1;
}

.CardGroup {
	/*display: flex;*/
	/*flex-direction: column;*/
	height: 100%;
}

.CardChangeGame {
	/*	background: white;
	border: 1px solid red;
	transition: border-color 0.3s ease;
	border-radius: 8px;
	box-shadow: 0 4px 10px rgba(0,0,0,0.1);
	padding: 10px;
	width: 100%;
	height: 160px;
	position: relative;*/
	display: flex;
	padding: 10px;
	flex-direction: column;
	width: 100%;
	min-height: 160px; /* instead of fixed height */
	height: 100%;
	min-height: 160px;
	transition: all 0.45s ease-in-out;
	border: 1px solid red;
	border-radius: 8px;
	box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

	.CardChangeGame.red {
		background: #FFECEC;
		border-color: #FFB3B3;
	}

	.CardChangeGame.green {
		background: #ECFFEC;
		border-color: #004d00;
	}

	.CardChangeGame.yellow {
		background: #FFFBE6;
		border-color: #FFEFB3;
	}

	.CardChangeGame.blue {
		background: #ECF5FF;
		border-color: #B3D9FF;
	}

	.CardChangeGame:hover {
		border-color: #cc0000;  slightly darker red 
		box-shadow: 0 6px 14px rgba(0,0,0,0.15);
		transform: translateY(-3px);  subtle lift 
	}

	/*.CardChangeGame:hover {
		transform: scale(1.02);*/ /* very soft zoom */
		/*box-shadow: 0 10px 22px rgba(0,0,0,0.18);
		border-color: #b30000;
	}*/




.CardChangeGameHeader {
	border-bottom: 1px solid #e0e0e0;
	margin-bottom: 10px;
	padding-bottom: 10px;
	display: flex;
	justify-content: space-between;
	align-items: center;
}


.textCardStyle {
	width: 140px;
	height: 24px;
	padding: 4px 8px;
	border: 1px solid #d9e1ec;
	border-radius: 4px;
	background: #f9fbfd;
	font-size: 12px;
	color: #495057; /* SAME TEXT COLOR */

	transition: 0.3s;
	box-sizing: border-box;
}

.Cardddlist {
	width: 140px;
	height: 20px;
	padding: 0 45px 0 16px;
	border: 1px solid #d9e1ec;
	border-radius: 4px;
	background-color: #f9fbfd;
	font-size: 12px;
	/*color: #495057;*/ /* SAME TEXT COLOR */
	color: #808080;
	box-sizing: border-box;
	cursor: pointer;
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	transition: 0.3s;
	margin-top: 10px;
}

.decision-container {
	display: flex;
	justify-content: flex-end;
	padding-right: 20px;
	padding-top: 45px;
}


.line {
	border: 0;
	height: 0;
	border-top: 1px solid #d0d0d0; /* light gray */
	border-bottom: 1px solid #f8f8f8; /* very light gray */
	margin: 16px 0;
}
