@font-face {
  font-family: 'Titillium Web';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/titillium-web-v6-latin-regular.ttf') format('truetype');
}

/* ============================= */
/* BASIS */
/* ============================= */

@font-face {
  font-family: 'Titillium Web';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/titillium-web-v6-latin-regular.ttf') format('truetype');
}

html, body {
	/*font-family: 'Inter', sans-serif;*/
	font-family: Titillium Web;
	font-size: 18px;
    margin: 0;
	padding: 0;
	height: 100%;
	background: linear-gradient(to bottom, #f8fafc, #eef2f7);
}

body {
    min-height: 100dvh;   
	display: flex;
    flex-direction: column;
}

/* ===================================================== */
/* DELETE TITLE LAYOUT */
/* ===================================================== */

html,
body{

	height:100%;
	margin:0;

}

body{

	min-height:100dvh;

	display:flex;
	flex-direction:column;

}

/* ===================================================== */
/* PAGE WRAPPER */
/* ===================================================== */

.page-wrapper{
	flex:1;
	display:flex;
	flex-direction:column;
    overflow-y:auto;
    overflow-x:hidden;
	min-height:0;
}

/* ===================================================== */
/* ARTICLE */
/* ===================================================== */

.scroll-article{
	flex:1;
	overflow-y:auto;
	min-height:0;
	padding-bottom:20px;
}

/* ============================= */
/* LAYOUT */
/* ============================= */

main {
    flex: 1;
	display: flex;
	flex-direction: column;	
	min-height: 0;
}

/*header {
	background: linear-gradient(to bottom, rgba(50,100,30,0.5), rgba(16,46,4,1));
	color: #fff;	
	width: 100%;
}*/

/* ============================= */
/* NAVBAR (BOOTSTRAP) */
/* ============================= */

.navbar {
    background: linear-gradient(to bottom, rgba(50,100,30,0.5), rgba(16,46,4,1));
    padding: 10px 15px;
}

.navbar-brand {
    font-size: 20px;
    color: white !important;
}

.nav-link {
    color: white !important;
    transition: 0.2s;
}

.nav-link:hover {
    color: yellow !important;
}

/* ============================= */
/* FOOTER */
/* ============================= */

footer {
	display: flex;
	flex-shrink:0;
	/*background: linear-gradient(to top, rgba(16,46,4,.5), rgba(50,100,30,1));*/
	background: linear-gradient(to bottom, rgba(50,100,30,0.5), rgba(16,46,4,1))!important;
	backdrop-filter: blur(10px);
	color: #fff;
	font-size: 16px;
	width: 100%;
	padding: 15px;	
    align-items: center;
    justify-content: space-between;
}

footer nav {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

footer nav a {
    color: white;
	text-decoration: none;
}

footer nav a:hover {
    color: yellow;
}

/* ============================= */
/* CONTENT */
/* ============================= */

article, #results {
	flex: 1;
	display: flex;
	flex-direction: column;
	min-height: 0;
	overflow: hidden;
}

#results {
	height:100%!important;
}

article iframe {
    flex: 1;
    width: 100%;
    border: none;
}

/* ============================= */
/* TYPO */
/* ============================= */

h2 {
	font-size: 24px;
	margin: 0 12px;
	color: rgba(0,0,0,0.5);
}

a {
    color: blue;
    text-decoration: none;
}

a:hover {
	color: #73886a;
}

/* ============================= */
/* CARD */
/* ============================= */

.card {
    background: rgba(255,255,255,0.8);
    overflow-y: auto;
	width: 100%;
    padding: 20px;	
	margin: 0 auto;
	border:none!important;
	border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.05);
}

.card-body-bordered{
    margin:.75rem;
    padding:1rem;
    border:1px solid #dee2e6;
    border-radius:.375rem;
    background:#fafafa;
}

.mob-card {
    border:none;
    box-shadow: 0 4px 12px rgba(0,0,0,.08);
}

.mob-card-title{
    font-weight:600;
}

/* ============================= */
/* FORM */
/* ============================= */

form {
	display: flex;
	flex-direction: column;
	width:100%!important;
	min-height: 100%!important;
	padding-top:20px;
	border:none!important;
}

.form-control {
	border:1px solid #ced4da;
    padding: 10px;
	width: 60%;
	margin: 2px 0;
}

.form-control:focus {
	background-color: #fff3cd!important;
    border-color: #16a34a!important;
	box-shadow: 0 0 0 0.2rem rgba(22,163,74,.25)!important;
}

.form-check-input {
    background-color: #fff3cd!important; /* gelb */
    border-color: #16a34a!important; /*grün */
    box-shadow: 0 0 0 0.2rem rgba(22,163,74,.25)!important;
}

/* Optional: auch wenn angehakt */
.form-check-input:checked {
    background-color: #333!important; /* kräftigeres gelb */
    border-color: #16a34a!important; /*grün */
}

.form-check-label {
    display: flex;
    align-items: center;
    gap: 5px;
}

.form-control.is-invalid,
.form-check-input.is-invalid {

    border-color: #dc3545 !important;

}

.form-control.is-invalid:focus,
.form-check-input.is-invalid:focus {

    border-color: #dc3545 !important;

    box-shadow:
        0 0 0 0.2rem rgba(220,53,69,.25) !important;

}

.btn{
    min-height:42px;
}

.filter-control{
	height:48px;
	padding-top:.375rem;
	padding-bottom:.375rem;
}

#mitglied .form-select  {
    background-color: #fff3cd!important; /* gelb */
    border-color: #16a34a!important; /*grün */
    box-shadow: 0 0 0 0.2rem rgba(22,163,74,.25)!important;
}



/* ============================= */
/* BUTTONS */
/* ============================= */

.btn-success {
    background: #16a34a;
    border: none;
    box-shadow: 0 4px 12px rgba(34,197,94,0.3);
}

.btn-success:hover {
	color: white;
    box-shadow: 0 6px 18px rgba(34,197,94,0.4);
}

/* ============================= */
/* BACKGROUND */
/* ============================= */

.background {

    background-image:
        linear-gradient(
            rgba(255,255,255,0.7),
            rgba(255,255,255,0.9)
        ),
        url(../images/background.png);

    background-repeat: no-repeat;

    background-size: cover;

    background-position: center;

}

/* ============================= */
/* INFO-ICON */
/* ============================= */

.info-icon {
    cursor: pointer;
    font-size: 16px;
    color: #6c757d; /* Bootstrap secondary */
    transition: 0.2s;
}

.info-icon:hover {
    color: #0d6efd; /* Bootstrap primary */
    transform: scale(1.1);
}

.bottom-buttons {
    flex-shrink: 0;
    padding: 15px;
    background-color:rgba(165,215,100,0.3);
    border-top: 1px solid #ddd;
}

.page-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.scroll-article {
    flex: 1;
    overflow-y: auto;
    min-height: 0;
}

.btn-modern{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    line-height:1;
}

.password-wrapper{
    display:flex;
    align-items:stretch;
    width:100%;
}

/* INPUT */
.password-wrapper .form-control{
    flex:1;
}

/* BUTTON */
.password-toggle{
    max-width:51px;
    min-width:51px;
    height:51px;
    padding:0;
    display:flex;
    align-items:center;
    justify-content:center;
    margin-left:8px;
}

/* ICON */
.password-toggle i{
    line-height:1;
    font-size:1.1rem;
}

.results-shift{
    margin-top:50px;
    transition:margin-top .6s ease;
}

/* ============================= */
/* MOBILE */
/* ============================= */

@media (max-width: 768px) {

    main {
        padding: 10px;
    }

    article {
        padding: 10px;
    }

    h2 {
        font-size: 20px;
    }
	
	.fs-3 {
		font-size:1.25rem!important;
	}

    /* NAV */
    .navbar-nav {
        text-align: center;
        margin-top: 10px;
    }

    .nav-link {
        padding: 8px;
    }

    /* FORM */
    .form-control {
        width: 100%;
    }

	 .modal-dialog {
        margin: 1rem auto;
        width: calc(100% - 2rem);
        max-width: 500px;
    }
	
	article{
		min-height: 100dvh;
	}
	
    .btn {
		align-items:center;
		justify-content:center;
        width: 100%;
		min-height:60px!important;
		font-size:1.5rem!important;	
		font-weight: bold;
    }
	
	.btn-modern{
        width:100%;
    }
	
	.card {
		height:auto !important;
	}
	
}