*, *:before, *:after {
  box-sizing: border-box;
}

html {
   overflow-y: hidden; 
}

body {
	margin: 0;
	padding: 0;
	min-height: 100vh;
	font-family: 'Roboto', sans-serif;
}

img {
    display: block;           
    margin: 100px auto 0px auto;      
    width: 350px;             
}


.webapp-container {
    position: relative;
    top: 30px; 
}

.exitApp {
  margin-top: -18px;
  text-align: right;
}

.background-overlay {
	/* position: absolute; */
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: #ffffff;
	z-index: -1;
}

.titlebarWebiCredit{
  background: #444444; 
  padding-top: 10px;
  padding-right: 30px;
  padding-bottom: 30px;
  padding-left: 10px;
  max-width: 600px;
  /* margin-top: 40px; */
  margin-right: auto;
  margin-bottom: 0px;
  margin-left: auto;
  height: 10px; 
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
  border-bottom-right-radius: 0px;
  border-bottom-left-radius: 0px;
  box-shadow: 0 4px 10px 4px rgba(19, 35, 47, 0.3);
	
}

.formMainPage {
  background: #F5F5DC; 
  padding: 40px;
  max-width: 600px;
  margin-top: 0px;
  margin-right: auto;
  margin-bottom: 40px;
  margin-left: auto;
  height: auto; 
  border-top-left-radius: 0px;
  border-top-right-radius: 0px;
  border-bottom-right-radius: 4px;
  border-bottom-left-radius: 4px;
  box-shadow: 0 4px 10px 4px rgba(19, 35, 47, 0.3);

  display: flex;
  flex-direction: column;
  min-height: 100%; /* damit es wächst */
}

.formAdminPage {
  background: #F5F5DC; 
  padding: 30px;
  max-width: 1000px;
  margin-top: 0px;
  margin-right: auto;
  margin-bottom: 40px;
  margin-left: auto;
  height: auto; 
  border-top-left-radius: 0px;
  border-top-right-radius: 0px;
  border-bottom-right-radius: 4px;
  border-bottom-left-radius: 4px;
  box-shadow: 0 4px 10px 4px rgba(19, 35, 47, 0.3);

  display: flex;
  flex-direction: column;
  min-height: 100%; /* damit es wächst */
}

.formUserPage {
  background: #F5F5DC; 
  padding: 30px;
  max-width: 1000px;
  margin-top: 0px;
  margin-right: auto;
  margin-bottom: 40px;
  margin-left: auto;
  height: auto; 
  border-top-left-radius: 0px;
  border-top-right-radius: 0px;
  border-bottom-right-radius: 4px;
  border-bottom-left-radius: 4px;
  box-shadow: 0 4px 10px 4px rgba(19, 35, 47, 0.3);

  display: flex;
  flex-direction: column;
  min-height: 100%; /* damit es wächst */
}

.powered-by {
  margin-top: auto; /* schiebt den Text ans untere Ende */
  text-align: right;
  font-size: 0.8em;
}

.field-wrap {	
  position: relative;
  margin-bottom: 6px;  
}

.button {
  border: 0;
  outline: none;
  border-radius: 0;
  padding: 5px 0;
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;

  background: #383838;
  color: #ffffff;
  transition: all 0.5s ease;
  -webkit-appearance: none;
  
  cursor: pointer;
}
.button:hover, .button:focus {
  background: #9d9d9d; 
}

.button-block {
  display: block;
  width: 100%;
}

 /* Buttons */
.btn-primary {
    background: #383838;
    color: white;
    padding: 10px;
    border: none;
    border-radius: 5px;
    font-size: 14px;
    cursor: pointer;
}

.btn-primary:hover {
    background: #9d9d9d;
}

.btn-secondary {
    background: #383838;
    color: white;
    padding: 10px;
    border: none;
    border-radius: 5px;
    font-size: 14px;
    cursor: pointer;
}

.btn-secondary:hover {
    background: #9d9d9d;
}

.btn-pdfupload {
	background: #383838;
    color: white;
    padding: 7px;
    border: none;
    border-radius: 5px;
    font-size: 14px;
    cursor: pointer;
}

.btn-pdfupload:hover {
	background: #9d9d9d;	
}

/* .listBtn{
	display: inline-block;
	background-color: #f0f0f0; /* leicht grauer Hintergrund */
	color: #000;              /* Textfarbe schwarz */
	padding: 10px 20px;       /* innenabstand für Button-Look */
	border-radius: 8px;       /* abgerundete Ecken */
	text-decoration: none;    /* keine Unterstreichung */
	font-weight: 600;         /* etwas fetter Text */
	transition: background-color 0.3s ease;
} */

/* Zugangsdaten Box */
.credentials-box {
    margin-top: 10px;
    background: #f8f9fa;
    padding: 10px;
    border-radius: 5px;
    font-size: 14px;
    border: 1px solid #ddd;
}

.download-btn {
	color: #DA280E;
	padding: 5px 10px;
	text-decoration: none;
	border-radius: 4px;
}

.delete-btn {
	color: #DA280E;
	padding: 5px 10px;
	border: none;
	border-radius: 4px;
	cursor: pointer;
}

/* Kartenlayout */
.card {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Trenner */
.divider {
    height: 2px;
    background: linear-gradient(to right, #ddd, #eee, #ddd);
}


input:focus, textarea:focus {
  outline: 0;
  border-color: #ff8c26; 
}

textarea {
  border: 2px solid #a0b3b0;
  resize: vertical;
}

div#login input#loginUser, input#customerName ,textarea {
  font-size: 15px;
  display: block;
  width: 100%;
  height: 100%;
  padding: 5px 10px;
  background: none;
  background-image: none;
  border: 1px solid #a0b3b0;
  color: #363535;/*#ffffff;*/
  border-radius: 0;
  transition: border-color .25s ease, box-shadow .25s ease;
}


div#login input#loginPwd, textarea {
  font-size: 15px;
  display: block;
  width: 100%;
  height: 100%;
  padding: 5px 10px;
  background: none;
  background-image: none;
  border: 1px solid #a0b3b0;
  color: #363535;/*#ffffff;*/
  border-radius: 0;
  transition: border-color .25s ease, box-shadow .25s ease;
}

div#uploadFilePage, div#deliveryPage {
	overflow-y: auto;
	height: 400px;
	
	/*background style*/
	background-color: white;
	padding-top: 0px;
    padding-right: 0px;
    padding-bottom: 20px;
    padding-left: 0px;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
	max-width: 1000px;
	width: 100%;	
}

div#customerPage {
	overflow-y: auto;
	height: 500px;
	
	/*background style*/
	background-color: white;
	padding-top: 0px;
    padding-right: 0px;
    padding-bottom: 20px;
    padding-left: 0px;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
	max-width: 1000px;
	width: 100%;	
}


#dynamicSelect, #dynamicSelectCust {
	min-height: 33px;
    border-radius: 5px; 
    border: 1px solid #ccc; 
    padding: 5px; 
}

#uploadFilePArea{
	padding-top: 10px; 
	padding-bottom: 10px;
	display: flex; 
	align-items: center; 
	justify-content: center; 
	gap: 10px;
	background: #d6d6d6;
}

h3 {
  text-align: center;
  color: #363535; /*#ffffff;*/
  font-weight: 300;
  margin: 0 0 20px;
}

a {
  text-decoration: none;
  color: #DA280E;
  transition: .5s ease;
}
a:hover {
  color: #914f14; /*#179b77;*/
}

table {
  border-collapse: collapse;
  width: 100%;
}

th {	
  position: sticky; 
  top: 0; 
  padding: 8px;
  text-align: center;
  border-bottom: 1px solid #ddd;
  background-color: #13232fe6;
  color: #ffffff; 
  cursor: default;
}

tr {
  padding: 8px;
  text-align: center;
  border-bottom: 1px solid #ddd;
  background: white;
}

td {	
  padding: 8px;
  text-align: center;
  border-bottom: 1px solid #ddd;
  color: #363535; /*white;*/
  cursor: pointer;
}

label {
    font-weight: bold;
}