/*--------------------------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 */
}

/*
* 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;
    border-bottom: 1px solid var(--ldgroup-color-light) !important;
    background: var(--ldgroup-card-bg);
    border-radius: 15px;
    margin-bottom: 0 !important;
    padding-bottom: 0px !important;
}

/* Die Tabelle selbst */
.showData_table-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_table-container td, 
.showData_table-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: 5px;

}



/* 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_relations-section {
    text-transform: uppercase; 
    margin-top: 10px;
}
.showData_global-relations-scroll {
    scrollbar-width: thin;
    scrollbar-color: var(--ldgroup-color-light) transparent;
    background-color: var(--ldgroup-card-bg) !important; 
    border-radius: 15px !important;
    max-height: 250px; 
    padding: 10px;
    overflow-y: auto;
}
.showData_global-relations-scroll h1 {
    color: var(--ldgroup-orange) !important;
    font-size: 0.95em; 
    padding: 10px;
    margin: 0px;
    text-transform: uppercase; letter-spacing: 0.5px; 
}

.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_url-icons-row {
    margin-top: 10px;
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 10px;
    border-top: 1px solid var(--ldgroup-color-light) !important;
}


/*--------------------------Showdata end-----------------------------*/