/* application dependent style sheet */

/* ======================================================================= kleuren etc. ==================================================*/
.red {color:red;}
.orange {color: orange;}
.blue {color:blue;}
.green {color:green;}
.gray {color:#DCDCDC;}

.background-red {background-color:red;}
.background-orange {background-color: orange;}
.background-yellow {background-color: yellow;}
.background-blue {background-color:blue;}
.background-green {background-color:green;}
.background-gray {background-color:#DCDCDC;}
.background-black {background-color:black;}

.bold {font-weight: bold;}
.italic {font-style: italic;}
.undeline {text-decoration: underline;}

.font10 {font-size: 10pt;}
.font12 {font-size: 12pt;}
.font14 {font-size: 14pt;}
.font16 {font-size: 16pt;}

.block {display: block;}
.none {display: none;}
.inline {display: inline;}
.inline-block {display: inline-block;}
.float-left {float: left;}

.blokje {
	display: inline-block;
	width:15px;
	height:15px;
	border : solid;
	border-width : 1px;
}

/* ============================= T-sheet ========================= */
.tsheet {
	width: 100%;
	table-layout: fixed;
	border-collapse: collapse;
}

.tsheet tr:nth-child(odd) {
	background-color: #e9e9e9;
}
.tsheet tr:nth-child(even) {
	background-color: #ffffff;
}

.tsheet th,
.tsheet td {
	overflow: hidden; /* Zorgt dat inhoud niet breekt bij te smalle cellen */
	white-space: nowrap; /* Voorkomt dat tekst wordt afgebroken */
}
.tsheet td {
	border: solid 1px;
}
.tsheet td:nth-child(n+3):nth-child(-n+6) {
	cursor: pointer;
}
.tsheet th {
	padding: 5px;
}

.tijd {
	font-weight: bold;
	text-align: right;
}

.handle {
	background-color: lightgray;
	border: solid 1px;
	cursor: pointer;
}

.lus1 {
	border: solid 1px;
	text-align: left;
}

.lus2 {
	border: solid 1px;
	font-size: 0.7rem;
	text-align: left;
}

.changeLus {
	cursor: pointer;
	font-size: 1.4rem;
	font-weight: bold;
}

.doorkomst {
	background-color: rgb(255, 255, 193) !important;
	color: red;
	border-color : black;
	font-style: italic;
}
.nietBetaald {
	border: solid 4px red !important;
}

.inhoud {
	border : none;
	display: flex;
	justify-content: space-between;
	width: 100%; /* Past zich aan de breedte van de container aan */
}

.present {
	width: 0.3cm;
	height: 0.3cm;
	border-radius: 50%;
	display: inline-block;
}
.prwit {background-color: white;}
.prrood {background-color: red;}
.prgroen {background-color: green;}
	
.day-selector {
    display: flex;
    flex-wrap: wrap;
    max-width: 180px;
    margin: 10px auto;
    gap: 5px;
}

.day-cell {
    width: 20px;
    height: 20px;
    text-align: center;
    line-height: 20px;
    border: 1px solid #ccc;
    border-radius: 3px;
    cursor: pointer;
    background-color: #f9f9f9;
    font-size: 11px;
}

.day-cell:hover {
    background-color: #e0e0e0;
    border-color: #888;
    color: #000;
}

#handleMenu {
  position: absolute;
  background: white;
  border: 1px solid #ccc;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
  padding: 10px;
  z-index: 1000;
}
.hidden {
  display: none;
}
#handleMenu .handleButton {
  display: block;
  margin: 2px 0;
  padding: 2px;
  width: 70px;
}

.blok {
	background-color: #FF6961;
}

#loading-indicator {
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	background: rgba(255, 255, 255, 0.8);
	padding: 20px;
	border: 1px solid #ccc;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
	text-align: center;
	z-index: 9999;
	font-family: Arial, sans-serif;
}

/* ====================================== reserveringsformulier =============================== */
form.resForm {
	background-color: transparent;
	padding: 0;
	width: fit-content;
	text-align: left;
}
.resForm .groep {
	display: flex;
	flex-wrap: wrap;
	gap: 10px; /* Ruimte tussen de boxen */
}
.resForm .speler {
	width: 320px;
	flex: 1 1 calc(50% - 10px); /* 50% breed minus de ruimte van de gap */
	box-sizing: border-box; /* Zorgt ervoor dat padding en border in de breedte worden meegenomen */
	padding: 20px;
	border: 1px solid #ccc;
}

.resForm .item {
	margin-bottom: 10px;
}
.resForm .inline {
	display: inline-block;
}

.resForm label {
	display: inline-block;
	width: 75px;
	text-align: right;
	margin-right: 10px;
	margin-bottom: 5px;
	padding-left: 5px;
	font-weight: bold;
	vertical-align: top;
}

.resForm input[type=text] {
	height: 1.5rem;
	width: 200px;
	padding: 3px;
}
.resForm textarea {
	width: 500px;
	margin: 5px 0px;
	padding: 5px;
}
.resForm input[type="date"] {
	width: 110px;
}
.resForm input[type="time"] {
	width: 75px;
}
.resForm input[type="daytime-local"] {
	width: 75px;
}
.resForm input[type="number"] {
	width: 100px;
	height: fit-content;
}
.resForm input[type="file"] {
	width: 380px;
}
.resForm input[type="radio"] {
	margin-right: 3px;
	margin-left: 5px;
}

.resForm input[readonly] {
	background-color: transparent;
	border: none;
	outline: none;
}
.resForm input[readonly]:focus {
border: none;
outline: none;
}

.resForm select {
	height: 1.5rem;
	outline: none;
}

.resForm select[disabled] {
	background-color: cadetblue;
	color: white;
	border: none;
	outline: none;
}

.resForm .error-message {
	color: #f44336;
	font-size: 14px;
	font-weight: bolder;
	margin-bottom: 10px;
}
.resForm .showHTML {
	padding: 10px;
	border: 1px solid red;
	background-color: #b5e5f5;
	width: fit-content;
	display: none;
}

/* GREENFEE SHOP */
.header {
	color: white;
	font-weight: 100;
	font-style: normal;
	text-align: center;
	flex-direction: column;

	background-size: cover;
	background-position: right 450px;
	height: 40vh;
	width: 100vw;
}

.main {
	width: 100vw !important;
	display: flex;
	justify-content: center;
	background-color: #ade18c !important;
}

.logo{
	max-height: 89px;
	margin-top:30px;
}

.title {
	font-size: 2rem;
	font-weight: bold;
	margin-top: -10px;
}

.info{
	margin: 10px 0px 30px 0px;
	display: flex;
	flex-direction: column;
}

.card {
	border : 1px solid;
	margin: 5px;
	padding: 10px 5px 15px 10px;
	background: white;
	width: 500px;
}


.betaal-knop {
	width: fit-content !important;
	background: linear-gradient(135deg, #9e9e9e, #757575);
	color: white;
	border: none;
	padding: 16px 32px;
	border-radius: 25px;
	font-size: 16px;
	font-weight: 600;
	box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
	cursor: not-allowed;
	transition: all 0.3s ease;
	opacity: 0.6;
}

/* Actieve versie */
.betaal-knop.actief {
	background: linear-gradient(135deg, #4CAF50, #45a049);
	color: white;
	box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
	opacity: 1;
	cursor: pointer;
}

.betaal-knop.actief:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.betaal-knop.actief:active {
	transform: translateY(0);
	box-shadow: 0 2px 10px rgba(76, 175, 80, 0.3);
}

/* Icon styling */
.betaal-knop::before {
	content: "💳";
	margin-right: 8px;
	font-size: 16px;
}

/* Prijs accent */
.betaal-prijs {
	font-weight: 700;
	margin-left: 2px;
}

.betaal-knop.actief .betaal-prijs {
	color: #e8f5e9;
}

@media only screen and (max-width: 768px) {
	.header {
	background-position: right 450px;
	height: 22vh !important;
	width: 100vw !important;
	}
	.info{
		width: 100vw !important;
	}
	.card {
		width: 90vw;
		margin: 5px 5px 5px 0px;
	}
}



