/*--------------------------Showdata start-----------------------------*/
/*
 * ============================================================================
 * LINE DANCE CLUB - COUNTRY MEETS MODERN (STYLESHEET)
 * ============================================================================
 * 
 * @package     ldgroup
 * @module      Design / Styles
 * @component   showData
 * 
 * @description Styles fuer Showdata
 * 
 * @status      Refactoring
 * @open        Checken was notwednig und verwendung Namespace
 * @ticket      #90
 * @version     1.0.0
 * @created     2026-07-04
 * @last_change 2026-07-04
 * 
 * @export-to-schorsch
 * ============================================================================
 */
/** Ende LDC Header */
/* Entfernt die Scrolling-Eigenschaften vom Formular selbst */
#showData_form {
    width: 100%;
    display: block;
}

/* Der Button als auffälliger, runder Badge */
.showData_speaker-btn {
    background-color: #ffb74d !important;
    border: none !important;
    border-radius: 50% !important;
    width: 44px !important;
    height: 44px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    padding: 0 !important;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s ease;
    margin-left: auto; /* Schiebt ihn elegant nach rechts */
}

/* Hover-Effekt */
.showData_speaker-btn:hover {
    transform: scale(1.1);
    background-color: #ffd180 !important;
}

/* JETZT WICHTIG: Das SVG-Icon im Inneren groß skalieren und dunkel färben */
.showData_speaker-btn svg {
    width: 24px !important;
    height: 24px !important;
    margin: 0 !important; /* Entfernt eventuelle Abstände wie margin-right */
    filter: brightness(0.15) !important; /* Macht das Icon dunkel-anthrazit auf dem gelben Grund */
}

/* Der Haupt-Glascontainer für ShowData */
.showData_new_container {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 450px;
    padding: 10px 20px;
    margin: 0 auto; /* Zentrierung über margin */
    box-sizing: border-box;
    
    /* WICHTIG: Die Box passt sich an, wird aber im Layout gedeckelt */
    height: auto;
    max-height: 100% !important; 
    overflow: hidden;    
    
    background: var(--ldgroup-glass-bg);
    border-radius: var(--ldgroup-border-radius);
    border: var(--ldgroup-border);
    box-shadow: var(--ldgroup-shadow);
}
.showData_table-wrapper_V0 {
    flex-grow: 1;        /* Nimmt allen verfügbaren Platz ein */
    overflow-y: auto;    /* Hier wird vertikal gescrollt */
    overflow-x: auto;    /* Hier wird horizontal gescrollt */
    margin: 10px 0;
    scrollbar-width: thin;
}

/*
* NEUER CONTAINER FÜR DIE SCROLLENDE TABELLE
* Dies ist der wichtigste Teil, um das gewünschte Verhalten zu erreichen.
*/

/* Der Container für die Tabelle – das ist dein Ankerpunkt */
.showData_table-container {
    width: 100%;             /* Füllt die Box voll aus */
    max-width: 100%;         /* Kann nie breiter als die Box werden */
    overflow-x: auto;        /* Scrollbalken nur wenn nötig, NUR hier */
    -webkit-overflow-scrolling: touch; /* Flüssiges Scrollen am Handy */
    border-top: 1px solid var(--ldgroup-color-light) !important;
    background: var(--ldgroup-card-bg);
    border-radius: 15px;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

/* Die Tabelle selbst */
.showData_new_container table {
    width: 100%;             /* Nimmt den Platz im Container ein */
    table-layout: fixed;     /* Zwingt Spalten, nicht unendlich zu wachsen */
    border-collapse: collapse;
/*    background-color: var(--ldgroup-card-bg) !important; */
}

/* Zellen-Schutz: Text wird bei Bedarf abgeschnitten */
.showData_new_container td, 
.showData_new_container th {
  box-sizing: border-box;  /* Wichtig für korrektes Padding */
  overflow: hidden;
  text-overflow: clip;
  white-space: normal;
  box-sizing: border-box;
  text-align: left;
  padding: 8px;
  padding: 3px 5px 0 5px;
}

/* 3. Label-Anpassung für das neue Layout */
.showData_new_container label {
    margin-right: 15px; /* Abstand zwischen Label und Feld */
    color: var(--ldgroup-color-light);
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.8em;
    flex: 0 0 30%; /* Fixiert das Label auf ca. 30% Breite */
}

/* 4. Das Input-Feld soll den restlichen Platz einnehmen */
.showData_new_container td input {
    flex: 1;
}

/* Spinner bei Number-Inputs entfernen */
.showData_new_container input[type=number]::-webkit-inner-spin-button, 
.showData_new_container input[type=number]::-webkit-outer-spin-button { 
    -webkit-appearance: none !important; 
    margin: 0 !important;
}

.showData_new_container input[type=number] {
    -moz-appearance: textfield !important; /* Firefox */
}
/* Anpassungen an den Eingabefeldern */
.showData_new_container input[type="text"],
.showData_new_container input[type="url"],
.showData_new_container input[type="number"] {
    width: 100%;
    padding: 4px;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 4px;
    margin: 0;
}

.showData_readonly-input {
    /* Vorhandene Regeln */
    background-color: transparent !important; /* Ändere das #e9e9e9 zu transparent */
    cursor: not-allowed;
    
    /* NEUE Regeln zum "Unsichtbarmachen" der Box */
    border: none !important;                 /* Entfernt den Rahmen */
    color: white !important;                 /* Setzt die Textfarbe auf Weiß */
    padding: 0 !important;                   /* Entfernt den Innenabstand */
    box-shadow: none !important;             /* Stellt sicher, dass kein Schatten da ist */
    font-size: 1rem;                         /* Passt die Schriftgröße an */
    width: 100%;                             /* Füllt die Zelle voll aus */
}


/* Styles für die URL-Eingabegruppe */
.showData_input-group {
    display: flex;
    align-items: center;
}
.showData_input-group input {
    flex-grow: 1;
    margin-right: 5px;
}
.showData_input-group button {
    padding: 4px 8px;
    white-space: nowrap;
    cursor: pointer;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #e9e9e9;
}

/* Styles für den Tooltip */
.showData_tooltip-container {
    position: relative;
    display: inline-block;
    cursor: help;
}

.showData_tooltip-text {
    visibility: hidden;
    background-color: #555;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px 10px;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    margin-left: -75px;
    opacity: 0;
    transition: opacity 0.3s;
    width: 150px;
}

.showData_tooltip-text::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #555 transparent transparent transparent;
}
.showData_tooltip-container:hover .showData_tooltip-text {
    visibility: visible;
    opacity: 1;
}

/* Hier sind die Button-Styles korrigiert und vereinheitlicht */
.showData_button-container {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}
.showData_submit-button,
.showData_abort-button {
    padding: 4px 8px;
    border-radius: 5px;
    cursor: pointer;
    border: 1px solid #ccc;
    background-color: #f0f0f0;
    color: #333;
    text-decoration: none;
    display: inline-block;
}
.showData_submit-button:hover,
.showData_abort-button:hover {
    background-color: #e0e0e0;
}

.showData_submit-button {
    /* Spezifische Styles für den Absende-Button */
}
.showData_abort-button {
    /* Spezifische Styles für den Abbrechen-Button, falls nötig */
}

/* Andere Stile */
.showData_error {
    color: red;
    font-size: 0.9em;
    margin-top: 5px;
    display: block;
}
.showData_checkbox-group {
    display: flex;
    align-items: flex-end;
/*    gap: 5px; */
}
.showData_checkbox-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    height: 100%;
    position: relative;
}
.showData_checkbox-column input[type="checkbox"][title]:hover:after {
    content: attr(title);
    position: absolute;
    bottom: 150%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #555;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px 10px;
    z-index: 1;
    white-space: nowrap;
}
.showData_dblink-container {
    display: flex;
    align-items: center;
    gap: 10px;
}
.showData_dblink-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 200px;
    font-style: italic;
    color: #555;
}
.showData_dblink-input {
    width: 80px;
}
.showData_navigation-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
/*    padding: 0px; */
    flex-shrink: 0;      /* Verhindert, dass sie kleiner werden */
    padding: 0px 0px 10px 0px; /* Optional: Etwas Abstand nach unten */
}

.showData_navigation-id-input {
    width: 50px;
    text-align: center;
}
.showData_required-star {
    color: red;
}
.showData_empty-data-message {
    text-align: center;
}

.showData_url-icons-row_old {
    margin:24px auto 0px auto; 
    display:flex; 
    justify-content:center; 
    gap:24px;
}

.showData_url-icons-row {
    margin-top: 10px;
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 10px;
    background: var(--ldgroup-card-bg);
    border-radius: var(--ldgroup-border-radius);
    border-top: 1px solid var(--ldgroup-color-light) !important;
}

@media (max-width: 768px) {
    

}

/*--------------------------Showdata end-----------------------------*/