:root {
  --white: #f6f6f6;
  --color-orange: #ff5e00;
  --orange-400: var(--color-orange) !important;
  --color-orange-medium: #6e1527;
  --color-orange-dark: #31070f;
  --color-black: #201c1d;
  --color-off-white: #f0efee;
  --color-beige: #998b7a;
  --color-blue: #5074ef;
  --color-blue-extra-light: #d9e1ed;
  --color-blue-light: #c6d1e1;
  --color-blue-dark: #00165e;
  --color-purple: #9e9cff;
  --color-purple-dark: #390a91;
  --color-pink: #f39fff;
  --color-pink-dark: #4d1855;
  --color-green: #85af24;
  --color-green-dark: #253702;
  --color-yellow: #ffcc01;
  --color-gray: #575757;
  --color-gray-200: #dee0e3;
  --color-gray-400: #6b6d73;
  --black-500: #222222;
  --black-500: #4a4a4a;
  --black-100: #f9f8f8;
  --black-150: var(--color-off-white);
  --black-200: #e5e4e3;
  --black-225: #dbd8d4;
  --black-250: #ccc8c2;
  --black-300: #bcb9b3;
  --black-350: #a09e9b;
  --black-400: #636261;
  --black-500: #4a4a4a;
  --soft-gray: #f9f9f9;
  --light-gray: #dddddd;
  --very-light-gray: #fffdff;
  --pale-cyan: rgba(159, 177, 177, 0.356);
  --blue-strong: #0078d7;
  --shadow-light: 0 2px 2px rgba(0, 0, 0, 0.08);
  --navy-blue: #004080;
  --green-check: #4caf50;
  --mid-gray: #ccc;
  --dark-gray: #555;
  --teal: #008184;
  --white-text: #ffffff;
  --shadow-sm-light: 0 1px 3px rgba(0, 0, 0, 0.1);
  --overlay: rgba(0,0,0,0.5);
  --advert-bg: var(--white);
  --advert-text: var(--black-500);
  --advert-shadow: 0 2px 6px var(--black-400);
  --advert-accent: var(--color-orange);
  --zindex1: 1001;
  --zindex2: 1002;
  --zindex3: 1003;
  --zindex4: 1004;
  --zindex5: 1005;
  --zindex6: 1006;
  --ff-sans: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI Adjusted", "Segoe UI", "Liberation Sans",
              Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", sans-serif;
  --ff-serif: Georgia, Cambria, "Times New Roman", Times, serif;
  --ff-mono: ui-monospace, "Cascadia Mono", "Segoe UI Mono", "Liberation Mono", Menlo, Monaco, Consolas, monospace;
}

body.dark {
  --white: #181818;             
  --black-500: #eaeaea; 
  --black-500: #ccc8c2;
  --soft-gray: #252525;
  --light-gray: #333;
  --very-light-gray: #202020;
  --pale-cyan: rgba(255, 255, 255, 0.05);
  --blue-strong: #339cff;
  --shadow-light: 0 2px 6px rgba(255, 255, 255, 0.05);
  --color-off-white: #202020;
  --navy-blue: #1a5dcc;;
  --white: #212020;           
  --teal: #008184;
  --white-text: var(--black-500);
  --shadow-sm-light: 0 1px 3px rgba(255, 255, 255, 0.08);
  --advert-bg: #1f1f1f; /* slightly lifted from background */
  --advert-text: var(--black-500);
  --advert-shadow: 0 1px 2px rgba(0, 0, 0, 0.6), 0 6px 16px rgba(0, 0, 0, 0.4);
  --advert-accent: var(--color-orange);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: var(--ff-sans);
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh; 
  align-items: center;
  background-color: var(--white);
  color: var(--black-500);
  transition: background-color 0.3s ease, color 0.3s ease;
}

a {
  color: var(--navy-blue);
}

textarea , input {
  font-size: 0.95rem;
  line-height: 1.5em;
}

textarea:focus, input:focus {
  border-color: var(--blue-strong);
  box-shadow: 0 0 3px var(--blue-strong);
}

input::placeholder {
  color: var(--mid-gray);
}


input:disabled {
  background-color: var(--light-gray);
  color: var(--dark-gray);
  cursor: not-allowed;
}

fieldset {
  border: 1px solid var(--light-gray);;
  padding: 5px;
  width: fit-content;
  display: flex;
  align-items: center;
  justify-content: center;
}

legend {
  margin: 0;
  padding: 0 5px;
}

ul, ol {
  list-style-position: outside;
  padding-left: 1.2em;
}

label {
  white-space: nowrap;
}

.bold-text span {
  font-weight: bold;
}

.italicized-text span {
  font-weight: bold;
} 

.hidden {
  display: none;
}

.footer {
  background-color: var(--white);;
  color: var(--black-500);;
  border-top: 1px solid var(--light-gray);;
  padding: 12px 20px;
  text-align: center;
  font-size: 0.9rem;
}

.hidden-alink {
  text-decoration: none;        
  color: inherit; 
}

.hidden-alink:focus, .hidden-alink:active, .hidden-alink:hover {
  outline: none;               
  text-decoration: none; 
}

#wrapper-container {
  width: 100%;
  max-width: 988px;
  border-color: var(--light-gray);;
  border-style: solid;
  border-top-style: none;
  border-width: 1px;
  padding: 2px;
}

/* Anchor: cookie*/
.policy-alert-container {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--white);
  color: var(--black-500);
  width: 92%;
  max-width: 500px;
  padding: 25px 28px;
  border-radius: 14px;
  box-shadow: var(--shadow-light);
  z-index: var(--zindex6);
  border: 1px solid var(--light-gray);
}

.cookie-header {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--navy-blue);
}

.cookie-information p {
  font-size: 0.92rem;
  line-height: 1.45rem;
  margin-bottom: 22px;
  color: var(--black-500);
}

.cookie-information a {
  color: var(--blue-strong);
  text-decoration: underline;
}

.cookie-information a:hover {
  opacity: 0.85;
}

.cookies-button-container {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

.cookies-option-button {
  padding: 10px 18px;
  border-radius: 8px;
  border: 1px solid var(--light-gray);
  cursor: pointer;
  font-size: 0.92rem;
  transition: 0.2s ease-in-out;
  background: var(--soft-gray);
  color: var(--black-500);
}

.cookies-option-button:hover {
  background: var(--very-light-gray);
}

#cookies-accept-all {
  background: var(--blue-strong);
  color: var(--white-text);
  border: none;
}

#cookies-accept-all:hover {
  filter: brightness(1.1);
}


/* Anchor: Privacy notice */
#privacy-alert-container {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);   /* centers it */
  width: 100%;
  max-width: 988px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  padding: 12px 18px;
  background: var(--soft-gray);
  color: var(--black-500);
  box-shadow: var(--shadow-light);
  font-size: 14px;
  line-height: 1.4;
  z-index: var(--zindex1);
  border-top: 1px solid var(--light-gray);
}

#privacy-alert-text {
  flex: 1;
  text-align: center;
  align-items: center;
}

#privacy-alert-text a {
  color: var(--blue-strong);
  font-weight: 500;
  text-decoration: underline;
}

#privacy-close-button {
  width: 48px;
  height: 48px;
  border-style: solid;
  border-radius: 5px;
  background-color: var(--very-light-gray);
  color: red;
  font-size: 24px;
  cursor: pointer;
}

#privacy-close-button:hover {
  border-color: var(--blue-strong);
  opacity: 0.7;
  transform: scale(1.1);
}

.quick-links-container {
  margin: 5px;
  margin-top: 8px;
  border-top: 2px solid var(--dark-gray);
  background-color: var(--very-light-gray);
}
.quick-links-container h4{
  margin-left: 5px;
  width: 100%;
  color: var(--black-500);
  font-weight: 600;
}

.dquick-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 5px;
}

.dquick-links a {
  cursor: pointer;
}
.dquick-links a:hover {
  text-decoration: underline;
}
/* Anchor: static header */
#web-header-div {
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  width: 100%;
  gap: 1px;
  background-color: var(--color-off-white);
  color: var(--black-500);;
  border-bottom: 1px solid var(--light-gray);
  align-items: center;
  justify-content: space-between;
  padding-left: 1px;
  padding-right: 1px;
  z-index: var(--zindex1);
}

#web-header-top-bar{
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow-light);
  min-height: 52px;
}

#company-name {
  font-size: large;
  font-weight: bold;
}

#left-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#left-controls .header-buttons {
  margin-left: 8px;
}

#company-name-div {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

#img-company-logo, 
.header-buttons {
  height: 32px;
  width: 32px;
  border: none;
  border-radius: 6px;
  background-color: transparent;
  background-position: center;
  background-size: contain;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
  filter: invert(0);
}

#login-button {
  background-image: url('/static/images/user-svgrepo-com.svg'); 
  border: 2px solid var(--navy-blue);
  border-radius: 50%;
  font-weight: bold;
  font-size: 24px;
  font-family: 'Courier New', Courier, monospace;
  line-height: 32px;
  text-transform: uppercase;
  text-align: center;
}

#menu-toggle {
  background-image: url('/static/images/menu-kebab-svgrepo-com.svg');
}

#news-button { 
  background-image: url('/static/images/news-paper-svgrepo-com.svg'); 
}

#theme-button { 
  background-image: url('/static/images/night-mode-svgrepo-com.svg'); 
}

body.dark .header-buttons {
  filter: invert(1) brightness(1.1); 
}

.header-buttons:hover {
  background-color: var(--pale-cyan);
  transform: scale(1.05);
}

/* Anchor : popup close button*/
.close-button-div {
  display: flex;  
  justify-content: flex-end; 
  align-self: flex-end;
  width: 100%;   
  padding-bottom: 2px;       
  border-bottom-style: solid;
  border-width: 1px;
  border-color: var(--navy-blue);
}

.close-button {
  width: 24px;
  height: 24px;
  border-style: solid;
  border-radius: 5px;
  background-color: var(--very-light-gray);
  color: red;
  font-weight: bolder;
  cursor: pointer;
}

.close-button:hover {
  border-color: var(--blue-strong);
  opacity: 0.7;
  transform: scale(1.1);
}

/* Anchor : main menu */
.menu-container {
  display: block;
  position: fixed;
  width: 200px;
  padding: 5px;
  border-style: 5px solid var(--light-gray);
  border-radius: 10px;
  background-color: var(--very-light-gray);
  z-index: var(--zindex5);
}

.menu-item-container {
  display: flex;
  width: 100%;
  border-bottom-style: solid;
  border-color: var(--navy-blue);
  border-width: 1px;
}

.menu-item {
  display: flex;             
  align-items: center;      
  justify-content: flex-start; 
  width: 100%;
  gap: 8px;   
  padding: 8px 12px;
  border: none;
  background-color: var(--very-light-gray);
  color: var(--black-500);
  font-size: 16px;
  cursor: pointer;
}

.menu-item:hover {
  background-color: var(--pale-cyan);
  transition: all 0.2s ease;
}

.menu-item img {    
  width: 20px;
  height: 20px;
  margin-right: 8px;           
}

body.dark .menu-item img {
  filter: invert(1) brightness(1.1); 
}

/* Anchor: Advert (information ribbon)*/
#advert-container {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 6px 12px;
  font-size: 0.9rem;
  background-color: var(--advert-bg);
  color: var(--advert-text);
  box-shadow: var(--advert-shadow);
  min-height: 64px;
}


#advert-container p {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  text-align: center;
  cursor: pointer; 
  color: var(--black-500);
}

#advert-container p:hover {
  text-decoration: underline;
}

/* Anchor : Content Container */
.content-holder-div {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
}

#content-type-header-container {
  display: flex;
  justify-content: left;
  align-items: center;
  width: 100%;
  padding: 2px;
  background-color: var(--soft-gray);
  border-bottom: 1px solid var(--light-gray);;
  text-align: left;
}

#content-type-header {
  font-weight: bold;
  color: var(--black-500);;
  margin-left: 5px;
}

/* Anchor : Overlay layers */
.screen-overlay
{
  position: fixed;
  top: 0; 
  left: 0;
  width: 100%; 
  height: 100%;
  background: var(--overlay);
  z-index: var(--zindex2);
}

.higher-screen-overlay {
  position: fixed;
  top: 0; 
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--overlay);
  z-index: var(--zindex4);
}

.over-content-screen-overlay {
  position: fixed;
  top: 0; 
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--overlay);
  z-index: var(--zindex5);
}

/* Anchor : Login */
#top-login-screen {
  position: fixed;
  top: 50%; 
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--white);;
  border-style: solid;
  border-color: var(--light-gray);;
  border-radius: 10px;
  padding: 10px;
  min-width: 300px;
  max-width: 320px;
  z-index: var(--zindex3);
}

#login-title-bar {
  display:flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  border-bottom-style: solid;
  border-color: var(--black-500);;
  padding-bottom: 2px;
}

#info-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

#info-container input {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid var(--light-gray);;
  border-radius: 6px;
  background-color: var(--white);
  color: var(--black-500);
  font-size: 16px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

#login_buttons-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding-top: 2px;
}

.login-buttons {
  min-width: 100px;
  background: var(--white);
  border: 2px solid var(--blue-strong);
  border-radius: 5px;
  padding: 5px 12px;
  color: var(--black-500);
  cursor: pointer;
}

.login-buttons:hover {
  border-color: var(--light-gray);;
  background-color: var(--blue-strong);
  transform: scale(1.05);
  font-weight: bold;
}

.toggle-password-container {
  display: inline-flex;  
  align-items: center;
  justify-content: flex-start;     
  width: 100%;
  gap: 6px;               
  padding: 10px;          
  white-space: nowrap;
  border: 1px solid var(--light-gray);
  border-radius: 5px;
  margin-top: 5px;
  margin-bottom: 5px;
}

.toggle-password-checkbox {
  width: 20px;
  height: 20px;
  border: 2px solid var(--dark-gray);
  cursor: pointer;
}

.toggle-password-label {
  flex: 1;
}


/* Anchor : Message us */
#message-screen {
  position: fixed;
  top: 50%; 
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--white);;
  border-style: solid;
  border-color: var(--light-gray);;
  border-radius: 10px;
  padding: 5px;
  min-width: 300px;
  z-index: var(--zindex3);
}

.message-fieldset {
  border: 1px solid var(--light-gray);;
  padding: 5px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

#message-label-div {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

#message-label-div label {
  font-weight: bold;
}

#message-container {
  width: 100%;
  min-height: 100px;
  padding: 5px;
}

#message-container textarea {
  width: 100%;
  min-height: 120px;
  padding: 5px;
  margin-top: 2px;
  border: 1px solid var(--light-gray);;
  background-color: var(--white);
  outline: none;
  color: var(--black-500);
}

#message-email {
  width: 100%;
  padding: 5px;
  border: 1px solid var(--light-gray);;
  background-color: var(--white);
  outline: none;
  color: var(--black-500);
}

#message-send-button-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 2px ;
}

#message-send-button {
  min-width: 100px;
  padding: 8px 12px;
  border: none;
  border-radius: 8px;
  background: var(--teal);;
  color: white;
  font-size: medium;
}

#message-send-button:hover {
  transform: scale(1.1);
}
 
/* Anchor : Share Popup Menu */
.share-popup-container {
  position: fixed;
  min-width: 300px;
  max-width: 320px;
  padding: 5px;
  background: var(--white);
  border: 2px solid var(--light-gray);
  border-radius: 10px;
  z-index: var(--zindex5);
}
.share-pop-up-text-container{
  color: var(--black-500);
  width: 100%;
}
.share-pop-up-text-container p{
  color: var(--black-500);
  width: 100%;
  text-align: center;
  padding: 8px;
  font-size: 0.9rem;
}

.share-link-header {
  flex: 1;
  margin-left: 5px;
  margin-right: 5px;
  font-weight: 600;
}

.share-popup-link-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin: 5px;
}

.share-link-display {
  flex: 1;
  width: auto;
  height: 28px;
  padding: 8px 12px;
  border-style: solid;
  border-color: var(--light-gray);
  outline: none;
  margin-right: 5px;
  font-size: 0.85rem;
}

.copy-link-button {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  border-style: none;
  border-radius: 25%;
  width: 28px;
  height: 28px;
  cursor: pointer;
  background-image: url('/static/images/copy-document-svgrepo-com.svg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  filter: invert(0);
  transition: background-color 0.2s ease, color 0.2s ease;
}

.copy-link-button:hover {
  border-radius: 0px;
  border: 1px solid var(--blue-strong);
}

body.dark .copy-link-button {
  filter: invert(1) brightness(1.1); 
}

/*Anchor : Robot Check */
.robot-top-container {
  position: fixed;
  justify-items: center;
  align-items: center;
  width: auto;
  max-width: 280px;
  padding: 8px;
  background: var(--white);;
  border-style: solid;
  border-color: var(--light-gray);;
  border-radius: 10px;
  z-index:var(--zindex5);
}

.robot-check-container {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;       
  width: 100%; 
  gap: 6px;                  
  padding: 10px;          
  width: 100%;                
  white-space: nowrap; 
  border: 1px solid var(--light-gray);
  border-radius: 5px;
  margin-top: 3px;
  margin-bottom: 3px;
}

.robot-check-box {
  width: 20px;
  height: 20px;
  border: 2px solid black;
  border-radius: 4px;
  cursor: pointer;
  transition: border-color 0.3s, background-color 0.3s;
}

.robot-check-label {
  flex: 1;
}

.robot-challenge-container {
  padding: 2px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px; 
  width: fit-content;
  max-width: 300px;
}

.robot-image-container {
  width: 256px;
  height: 106px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.robot-image {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.robot-solution-container {
  width: 100%;
  padding: 2px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.robot-solution-label {
  text-align: left;
}

.robot-solution-input {
  width: 100%; 
  box-sizing: border-box;
  padding: 5px;
  min-height: 24px;
  font-size: 16px;
  outline: none;
}

.robot-solution-submit-button {
  align-self: center;
  min-width: 100px;
  padding: 5px;
  background: var(--white);
  border: 2px solid var(--teal);
  border-radius: 5px;
  cursor: pointer;
  color: var(--black-500);
  font-size: medium;
}

.robot-solution-submit-button:hover {
  transform: scale(1.05);
  font-weight: bold;
}

/*Anchor : Alert Dialog*/
.alert-dialog-container {
  position: fixed;
  justify-content: center;
  min-width: 180px;
  max-width: 280px;
  padding: 5px;
  background: var(--white);
  border: 2px solid red;
  color: var(--black-500);
  text-align: center;
  z-index: var(--zindex5);
}

.alert-message-div {
  width: 100%;
  justify-content: center;
  padding: 5px;
  text-align: center;
}

.alert-message {
  text-align: center;
}

/* Anchor: Waiting screen */
.waiting-screen {
  position: fixed;
  top: 0; left: 0;
  min-width: 200px;
  max-width: 300px;
  min-height: 50px;
  max-height: 60px;
  background: var(--white);;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: var(--zindex5);
}

#waiting-screen-label-div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 300px;
  margin-bottom: 20px;
}

.waiting-screen-header {
  color: var(--black-500);;
  margin: 0;
}

.waiting-screen-animation-container {
  width: 300px;
  height: 10px;
  border-style: solid;
  background: var(--white);;
  position: relative;
  overflow: hidden;
  border-radius: 5px;
}

.waiting-screen-moving-div {
  width: 50px;
  height: 100%;
  background: var(--blue-strong);
  position: absolute;
  left: 0;
  animation: moveBackForth 2s infinite ease-in-out;
}

@keyframes moveBackForth {
  0% { left: 0; }
  50% { left: calc(100% - 50px); }
  100% { left: 0; }
}

/* Anchor : share button */
.share-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background-color: transparent;
  border-style: none;
  border-radius: 50%;
  cursor: pointer;
  background-image: url('/static/images/share-alt-svgrepo-com.svg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  filter: invert(0);
}

body.dark .share-button {
  filter: invert(1) brightness(1.1);
}

.share-button:hover {
  transform: scale(1.0);
  background-color: var(--blue-strong);
}

/* Anchor : Login and user information */
.login-options-div {
  position: fixed;
  display: block;
  width: fit-content;
  min-width: 120px;
  background-color: var(--white);;
  border: 2px solid var(--light-gray);
  border-radius: 5px;
  z-index: var(--zindex3);
}

.account-options-buttons {
  width: 100%;
  height: 100%;
  padding: 10px;
  background-color: var(--very-light-gray);
  border: none;
  border-bottom-style: solid;
  border-color: var(--navy-blue);
  border-width: 1px;
  align-items: center;
  text-align: left;
  color: var(--black-500);;
  cursor: pointer;
}

.account-options-buttons:hover {
  background-color: var(--pale-cyan);
  transition: all 0.2s ease;
}

#user-dashboard-container {
  position: fixed;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 2px;
  background-color: var(--white);
  color: var(--black-500);
  border: 2px solid var(--light-gray);
  border-radius: 10px;
  z-index: var(--zindex1);
}

.profile-card {
  align-items: center;
  gap: 5px;
  background-color: var(--white);;
  border: 1px solid var(--light-gray);;
  border-radius: 12px;
  padding: 5px;
  box-shadow: var(--shadow-sm-light);
}

.photo-info-container {
  display: flex;
  width: 100%;
  padding: 5px;
}

.profile-photo-container {
  position: relative;
  width: 80px;
  height: 80px;
  flex-shrink: 0;
  aspect-ratio: 1 / 1; 
  background-color: var(--white);
  border-style: solid;
  border-radius: 2px;
  border-color: var(--blue-strong);
  border-radius: 50%;
  color: var(--black-500);
  font-size: 64px;
  font-weight: bold;
  font-family: 'Courier New', Courier, monospace;
  line-height: 80px;
  text-align: center;
  text-transform: uppercase;
}

.profile-photo-container img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--blue-strong);
}

.profile-info {
  margin-left: 5px;
  padding: 5px;
}
.profile-info h2 {
  margin: 0;
  font-size: 1.3rem;
}

.profile-info p {
  margin: 2px 0;
  font-size: 0.9rem;
  opacity: 0.9;
}

.mini-btn {
  background: var(--soft-gray);
  border: 1px solid var(--light-gray);;
  border-radius: 6px;
  padding: 4px 8px;
  margin-right: 4px;
  font-size: 0.8rem;
  color: var(--black-500);;
  cursor: pointer;
}

.mini-btn:hover:not(:disabled) {
  border-color: var(--blue-strong);
  transform: scale(1.05);
}

.mini-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  background-color: #7caef5;
}

.update-account-btn-group {
  display: flex;
  width: 100%;
  justify-content: space-between;
}

#delete-account-btn {
  background-color: red;
  color: #fff;
}

.edit-info-container  {
  position: fixed;
  display: flex;
  flex-direction: column;
  min-width: 300px;
  background: var(--white);;
  border-style: solid;
  border-color: var(--light-gray);;
  border-radius: 10px;
  padding: 5px;
  z-index: var(--zindex5);
}

.edit-info-inputs-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 8px;
}

.edit-info-label {
  width: 100%;
  padding: 5px;
}

.edit-info-inputs-container input {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid var(--light-gray);
  border-radius: 6px;
  background-color: var(--white);
  color: var(--black-500);
  font-size: medium;
  outline: none;
}

.save-edit-button {
  align-self: center;
  min-width: 100px;
  padding:5px;
  border: none;
  background-color: var(--teal);
  color: white;
  border-radius: 5px;
  cursor: pointer;
}

.save-edit-button:hover {
  border: 2px solid var(--blue-strong);
  transform: scale(1.05);
}

/* Anchor : Products */
.products-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 5px;
  padding: 5px;
}

.product-card {
  overflow: hidden;
  width: 320px;
  max-width: 320px;
  background-color: var(--white);
  border: 1px solid var(--light-gray);;
  border-radius: 8px;
}

.product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px var(--shadow-light);
}

.top-ribbon-div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 10px;
  background-color: var(--soft-gray);
  border-bottom: 1px solid var(--light-gray);;
}

.product-name {
  font-weight: bold;
  color: var(--black-500);;
}

.price-tag {
  color: var(--blue-strong);
  font-weight: bold;
}

.add-to-cart-div {
  display: flex;
  padding: 2px;
  gap: 8px;
  border-color: var(--light-gray);;
  border-style: solid;
  border-radius: 5px;
  border-width: 2px;
}

.add-to-cart-button, .free-product-download-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background-color: transparent;
  border-radius: 50%;
  border-style: none;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  filter: invert(0); 
  cursor: pointer;
}

.add-to-cart-button:hover, .free-product-download-button:hover {
  background-color: var(--blue-strong);
}

.add-to-cart-button {
  background-image: url('/static/images/cart-plus-svgrepo-com.svg');
}

.free-product-download-button {
  background-image: url('/static/images/download-svgrepo-com.svg');
}

body.dark .add-to-cart-button {
  filter: invert(1) brightness(1.2);
}

body.dark .free-product-download-button {
  filter: invert(1) brightness(1.2);
}

.product-image-div {
  overflow: hidden;
  width: 100%;
  height: 180px;
  background-color: var(--soft-gray);
}

.product-image {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 320px;
  height: 180px;
  object-fit: cover;
}

.product-description-container {
  display: flex;
  justify-content: space-between;
  padding: 8px 10px;
  border-top: 1px solid var(--light-gray);;
  gap: 5px;
}

.product-description-div {
  display: flex;
  width: auto;
}

.product-more-button-div {
  height: 100%;
}

.product-description {
  color: var(--black-500);
  text-align: right;
  width: 100%;
  font-size: 0.95rem;
}

.product-more-button {
  height: 24px;
  width: 24px;
  background: url('/static/images/expand-more-circle-svgrepo-com.svg') no-repeat center;
  background-size: contain;
  border: none;
  border-radius: 50%;
  background-color: transparent;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease;
  filter: invert(0);
}

.product-more-button:hover {
  transform: rotate(180deg);
  background-color: var(--pale-cyan);
}

body.dark .product-more-button {
  filter: invert(1);
}


.product-temp-container {
  display: flex;
  flex-direction: column;
  align-self: center;
  gap: 20px;
  margin-top: 2px;
  margin-bottom: 8px;
  padding: 8px;
  background: var(--white);
  color: var(--black-500);
  border: 1px solid var(--light-gray);;
  border-left-style: none;
  border-right-style: none;
  box-shadow: var(--shadow-light);
}

.product-temp-intro {
  display: flex;
  gap: 20px;
  align-items: center;  
}

.product-temp-image {
  width: 480px;
  height: 270px;
  box-shadow: var(--shadow-light);
  background-color: var(--soft-gray);
}

.product-temp-brief {
  flex: 1 1 0%;           
  box-sizing: border-box;
}

@media (max-width: 1000px) {
  .product-temp-intro  {
    flex-direction: column;
    align-items: flex-start;
  }
  .product-temp-image {
    width: 100%;
    height: auto;
  }
  .product-temp-brief  {
    max-width: 100%;
  }
}


.product-temp-brief p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5em;
  text-align: justify;
}

.product-temp-brief ul, .product-temp-brief ol {
  font-size: 0.95rem;
}

.product-temp-download-options-header {
  margin: 0 0 6px 0;
  font-size: 1rem;
  font-weight: 500;
}

.product-temp-downloads table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.9rem;
}

.product-temp-downloads thead {
  background: var(--soft-gray);
}

.product-temp-downloads th,
.product-temp-downloads td {
  padding: 10px;
  border: 1px solid var(--mid-gray);
}

.product-temp-downloads th {
  font-weight: 500;
}

.product-temp-download-btn {
  padding: 5px;
  background: var(--teal);
  border: none;
  border-radius: 2px;
  color: white;
  font-size: 0.85rem;
  cursor: pointer;
}

.product-temp-download-btn:hover {
  transform: scale(1.05);
}

.product-temp-download-btn.loading {
  opacity: 0.6;
  cursor: progress;
}

.product-temp-info-block {
  padding: 10px 0;
  border-top: 1px solid var(--light-gray);;
}

.product-temp-info-block h4 {
  margin: 0 0 6px 0;
  font-size: 1rem;
  font-weight: 500;
  color: var(--black-500);;
}

.product-temp-info-block .product-temp-info-content {
  font-size: 0.9rem;
  background: var(--soft-gray);
  border: 1px solid var(--mid-gray);
  padding: 10px;
  color: var(--black-500);;
}

.product-temp-frequest-button {
  display: inline;   
  background: none;
  border: none;
  padding: 0; 
  margin: 0 0.2em;
  color: var(--blue-strong);   
  cursor: pointer;
  text-decoration: underline;
  font-family: inherit;
  font-size: inherit;
  transition: color 0.2s;
}

.product-temp-frequest-button:hover {
  color: #0056b3;
}

.wait-list-container,
.feedback-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 320px;
  z-index: var(--zindex3);
  padding: 5px;
  border: 2px solid var(--light-gray);
  border-radius: 10px;
  background: var(--white);
  opacity: 1;
}

.waitlist-label-div, 
.feedback-label-div {
  flex: 1;
}

.wait-list-info-div {
  text-align: center;
  width: 100%;
  margin-top: 5px;
  padding: 5px;
  color: var(--black-500);
  font-size: 0.9rem;
}

.wait-email-container,
.feedback-email-container {
  border: 1px solid var(--light-gray);
  padding: 5px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feedback-textarea-fieldset {
  width: 100%;
}

.feedback-textarea-fieldset  textarea {
  width: 100%;
  min-height: 120px;
  min-width: 300px;
  padding: 5px;
  margin-top: 2px;
  border: 1px solid var(--light-gray);;
  background-color: var(--white);
  outline: none;
  color: var(--black-500);
}

.wait-list-email, 
.feedback-email {
  width: 100%;
  padding: 5px;
  border: 1px solid var(--light-gray);;
  background-color: var(--white);
  outline: none;
  color: var(--black-500);
  border-radius: 5px;
}

.wait-list-button-div, 
.feedback-button-div {
  margin: 5px;
  display: flex;
  justify-content: center;
  width: 100%;
}

.wait-list-button,
.feedback-button {
  padding: 5px;
  background-color: var(--teal);
  border: none;
  border-radius: 5px;
  align-self: center;
  width: 80%;
  color: white;
  font-weight: 600;
}

.wait-list-button:hover, 
.feedback-button:hover {
  transform: scale(1.05);
}
/* Anchor : Blog card */

.blog-cards-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 5px;
  padding: 5px;
}

.blog-news-container {
  width: 320px;
  overflow: hidden;
  border: 1px solid var(--light-gray);;
  border-radius: 8px;
  background-color: var(--white);
  box-shadow: var(--shadow-light);
}

.blog-news-container:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px var(--shadow-light);
  background-color: var(--pale-cyan);
}

.blog-linked-container {
  display: block;
  width: 100%;
  text-decoration: none;
  color: inherit;
}

.blog-title-container {
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 5px;
  font-size: 1rem;         
  min-height: calc(1.2em * 3 );  
  max-height:  calc(1.2em * 3 );
  height:  calc(1.2em * 3 );
}

.blog-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--black-500);;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
}

.blog-linked-container:hover .blog-title {
  color: var(--blue-strong);
}

.blog-thumbnail-container {
  width: 100%;
  height: 180px;
  overflow: hidden;
  background-color: var(--soft-gray);
}

.blog-thumbnail-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.blog-link:hover .blog-thumbnail-container img {
  transform: scale(1.05);
}

.blog-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5px 5px;
  border-top: 1px solid var(--light-gray);;
  background-color: var(--soft-gray);
}

.blog-source-container {
  flex: 1;
}

.blog-source {
  font-size: 0.90rem;
  font-weight: 500;
  color: var(--black-500);
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 600;
}

.blog-date-container {
  flex-shrink: 0;
  margin-left: 8px;
}

.blog-date {
  font-size: 0.90rem;
  color: var(--black-500);;
  opacity: 1.0;
  margin: 0;
}

.blog-share-button-container {
  flex-shrink: 0;
  margin-left: 8px;
}

.blog-post {
  width: 100%;
  margin: 5px auto;
  padding: 8px;
  border: 1px solid var(--light-gray);;
  border-left-style: none;
  border-right-style: none;
  box-shadow: var(--shadow-light);
  transition: background 0.3s ease, border-color 0.3s ease;
  align-self: center;
}

.blog-post-header {
  margin: 5px;
  margin-bottom: 8px;
}

.blog-post-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--black-500);
  margin-bottom: 5px;
  line-height: 1.2;
}

.blog-post-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  color: var(--black-500);
  opacity: .9;
}

.blog-post-content {
  margin: 5px;
  margin-top: 10px;
  color: var(--black-500);
}

.blog-post-content p {
  width: 100%;
  text-align: justify;
  font-size: 0.95rem;
}
.blog-post-content ul, .blog-post-content ol {
  font-size: 0.95rem;
}
@media (max-width: 980px) {
  .products-container,
  .blog-cards-container {
    justify-content: center;
  }
}

@media (max-width: 768px){
  .privacy-policy-container ul, .privacy-policy-container ol {
    text-align: left;
  }
  .product-temp-brief p {
    text-align: left;
  }
  .blog-post-content p {
    text-align: left;
  }
}