@import url('https://fonts.googleapis.com/css2?family=Oswald&display=swap');

body {
  font-family: sans-serif;
  background-color: #FFFFFF; 
  line-height: 1.6;
  /* background: linear-gradient(to bottom, #FFFFFF , #FFFFFF);  */
}
/* Dark mode */
body.dark-mode {
  /* background-color: #222831; */
  background: linear-gradient(to bottom, #394c5a, #222831);
  color: #ffffff;
}

.bodyClass {
  font-family: sans-serif;
  
}

.claude-header {
	background-color: #0056b3;
	color: white;
	padding: 20px 0;
	text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
	margin-bottom: 20px;
}

.claude-card {
	border-radius: 12px;
	box-shadow: 0 4px 6px rgba(0,0,0,0.1);
	margin-bottom: 15px;
	transition: transform 0.3s ease;
	width: 100%;
}

.claude-card:hover {
	transform: translateY(-5px);
}

.card-title{
	/* border: 2px solid hotpink; Testing Border*/
}

.titleCard {
	font-family: Arial, sans-serif;
	font-size: 16px;
	line-height: 1.5;
	font-weight: bold;
	margin-top:1px;
	}

.chat-container {

}
.interaction-section {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column; /* stack vertically */
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 5px;
}

.input-row {
  display: flex;
  gap: 8px;
  width: 100%;
  justify-content: center;
}

textarea {
  flex: 1;  
  resize: vertical;
  min-height: 50px;
  min-width: 0;
  
}


.statusUpdates {
  padding: 8px 10px;
  border-radius: 5px;
  font-size: .9em;
  width: 50%;
} 

.chat-input {
	/* border-radius: 4px; 
	width: 91%;
	*/
}

.claude-btn {
	border-radius: 10px;
	font-weight: bold;
}

#chatMessages {
	max-height: 400px;
	overflow-y: auto;
}

.bodymessages {
	font-family: Arial, sans-serif;
	font-size: 16px;
	line-height: 1.5;
	font-weight: normal;
    background-color: #f8f8f8;
    padding: 8px;
}

.bmBorder {
  border-bottom: 2.5px solid gainsboro;
}

.alert {
	color: #000;
}

.alert-you {
	background: #007bff;
	color: #fff;
	width: 55%;
	margin-right: 0;
	margin-left: auto;
    border: 1px solid #146ccc;
}

.alert-writer {
	background: #fff;
	color: #000;
	width: 55%;
	margin-left: 0;
	margin-right: auto;
    border: 1px solid #eee;
  
}

/* Custom CSS to center the div */
.centered-card-wrapper {
	width: 90%;
	margin: 0 auto;
	/* border: 2px solid #9facbd; */
	border-radius: 5px;
	padding-bottom: 10px;
}

.card-wrapper {
  margin: 0;
  padding: 0;
  /* border: none;  */
  line-height: 1;
  border: 2px solid rgba(0, 0, 0, 0); /* black border at 50% opacity */
}


.noborder {
	border: 0;
}

.backgroundCardBody {
	background: #FFFFFF;
}

.wellblue {
	background: #FFFFFF;
}

.custom-input-group {
  display: flex;
  /* align-items: center; */
  align-items: stretch;
}

.custom-input-group input[type="text"] {
  flex-grow: 1; /* Allow text input to grow */
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 4px 0 0 4px; /* Rounded left corners */
  outline: none;
}

.custom-input-group button {
  padding: 8px 12px;
  background-color: #006dcc; /* Green */
  color: white;
  border: none;
  border-radius: 0 4px 4px 0; /* Rounded right corners */
  cursor: pointer;
  outline: none;
  box-sizing: border-box;
}

.custom-input-group button:hover {
  background-color: #0044cc; /* Darker green on hover */
  }
  .tweaked-margin {
	 margin-left:1.5%;
  }
  
  .claude-white, .claude-white a {
	color: #fff;
  }
  
  .upload-label {
	  background-color: #4682B4; 
	  color: white;
	  border: none;
  }
  
  .upload-label:hover {
	  background-color: #23415a;
	  color: white;
  }
  
 /* Styles to indicate Chat has ended */
  .chat-card.chat-ended {
	  /* background-color: #FFFFFF; */
	  opacity: 0.5;
	  pointer-events: none;
	}
	
	.chat-card.chat-ended .bodymessages,
	.chat-card.chat-ended .interaction-section,
	.chat-card.chat-ended #attachFile {
      /* background-color: #FFFFFF; */
	 opacity: 0.3;
	 pointer-events: none; 
	}
 
 /* Send button and its icon */
 .send-btn.chat-ended,
 .send-btn.chat-ended i {
     opacity: 0.5;
      pointer-events: none; 
      cursor: not-allowed; 
 }
 
#download-transcript {
	display: none;
  /* margin-top: 10px; */
}
	  
#download-transcript.show {
	display: inline-block;
}
		
#download-transcript.disabled {
	opacity: 0.0;
	cursor: not-allowed;
}

#download-transcript:disabled {
  opacity: 0.0;
  cursor: not-allowed;
}

#download-label {
  /* display: none; */
}

/* #toggleInstructionsBtn.disabled {
  opacity: 0.1;
  cursor: not-allowed;
} */
#toggleInstructionsBtn:disabled {
  opacity: 0.1;
  cursor: not-allowed;
  pointer-events: none; /* actually blocks the click */
}

label.upload-label.disabled {
	opacity: 0;
	cursor: not-allowed;
	pointer-events: none; /* actually blocks the click */
}
label.upload-label:disabled {
  opacity: 0;
  cursor: not-allowed;
  pointer-events: none; /* actually blocks the click */
}

#fileInput:disabled {
  opacity: 0.1;
  cursor: not-allowed;
  pointer-events: none; /* actually blocks the click */
}

#userInput {
  resize: none;
  flex-grow: 1;
  overflow-y: hidden;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid #ccc;
  max-width: 74%;
  min-height: 90px;
  font-size: 14px;
  line-height: 1.4;
  box-shadow: none;
}

#sendMessage {
  white-space: nowrap;
  padding: 8px 16px;
  font-size: 14px;
  border-radius: 6px;
}

.toolBlock {
	background-color: #007bff; /* Bootstrap primary blue */
	color: white;
	border:0;
	box-shadow: none;
	border-radius: 6px;
	width: 55px;       /* fixed width */
	height: 55px;      /* fixed height smaller than textarea */
	display: inline-block;
	padding: 8px;
}

.toolBlock i.glyphicon {
  font-size: 35px; /* or whatever size you want */
  line-height: 1;
}

.toolBlock a {
	text-decoration: none;
}
.toolBlock:hover{
	text-decoration: none;
}

.toolDownload {
  background-color: #408000;
}

.toolDownload:hover {
  color: lemonchiffon;
}

.send-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;       /* fixed width */
  height: 60px;      /* fixed height smaller than textarea */
  cursor: pointer;
  /* background-color: #007bff; Bootstrap primary blue */
  background-color: #31708f;
  border-radius: 6px;
  color: white;
  user-select: none;
  transition: background-color 0.3s ease;
  font-size: 25px;
}

.send-btn:hover {
  /* background-color: #0056b3; */
  background-color: #c1d4dd;
  border: 1px solid #000;
  color:#000;
}

.send-btn:disabled {
  opacity: 0.1;
  cursor: not-allowed;
  pointer-events: none; /* actually blocks the click */
}


.send-btn i.glyphicon {
  font-size: 35px; /* or whatever size you want */
  line-height: 1;
}

.send-btn span.glyphicon {
  font-size: 35px; /* or whatever size you want */
  line-height: 1;
}

.sticky-instruction {
  position: sticky;
  top: 0;
  z-index: 10;
  background-color: #fdfdfd; /* same as .alert-info */
  border-color: #e8e8e8;
  color: #31708f;
  padding: 10px 15px;
  margin: 0;
  border-radius: 5;
  font-size: 14px;
}
.welcome-text {
	font-weight: 500;
	font-family: 'Oswald',sans-serif;
	font-weight: 600;
}

.welcome-sub-text {
	
}

#chatWelcome {
	margin-bottom: 5em;
}

.tool-padding {
	padding-right: 2em;
}

.chat-tools {
  display: flex;
  justify-content: center;
  gap: 45px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.tool-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.tool-description {
  display: block;
  margin-bottom: 5px;
  font-size: 16px;
  font-weight: 600;
  font-family: sans-serif;
  color:#555;
}

.fileUpload {
  font-style: italic;
  color: #555;
  margin-bottom: 4px;
}

.tool-btn {
  display: inline-block;
  padding: 6px 14px;
  margin: 0 10px;
  font-size: 19px;
  border-radius: 4px;
  border: 1px solid #003366;
  background-color: #31708f;
  color: #fff;
  cursor: pointer;
  transition: all 0.2s ease;
}

.tool-btn:hover {
  background-color: #c1d4dd;
  border: 1px solid #000;
  color:#000;
}

.tool-btn:disabled,
.tool-btn.chat-ended {
  opacity: 0.3;
  cursor: not-allowed;
  pointer-events: none;
}



// == Dark Mode ==

.dark-mode .chat-container,
.dark-mode .card-body,
.dark-mode .bodymessages {
  background-color:#687980;  /* dark containers */
  color: #FFFFFF;             /* light text */
}

.dark-mode .alert-you {
  background-color: #6d7a83 ;
  color:white;
}

.dark-mode .alert-writer {
  background-color: #838487;
  color:white;
}

.dark-mode textarea,
.dark-mode input {
  background-color: #1e293b;
  color: #f0f0f0;
  border-color: #555;
}

.dark-mode .toolBlock,
.dark-mode .send-btn {
  background-color: #666;
  color: #ddd;
  border: none;
}

.dark-mode .toolBlock:hover,
.dark-mode .send-btn:hover {
  background-color: #666;
}

.dark-mode .sticky-instruction {
  background-color: gainsboro  !important; /* dark background */
  color: #000  !important;          /* light text */
}

.dark-mode .eagleeye-font-maroon{
  color: #9d5a61; 
}
.dark-mode .eagleeye-font-blue{
  color: #4c7093; 
}

.dark-mode .welcome-text {
  color: white; 
}
.dark-mode .welcome-sub-text {
  color: white; 
}

.dark-mode .statusUpdates {
  background-color: #1e293b;
  color: #FFF;
}

.dark-mode .fileUpload {
  color: #aaa;
}

.dark-mode .app-p-align {
  color: #4c7093; 
}

/* Dim the functional area when disabled */
.chat-functional-area.chat-disabled {
    position: relative;
    opacity: 0.9;
}

/* Overlay wrapper */
.chat-overlay-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #f3f3f3;
    /* background: rgba(255, 255, 255, 0.9); */
    backdrop-filter: blur(1px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: auto; /* Allow clicking the link */
}

/* Message box */
.chat-overlay-message {
    background: #fff;
    padding: 30px 50px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    border: 2px solid #ddd;
    text-align: center;
    font-size: 18px;
    color: #333;
}

.chat-overlay-message strong {
    display: block;
    margin-bottom: 15px;
    font-size: 20px;
}

.chat-overlay-message a {
    color: rgba(255, 255, 255, 0.95);
    text-decoration: none;
    font-weight: bold;
}

.chat-overlay-message a:hover {
    text-decoration: underline;
}


/* =========================================================
   EagleEye Accessibility Font Upgrade (ChatGPT-like, larger)
   Paste near TOP of eagleeye.css (or BOTTOM to override)
   ========================================================= */

html {
  font-size: 19px;   /* accessibility: slightly larger than 18px */
}

body {
  font-size: 1rem;   /* 19px */
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Make chat bubbles and widget text match new base size */
#chatMessages,
.bodymessages,
.alert,
.instructions-panel,
#instructionContent,
.ee-welcome,
.ee-best-prompts {
  font-size: 1rem;          /* 19px */
  line-height: 1.75;
}

/* Stronger message readability */
.alert-you,
.alert-writer {
  font-size: 1rem;
}

/* Chat input: comfortable typing size */
#userInput {
  font-size: 1rem;          /* 19px */
  line-height: 1.65;
}

/* Placeholder: visible but slightly muted */
#userInput::placeholder {
  font-size: 1rem;          /* 19px */
  font-weight: 600;
  color: #6b7280;
  opacity: 1;
}

/* Buttons and tool labels match scale */
.send-btn,
.tool-description,
.ee-welcome__btn,
.ee-welcome__copy,
.ee-best-prompts__item,
.ee-best-prompts__cta {
  font-size: 0.95rem;       /* ~18px */
}

/* Make headings feel balanced at larger base size */
.welcome-text {
  font-size: 1.6rem;        /* ~30px */
  line-height: 1.2;
}

.ee-welcome__title,
.ee-best-prompts__title {
  font-size: 1.2rem;        /* ~23px */
}

.ee-welcome__h4 {
  font-size: 1.05rem;       /* ~20px */
}

/* Bootstrap forms can force smaller text — override safely */
.form-control {
  font-size: 1rem !important;
}

.alert { padding: 14px 16px; }
#chatMessages { padding: 18px; }

/* .send-btn{
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display:flex;
  align-items:center;
  justify-content:center;
} */

.send-icon{
  width: 22px;
  height: 22px;
  object-fit: contain;
  display:block;
  pointer-events:none; /* critical so clicks still hit the span */
}

.welcome-row{
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-align: left;
}

.welcome-icon{
  width: 100px;
  height: 100px;
  /* object-fit: contain; */
  object-fit: initial;
}

