/* Grundlayout */
body {
    font-family: Arial Narrow, sans-serif;
    background: #f4f6f8;
    margin: 0;
    padding: 0;
}

h2, h3 {
    margin-top: 0;
    color: #333;
}

.checkbox-label {
    display: inline-flex;       /* Align items horizontally */
    align-items: center;        /* Vertically center checkbox & text */
    gap: 3px;                   /* Space between checkbox and text */
    font-size: 12px;
	margin-right: 10px;
}

input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin: 0;                  /* Remove default browser spacing */
}

/* Container */
.header {
    width: 800px;
    margin: 20px auto;
	display: flex;
	flex-direction: column;
	align-items: center;
    background: white;
    padding: 25px 35px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.header img {
	width: 50%;
}

.header h2,
.header h3,
.header p {
    margin-top: 0;
    margin-bottom: 5px;
		text-align: center;
    color: #333;
}

.body-container,
.form-container {
    width: 800px;
    margin: 20px auto;
    background: white;
    padding: 10px 35px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.help-container {
    width: 800px;
    margin: 20px auto;
    background: white;
    padding: 10px 35px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.help-container p, ul, li {
    font-size: 14px;
}

.playercard {
	margin-bottom: 30px;
	padding: 10px;
	border-radius: 5px;
	box-shadow: 0 0px 2px rgba(0,0,255,0.5);
}

.groupcard {
	margin-top: 20px;
	padding: 10px;
	border-radius: 5px;
	box-shadow: 0 0px 2px rgba(0,0,255,0.5);
}

.playercard h3, h4, p {
	margin: 5px;
}

.hintbox {
	font-size: 13px;
	padding: 10px;
	margin-bottom: 20px;
	border-radius: 5px;
	box-shadow: 0 0px 10px rgba(0,0,255,0.1);
    background: rgb(125, 255, 147);
}

.infobox {
	font-size: 13px;
	padding: 10px;
	margin-bottom: 20px;
	border-radius: 5px;
	box-shadow: 0 0px 10px rgba(0,0,255,0.1);
    background: #fff069;
}

.contingent_ok {
    border-radius: 5px;
    padding-left: 5px;
    padding-right: 5px;
    background-color: #3c3;
}

.contingent_warning {
    border-radius: 5px;
    padding-left: 5px;
    padding-right: 5px;
    background-color: #fff069;
}

.contingent_out {
    border-radius: 5px;
    padding-left: 5px;
    padding-right: 5px;
    background-color: #f66;
}

.archerheader,
.groupcard_header {
    margin-bottom: 10px;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.progressstatus {
	display: flex;
    flex-direction: row-reverse;
}

.groupstatus > p {
	font-size: 10px;
	padding: 5px;
	border-radius: 5px;
	background-color: #ccffcc;
}

/* Eingabefelder */
label {
	display: inline-block;
	font-size: 14px;
}

.disabled {
    color:#999;
}

input[type="text"],
input[type="email"],
input[type="number"],
select {
    width: 100%;
    padding: 10px;
    margin: 8px 0 8px 0;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 15px;
	box-sizing: border-box;
}

.radio-option {
    display: flex;
    align-items: flex-start;
    margin-top: 15px;
}

.radio-option input[type="radio"] {
    margin-right: 10px;
    margin-top: 10px; /* optisch mittig zur ersten Textzeile */
}

.radio-option label {
    margin-top: 0px;
    display: inline-block;
    line-height: 1.3;
    cursor: pointer;
}

/* Buttons */

button {
	font-size: 12px;
}

.confirmregistration {
    display: flex;
	flex-direction: row-reverse;
    justify-content: space-between;
}

.confirmregistration button {
	width: 100%;
	background: #00a349;
    color: white;
    padding: 12px 18px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

.button-row {
    display: flex;
	flex-direction: row-reverse;
    justify-content: space-between;
    margin-top: 20px;
}

.button-row-single {
	margin-top: 20px;
    display: flex;
	flex-direction: row-reverse;
    justify-content: space-between;
}

.body-container button,
.button-row-single button {
	width: 100%;
	background: #0078d4;
    color: white;
    padding: 12px 18px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

.archerheader button,
.button-row button {
    background: #0078d4;
    color: white;
    padding: 12px 18px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

.deletegroup {
    float: right;
    background: #d43300;
    color: white;
    padding: 6px 9px;
    border: none;
    border-radius: 3px;
    cursor: pointer;
}

.signoff {
    float: right;
    background: #4ad5ff;
    color: white;
    padding: 6px 9px;
    border: none;
    border-radius: 3px;
    cursor: pointer;
}

button:hover {
    background: #005fa3;
}

/* Fehlermeldungen */
.error-box {
    background: #ffe5e5;
    border-left: 4px solid #d40000;
    padding: 10px 15px;
    margin-bottom: 20px;
    border-radius: 4px;
    color: #a00000;
}

/* --- Responsive Layout --- */

/* Tablets (max. 768px) */
@media (max-width: 768px) {
    .form-container,
		.help-container,
		.body-container,
		.header {
        width: 90%;
        padding: 20px;
    }

    button {
        width: 100%;
        padding: 14px;
        font-size: 17px;
    }
}

/* Smartphones (max. 480px) */
@media (max-width: 480px) {
    body {
        padding: 0;
    }

    .form-container,
		.help-container,
		.body-container,
		.header {
        width: 95%;
        margin: 20px auto;
        padding: 15px;
    }

    input[type="text"],
    input[type="email"],
    input[type="number"],
    select {
        font-size: 16px;
        padding: 12px;
    }

    button {
        font-size: 18px;
        padding: 16px;
    }

    h2 {
        font-size: 22px;
    }
}
