.webhook-table {
  width: 100%;              /* jetzt innerhalb Wrapper */
  border-collapse: collapse;
  font-size: 13px;
  border: 2px solid #2a2f3a;
}

.webhook-table th,
.webhook-table td {
  border: 1px solid #2a2f3a;   /* Zelllinien */
  padding: 8px 10px;
  vertical-align: top;
}

.webhook-table th {
  background: #e2700a;
  color: #ffffff;
  font-weight: 600;
  border-color: #c95f05;
}


.webhook-table tbody tr:hover {
  background: #e2700a;
  color: #ffffff;
}

.table-wrapper {
  width: 90%;
  margin-left: auto;
  margin-right: auto;
  margin-top: 20px;
}

.table-actions {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
}

/* =========================================================
   Button (Auto Reload)
   ========================================================= */

.reload-btn {
  display: inline-block;
  background: #e2700a;
  color: #ffffff;
  border: 1px solid #c95f05;
  padding: 6px 14px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 500;
  text-decoration: none;
  line-height: 1.4;
  transition: background 0.15s ease-in-out;

  min-width: 170px;              /* feste Mindestbreite */
  text-align: center;
  font-variant-numeric: tabular-nums; /* gleichbreite Ziffern */
}

.reload-btn:hover {
  background: #c95f05;
  text-decoration: none;
}

.reload-btn:active {
  background: #b55304;
}

.table-pre {
  margin: 0;
  white-space: pre-wrap;
  word-break: break-word;
  font-family: ui-monospace, monospace;
  font-size: 12px;
}

/* **************** */
@font-face {
	font-family: "Heebo";
	font-style: normal;
	font-weight: 400;
	src: local("Heebo"), local("Heebo-Regular"), url(/static/heebo.woff2) format("woff2");
}

 #screenWidthDisplay {
	position: fixed;
	top: 10px;
	right: 10px;
	background-color: #000;
	color: #fff;
	padding: 10px;
	border-radius: 5px;
	font-family: Arial, sans-serif;
	font-size: 16px;
	z-index: 999;
}

body {
	font-family: "Heebo", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
	margin: 0;
	padding: 0;
	background-color: #f4f4f4;
}

.header {
	background-color: #e2700a;
	color: white;
	padding: 20px;
	display: grid;
	grid-template-columns: 40% 60%;
	align-items: center;
	justify-content: center;
	text-align: center;
}

.header img {
	width: 250px;
	height: auto;
	margin-right: 20px;
	margin: 0 auto;
}

.header .text {
	margin: 0 auto;
}

.tab-container {
	width: 90%;
	margin: 0 auto;
}

.tabs {
	display: flex;
	cursor: pointer;
	justify-content: space-around;
	color: white;
	padding-top: 10px;
}

.tabs div {
	padding: 10px;
	text-align: center;
	flex: 1;
	border-radius: 10px 10px 0 0;
	background-color: #ccc;
}

.tabs div:hover {
	background-color: #efc7a5;
}

.tabs .active-tab:hover {
	background-color: #e2700a;
}

.tabs .active-tab {
	background-color: #e2700a;
	color: white;
}

.tab-content {
	display: none;
	padding: 20px;
	background-color: white;
	border: 1px solid #333;
	border-radius: 0 0 10px 10px;
}

.active {
	display: block;
}

.hidden {
	display: none;
}

.result, .error {
	width: 85%;
	margin: 1em auto 0 auto;
	padding: 20px;
	border-radius: 10px;
}

.error {
	background-color: #ffe0e0;
	border: 1px solid #d9534f;
}

.result {
	background-color: #e0ffe0;
	border: 1px solid #5cb85c;
	display: none;
}

.result.active {
	display: block;
}

.form-container {
	display: grid;
    grid-template-columns: 20% 3fr 1fr;
    gap: 10px;
    margin: 0 auto;
    padding: 20px;
    align-items: center;
    justify-items: stretch;
    align-content: stretch;
	column-gap: 15px;
    row-gap: 15px;
}

.form-container label {
	display: flex;
	align-items: center;
	grid-column-start: 1;
}

.form-container input[type="text"] {
	width: 97%;
	padding: 8px;
	border: 1px solid #ccc;
	border-radius: 5px;
	height: 2em;
}

.form-container input[type="password"] {
	width: 100%;
	padding: 8px;
	border: 1px solid #ccc;
	border-radius: 5px;
	height: 2em;
}

.form-container input[type="tel"] {
	width: 97%;
	padding: 8px;
	border: 1px solid #ccc;
	border-radius: 5px;
	height: 2em;
}

.form-container input[type="radio"] {
	margin-right: 5px;
	width: 1em;
}

.form-container input[type="checkbox"] {
	margin-right: 5px;
	width: 1em;
}

.form-container select {
    padding: 9pt;
    border-color: #e2700a;
    border-radius: 5px;
    /* border: 2px; */
    background-color: #ffffff;
    color: #e2700a;
	width: 15em;
}


.submit-button {
	grid-column: span 2;
	text-align: center;
}

.submit-button input {
	background-color: #e2700a;
	color: white;
	border: none;
	border-radius: 10px;
	padding: 10px;
	cursor: pointer;
	width: 50%;
	margin: 0 auto;
	cursor: pointer;
}

.submit-button input:hover {
	background-color: #efc7a5;
}

.button-container {
	display: flex;
	gap: 10px;
	padding-left: 20px;
	padding-bottom: 20px;
}

.activate-button button {
	padding: 5px 10px;
	background-color: #10e20a;
	color: white;
	. border: none;
	border-radius: 5px;
	cursor: pointer;
}

.activate-button button:hover {
	background-color: #a8efa5;
}

th {
	display: table-cell;
	vertical-align: inherit;
	font-weight: bold;
	text-align: left;
	unicode-bidi: isolate;
	padding-right: 1em;
}

h4 {
	color: #e2700a;
	margin: 0.5em 0 0.5em 0;
}


.table-container {
            width: 100%;
            max-width: 800px;
            margin: 20px auto;
            border-collapse: collapse;
        }

        /* Basic table styling */
        .table-container table {
            width: 100%;
            border-collapse: collapse;
        }

        .table-container th, .table-container td {
            padding: 10px;
            border: 0px;
            text-align: left;
        }

        .table-container th {
            background-color: #ccc;
            color: #000;
        }

        /* Alternating row colors */
        .table-container tr:nth-child(odd) {
            background-color: #efc7a5;
        }

        .table-container tr:nth-child(even) {
            background-color: #f9f1ea;
        }



 /* Styling für den Drag-and-Drop-Bereich */
        .drop-area {
            border: 2px dashed #efc7a5;
            border-radius: 10px;
            padding: 20px;
            text-align: center;
            color: #e2700a;
            font-size: 18px;
            margin: 20px 0;
			background: #f9f1ea;
        }
        .drop-area.dragover {
            color: #000000;
			background: #efc7a5;
        }
        .file-input {
            display: none;
        }
        .error {
            color: red;
        }



@media (max-width: 600px) {
	.header {
		display: flex;
		flex-wrap: wrap;
		flex-direction: column;
		align-items: flex-start;
	}

	.form-container {
		grid-template-columns: 1fr ;
		gap: 5px;
		padding: 10px;
	}
	.form-container select {

	width: 100%;
}


}

@media (max-width: 475px) {
	.tabs div {
	font-size: 75%;
        } 
       .tabs .active-tab {
                font-size: 100%;
        }


.header {
    padding: 10px;
}

	.header img {
		display: none;
	}
}

@media (max-width: 375px) {
	.tabs {
		flex-direction: column;
	}

	.tabs .active-tab {
		padding: 10px;
		font-size: 100%;
	}

	.tabs div {
		padding: 1px 10px 10px 1px;
		text-align: center;
		flex: 1;
		border-radius: 5px 5px 5px 5px;
		background-color: #ccc;
	}
	.header p {
		display: none;
	}

	.header h1 {
		font-size: 1.5em;
	}


}




.countdown {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 28px;
  padding: 0 10px;
  border-radius: 6px;
  border: 1px solid #2a2f3a;
  background: #13151a;
  color: #e8eaed;
  font-size: 12px;
  font-family: ui-monospace, monospace;
}
