/* INPLAYTRACKER ILLU */
.inplaytracker {
 max-width: 1290px;
 width:100%;
  margin: 0 auto 30px;
box-sizing: border-box;
  background-color: var(--color-background-opac);
  background-blend-mode: overlay;
  background-attachment: fixed;
  background-image: var(--accent-bg);
  position: relative;
}



.inplaytracker-inner {
	isolation: isolate;
	font-family:var(--main-font2);
	color:var(--main-color3);
}

/* General container styling */
.inplaytracker-inner-wrapper {
    width: 100%;
    padding: 40px;
}

/* Title styling */
.inplaytracker-inner-title {
font-family: var(--display-font);
  color: var(--color-main);
  text-transform: uppercase;
  font-size: 35px;
  letter-spacing: 4px;
  border-bottom: 1px solid var(--color-opac-border);
  padding-bottom: 20px;
  margin-bottom: 20px;
  line-height: 90%;
  text-align: left;
}

/* Info text */
.inplaytracker-inner-info {
    font-size: 13px;
    margin-bottom: 20px;
}

/* Main container for scenes and sorting */
.inplaytracker-inner-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

/* Scene summary section */
.inplaytracker-inner-scene-info {
    flex-grow: 1;
    font-size: 16px;
	padding:15px;

}

/* Sorting section */
.inplaytracker-inner-sort {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Select dropdowns */
.inplaytracker-inner-sort select {
border: 1px solid var(--color-opac-border);
  background: var(--color-background);
  color: var(--color-main);
  font-family: var(--main-font2);
  line-height: 1.5em;
  font-size: 10px;
}

/* Sorting button */
.inplaytracker-inner-button {
    padding: 8px 12px;
    font-size: 14px;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease;
}


.inplaytracker-scenes {
 width: 100%;	
	  border-top: 1px solid var(--color-opac-border);
	margin-top:20px;

}



/* --- General Inplay Section (Character Header Area) --- */
.inplay-section {
    padding: 20px;
    background-color: var(--color-accent1);
    background-blend-mode: multiply;
    box-sizing: border-box;
    background-image: var(--accent-bg);
    border-bottom: 1px solid var(--color-opac-border);
    border-top: 1px solid var(--color-opac-border);
}

/* --- Character Header (Fixing Text Styling) --- */
.inplay-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    font-size: 18px;
    font-weight: bold;
    font-family: var(--main-font2);
    color: var(--main-color3);
}

/* --- Reminder Status (Italic) --- */
.inplay-character {
    font-size: 11px;
    font-weight: 400;
    font-style: italic;
    color: var(--color-accent1);
}

/* --- Character Name (Big, Bold & Uppercase) --- */
.inplay-charname {
    text-transform: uppercase;
    font-size: 22px;
    font-weight: bold;
    color: var(--color-main3);
    letter-spacing: 1px;
}



/* --- GENERAL TABLE SETUP --- */
.inplay-table {
    width: 100%;
    border-collapse: collapse; /* Ensures consistent spacing */
    table-layout: fixed; /* Forces equal column widths */
    display: table; /* Ensures correct table behavior */
}

/* --- Ensure all rows follow a proper table structure --- */
.inplay-row2 {
    display: table-row; /* Ensures proper alignment */
    width: 100%;
}

/* --- TABLE HEADERS (Fix Alignment) --- */
.inplay-row2.header {
    display: table-row;
    font-weight: bold;
    text-transform: uppercase;
    border-bottom: 2px solid var(--color-opac-border);
    text-align: left;
    max-height: 80px;
    height: 100%;
    font-family: var(--main-font2);
    font-size: 13px;
    color: var(--color-accent1);
}

/* --- TABLE CELLS (Ensure Consistent Structure) --- */
.inplay-cell2 {
    display: table-cell; /* Ensures all cells align properly */
    padding: 10px;
    border-bottom: 1px solid var(--color-opac-border);
    border-right: 1px solid var(--color-opac-border);
    text-align: left;
    vertical-align: middle;
    box-sizing: border-box;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* --- Specific column width definitions --- */
.inplay-cell2:nth-child(1) { width: 15%; min-width: 120px; text-align: center; } /* Nächster Post */
.inplay-cell2:nth-child(2) { width: 30%; min-width: 200px; } /* Szenentitel */
.inplay-cell2:nth-child(3) { width: 25%; min-width: 180px; } /* Mitspieler */
.inplay-cell2:nth-child(4) { width: 15%; min-width: 120px; text-align: center; } /* Inplaydatum */
.inplay-cell2:nth-child(5) { width: 15%; min-width: 120px; border-right: none; text-align: center; } /* Letzter Post */

/* --- Fix alignment for first column (Nächster Post) --- */
.inplay-cell2:first-child {
    text-align: center; /* Ensures proper centering */
    vertical-align: middle;
    white-space: nowrap; /* Prevents text wrapping */
}

/* --- Prevent Scene Titles from stretching the table --- */
.inplay-cell2:nth-child(2) {
    white-space: nowrap;
    word-break: break-word;
}

/* --- Remove the top border for the first row --- */
.inplay-row2:first-of-type .inplay-cell2 {
    border-top: none !important;
}

/* --- Remove the bottom border for the last row --- */
.inplay-row2:last-of-type .inplay-cell2 {
    border-bottom: none !important;
}

/* --- AU-Szenen HEADER (Ensure It Spans Full Table) --- */
.full-width-header {
    width: 100%;
    grid-column: 1 / -1;
    text-align: right;
    padding: 10px 0;
    background-color: var(--color-accent1);
  background-blend-mode: multiply;
  box-sizing: border-box;
  background-image: var(--accent-bg);
  background-attachment: fixed;
  color: var(--color-main3);
    border-bottom: 1px solid var(--medium);
}

.full-width-header h3 {
    margin: 0;
    font-weight: bold;
    color: var(--light);
    text-align: right;
    width: 100%;
    font-family: var(--main);
    font-size: 15px;
    padding-right: 45px;
}


.inplay-full {
    width: 100%;
    text-align: center;
    display: table-cell; /* Ensures full column span */
}


.inplay-cell2 .threadlink {
    font-size: 14px;
    color: var(--color-main);
	font-weight:800;
	   text-decoration: none; /* No underline by default */
   transition: filter 0.3s ease;
	text-transform:uppercase;
}

.inplay-cell2 .threadlink:hover {
    color: var(--color-accent1);
	transition: 1s ease-in-out;

}

/* Formular Styling */
.inplayscenes-formular_input-row {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: center;
  margin: 5px 10px;
  gap: 5px;
}

.inplayscenes-formular_input-desc {
  width: 30%;
}

.inplayscenes-formular_input-input {
  width: 70%;
}

.inplayscenes-formular_button,
.inplayscenes_overview-button,
.inplayscenes_overview-sort {
  text-align: center;
  margin: 10px 0;
}

.inplayscenes_overview-scene-row {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
	margin-top: 20px;
    width: 100%;
}

.inplayscenes_overview-scene-header {
    width: 100%;
    text-align: left;
	margin-bottom: 5px;
  position: relative;
  z-index: 2;
	padding:15px;
	background-color: var(--color-accent1);
  background-blend-mode: multiply;
  box-sizing: border-box;
  background-image: var(--accent-bg);
  background-attachment: fixed;
  color: var(--color-main);
}


.inplayscenes_overview-scene-header a {
color: var(--color-main);
	font-size:15px;
}

.inplayscenes_overview-scene-header a:hover {
color: var(--color-accent1);
	font-size:15px;
}

.inplayscenes_overview-scene-content {
    display: flex;
    width: 100%;
    max-width: 850px; /* Optional: Sets a max width for the entire content area */
}

.inplayscenes_overview-scene-column {
    padding: 10px;
}

.small-column {
    flex: 1;
    text-align: left;
    border-right: 1px solid var(--color-opac-border); /* Line between columns */
}

.large-column {
    flex: 3;
    text-align: left;
    border-right: 1px solid var(--color-opac-border); /* Line between columns */
}

/* Remove the right border on the last column */
.small-column-right {
    flex: 1;
    text-align: right;
    border-right: none;
}

.inplayscenes_overview-scene-content {
    border-top: 1px solid var(--color-opac-border);
    border-bottom: 1px solid var(--color-opac-border);
}

/* Member Profile Styling */
.inplayscenes_memberprofile {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
}





/* Filter Table Styling */
.inplayscenes_overview-filter-table {
  display: flex;
  flex-wrap: wrap;
  gap: 0 5px;
  justify-content: space-around;
  margin: 10px;
}

.inplayscenes_overview-filter-row {
  width: 49%;
}

.inplayscenes_overview-filter-input {
  text-align: center;
  margin: 5px 0;
}

/* Overview Scene Styling */
.inplayscenes_overview-scene-table {
  display: flex;
  flex-direction: column;
}

.inplayscenes_overview-scene-row {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
    width: 100%;
}

.inplayscenes_overview-scene-header {
    width: 100%;
    text-align: left;
    margin-bottom: 10px;
}

.inplayscenes_overview-scene-content {
    display: flex;
    width: 100%;
    max-width: 850px; /* Optional: Sets a max width for the entire content area */
}

.inplayscenes_overview-scene-column {
    padding: 10px;
}

.small-column {
    flex: 1; /* Takes up 1 part of available space */
    text-align: left;
}

.large-column {
    flex: 3; /* Increased to take more space (3 parts) */
    text-align: left;
}

/* User Scene Table */
.inplayscenes_user-scene-table {
  border: 1px solid var(--color-opac-border);
}

.inplayscenes_user-scene-row {
  display: flex;
  justify-content: space-between;
  padding: 10px;
  border-bottom: 1px solid var(--color-opac-border);
  align-items: center;
}

.inplayscenes_user-scene-row:last-child {
  border-bottom: none;
}

.inplayscenes_user-scene-col {
  width: 33%;
  padding: 5px;
}

/* Szene-Navigation Farben */
.inplayscene_next_you {
    font-weight: 700;
    text-transform: uppercase;
    color: var(--color-highlight-alt);
    display: inline-flex;
    align-items: center;
    gap: 5px; /* Ensures 5px spacing between icon and text */
	font-size:16px;
}

/* Add FontAwesome icon before text */
.inplayscene_next_you::before {
    content: "\f72b"; /* Unicode for fa-wand-sparkles */
    font-family: var(--fa-icon-font);
    font-weight: 900; /* Solid icon */
    color: var(--color-main); /* Use main color */
    font-size: 1em; /* Match text size */
    display: inline-block;
}


.inplayscene_next_none {
  font-weight: 700;
  text-transform: uppercase;
  color: var(--primary); /* Orange */
}

 .inplayscenes_user-scene-none {

  width: 100%; /* Setzt die Breite auf 100% */
  text-align: center; /* Zentriert den Text horizontal */
  padding: 20px 0; /* Fügt etwas vertikalen Abstand hinzu */
  font-weight: bold; /* Optional: Macht den Text fett */
  color: var(--light); /* Optional: Setzt die Textfarbe auf eine passende Farbe */

}


.full-width-header h3 {
  margin: 0; /* Entfernt den Standardrand der Überschrift */
  font-weight: bold; /* Fettgedruckte Überschrift */
  color: var(--light); /* Farbe der Überschrift */
  text-align: right; /* Rechtsbündige Überschrift */
  width: 100%; /* Nimmt die volle Breite des Containers ein */
font-family: var(--main);
	font-size:15px;
	padding-right:45px;
}

.inplayscenes_user-settings {
  display: flex;
  justify-content: space-between;
  gap: 50px; /* Mehr Abstand zwischen den Gruppen */
  width: 100%;
  padding: 20px; /* Mehr Padding für den Container */
}

.inplayscenes_user-setting-row {
  display: flex;
  flex-direction: column;
  width: 45%; /* Breitere Einstellungsgruppen, damit sie mehr Platz nutzen */
}

.inplayscenes-textbox {
  width: 120px; /* Breitere Textbox */
  padding: 10px; /* Padding in der Textbox */
	margin-top:20px;
}

.inplayscenes_user-button {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 30px;
  width: 100%;
}

.save-settings-button {
  padding: 12px 24px;
  background-color: var(--primary);
  color: var(--light);
  border: none;
  cursor: pointer;
  text-transform: uppercase;
  margin-top: 10px;
}

.save-settings-button:hover {
  background-color: var(--color-accent1); /* Hover-Effekt */
}

.inplayscenes_user-button div {
  text-align: center;
  font-size: 12px;
  color: #777;
  margin-bottom: 10px;
}

/* Spezifische Klasse für Radio-Buttons */
.inplayscenes-radio-button {
  margin-right: 10px;
  vertical-align: middle;
}

/* Spezifische Klasse für Labels */
.inplayscenes-label {
  display: inline-block;
  margin-right: 20px; /* Mehr Abstand zwischen den Labels */
	

}

.inplayscenes_user-setting-row .smalltext {
  margin-top: 5px;
  font-size: 12px;
  color: #777;
}

.inplayscenes_user-button {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 30px;
  width: 100%;
}

.inplayscenes_user-button div {
  text-align: center;
  font-size: 14px;
  color: var(--light);
  margin-bottom: 10px; /* Padding unter dem Hinweistext */
}

.scene-container {
    display: flex;
    justify-content: space-between; /* Links und rechts gleichmäßig verteilen */
    align-items: center; /* Vertikal zentrieren */
    width: 100%;
    padding: 10px 20px; /* Mehr Padding links und rechts */
    background: var(--bg-blur);
    border-bottom: 1px solid var(--color-opac-border);
}

.scene-info {
    text-align: left;
    font-size: 0.9rem; /* Kleinere Schriftgröße */
    color: var(--light-text); /* Textfarbe */
}

.inplayscenes_user-scene-sort form {
    display: flex;
    align-items: center; /* Vertikale Zentrierung der Elemente */
    gap: 10px; /* Abstand zwischen den Elementen */
}

.inplayscenes_user-scene-sort label {
    font-size: 0.9rem; /* Konsistente Schriftgröße */
    white-space: nowrap; /* Verhindert Zeilenumbrüche im Label */
}

.inplayscenes_user-scene-sort select, 
.inplayscenes_user-scene-sort input[type="submit"] {
    padding: 5px 10px; /* Kompaktes Padding für Dropdowns und Button */
    font-size: 0.9rem; /* Konsistente Schriftgröße */
    margin: 0; /* Keine zusätzlichen Abstände */
}

.inplayscenes_user-scene-sort input[type="submit"] {
    background-color: transparent; /* Keine Hintergrundfarbe */
    color: var(--color-accent1); /* Textfarbe gleich der Hauptfarbe */
    border: 2px solid var(--color-accent1); /* Rahmen mit der Hauptfarbe */
    border-radius: 3px; /* Abgerundete Ecken */
    padding: 5px 12px; /* Ausreichendes Padding für den Button */
    font-size: 0.9rem; /* Schriftgröße */
    cursor: pointer; /* Zeiger auf "Hand" ändern */
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease; /* Sanfte Übergänge */
}

.inplayscenes_user-scene-sort input[type="submit"]:hover {
    color: white; /* Ändert die Textfarbe beim Hover */
    border-color: var(--color-opac-border); /* Behält die Rahmenfarbe beim Hover bei */
}

.small-header-scenes {
position: relative;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 10px;
  letter-spacing: 0.04em;
  width: max-content;
	font-family: var(--main-font);}

.small-header-scenes:after {
content: "";
  position: absolute;
  top: calc(100% + 2px);
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--light);
  display: block;}


.postreminder {
text-align: center;
  font-family: var(--main-font);
  font-weight: 400;
  font-size: 9px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  background-image: linear-gradient( rgba(34, 11, 11, 0.74), rgba(34, 11, 11, 0.74));
  padding: 15px 19px;
  margin-bottom: 10px;	
}

.postreminder a {
color: var(--color-main3)!important;	
}

.postreminder a:hover {
color: var(--color-main);	
}

.inplayscenes_postingreminder-desc {
text-align: justify;
padding:25px;	
	margin-bottom:25px;
	
}