html{
	font-family: Roboto, Sans-Serif;
	font-size: 0.9em;
	margin:0px !important;
	padding:0px !important;

}

body{
	font-family: Roboto, Sans-Serif;
	background: #333;
}

#content{
    background: #fff;
	padding-bottom:80px !important;
}

.header-container {
	padding:40px !important;
}

.custom-menu {
     height: 100%;
}

.logo-container, .logo-container a {
     height: 60px;
}


/* Container für das Login-Formular */
#login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: Arial, sans-serif;
    padding: 60px;
    box-sizing: border-box;
}

.plus-login-form {
    max-width: 760px;
    width: 100%;
    padding: 30px;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    display: grid;
    grid-template-columns: 1fr 1fr; /* Zwei gleich breite Spalten */
    gap: 20px;
    box-sizing: border-box;
    align-items: center;
}

.plus-login-form p {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    font-weight: bold;
    color: #333;
    font-size: 1em;
    width: 100%;
    margin: 0;
}

/* Eingabefelder */
.plus-login-form input[type="text"],
.plus-login-form input[type="password"] {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1em;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background-color: #f9f9f9;
    box-sizing: border-box;
}

.plus-login-form input[type="text"]:focus,
.plus-login-form input[type="password"]:focus {
    border-color: #6a89cc;
    box-shadow: 0 0 8px rgba(106, 137, 204, 0.2);
    outline: none;
}

/* Button in voller Breite und vertikal unten ausgerichtet */
.button {
    display: flex;
    align-items: flex-end; /* Button wird am unteren Rand ausgerichtet */
}

.plus-login-form input[type="submit"] {
    background-color: #6a89cc;
    color: #fff;
    font-weight: bold;
    padding: 12px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1em;
    width: 100%;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.plus-login-form input[type="submit"]:hover {
    background-color: #4a69bd;
    box-shadow: 0 4px 12px rgba(74, 105, 189, 0.3);
}

/* Logout-Link */
.plus-login-form a {
    color: #4a69bd;
    font-weight: bold;
    text-decoration: none;
}

.plus-login-form a:hover {
    text-decoration: underline;
}



/* Styling für die h1-Überschrift */
h1 {
    text-align: center;
    font-size: 2.5em;
    color: #333;
    font-weight: bold;
    position: relative;
}

/* Untere Linie unter der h1-Überschrift */
h1::after {
    content: "";
    display: block;
    width: 60px;
    height: 4px;
    background-color: #0073aa;
    margin: 10px auto 0;
    border-radius: 2px;
}

/* Filter-Options Styling */
.filter-options {
    margin: 20px 0;
    display: flex;
    justify-content: center;
}

#filter-form {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: Arial, sans-serif;
}

#filter-form label {
    font-weight: bold;
    font-size: 1em;
    color: #333;
    margin-right: 5px;
}

#filter-form input[type="date"],
#filter-form button {
    padding: 8px 12px;
    font-size: 1em;
    border: 1px solid #ccc;
    border-radius: 5px;
    outline: none;
    transition: all 0.3s ease;
    box-sizing: border-box;
	height: 100%;
}

#filter-form input[type="date"] {
    background-color: #f9f9f9;
}

#filter-form button {
    background-color: #0073aa;
    color: white;
    font-weight: bold;
    border: none;
    padding: 8px 16px;
    cursor: pointer;
}

#filter-form input[type="date"]:hover,
#filter-form input[type="date"]:focus,
#filter-form button:hover {
    border-color: #0073aa;
}

#filter-form button:hover {
    background-color: #005a87;
}

/* Container Styling */
/* Grundstil für die Liste und Container */
.list-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
}

.list-item {
    display: flex;
    padding: 15px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #f9f9f9;
    align-items: stretch;
    box-sizing: border-box;
    width: 100%;
}

/* Bild für list-item mit fester Breite */
.list-item-image {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px; /* Feste Breite */
    height: 50px;
    border-radius: 50%;
    background-color: #0073aa;
    color: white;
    font-size: 20px;
    margin-right: 10px; /* Kleinerer Abstand rechts */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}

.list-item-image svg {
    width: 24px;
    height: 24px;
}

/* Hauptinhalt mit flexiblen Spalten */
.list-item-content {
    display: grid;
    grid-template-columns: 25% 1fr auto; /* Feste Breite für die erste und dritte Spalte, flexibles Zentrum */
    gap: 10px;
    width: 100%;
    font-size: 1em;
    box-sizing: border-box;
}

/* Styling für Rechnungsnummer und Datum */
.list-item-id span,
.list-item-amount span {
    display: block;
    color: #666;
    font-size: 0.95em;
}

/* Betrag und Status */
.list-item-amount {
    display: flex;
    flex-direction: column;
}

.amount-status {
    display: flex;
    justify-content: space-between;
}

.amount,
.status {
    width: 48%;
}

.payment-period {
    color: #666;
    font-size: 0.9em;
}

/* Button in der dritten Spalte ausrichten */
.list-item-download {
    display: flex;
    align-items: stretch; /* Streckt den Button auf die volle Höhe der Spalte */
}

.list-item-download button {
	font-size: 0.9em;
    background-color: #0073aa;
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 5px;
    cursor: pointer;
    width: 100%; /* Passt die Breite des Buttons an den Container an */
    height: 100%; /* Nimmt die volle Höhe des Containers ein */
    text-align: center;
    transition: background-color 0.3s ease;
    box-sizing: border-box;
}

.list-item-download button:hover {
    background-color: #005a87;
}


/* Responsive styling */
@media (max-width: 600px) {
    .list-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .list-item-status {
        text-align: left;
        margin-top: 10px;
    }
}



/* Container für die Vertragsliste */
.contract-list-container {
	width: 100%;
}
.contract-list-title {
	font-size: 2.5em;
	margin-top: 30px;
	margin-bottom: 20px;
}

.contract-list {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	justify-content: flex-start; /* Links bündig ausrichten */
}

.contract-details h2, .contract-details h3 {
	font-size: 2.0em;
	margin-top: 30px;
	margin-bottom: 20px;
}

/* Einzelne Vertragskachel */
.contract-tile {
	background-color: #f9f9f9;
	border: 1px solid #ddd;
	border-radius: 8px;
	box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
	padding: 20px;
	width: calc(33.33% - 20px); /* Drei Kacheln pro Reihe */
	box-sizing: border-box;
	text-align: center;
	font-size: 1.1em;
	font-weight: bold;
	color: #333;
	position: relative;
	cursor: pointer;
	transition: transform 0.2s ease;
}
.contract-tile:hover {
	transform: scale(1.05);
}

/* Gesamte Kachel anklickbar machen */
.contract-tile a {
	color: inherit;
	text-decoration: none;
	display: block;
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 1;
	border-radius: 8px;
}

/* Allgemeine Stile für die Vertragsdetails */
.contract-details {
    margin: 20px auto;
    padding: 15px;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.contract-details h2 {
    text-align: center;
    font-size: 1.8em;
    color: #333;
    font-weight: bold;
    margin-bottom: 20px;
    position: relative;
}

/* Untere Linie unter der Überschrift */
.contract-details h2::after {
    content: "";
    display: block;
    width: 80px;
    height: 3px;
    background-color: #0073aa;
    margin: 10px auto 0;
    border-radius: 2px;
}

/* Tabellenstile */
.contract-details table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
    font-size: 0.95em;
}

.contract-details th,
.contract-details td {
    padding: 12px 15px;
    border: 1px solid #ddd;
    text-align: left;
}

.contract-details th {
    background-color: #0073aa;
    color: #fff;
    font-weight: bold;
    cursor: pointer;
}

.contract-details tr:nth-child(even) {
    background-color: #f4f6f8;
}

.contract-details td.price {
    text-align: right;
    font-weight: bold;
}

/* Hover- und Fokus-Effekte */
.contract-details th.sortable:hover {
    background-color: #005a87;
    color: #fff;
    text-decoration: underline;
}

/* Sortier-Links */
.contract-details th a {
    color: inherit;
    text-decoration: none;
    display: block;
}

/* Responsive Anpassungen */
@media (max-width: 600px) {
    .contract-details table,
    .contract-details th,
    .contract-details td {
        font-size: 0.85em;
    }

    .contract-details h2 {
        font-size: 1.5em;
    }
}




/* Pagination Styling */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin: 20px 0;
    font-family: Arial, sans-serif;
}

.pagination-button {
    font-size: 1em;
    font-weight: bold;
    color: white;
    background-color: #0073aa;
    padding: 10px 20px;
    margin: 0 5px;
    text-decoration: none;
    border-radius: 5px;
    border: none;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.pagination-button:hover {
    background-color: #005a87;
    color: #fff;
    transform: translateY(-2px);
}

.pagination-page {
    font-size: 1em;
    color: #333;
    font-weight: bold;
    padding: 5px 10px;
}

/* Responsive styling */
@media (max-width: 600px) {
    .list-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .list-item-status {
        text-align: left;
        margin-top: 10px;
    }
}

.no-documents-message {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 200px; /* Höhe anpassen, je nach Layout */
    color: #333;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1.2em;
    font-weight: bold;
    text-align: center;
    padding: 20px;
    margin: 20px auto;
    max-width: 600px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}









.create-content-button{
	padding: 20px 40px;
	background: #54595f;
	color: #fff;
	border-radius: 5px;
	text-decoration: none;
	display: inline-block;
	text-align: center;
	transition: all 0.5s;
}

.create-content-button:hover, .create-content-button:focus{
	background: #000;
    color: #fff;
}

@media(max-width: 767px){
	.create-ticket-button{
		display: block;
	}
}

.order-detail{
    margin-top: 40px;
}

#new-content{
    padding: 80px;
    border-radius: 5px;
    margin-top: 20px;
    border: solid #e1e1e1 1px;
    display: none;
}

#new-content h2{
    margin-bottom: 40px;
}

.form-field{
    margin-bottom: 20px;
    display: flex;
}

.form-field label{
    min-width: 120px;
    margin-right: 10px;
    font-size: 18px;
}

#new-content #create-content-btn{
    margin-left: 130px;
    background: var(--e-global-color-secondary);
    border-radius: 2px;
    padding: 20px 40px;
}

#new-content #create-content-btn:hover{
    background: #000;
}


.form-field input, .form-field textarea{
    flex-grow: 1;
    font-size: 20px;
    padding: 4px;
}


@media(max-width: 767px){
    #new-content{
        padding: 40px 20px;
    }
}

@media(max-width: 500px){
    .form-field{
        flex-wrap: wrap;
    }
    .form-field input{
        width: 100%;
    }
    
    #new-content #create-content-btn{
        margin-left: 0;
        width: 100%;
    }
}

/* Ticket Detail */
.ticket-id{
	font-size: 1.4em;
	margin-bottom: 4px;
}

.ticket-description, .ticket-comments{
    width: 100%;
}

.ticket-content{
	display: flex;
	flex-wrap: wrap;
	gap: 40px;
	margin-top: 40px;
}



.content-column{
	width: calc(50% - 20px);
	display: flex;
	flex-direction: column;
	gap: 10px;
}

@media(max-width: 767px){
   .ticket-content{
	gap: 10px;

} 
    .content-column{
width: calc(50% - 5px);
}
}

.ticket-item{
	padding: 20px;
	background: #d9d9d9;
	border-radius: 5px;
}



.footer-column h4 {
	padding: 0px;
	margin:0px;
}


/* Überlagerung für den Hintergrund */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.8); /* Transparenter weißer Hintergrund */
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999; /* Überlagert alle anderen Inhalte */
    visibility: hidden; /* Standardmäßig ausgeblendet */
}

/* Kreisförmige Animation */
.loading-spinner {
    border: 8px solid #f3f3f3;
    border-top: 8px solid #0073aa; /* Farbe passend zu den Buttons */
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 1s linear infinite;
}

/* Keyframes für die Drehbewegung */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

