body {
  background-color: #3489eb; /* purple background */
}
header {
  text-align: center;
  color: yellow;
  font-size: 2rem;
  margin: 20px 0;
  text-decoration: underline;
  letter-spacing: 5px;
}
.content {
  background-color: #b6d1f0; /* green background */
  padding: 20px;
  min-height: 400px;
  border: 1px solid #006600;
}
.tab-content {
  margin-top: 20px;
}
.btn-custom {
  margin: 5px;
  min-width: 150px;
}
.alphabet span {
  margin: 0 4px;
  font-weight: bold;
  cursor: pointer;
}
.alphabet span:hover {
  text-decoration: underline;
}

/* ---------------------------------------------------- */
/* Default nav-link color */
.nav-link {
  color: #edf1f5; /* your preferred color */
  text-decoration: none; /* optional: remove underline */
}

/* On hover */
.nav-link:hover {
  color: #edf1f5; /* darker shade for hover */
}

/* If you want active nav-link to have a different color */
.nav-link.active {
  color: #ff5722; /* active color */
  font-weight: bold; /* optional highlight */
}
/* ---------------------------------------------------- */
.mb-11 {
  box-sizing: border-box;    /* include padding/border in width */
  display: flex;             /* flex layout for inner items */
  flex-wrap: wrap;           /* wrap to next line if needed */
  align-items: center;       /* vertically center items */
  border: 1px solid #43bafa;
}
/* ---------------------------------------------------- */
.mb-9 {
  box-sizing: border-box;    /* include padding/border in width */
  display: flex;             /* flex layout for inner items */
  flex-wrap: wrap;           /* wrap to next line if needed */
  align-items: center;       /* vertically center items */
}

/* Style the parent container */
/* div > .bg-light,
   div > #imageContainer { 
*/

/* Make checkbox-container adapt nicely */
.bg-light {
	margin-right: 20px;
    width: 83%;
}

   
.imageContainer {	
  sbox-sizing: border-box;
  vertical-align: top;   /* Align them from the top */
  width: 17%;
}

/* ---------------------------------------------------- */
.mb-4 {
  box-sizing: border-box;    /* include padding/border in width */
  display: flex;             /* flex layout for inner items */
  flex-wrap: wrap;           /* wrap to next line if needed */
  align-items: center;       /* vertically center items */
  /*gap: 1rem;        */         /* spacing between items */
  /*padding: 1rem;    */         /* optional padding */
  /*background-color: #f9f9f9;*/ /* optional background */
}

/* Make checkbox-container adapt nicely */
.checkbox-container {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex: 1; /* allow it to grow to fill remaining space */
  margin: 0;                      /* remove default label margins */
  font-weight: 400;
  color: #edf1f5; /* your preferred color */
  border: 1px none #43bafa;         /* box around group */
  border-radius: 6px;
  /*background-color: #edf1f5;  */    /* optional background */
  padding: 4px 12px 8px;              /* spacing inside */
  margin-left: 0.3rem;
}

/*--------------------------------------*/
.separator {
  margin: 0 8px;                  /* space around separator */
  color: #43bafa;                    /* pipe color */
  font-weight: 400;
}

.autoNext-check {
  margin: 0 2px -6px;
  accent-color: #edf1f5; /* modern browsers: sets checkmark & box color */
}

/* fallback for older browsers: custom background */
.autoNext-check:checked {
  background-color: #edf1f5; /* box fill */
  border-color: #edf1f5;
}

.singleCharInput-input {
  border: 1px solid #43bafa; /* normal border */
  outline: none;             /* remove default browser outline */
  border-radius: 4px;        /* optional */
  width:20px; 
  height:18px; 
  font-size: 14px; 
  color:#43bafa; 
  margin: 0 2px -6px; 
  padding-left: 4.5px; 
  padding-bottom: 2.5px;
  border-color: #43bafa; 
  text-transform: uppercase; 
  maxlength: 1; 
  line-height: 1; 
  caret-color: #43bafa;
}

/* On focus */
.singleCharInput-input:focus {
  border-color: #4CAF50;     /* green border on focus */
  box-shadow: 0 0 5px rgba(76, 175, 80, 0.5); /* optional glow */
}


.right-panel {
  width: 260px;
  background-color: #ffffff;
  border-radius: 8px;
  border: 1px solid #d0d7de;
  min-height: 100%;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

/* Body fills available space */
.panel-body {
  flex: 1;
  padding: 8px;
  overflow-y: auto;

  /* MATCH PAGE BACKGROUND */
  background-color: #cfe3f8; /* same light blue as main area */
}

/* List styling */
.incorrect-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.incorrect-list li {
  padding: 2px 4px;
  margin: 0;
  font-size: 12px;
  line-height: 1.2;
  color: #000;          /* darker text for contrast */
  background: none;
  border: none;
}
/* List styling – compact & clean */
.incorrect-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.incorrect-list li:not(:last-child) {
  border-bottom: 1px dotted rgba(0, 0, 0, 0.2);
}

/* Header */
.panel-header {
  padding: 12px 14px;
  font-weight: 600;
  border-bottom: 1px solid #e1e4e8;
  background-color: #f8f9fa;
}
/* Footer pinned at bottom */
.panel-footer {
  padding: 10px;
  border-top: 1px solid #e1e4e8;
  background-color: #f8f9fa;
}
.panel-header,
.panel-footer {
  background-color: #1f2328; /* keep dark */
  color: #fff;
}

.save-message {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);

  background-color: #1f2933;
  color: #fff;
  padding: 14px 22px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;

  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  z-index: 9999;

  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.save-message.show {
  opacity: 1;
}



.error-message {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);

  background-color: #d9534f;  /* Bootstrap’s red */
  color: #fff;
  padding: 14px 22px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;

  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  z-index: 9999;

  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.error-message.show {
  opacity: 1;
}




/* Help icon + "how to make a words file" panel */
.help-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; margin-left: 6px; padding: 0;
  border: none; border-radius: 50%;
  background: #0d6efd; color: #fff; font-weight: bold; font-size: 14px; line-height: 1;
  cursor: pointer; vertical-align: middle;
}
.help-icon:hover, .help-icon:focus-visible { background: #0b5ed7; outline: 2px solid #9ec5fe; }
.help-box {
  margin-top: 10px; padding: 12px 14px;
  background: #f8f9fa; border: 1px solid #dee2e6; border-radius: 6px; font-size: 14px;
}
.help-box h6 { font-weight: bold; margin-bottom: 8px; }
.help-box ol { padding-left: 20px; margin-bottom: 10px; }
.help-example {
  background: #fff; border: 1px solid #dee2e6; border-radius: 4px;
  padding: 8px 10px; margin-bottom: 8px; white-space: pre-wrap; font-size: 13px;
}
