img.thumbnail {
  margin: auto;
  border: 2px solid #ddd;
  border-radius: 4px;
  padding: 1px 1px 1px 1px;
  width: 280px;
}
div.fixed {
  position: fixed;
  bottom: 0;
  right: 0;
  width: 30px;
  background-color: yellow;
  border: 3px solid #73AD21;
}

#Opens{
	font-size: 0.6em;
	color: black;
	font-weight: bold;
	
}

#Narrative{
	font-size: 0.7em;
	color: black;
	font-weight: bold;
	
}

#footnote{
	font-size: 0.7em;
	color: red;
	font-weight: bold;
}



.tooltip {
  position: relative;
  display: inline-block;
  border-bottom: 1px dotted black;
}

.tooltip .tooltiptext {
  top: -5px;
  left: 105%;
}

.tooltip .tooltiptext {
  visibility: hidden;
  width: 180px;
  background-color: black;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 5px 0;
  font-size: 10px;
  
  /* Position the tooltip */
  position: absolute;
  z-index: 1;
  top: -5px;
  left: 105%;
/*
  margin-left: -60px;
*/
}

.tooltip:hover .tooltiptext {
  visibility: visible;
}


.field{
	width: 100%;
	padding: 2px 2px 0 20px;
	margin:  2px 0 2px 0;
	display: inline-block;

  box-sizing: border-box;

  -webkit-transition: 0.5s;
  transition: 0.5s;
  outline: none;
	
}
input[type=text], select {
	border: 2px solid #00FFFF;
	border-radius: 4px;
	box-sizing: border-box;
	background-color: #eee;
	width: 100%;
}

input[type=text]:focus {
	border: 3px solid #555;
}
input[type=text]:hover {
	background-color: #bbbb;
	border: 3px solid #aaa;
}

/* narrative  */
.dow {
	margin: auto;
	font-size: 1.1em;
    color: #2d5a27; /* Forest Green */
	
}

.wtw {
	margin: auto;
	font-size: 0.75em;
    color: Olive ;
	
}



img.thumbnail185 {
  margin: auto;
  border: 2px solid #ddd;
  border-radius: 4px;
  padding: 1px 1px 1px 1px;
  width: 185px;
}
img.blank {
  margin: auto;
  padding: 1px 1px 1px 1px;
  width: 185px;
}
img.halfblank {
  margin: auto;
  padding: 30px 1px 30px 1px;
  width: 185px;
}
/* Container styling */
#conversation {
    max-width: 600px;
    margin: 10px auto;
    padding: 5px;
    display: flex;
    flex-direction: column;
    font-family: Arial, sans-serif;
    background-color: #f7f7f7;
    border-radius: 12px;
}

/* 1. PARENT CONTAINER - Crucial for making align-self work */
#conversation {
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Default alignment for items inside */
    width: 100%;
}

/* 2. BASE BUBBLE STYLES */
#conversation p {
    font-size: 1.1em;
    max-width: 75%;
    padding: 6px 8px;
    margin: 4px 0;
    border-radius: 18px;
    line-height: 1.2;
    word-wrap: break-word;
    box-sizing: border-box;
}

/* 3. "ME" (Buyer) - Aligned Left, Green Bubble, White Text */
#conversation p.me {
    color: white;
    background-color: seagreen;
    align-self: flex-start;          /* Aligns bubble to the left */
    border-bottom-left-radius: 4px;  /* Sharp tail on the bottom-left */
}

/* 4. "THEM" (Seller) - Aligned Right, Light Blue Bubble, Dark Text */
#conversation p.them {
    color: #1a1a1a;
    background-color: #e1f5fe;
    border: 1px solid #b3e5fc;
    align-self: flex-end;            /* Aligns bubble to the right */
    border-bottom-right-radius: 4px; /* Sharp tail on the bottom-right */
}




