@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Roboto+Condensed:ital,wght@0,100..900;1,100..900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap");

:root {
  --highlightColor1: #fef3c6;
  --highlightColor2: #ffdf20;
  --highlightColor3: #e1712b;
}

html,
body {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, sans-serif;
  background-color: #fff;
  margin: 0;
  padding: 0px;
}

h1 {
  text-align: center;
  margin-top: 20px;
  font-family: "Roboto", Arial, sans-serif;
  font-size: 3rem;
}

h2 {
  text-align: center;
  font-family: "Roboto Condensed", Arial, sans-serif;
  font-size: 1.125rem;
  color: var(--highlightColor3);

}

h3 {
  text-align: center;
  font-family: "Roboto Condensed", Arial, sans-serif;
  font-size: 1.0rem;
  color: #111;
  padding: 10px;
  background-color: var(--highlightColor2);
  width: fit-content;
  margin: auto;
}

#pTableContainer {
  display: flex;
  justify-content: center;
  margin-top: 40px;
  margin-bottom: 100px;
  position: relative;
  flex-direction: column;
}

.columnflex {
  display: flex;
  flex-direction: column;
}

.rowflex {
  display: flex;
  flex-direction: row;
}

#pTable {
  font-family: "Roboto", Arial, sans-serif;
  width: 90%;
  position: relative;
  margin: auto;
}

#infoPanel {
  display: grid;
  /* justify-content: center; */
  grid-template-rows: 0fr;
  width: 90%;
  margin: auto;
  overflow: hidden;
  transition: all 0.3s ease-in-out;
  scroll-margin-top: 20px;
  justify-items: center;
}

#infoCopyR {
	font-family: "Roboto Condensed", Arial, sans-serif;
	font-size: 0.625rem;
	text-align: right;
	color: rgba(0, 0, 0, 0.4);
	line-height: 12px;
	font-weight: bold;
	margin-top: 15px;
	width: 100%;
}

#infoPanel.openInfoPanel {
  grid-template-rows: 1fr;
  margin-top:20px;
  margin-bottom: 40px;
}

#infoPanel.openInfoPanel #selectedInfo {
  visibility: visible;
}

#selectedInfo {
  position: relative;

  width: fit-content;
  font-size: 0.875rem;
  display: flex;
  gap: 10px;
  padding: 20px;
  border: 1px solid #ccc;
  background-color: #fff;
  z-index: 20;
  border-radius: 5px;
  transition: all 0.3s ease-in-out;
  min-height: 0;
  visibility: hidden;

  /* https://smoothshadows.com/#djEsMSw1LDAuMDgsMjQsMTIsMCwjMDMwNzEyLCNmZmZmZmYsI2ZmZmZmZiwy */
  /* box-shadow: 0px 0px 1px rgba(3, 7, 18, 0.02), 0px 2px 4px rgba(3, 7, 18, 0.03), */
  /* 0px 4px 9px rgba(3, 7, 18, 0.05), 0px 8px 15px rgba(3, 7, 18, 0.06),
    0px 12px 24px rgba(3, 7, 18, 0.08); */
}

/* Allow tooltips to overflow outside parent containers */
#selectedInfo,
#infoRightColumn,
#infoElElectronConfigContainer,
#jsmolAOcontrols,
.jsmolAOViewFromButtons,
#bohrControls,
#bohrModel_shells_Container,
#bohrModelContainer {
  overflow: visible !important;
}

.closeSelectedInfoButton {
  position: absolute;
  top: 0px;
  right: 0px;
  font-size: 1.5rem;
  font-weight: bold;
  color: #666;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  /* background: #eee;
	border: 2px solid #666; */
  border-top-right-radius: 5px;
  width: 25px;
  height: 25px;
  text-align: center;
  z-index: 1;
  line-height: 25px;
}

.closeSelectedInfoButton:hover {
  background-color: #ef4444;
  color: #fff;
  /* border-color: #ef4444; */
}

.infoElementBox {
  padding: 10px;
  border: 1px solid #ccc;
  position: relative;
  text-align: center;
  width: 280px;
  height: auto;
  transition: all 0.2s ease-in-out;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.infoSymbol {
  font-family: "Roboto Condensed", Arial, sans-serif;
  font-size: 5rem;
  font-weight: bold;
  position: relative;
  width: fit-content;
  /* margin-top: 20px; */
}

/* .infoSymbol::after {
    content: "\003E";
    position: absolute;
    bottom: calc(50% - 1rem);
    right: 0px;
    transform: rotate(90deg);
    font-size: 2rem;
    color: transparent;
    transition: all 0.2s ease-in-out;
} */

/* .infoSymbol:hover::after {
    color: rgba(0, 0, 0, 0.7);
} */

.infoSymbol select {
  font-family: "Roboto Condensed", Arial, sans-serif;
  font-size: 5rem;
  font-weight: bold;
  color: #000;
  background-color: transparent;
  border: none;
  text-align: center;
  border-radius: 3px;
  cursor: pointer;
  transition: all 0.2s ease-in-out;

  /* hide drop menu default arrow */
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  /* margin-top: 20px; */
}

.infoSymbol select:hover,
.infoSymbol select:focus {
  background: rgba(255, 255, 255, 0.6);
}

.infoSymbol select option {
  font-size: 1rem;
  background-color: #fff;
  color: #000;
  border: none;
  font-weight: normal;
}

.infoName {
  font-family: "Roboto Condensed", Arial, sans-serif;
  font-size: 2rem;
  /* margin-top: -5px; */
}

.infoName select {
  font-family: "Roboto Condensed", Arial, sans-serif;
  font-size: 2rem;
  background-color: transparent;
  border: 0;
  border-radius: 3px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  margin-left: -6px;
  text-align: center;

  /* hide drop menu default arrow */
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.infoName select:hover,
.infoName select:focus {
  background: rgba(255, 255, 255, 0.6);
}

.infoName select option {
  font-size: 1rem;
  background-color: #fff;
  color: #000;
  border: none;
}

.infoAtomicNumber {
  font-family: "Roboto Condensed", Arial, sans-serif;
  font-size: 2.25rem;
  font-weight: bold;
  /* margin-bottom: -10px; */
  position: relative;
  /* left: 10px;
  top: 10px; */
}

.infoAtomicNumber select {
  font-family: "Roboto Condensed", Arial, sans-serif;
  font-size: 2.25rem;
  font-weight: bold;
  background-color: transparent;
  border: none;
  text-align: center;
  border-radius: 3px;
  cursor: pointer;
  transition: all 0.2s ease-in-out;

  /* hide drop menu default arrow */
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.infoAtomicNumber select:hover,
.infoAtomicNumber select:focus {
  background: rgba(255, 255, 255, 0.6);
}

.infoAtomicNumber select option {
  font-size: 1rem;
  background-color: #fff;
  color: #000;
  border: none;
  font-weight: normal;
}

.infoAtomicNumber::before {
  content: "Ατομικός Αριθμός";
  font-size: 0.75rem;
  position: absolute;
  left: -60px;
  top: 8px;
  color: rgba(0, 0, 0, 0.4);
  width: 60px;
  /* border-bottom: 1px solid #666; */
  text-align: left;
  /* padding-left: 5px; */
  box-sizing: border-box;
  text-align: right;
  font-weight: normal;
}

/* .infoAtomicNumber::after {
  content: "";
  position: absolute;
  left: 9px;
  top: -32px;
  font-weight: normal;
  color: #666;
  width: 1px;
  height: 34px;
  border-right: 1px solid #666;
  box-sizing: border-box;
} */

.infoAtomicMass {
  font-family: "Roboto Condensed", Arial, sans-serif;
  font-size: 1rem;
  font-weight: bold;
  position: absolute;
  right: 10px;
  top: 12px;
}

.infoAtomicMass::before {
  content: "Ατομική Μάζα";
  font-size: 0.9rem;
  position: absolute;
  right: 10px;
  top: -52px;
  font-weight: normal;
  color: #666;
  width: 90px;
  border-bottom: 1px solid #666;
  padding-left: 5px;
  box-sizing: border-box;
}

.infoAtomicMass::after {
  content: "";
  position: absolute;
  right: 10px;
  top: -34px;
  font-weight: normal;
  color: #666;
  width: 1px;
  height: 34px;
  border-right: 1px solid #666;
  box-sizing: border-box;
}

#propertySelect {
  font-size: 0.875rem;
  font-family: "Roboto Condensed", Arial, sans-serif;
  background: rgba(255, 255, 255, 0.6);
  border: 0;
  padding: 5px 10px;
  margin-top: 5px;
  border-radius: 3px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}

#propertySelect:hover {
  background: rgba(255, 255, 255, 0.8);
}

.infoSelectedProperty {
  font-family: "Roboto Condensed", Arial, sans-serif;
  font-size: 1.125rem;
  font-weight: bold;
  margin-top: 10px;
  padding: 7px 10px;
  margin-bottom: 10px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 3px;
  border: 1px solid #333;
}

#infoTRBLContainer {
  /* margin-top: 10px; */
  z-index: 5;
}

.infoTRBLrow {
  display: flex;
  justify-content: center;
  gap: 0px;
}

.infoTRBLButton {
  width: 25px;
  height: 25px;
  box-sizing: content-box;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Roboto Condensed", Arial, sans-serif;
  font-size: 0.875rem;
  font-weight: bold;
  color: rgba(0, 0, 0, 0.7);
  transition: all 0.2s ease-in-out;
  background-color: rgba(255, 255, 255, 0.4);
  border: 1px solid transparent;
  margin: 1px;
  position: relative;
}

.infoTRBLButton:hover,
.infoTRBLSelected {
  background-color: rgba(255, 255, 255, 0.9);
  color: rgba(0, 0, 0, 0.9);
}

.infoTRBLButton.empty:hover {
  cursor: default;
  background-color: transparent;
}

.infoTRBLSelected {
  cursor: default;
}

/* .infoTRBLBottom::after {
	content: "";
	position: absolute;
	top: 100%;
	transform: translateY(2px);
	width: 0;
	height: 0;
	border-left: 15px solid transparent;
	border-right: 15px solid transparent;
	border-top: 8px solid rgba(255, 255, 255, 0.4);
	pointer-events: none;
} */

/* .infoTRBLTop::after {
	content: "";
	position: absolute;
	bottom: 100%;
	transform: translateY(-2px);
	width: 0;
	height: 0;
	border-left: 15px solid transparent;
	border-right: 15px solid transparent;
	border-bottom: 8px solid rgba(255, 255, 255, 0.4);
	pointer-events: none;
} */

.infoRightColumn {
  /* overflow: auto; */
  display: flex;
  gap: 10px;
  transition: all 0.2s ease-in-out;
}

.infoRightColumn.closedInfoPanel {
  width: 0;
  height: 0;
  padding: 0;
  margin-right: -10px;
  overflow: hidden;
}

.infoRightColumn.openInfoPanel {
  /* width: 100%; */
  margin: 0;
}

#bohrModelContainer,
#infoElElectronConfigContainer {
  margin-top: -10px;
}

#bohrModelContainer,
#infoElElectronConfigContainer {
 display: flex;
 flex-direction: column;
 align-content: stretch;
}

.infoRow {
  display: flex;
  /* flex-direction: column; */
  /* border-bottom: 1px solid #ccc; */
  padding-top: 3px;
  padding-bottom: 1px;
}

.infoPropName {
  font-family: "Roboto Condensed", Arial, sans-serif;
  font-size: 0.813rem;
  background: #888;
  /* display: inline-block; */
  padding: 5px 10px;
  margin: 10px 0 5px 0;
  color: #fff;
  font-weight: bold;
  border-radius: 2px;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.infoPropName.ao {
  margin-bottom: 0;
}

.infoPropValue {
  font-family: "Roboto Condensed", Arial, sans-serif;
  /* max-width: 150px; */
}

.rowTable,
.rowTableMini {
  display: flex;
}

/* //////////////////////// MINI TABLE STYLES ////////////////////////              */

#infoPTableMiniContainer {
  margin-top: -20px;
  width: 100%;
}

.elementMini {
  box-sizing: border-box;

  text-align: center;
  position: relative;
  padding-left: 0px;
  padding-right: 0px;
  padding-bottom: 0px;
  padding-top: 0px;
  margin-bottom: 1px;
  margin-right: 1px;
  transition: all 0.2s ease-in-out;
  background-color: rgba(255, 255, 255, 0.5);
  opacity: 1;
  width: 5.5%;
  min-width: 12px;
  height: 12px;
  font-size: 0.5rem !important;
  font-weight: normal !important;
}

.elementMini.selected,
.elementMini.selected:hover {
  border: 0 !important;
  box-shadow:
    0 1px 3px rgba(0, 0, 0, 0.4),
    0 0px 2px rgba(0, 0, 0, 0.2);
  background-color: #fff;
}

.elementMini:hover {
  cursor: pointer;
  background-color: #fff;
  transition: all 0.2s ease-in-out;
}

.elementMini.empty:hover {
  background-color: transparent;
}

.elementMini .Symbol {
  font-family: "Roboto Condensed", Arial, sans-serif;
  font-size: 0.625rem;
  font-weight: normal !important;
  opacity: 0;
  color: rgba(0,0,0,0.7);
  transition: all 0.2s ease-in-out;
}

.elementMini:hover .Symbol,
.elementMini.selected .Symbol {
   opacity: 1;
    transition: all 0.5s ease-in-out;
}

.elementMini .AtomicNumber {
  font-family: "Roboto Condensed", Arial, sans-serif;
  font-size: 0.5rem;
  font-weight: normal;
  display: none;
}

/* ////////////////////////END  MINI TABLE STYLES ////////////////////////              */

.element {
  box-sizing: border-box;
  border: 1px solid #ccc;
  width: 5%;
  text-align: center;
  position: relative;
  padding-left: 2px;
  padding-right: 2px;
  padding-bottom: 5px;
  padding-top: 2px;
  margin: 1px;
  transition: all 0.2s ease-in-out;
  opacity: 0.7;
   aspect-ratio: 1 / 1;
}

.opacity07 {
  opacity: 0.7;
}

.opacity1 {
  opacity: 1 !important;
}

/* .element::before {
  content: var(--period-number, "");
  position: absolute;
  top: calc(50% - 1rem);
  left: -20px;
  pointer-events: none;
  font-size: 1rem;
  font-family: "Roboto Condensed", Arial, sans-serif;
  color: #666;
  transition: all 0.2s ease-in-out;
} */

/* .element::after {
  content: var(--group-number, "");
  position: absolute;
  top: -30px;
  pointer-events: none;
  font-size: 1rem;
  font-family: "Roboto Condensed", Arial, sans-serif;
  color: #666;
  left: 0;
  width: 100%;
  transition: all 0.2s ease-in-out;
} */

/* .element.selected::before,
.element.selected::after {
  opacity: 0;
  scale: 1;
} */

.periodLabel {
	text-align: right;
	font-size: 1rem;
	font-family: 'Roboto Condensed', Arial, sans-serif;
	color: #666;
	padding-right: 10px;
	/* background: #ddd; */
	width: fit-content;
}

.groupHeader {
  text-align: center;
	font-size: 1rem;
	font-family: 'Roboto Condensed', Arial, sans-serif;
	color: #666;
	padding-bottom: 10px;
  justify-content: flex-end !important;

}

.empty {
  border: none;
  background-color: transparent;
  cursor: default !important;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.bold {
  font-weight: bold;
}

.element:hover {
  cursor: pointer;
  border-color: #000 !important;
  opacity: 1 !important;
}

.selected,
.selected:hover {
  border: 1px solid #00f !important;
  scale: 1.05;
  z-index: 10;
  box-shadow:
    0 4px 10px rgba(0, 0, 0, 0.4),
    0 2px 8px rgba(0, 0, 0, 0.2);
  opacity: 1 !important;
}

.highlighted {
  border-color: #000;
  opacity: 1;
}

.Name {
  font-size: 0.875rem;
  font-family: "Roboto Condensed", Arial, sans-serif;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.Symbol {
  font-family: "Roboto Condensed", Arial, sans-serif;
  font-size: 1.75rem;
  font-weight: bold;
  /* margin-top: 12px; */
}

.AtomicNumber {
  font-family: "Roboto Condensed", Arial, sans-serif;
  font-size: 0.938rem;
  margin-top: 3px;
  font-weight: bold;
  /* position: absolute;
  top: 2px;
  left: 4px; */
}

.AtomicMass {
  font-size: 0.625rem;
  position: absolute;
  top: 3px;
  right: 4px;
}

.elementProperty {
  font-size: 0.563rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Color scheme for chemical group blocks (9 groups) - Enhanced for Black Font Contrast */
.Alkali-metal {
  background-color: #ff6b6b;
}

/* Brighter Red */
.Alkaline-earth-metal {
  background-color: #ffa94d;
}

/* Brighter Orange */
.Transition-metal {
  background-color: #ff85c0;
}

/* Brighter Rose */
.Post-transition-metal {
  background-color: #b197fc;
}

/* Lighter Purple */
.Metalloid {
  background-color: #22d3ee;
}

/* Brighter Cyan */
.Nonmetal {
  background-color: #4ade80;
}

/* Brighter Emerald */
.Halogen {
  background-color: #fbbf24;
}

/* Brighter Amber */
.Noble-gas {
  background-color: #60a5fa;
}

/* Brighter Blue */
.Lanthanide {
  background-color: #f0a4ff;
}

/* Much Lighter Magenta - Better contrast with black */
.Actinide {
  background-color: #7ee7e7;
}

/* Much Lighter Teal - Better contrast with black */

/* ////////////// JSmol specific styles ////////////// */
#jsmolContainer {
  margin-top: 0px;
  height: 100%;
}

#jsmol {
  width: 100%;
  min-width: 300px;
  height: 100%;
  /* border: 1px solid #ddd;
  border-top: 0; */
  box-sizing: border-box;
}

#jsmolAOcontrols {
  display: flex;
  padding: 5px;
  background-color: #efefef;
  flex-direction: row;
  gap: 10px;
  /* height: 50px; */
  border: 1px solid #ddd;
  border-top: 0;
}

#jsmol canvas {
  outline: none;
}

.orbital-clickable {
  cursor: pointer;
  display: block;
  padding: 3px;
  border-radius: 2px;
  color: #000;
  transition: all 0.2s ease-in-out;
  border: 2px solid transparent;
}

.shell {
  display: flex;
  flex-direction: column ;
 
  text-align: center; 

  cursor: pointer;
 
  padding: 5px;
  border-radius: 2px;
  color: #000;
  transition: all 0.2s ease-in-out;
  background-color: rgba(255, 255, 255, 0.6);
  margin-right: 3px;
   border: 2px solid transparent;
}

#infoElShells {
  display: flex;
  flex-direction: row;
  justify-content: center;
  margin-right: 10px;
}

#bohrSVG {
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.orbital-clickable:hover,
.shell:hover,
.highlightedInfoShell {
  background-color: var(--highlightColor1);
}

.selectedOrbital,
.selectedOrbital.highlightedAOfromShell {
  background-color: var(--highlightColor2) !important;
  font-weight: bold !important;
  /* color: #fff !important; */
  border-color: #00f !important;
}

.highlightedAOfromShell {
  background-color: var(--highlightColor2) !important;
  font-weight: normal;
  border-color: #00f !important;
}

.highlightedShellLabel {
  background-color: var(--highlightColor2) !important;
}

#electronConfigContainer {
  display: flex;
  flex-wrap: wrap;
  gap: 0 1px;
}

#jsmolAOselection {
  display: flex;
  /* justify-content: center; */
  /* margin-top: 5px; */
  flex-wrap: wrap;
  gap: 0 1px;
  min-height: 28px;
}

.AOControlLegend {
    font-family: "Roboto Condensed", Arial, sans-serif;
  color: #666;
  font-size: 0.75rem;

}

#jsmolAOstyle,
#jsmolAOViewFrom,
#jsmolNodalPlanes {
  font-family: "Roboto Condensed", Arial, sans-serif;
  color: #666;
  font-size: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 5px;
  border-right: 1px solid #ccc;
  padding-right: 10px;
}

#jsmolAOstyle select,
#jsmolAOViewFrom select {
  font-family: "Roboto Condensed", Arial, sans-serif;
  color: #666;
  font-weight: bold;
  font-size: 0.75rem;
  background-color: rgba(255, 255, 255, 0.8);
  border: 1px solid #999;
  padding: 5px;
  border-radius: 3px;
  transition: all 0.2s ease-in-out;
}

#jsmolAOstyle select:hover {
  font-family: "Roboto Condensed", Arial, sans-serif;
  color: #000;
  background-color: rgba(255, 255, 255, 1);
  border: 1px solid #000;
}

.jsmolAOViewFromButtons {
  display: flex;
  flex-direction: row;
  gap: 5px;
  justify-content: center;
}

/* Base class for simple text buttons */
.simpleButton {
  font-family: "Roboto Condensed", Arial, sans-serif;
  font-size: 0.75rem;
  padding: 5px;
  border-radius: 3px;
  border: 1px solid #999;
  background-color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}

.simpleButton:hover {
  color: #000;
  background-color: rgba(255, 255, 255, 1);
  border: 1px solid #000;
}

#jsmolAOViewFrom button {
  width: 33%;
  min-width: 26px;
}

#jsmolAOstyle select option,
#jsmolAOViewFrom select option {
  font-family: "Roboto Condensed", Arial, sans-serif;
  font-weight: normal;
  color: #666;
  font-size: 0.75rem;
  background-color: #fff;
  border-radius: 0px;
}

#jsmolAOZoom {
  font-family: "Roboto Condensed", Arial, sans-serif;
  font-size: 0.75rem;
  display: flex;
  flex-direction: row;
  align-items: center;
  padding-right: 10px;
  gap: 5px;
  border-right: 1px solid #ccc;
}

#jsmolAOAxes {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding-right: 10px;
  border-right: 1px solid #ccc;
}

#jsmolAOSaveImg {
  display: flex;
  flex-direction: row;
  align-items: center;
}

#elConfigstyle {
  font-family: "Roboto Condensed", Arial, sans-serif;
  font-size: 0.75rem;
  display: flex;
  justify-content: center;
  margin-top: 5px;
  gap: 5px;
}

/* Base class for simple text buttons */
.simpleButton {
  font-family: "Roboto Condensed", Arial, sans-serif;
  cursor: pointer;
  /* padding: 3px; */
  font-weight: bold;
  /* font-style: italic; */
  color: #666;
  transition: all 0.2s ease-in-out;
  position: relative;
}

.viewX {
  color: #EE0000;
}

.viewY {
  color: #00AA00;
}

.viewZ {
  color: #0000EE  ;
}

.AOstyleButton,
.elConfigStyleButton {
  /* Extends .simpleButton - see base class above */
}

/* Common base class for all icon control buttons */
.iconControlButton {
  background-size: 20px 20px;
  background-repeat: no-repeat;
  background-position: center 2px;
  padding: 4px;
  padding-top: 20px;
  width: 20px;
  color: transparent;
  transition: all 0.2s ease-in-out;
  border-radius: 4px;
  border: 1px solid transparent;
  cursor: pointer;
}

/* Individual button classes extend the base */
/* .AOstyleZoomIn,
.AOstyleZoomOut,
.AOstyleZoomReset,
.AOstyleSaveImg,
.AOAxes,
.bohrToggleMeasureButton,
.AONodalPlanes {

} */

/* Hover states for zoom and save buttons */
.AOstyleZoomIn:hover,
.AOstyleZoomOut:hover,
.AOstyleZoomReset:hover,
.AOstyleSaveImg:hover {
  color: #666;
  background-color: #fff;
  border-color: #000;
}

/* Base class for toggle buttons */
.toggleButton {
  opacity: 1;
}

.toggleButton:hover {
  opacity: 1;
  border-color: #999;
  background-color: #f7f7f7;
}

.toggleButton.selectedButton {
  background-color: #fff;
  border-color: #000;
  opacity: 1;
}

.AOstyleZoomIn {
  background-image: url("../imgs/zoom-in-svgrepo-Industrial-Sharp.svg");
}

.AOstyleZoomOut {
  background-image: url("../imgs/zoom-out-svgrepo-Industrial-Sharp.svg");
}

.AOstyleZoomReset {
  background-image: url("../imgs/reset-svgrepo-Industrial-Sharp.svg");
}

.AOstyleSaveImg {
  background-image: url("../imgs/image-svgrepo-Industrial-Sharp.svg");
}

.AONodalPlanes {
  opacity: 1;
  background-image: url("../imgs/nodal-planes-svg.svg");
}

.AOAxes {
  opacity: 1;
  background-image: url("../imgs/coord-system-3d-svgrepo.svg");
}

.bohrToggleMeasureButton {
  opacity: 1;
  background-image: url("../imgs/mesure-icon.svg");
}

.AOstyleButton:hover,
.elConfigStyleButton:hover {
  color: #333;
  transition: all 0.2s ease-in-out;
}

.AOstyleButton:hover::before,
.elConfigStyleButton:hover::before,
.AOstyleZoomIn:hover::before,
.AOstyleZoomOut:hover::before {
  border-color: #333;
  transition: all 0.2s ease-in-out;
}

.AOstyleZoomIn:hover::before,
.AOstyleZoomOut:hover::before {
  background-color: #333;
  transition: all 0.2s ease-in-out;
}

.AOstyleButton::before,
.elConfigStyleButton::before {
  content: " ";
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  position: absolute;
  top: calc(50% - 6px);
  left: 0px;
  background-color: #fff;
  border: 1px solid #999;
  transition: all 0.2s ease-in-out;
}

.AOstyleButton::after,
.elConfigStyleButton::after {
  content: " ";
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  position: absolute;
  top: calc(50% - 3px);
  left: 3px;
  background-color: #fff;
  transition: all 0.2s ease-in-out;
}

/* .AOstyleZoomIn::before,
.AOstyleZoomOut::before {
    content: "";
    display: block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    position: absolute;
    left: 0;
    top: 3px;
    background-color: #aaa;
    border: 1px solid #999;
    font-weight: bold;
    text-align: center;
    color: #fff;
    font-size: 16px;
    line-height: 10px;
} */

/* .AOstyleZoomIn::before {
    content: "\002B";
}

.AOstyleZoomOut::before {
    content: "\2012";
} */

.selectedAOstyle::after,
.selectedElConfigStyle::after {
  content: " ";
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  position: absolute;
  top: calc(50% - 3px);
  left: 3px;
  background-color: #666;
}

.selectedAOstyle::before,
.selectedElConfigStyle::before {
  border-color: #333;
}

.selectedAOstyle,
.selectedElConfigStyle {
  color: #333;
}

/* .elCConfig_shells {
  position: relative;
  display: inline-block;
}

.elCConfig_shells::before {
  content: "";
  position: absolute;
  top: 0;
  left: 20px;
  width: calc(100% - 20px);
  height: 100%;
  opacity: 0.5;
  z-index: -1;
  background: repeating-linear-gradient(
    135deg,
    #ccc 0,
    #ccc 2px,
    transparent 2px,
    transparent 21px
  );
} */

.shellGroup {
  /* display: flex; */
}

.shellLabel {
  /* margin: 0 5px; */
  font-weight: bold;
  width: 20px;
}

.ml-clickable {
  font-family: "Roboto Condensed", Arial, sans-serif;
  cursor: pointer;
  display: inline-block;
  padding: 3px;
  border-radius: 2px;
  color: #000;
  transition: all 0.2s ease-in-out;
  border: 2px solid transparent;
}

.ml-clickable:hover {
  background-color: #eee;
}

.specificAOoccupation {
  /* font-style: italic;
  color: #666; */
}

.selectedOrbital .specificAOoccupation {
  /* color: #fff; */
}

/* //////////// Bohr model styles //////////// */

#bohrModel_shells_Container {
	display: flex;
  flex-direction: column;
	align-items: center;
	height: 100%;
}

#bohrControls {
  display: flex;
  padding: 5px;
  background-color: #efefef;
  flex-direction: row;
  gap: 10px;
  border: 1px solid #ddd;
  /* height: 50px; */
}

#bohrToggleMeasure,
#bohrSaveImg {
  font-family: "Roboto Condensed", Arial, sans-serif;
  font-size: 0.75rem;
  display: flex;
  flex-direction: row;
  align-items: center;
  padding-right: 10px;
  gap: 5px;
  border-right: 1px solid #ccc;
}

.bohrShellCircleBG,
.bohrShellElectron {
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}

.bohrShellCircleBG:hover,
.highlightedBohrShellCircleBG {
  stroke: var(--highlightColor1);
}

.selectedBohrShellCircleBG {
  stroke: var(--highlightColor2) !important;
}

.bohrGridLine {
  stroke: #bbb;
  stroke-dasharray: 5 2;
}

.bohrArrowLine {
  stroke: var(--highlightColor3);
  stroke-dasharray: 0 0;
}

.BohrArrowHead {
  fill: var(--highlightColor3);
}

#bohrAtomSphere {
  opacity: 0.5;
}

