#popupalert {
    position: fixed;
    top: 270px;
    left: 120px;
    background-color: #FFF1D7;
    border: 3px solid red;
    display: none;
    width: 500px;
    padding: 10px;
    font-size: 12px;
    text-align: center;
    z-index: 21;
}

#background-login {
    background-color: #FFFFFF;
    position: fixed;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    z-index: 20;
    filter: alpha(opacity=40);
    -moz-opacity: 0.4;
    opacity: 0.4;
}

#fehlertext {
    font-size: 16px;
    font-weight: bold;
    color: red;
    display: block;
    padding: 10px;
}

#ladetext {
    font-size: 12px;
    font-weight: bold;
}

#loginwrapper {
    position: fixed;
    left: 250px; /* 326 px*/
    top: 100px;
    z-index: 21;
}

#login {
    border: 2px solid black;
    padding: 20px;
    width: 225px;
    background-color: #fff1d7;
}

#background {
    background-color: #000000;
    position: fixed;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    z-index: 20;
    filter: alpha(opacity=40);
    -moz-opacity: 0.4;
    opacity: 0.4;
}

#auftrags_liste {
    border: 2px solid #ffb400;
    padding: 10px;
    position: fixed;
    left: 10px;
    top: 30px;
    height: 85%;
    /*width:950px;*/
    width: 95%;
    overflow-x: auto;
    overflow-y: hidden;
    background-color: #fff1d7;
    z-index: 21;
}

#auftragstabelle tr.hover td {
    background-color: #FFB400;
}

#auftragstabelle tr.selected td {
    background-color: #FFB000;
}

#lieferschein {
    position: fixed;
    top: 0px;
    left: 750px;
    width: 250px;
    height: 90px;
    background-color: white;
    border: 2px solid #ffb400;
    padding: 5px;
    z-index: 22;
    text-align: center;
    display: none;
}

#lieferschein input.text {
    width: 60px;
}

#lieferschein div.lieferdatum {
    padding: 9px;
}

#lieferschein input {
    padding: 2px;
}

#kunden_liste {
    border: 2px solid #ffb400;
    padding: 10px;
    position: fixed;
    left: 10px;
    top: 30px;
    height: 260px;
    width: 690px;
    overflow: auto;
    background-color: #fff1d7;
    z-index: 21;
}

#preisberechnungsfenster {
    border: 2px solid #ffb400;
    padding: 10px;
    position: fixed;
    left: 10px;
    top: 30px;
    height: 800px;
    width: 690px;
    overflow: auto;
    background-color: #fff1d7;
    z-index: 21;
}

#upload_fenster {
    border: 2px solid #ffb400;
    padding: 10px;
    position: fixed;
    left: 10px;
    top: 30px;
    height: 500px;
    width: 690px;
    overflow: auto;
    background-color: #fff1d7;
    z-index: 21;
}

#benutzerdaten_fenster {
    border: 2px solid #ffb400;
    padding: 10px;
    position: fixed;
    left: 10px;
    top: 30px;
    height: 200px;
    width: 690px;
    overflow: auto;
    background-color: #fff1d7;
    z-index: 21;
}

#ueberschrift_kunden_liste {
    border: 2px solid #ffb400;
    border-bottom: 0px solid black;
    padding: 2px;
    position: fixed;
    left: 10px;
    top: 10px;
    height: 16px;
    width: 100px;
    overflow: none;
    background-color: #fff1d7;
    z-index: 22;
    text-align: center;
    font-weight: bold;
}

#ueberschrift_auftrags_liste {
    border: 2px solid #ffb400;
    border-bottom: 0px solid black;
    padding: 2px;
    position: fixed;
    left: 10px;
    top: 10px;
    height: 16px;
    width: 120px;
    overflow: none;
    background-color: #fff1d7;
    z-index: 22;
    text-align: center;
    font-weight: bold;
}

#ueberschrift_auftragsliste_xslx {
    border: 2px solid #ffb400;
    padding: 2px;
    position: fixed;
    left: 143px;
    top: 10px;
    height: 16px;
    width: 100px;
    overflow: none;
    background-color: #fff1d7;
    z-index: 21;
    text-align: center;
}

#ueberschrift_auftragsliste_speichern {
    border: 2px solid #ffb400;
    padding: 2px;
    position: fixed;
    left: 500px;
    top: 10px;
    height: 16px;
    width: 100px;
    overflow: none;
    background-color: #fff1d7;
    z-index: 21;
    text-align: center;
}

#ueberschrift_kunden_anlegen {
    border: 2px solid #ffb400;
    padding: 2px;
    position: fixed;
    left: 123px;
    top: 10px;
    height: 16px;
    width: 150px;
    overflow: none;
    background-color: #fff1d7;
    z-index: 21;
    text-align: center;
}

#ueberschrift_kunden_speichern {
    border: 2px solid #ffb400;
    padding: 2px;
    position: fixed;
    left: 123px;
    top: 10px;
    height: 16px;
    width: 120px;
    overflow: none;
    background-color: #fff1d7;
    z-index: 21;
    text-align: center;
}

#ueberschrift_kunden_abbrechen {
    border: 2px solid #ffb400;
    padding: 2px;
    position: fixed;
    left: 387px;
    top: 10px;
    height: 16px;
    width: 120px;
    overflow: none;
    background-color: #fff1d7;
    z-index: 21;
    text-align: center;
}

#ueberschrift_kunden_loeschen {
    border: 2px solid #ffb400;
    padding: 2px;
    position: fixed;
    left: 255px;
    top: 10px;
    height: 16px;
    width: 120px;
    overflow: none;
    background-color: #fff1d7;
    z-index: 21;
    text-align: center;
}

#schliessen {
    border: 2px solid #ffb400;
    padding: 2px;
    padding-right: 5px;
    position: fixed;
    left: 600px;
    top: 10px;
    height: 16px;
    width: 113px;
    overflow: none;
    background-color: #fff1d7;
    z-index: 21;
    text-align: right;
}

#schliessen_auftragsliste {
    border: 2px solid #ffb400;
    padding: 2px;
    padding-right: 5px;
    position: fixed;
    left: 860px;
    top: 10px;
    height: 16px;
    width: 113px;
    overflow: none;
    background-color: #fff1d7;
    z-index: 21;
    text-align: right;
}

#auftrags_liste {
    height: 100%;
    overflow-y: scroll;
    overflow-x: hidden;
}

#kundentabelle td,
#auftragstabelle td,
#tabelle_kunde_bearbeiten td,
#tabelle_benutzer_bearbeiten td,
#partnertabelle td,
#tabelle_partner_bearbeiten td {
    border: 1px solid #ffb400;
    padding: 3px;
}

#ueberschrift_auftraege_liste {
    border: 2px solid #ffb400;
    border-bottom: 0px solid #ffb400;
    padding: 2px 10px;
    position: fixed;
    left: 10px;
    top: 320px;
    height: 16px;
    overflow: none;
    background-color: #fff1d7;
    z-index: 22;
    text-align: center;
    font-weight: bold;
}

#auftraege_liste {
    border: 2px solid #ffb400;
    padding: 10px;
    position: fixed;
    left: 10px;
    top: 340px;
    height: 240px;
    width: 690px;
    overflow: auto;
    background-color: #fff1d7;
    z-index: 21;
}

#kunde_bearbeiten {
    border: 2px solid black;
    padding: 20px;
    position: fixed;
    left: 50px;
    top: 30px;
    background-color: #fff1d7;
    z-index: 21;
}

#header_auftragsdaten,
#header_ausfuehrung,
#header_produkt,
#header_ueberzug,
#header_gestaltung,
#header_spiegel,
#header_inhalt,
#header_ergaenzungen {
    background-color: #FFA500; /* Fallback for older browsers */
    background: linear-gradient(to bottom, #FFB400 0%, #FFA500 50%, #FF8C00 100%);
    color: white;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    border-radius: 8px 8px 0 0;
    border: 1px solid #E6940A;
    border-bottom: none;
    position: relative;
    display: flex;
    align-items: center;
}

.header-number {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 8px;
    font-size: 10px;
    font-weight: bold;
}

.ueberschrift {
    font-weight: bold;
}

body {
    margin: 6px;
    font-family: verdana;
    font-size: 11px;
}

div.seite {
    width: 100px;
}

table.tabelle {
    padding-top: 5px;
    margin: 0px;
    width: 100%;

}

div.auftragsdaten, div.produkt, div.ausfuehrung, div.ueberzug, div.gestaltung, div.spiegel, div.inhalt, div.ergaenzungen {
    width: 725px;
    margin-bottom: 10px;
    padding: 5px;
    border-bottom: 1px solid #ffb400;
    background: linear-gradient(to bottom, #fff5e5 0%, #fff1d7 100%);
    background-color: #fff1d7; /* Fallback for older browsers */
}


div.header {
    border-bottom: 1px solid white;
    width: 204px;
    height: 20px;
    padding-left: 5px;
    padding-top: 3px;
    padding-right: 3px;
    padding-bottom: 1px;
}


div.infolayer {
    color: white;
    position: fixed;
    left: 750px;
    top: 5px;
    width: 233px;
    font-size: 12px;
    background-color: #fff1d7;
    display: flex;
    flex-direction: column;
}

div.info_preise-grid {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0 4px;
    align-items: center;
}


/* New CSS button styling to replace GIF images */
.info_button {
    display: inline-block;
    background: linear-gradient(to bottom, #FFB400 0%, #FFA500 50%, #FF8C00 100%);
    background-color: #FFA500; /* Fallback for older browsers */
    color: white;
    font-weight: bold;
    font-size: 11px;
    text-decoration: none;
    border: 1px solid #E6940A;
    border-radius: 4px;
    padding: 3px 8px;
    margin-top: 4px;
    margin-bottom: 5px;
    cursor: pointer;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: all 0.2s ease;
    min-width: 120px;
    text-align: left;
    white-space: nowrap;
}

.info_button:hover {
    background: linear-gradient(to bottom, #FF8C00 0%, #FF7F00 50%, #FF6600 100%);
    background-color: #FF7F00; /* Fallback for older browsers */
    transform: translateY(-1px);
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.3);
}

.info_button:active {
    background: linear-gradient(to bottom, #FF6600 0%, #FF5500 50%, #FF4400 100%);
    background-color: #FF5500; /* Fallback for older browsers */
    transform: translateY(0);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* Ensure buttons work well in the sidebar context */
.info_buttons {
    display: block;
    width: 100%;
}

.info_buttons .info_button {
    display: block;
    width: calc(100% - 40px);
    margin-left: 20px;
}


input {
    font-size: 11px;
    /* width: 150px; */
    padding-left: 2px;
    border: 0px solid black;
}

input.zahl {
    border: 1px solid #ffb400;
    font-size: 11px;
    width: 30px;
    padding: 3px;
}

input.zahl2 {
    border: 1px solid #ffb400;
    font-size: 11px;
    width: 40px;
    padding: 3px;
}

select.zahl {
    border: 1px solid #ffb400;
    font-size: 11px;
    width: 35px;
    padding: 3px;
}

input.datum {
    border: 1px solid #ffb400;
    font-size: 11px;
    width: 60px;
    padding: 3px;
}

input.text {
    border: 1px solid #ffb400;
    font-size: 11px;
    width: 120px;
    padding: 3px;
}

select {
    font-size: 11px;
    /*width: 130px;*/
    border: 1px solid #ffb400;
    padding: 3px;
}

input.eingabefehler {
    border: 1px solid red;
}

select.eingabefehler {
    background-color: red;
    color: white;
}

textarea.text {
    border: 1px solid #ffb400;
    font-size: 11px;
    width: 125px;
    height: 60px;
}

td.background1 {
    background-color: #F2F5EC;
}

td.links {
    padding-left: 10px;
}

td.rechts {
    padding-right: 15px;
}

td.preis {
    text-align: right;
}

td.bereichskopf {
    background-color: #DDDDDD;
    border-bottom: 3px solid #DDDDDD;
    border-top: 3px solid #DDDDDD;
}

a.link, a, a.hover, a.visited, a.active {
    color: #000000;
    text-decoration: none;
}

div.info_ueberschrift {
    box-sizing: border-box;
    font-weight: bold;
    font-size: 13px;
    letter-spacing: 0px;
    background-color: #FFA500; /* Fallback for older browsers */
    color: white;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3);
    padding: 10px;
    width: 100%;
    margin: 0;
    border-radius: 8px 8px 0 0;
}

div.info_oben {
    background-color: #FFA500;
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 5px;
    color: white;
}

div.info_unten {
    padding-left: 10px;
    padding-right: 10px;
    padding-bottom: 10px;
    background: linear-gradient(to bottom, #fff5e5 0%, #fff1d7 100%);
    background-color: #fff1d7; /* Fallback for older browsers */
    flex-grow: 1;
    color: #333333;
}

div.info_abschluss {
    height: 12px;
    background: linear-gradient(to bottom, #fff5e5 0%, #fff1d7 100%);
    background-color: #fff1d7; /* Fallback for older browsers */
}

div.info_vorschau {
    padding-top: 3px;
    padding-bottom: 10px;
    text-align: center;
    margin-right: 15px;
    font-size: 9px;
}

div.info_ueberschriftkl, span.info_ueberschriftkl {
    color: white;
    font-size: 10px;
    padding-top: 4px;
    padding-bottom: 2px;
}

#HideSelect {
    z-index: 19;
    position: fixed;
    top: 0;
    left: 0;
    background-color: #fff;
    border: none;
    filter: alpha(opacity=0);
    -moz-opacity: 0;
    opacity: 0;
    height: 100%;
    width: 100%;
}

#div_1_1-LEINEN_FARBE_SONSTIGES,
#div_1_2-LEINEN_FARBE_SONSTIGES,
#div_3_4-LEINEN_FARBE_SONSTIGES,
#div_GESTALTUNG_DRUCK_SONSTIGES,
#div_UEBERZUG-LEINEN-FARBE_SONSTIGES {
    padding-top: 3px;
    display: none;
}

#div_1_1-LEINEN_FARBE_SONSTIGES input,
#div_1_2-LEINEN_FARBE_SONSTIGES input,
#div_3_4-LEINEN_FARBE_SONSTIGES input,
#div_SIEBDRUCK_SONSTIGES input,
#div_UEBERZUG-LEINEN-FARBE_SONSTIGES input {
    width: 150px;
}

div.logo_isn img {
    border: 0px solid white;
}

#seite div.logo_isn {
    width: 725px;
    vertical-align: right;
    padding-left: 625px;
}

div.spiegel table td {
    vertical-align: top;
}

div.spiegel .text {
    margin: 5px;
}

/* Hide U2 TASCHE sub-elements by default */
.u2-tasche-details {
    display: none;
}

/* Hide U2 SES sub-elements by default */
.u2-ses-details {
    display: none;
}

#loginwrapper div.logo_isn {
    padding-top: 10px;
    display: block;
    float: right;
}

#ajax-container,
#ajax-subcontainer {
    height: 1px;
}

.help-container {
    position: relative;
    display: inline-block;
    margin-left: 10px;
}

.help {
    font-size: 12px;
    font-family: "Courier New", Verdana, cursive;
    background: darkgrey;
    border-radius: 100%;
    color: white;
    display: inline-flex;
    height: 18px;
    width: 18px;
    cursor: help;
    vertical-align: bottom;
    justify-content: center;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.help-tooltip {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #333;
    color: #fff;
    text-align: left;
    padding: 10px 12px;
    border-radius: 6px;
    font-size: 13px;
    font-family: Arial, sans-serif;
    line-height: 1.4;
    white-space: normal;
    width: 280px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    pointer-events: none;
}

.help-tooltip::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 6px;
    border-style: solid;
    border-color: #333 transparent transparent transparent;
}

.help-container:hover .help-tooltip {
    visibility: visible;
    opacity: 1;
}
