body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: var(--body-color);
  color: var(--text-color);
}

/* Define default light mode colors */
:root {
  --alvaro: #088F8F;
  --alvaro-hover: #0C99BA;
  --body-color: #ffffff;
  --sidebar-color: #088F8F;
  --header-color: #000000; /* Light mode header background color */
  --header-text-color: #FFFFFF; /* Light mode header text color */
  --card-color: #EEEEEE; /* Light mode card background color */
  --card-border: #DDDDDD; /* Light mode card border color */
  --card-text-secondary: #2A2A2A; /* Light mode card secondary text color */
  --primary-color: #545454;
  --primary-color-light: #CCCCCC;
  --toggle-color: #000000;
  --toggle-background-color: #FFFFFF;
  --text-color: #000000;
  --icon-color: #000000;
  --charcoal-black-white: #36454F;
}

/* Dark mode colors */
body.dark {
  --alvaro: #DADADA;
  --alvaro-hover: #FFFFFF;
  --body-color: #191919;
  --sidebar-color: #1e1e1e;
  --header-color: #333333; /* Dark mode header background color */
  --header-text-color: #FFFFFF; /* Dark mode header text color */
  --card-color: #333333; /* Dark mode card background color */
  --card-border: #444444; /* Dark mode card border color */
  --card-text-secondary: #DADADA; /* Dark mode card secondary text color */
  --primary-color: #545454;
  --primary-color-light: #545454;
  --toggle-color: #FFFFFF;
  --toggle-background-color: #000000;
  --text-color: #FFFFFF;
  --icon-color: #FFFFFF;
  --charcoal-black-white: #DADADA;
}

/*Sidebar*/
.sidebar {
  height: 100vh;
  position: fixed;
  top: 0;
  left: -250px; /* Hide sidebar off-screen */
  width: 250px;
  border-right: 1px solid #ddd;
  transition: left 0.3s ease;
  z-index: 1000; /* Ensure it’s above content */
  display: flex;
  flex-direction: column;
  background-color: var(--sidebar-color); /* Use variable for dynamic background */
  color: var(--text-color); /* Use variable for dynamic text color */
}

.sidebar .nav-link {
  color: var(--text-color); /* Link color according to the theme */
}

.sidebar .nav-link.active {
  background-color: var(--primary-color); /* Background color for active link */
  color: var(--text-color); /* Color of active link text */
}

.sidebar .nav-link:hover {
  background-color: var(--primary-color-light); /* Background color on hover */
  color: var(--text-color); /* Color of link text on hover */
  transform: scale(1.05);
}

.sidebar .nav-item i {
  color: var(--icon-color); /* Icon color according to the theme */
}

.sidebar.open {
  left: 0; /* Show sidebar */
}

.sidebar .close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  cursor: pointer;
  font-size: 24px;
  color: var(--header-text-color); /* Color of close button */
  z-index: 1001; /* Ensure it's above the sidebar */
}

.sidebar .sidebar-content {
  margin-top: 10px; /* Space below the close button */
  padding: 0 10px;
}

/* Header */
header {
  background-color: var(--header-color); /* Header background color */
  padding: 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

body.dark .sidebar header .toggle {
  color: var(--text-color);
}

/*Main content*/
.main-content {
  padding: 20px;
  left: 60px;
  transition: margin-left 0.3s ease;
  position: relative;
}

.main-content.sidebar-open {
  margin-left: 250px; /* Adjust margin when sidebar is open */
}

.toggle-btn {
  position: fixed; /* Fixed position */
  top: 20px;
  left: 20px;
  cursor: pointer;
  font-size: 24px;
  z-index: 1001; /* Ensure it's above other elements */
  color: var(--toggle-color); /* Color of toggle button icon */
}

.bg-image {
  background-size: cover;
  background-position: center;
  height: 100vh;
}

/* Container for the dark mode toggle */
.mode {
  display: flex;
  align-items: center;
  margin-top: 5px;
}

/* Container for the sun and moon icons */
.moon-sun {
  height: 50px;
  width: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  margin-right: 10px;
}

.moon-sun i {
  font-size: 20px; /* Adjust icon size */
  transition: opacity 0.3s ease;
  color: var(--text-color); /* Default icon color */
  font-size: 20px;
  position: absolute;
  transition: var(--tran-02);
}

.moon-sun .sun {
  opacity: 0; /* Hide sun icon by default */
}

/* Toggle switch background */
.toggle-switch {
  width: 40px;
  height: 20px;
  background: var(--toggle-background-color);
  border-radius: 20px;
  position: relative;
  cursor: pointer;
}

/* Circular element inside the toggle switch */
.toggle-switch .switch {
  position: absolute;
  top: 2.5px;
  left: 5px;
  width: 15px;
  height: 15px;
  background: var(--toggle-color);
  border-radius: 50%;
  transition: left 0.3s ease;
}

/* Dark mode active */
body.dark .toggle-switch .switch {
  left: 20px;
  background: var(--icon-color);
}

/* Dark mode background */
body.dark .toggle-switch {
  background: #666;
}

.mode-text {
  margin-right: 10px;
  font-size: 16px;
  color: var(--body-color); /* Ensure the text color adapts to dark mode */
}

.mode .moon-sun {
  position: relative; /* Position relative to allow absolute positioning of icons */
  width: 24px; /* Set a fixed width for the container */
  height: 24px; /* Set a fixed height for the container */
  display: inline-block; /* Make sure the container behaves like an inline element */
}

.mode .moon-sun .sun {
  width: 100%; /* Ensure the icon fills the container */
  height: 100%; /* Ensure the icon fills the container */
  position: absolute; /* Position absolute to overlap icons */
  color: var(--body-color); /* Ensure the text color adapts to dark mode */
  transition: opacity 0.3s; /* Smooth transition for opacity */
  opacity: 1; /* Default to visible */
}

.mode .moon-sun .moon {
  width: 100%; /* Ensure the icon fills the container */
  height: 100%; /* Ensure the icon fills the container */
  position: absolute; /* Position absolute to overlap icons */
  color: var(--body-color); /* Ensure the text color adapts to dark mode */
  transition: opacity 0.3s; /* Smooth transition for opacity */
  opacity: 0; /* Default to hidden */
}

body.dark .mode .moon-sun .sun {
  opacity: 1; /* Show sun icon in dark mode */
}

body.dark .mode .moon-sun .moon {
  opacity: 0; /* Hide moon icon in dark mode */
}


/* Add styles for the language toggle switch */
.lang-mode .lang-toggle-btn {
  background-color: var(--body-color); /* Button background color */
  color: var(--text-color); /* Text color */
  border: none; /* Remove default border */
  padding: 8px 16px; /* Button padding */
  border-radius: 50px; /* Rounded corners */
  cursor: pointer; /* Cursor on hover */
  transition: background-color 0.3s; /* Smooth transition on hover */
}

.lang-mode .lang-toggle-btn:hover {
  transform: scale(1.05);
}



/*Sidebar*/
.sidebar header {
  position: relative;
}

.sidebar .image-text {
  display: flex;
  align-items: center;
  margin-top: 10px;
}

.sidebar header .text.header-text {
  margin-left: 10px; /* Adjusts the space between the image and the text */
  font-size: 18px; /* Optional: Adjusts the text size */
  font-weight: 600; /* Optional: Makes the text bolder */
  color: var(--header-text-color); /* Header text color */
}

.sidebar .image-text img {
  width: 35px;
  border-radius: 5px;
}

.sidebar header .image-text {
  display: flex;
  align-items: center;
  margin: 10px;
}

.sidebar .text {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-color);
  transition: var(--tran-03);
  white-space: nowrap;
  opacity: 1;
}
.sidebar li {
  height: 50px;
  margin-top: 0px;
  list-style: none;
  align-items: center;
}
.sidebar li .icon, .sidebar li .text {
  color: var(--text-color);
  transition: var(--tran-02);
}
header .image-text .header-text {
  display: flex;
  flex-direction: column;
}
.header-text .name {
  font-weight: 400;
}



/* Profile */
.main-body {
  padding: 15px;
}

.card {
  position: relative;
  display: flex;
  word-wrap: break-word;
  background-color: var(--card-color);
  color: var(--text-color);
  background-clip: border-box;
  border: 0 solid rgba(0,0,0,.125);
  border-radius: .25rem;
  width: 80%;
  box-shadow: 0 1px 3px 0 rgba(0,0,0,.1), 0 1px 2px 0 rgba(0,0,0,.06);
}

.card.ap {
  width: 60%;
  position: relative;
  display: flex;
  margin-left: 30px;
  padding-bottom: 10px;
  word-wrap: break-word;
  background-color: var(--card-color);
  color: var(--text-color);
  background-clip: border-box;
  border: 0 solid rgba(0,0,0,.125);
  border-radius: .25rem;
  box-shadow: 0 1px 3px 0 rgba(0,0,0,.1), 0 1px 2px 0 rgba(0,0,0,.06);
}

.card-body {
  flex: 1 1 auto;
  min-height: 1px;
  padding: 1rem;
}

.card-ap {
  width: 80%;
  margin-top: 50px;
  position: relative;
  word-wrap: break-word;
  border-radius: .25rem;
  color: var(--text-color);
}

.card-row {
  width: 100%;
  display: flex;
  padding: 5px;
  gap: 10px;
}

.card-text-secondary {
  color: var(--card-text-secondary);
}

.rounded-circle {
  height: 300px;
  width: 300px;
}

.shadow-none {
  box-shadow: none!important;
}

.user-details {
  width: 100%;
  display: flex;
  padding: 5px;
  gap: 10px;
}



/* Complaint Form */
.heading {
  width: 100%;
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-color);
}

.chat {
  padding-bottom: 20px;
  transition: margin-left 0.3s ease;
  position: relative;
}

.chat.sidebar-open {
  margin-left: 250px; /* Adjust margin when sidebar is open */
}

.complaint-form {
  margin-top: 20px;
  background-color: var(--primary-color-light);
  color: var(--text-color);
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.chat-box {
  max-height: 400px;
  overflow-y: auto;
  background-color: var(--primary-color-light);
  color: var(--text-color);
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.chat-message {
  margin-bottom: 15px;
  padding: 10px;
  border-radius: 8px;
  background-color: var(--card-color);
  color: var(--text-color);
}

.chat-message .user {
  font-weight: bold;
}

.chat-message .timestamp {
  font-size: 0.8em;
  color: var(--text-color);
}

.chat-message .message {
  margin-top: 5px;
}



/* Form Popup */
.open-button {
  background-color: var(--alvaro);
  color: black;
  padding: 16px 20px;
  border: none;
  cursor: pointer;
  opacity: 0.8;
  position: fixed;
  border-radius: 50px;
  bottom: 25px;
  right: 25px;
  width: 200px;
}

.open-button:hover {
  background-color: var(--alvaro-hover);
  transform: scale(1.05);
}

.form-popup{
  height: 100%; /* Set max height */
  display: none;
  position: fixed;
  top: 0;
  right: 15px;
  z-index: 9;
}

.form-container {
  height: 100%; /* Fixed height to ensure consistent layout */
  width: 500px;
  background-color: #ffffff;
  position: relative;
  overflow: hidden;
  box-shadow: 8px 8px 20px rgba(128, 128, 128, 0.2);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  padding: 5px;
  color: var(--card-color);
  background-color: var(--card-text-secondary);
}

.form-container .open-button:hover {
  opacity: 1;
}

.form-container input {
  width: 100%;
  padding: 15px;
  margin: 5px 0 10px 0;
  border: none;
  border-radius: 50px;
  background: #F1F1F1;
}

.form-container input :focus {
  background-color: #DDD;
  outline: none;
}

/* Adjustments for form popup file input */
.form-container-file-input-wrapper {
  position: relative;
  margin: 10px;
  height: 40px; /* Height of the wrapper */
  background-color: rgb(240, 240, 240); /* Background of the wrapper */
  border-radius: 50px; /* Rounded corners */
  border: 1px solid hsl(0, 0%, 87%); /* Border styling */
  display: flex; /* Flexbox to center content */
  align-items: center; /* Vertically center content */
  padding: 0 15px; /* Padding inside the container */
  box-sizing: border-box; /* Include padding and border in the width */
  transition: background-color 0.3s; /* Smooth transition for hover effect */
  cursor: pointer; /* Pointer cursor */
}

.form-container-file-input-wrapper:hover {
  background-color: #CCCCCC; /* Hover effect background */
  transform: scale(1.05);
}

.custom-file-label {
  font-size: 15px; /* Font size */
  color: #000; /* Text color */
  width: 100%; /* Full width label */
  text-align: center; /* Center text */
  pointer-events: none; /* Prevent label from blocking input */
  white-space: nowrap; /* Prevent text from wrapping */
  overflow: hidden; /* Hide overflowing text */
  text-overflow: ellipsis; /* Add ellipsis for overflowing text */
  z-index: 1; /* Position it below the input */
}

h2 {
  text-align: center;
}



/* Table */
.table-card {
  width: 90%;
  border-collapse: separate; /* Important for border-radius to work */
  border-spacing: 0;
  border: 1px solid var(--card-border);
  border-radius: 20px; /* Rounded corners for the table */
  overflow: hidden; /* Ensures rounded corners are visible */
  position: relative;
  background-color: var(--card-color);
  color: var(--text-color);
  background-clip: border-box;
  box-shadow: 0 1px 3px 0 rgba(0,0,0,.1), 0 1px 2px 0 rgba(0,0,0,.06);
}

.table-head {
  width: 100%;
  height: 60px;
  background-color: var(--text-color);
  color: var(--card-color);
  font-size: 17px;
  border-radius: 20px;
  padding: 10px;
  border: 1px solid var(--card-border);
}

.table-td {
  height: 20px;
  font-size: 15px;
  border-radius: 20px;
  padding: 5px;
  color: var(--text-color);
}

.table-td, .table-head th {
  border-radius: 5px; /* Right top corner rounded */
  text-align: center;
  border: 1px solid var(--card-border); /* Adds bottom border to the header */
}

.table-row th:first-child {
  border-top-left-radius: 20px; /* Left top corner rounded */
}

.table-row th:last-child {
  border-top-right-radius: 20px; /* Right top corner rounded */
}



.double-block {
  height: 40px;
  margin-top: auto; /* Push the button container to the bottom */
  margin-bottom: 10px; /* Add margin-bottom to create space at the bottom */
  margin-left: 10px;
  margin-right: 10px;
  display: flex;
  justify-content: center;
  box-sizing: border-box; /* Ensures padding is included in width and height */
  gap: 20px;
}

.primary-btn {
  background-color: var(--text-color);
  width: 50%;
  padding: 5px 20px 5px 20px;
  height: 40px;
  font-size: 13px;
  border-radius: 20px;
  color: var(--body-color);
  border: 1px solid black;
  cursor: pointer;
  margin: 5px;
  opacity: 0.8;
}

.primary-btn:hover {
  background-color: var(--body-color); /* Hover effect background */
  color: var(--text-color);
  transform: scale(1.05);
}

.btn-edit {
  height: 30px;
  width: 100%;
  background-color: #0C3F3F;
  font-size: 13px;
  border-radius: 20px;
  color: #FFFFFF;
  border: none;
  cursor: pointer;
  opacity: 0.8;
}

.btn-delete {
  height: 30px;
  width: 100%;
  background-color: maroon;
  font-size: 13px;
  border-radius: 20px;
  color: #FFFFFF;
  border: none;
  cursor: pointer;
  opacity: 0.8;
}

.rounded-button {
  position: fixed; /* Fix the button's position relative to the viewport */
  bottom: 20px; /* Adjust as needed to position the button */
  right: 20px; /* Adjust as needed to position the button */
  z-index: 1000; /* Higher than any other element */
  background-color: var(--alvaro); /* Example button styling */
  color: #000; /* Example button text color */
  border: none; /* Remove default border */
  border-radius: 50%; /* Make the button round */
  width: 60px; /* Adjust button size */
  height: 60px; /* Adjust button size */
  display: flex; /* Center the icon */
  align-items: center; /* Center the icon */
  justify-content: center; /* Center the icon */
  cursor: pointer; /* Change cursor to pointer */
}


.rounded-button:hover {
  background-color: var(--alvaro-hover);
  transform: scale(1.05);
}



/* Login */
.title {
  font-weight: 400;
  letter-spacing: 1.5px;
}

.container1 {
  height: 100%; /* Fixed height to ensure consistent layout */
  width: 500px;
  background-color: #ffffff;
  position: relative;
  overflow: hidden;
  box-shadow: 8px 8px 20px rgba(128, 128, 128, 0.2);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.btn {
  height: 80px;
  width: 100%;
  margin-bottom: 30px;
  box-shadow: 10px 10px 30px rgb(30, 118, 121);
  border-radius: 10px;
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.login,
.register {
  height: 100%;
  width: 100%;
  font-size: 18px;
  border: none;
  outline: none;
  background-color: transparent;
  position: relative;
  cursor: pointer;
}

.login:hover,
.register:hover {
    color: #aaa;
    transform: scale(1.05);
}

.slider {
  height: 80px;
  width: 50%;
  border-radius: 10px;
  background-image: linear-gradient(to right,#333333,#1aaaaa);
  position: absolute;
  left: 0%;
  transition: all 0.5s ease-in-out;
}

.moveslider {
  left: 250px;
}

.form-section {
  display: flex;
  transition: all 0.5s ease-in-out;
  position: relative;
  left: 0;
  flex-grow: 1; /* Allow form section to take up remaining space */
}

.form-section-move {
  left: -100%;
}

.remember-me {
  font-size: 15px;
  margin-top: 20px;
}

.ele {
  height: 40px;
  width: 100%;
  outline: none;
  border: none;
  color: rgb(77, 77, 77);
  background-color: rgb(240, 240, 240);
  border-radius: 50px; /* Ensures all corners are fully rounded */
  border: 1px solid #ddd;
  padding-left: 30px;
  font-size: 15px;
  box-sizing: border-box; /* Ensures padding is included in width and height */
  transition: background-color 0.3s;
}

.ele:hover {
  transform: scale(1.05);
}

/* Adjustments for radio buttons */
.radio {
  height: 40px;
  width: 33%;
  font-size: 15px;
  background-color: rgb(240, 240, 240);
  color: #000;
  border-radius: 50px; /* Ensures all corners are fully rounded */
  border: 1px solid #ddd;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.3s;
}

.input-box {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px;
  gap: 10px;
}

.input-box.radio-box {
  padding: 20px;
}

.radio.active {
  background-color: blue; /* Change background color for selected radio */
  color: #fff; /* Change text color for better visibility */
}

.radio:hover {
  background-color: blue; /* Change background color for selected radio */
  color: #fff; /* Change text color for better visibility */
  transform: scale(1.05);
}

.radio input {
  display: none; /* Hide the actual radio button */
}

.radio label {
  cursor: pointer;
}

/* Adjustments for file input */
.file-input-wrapper {
  position: relative;
  width: calc(100% - 10px); /* Full width minus margins */
  margin-left: 20px; /* Left margin */
  margin-right: 20px; /* Right margin */
  height: 40px; /* Height of the wrapper */
  background-color: rgb(240, 240, 240); /* Background of the wrapper */
  border-radius: 50px; /* Rounded corners */
  border: 1px solid hsl(0, 0%, 87%); /* Border styling */
  display: flex; /* Flexbox to center content */
  align-items: center; /* Vertically center content */
  padding: 0 15px; /* Padding inside the container */
  box-sizing: border-box; /* Include padding and border in the width */
  transition: background-color 0.3s; /* Smooth transition for hover effect */
  cursor: pointer; /* Pointer cursor */
}

.file-input-wrapper:hover {
  background-color: #CCCCCC; /* Hover effect background */
  transform: scale(1.05);
}

.profile_image {
  position: absolute; /* Position it absolutely */
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0; /* Hide the default file input */
  z-index: 2; /* Place it above the label */
  cursor: pointer; /* Maintain pointer cursor */
}

.custom-file-label {
  font-size: 15px; /* Font size */
  color: #000; /* Text color */
  width: 100%; /* Full width label */
  text-align: center; /* Center text */
  pointer-events: none; /* Prevent label from blocking input */
  white-space: nowrap; /* Prevent text from wrapping */
  overflow: hidden; /* Hide overflowing text */
  text-overflow: ellipsis; /* Add ellipsis for overflowing text */
  z-index: 1; /* Position it below the input */
}

.login-box,
.register-box {
  height: 500px;
  width: 500px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0px 40px;
  gap: 10px;
  position: relative; /* Make the box relative to position the button */
}

.btn-container {
  margin-top: auto; /* Push the button container to the bottom */
  margin-bottom: 20px; /* Add margin-bottom to create space at the bottom */
  width: 100%; /* Ensure button is centered */
  display: flex;
  justify-content: center;
}

.btn-register,
.btn-login {
  height: 60px;
  width: 150px;
  border-radius: 50px;
  background-image: linear-gradient(to right,
  #333333,
  #1aaaaa);
  font-size: 18px;
  border: none;
  cursor: pointer;
}

.btn-login:hover,
.btn-register:hover {
    background-color: #137a7a;
    color: #fff;
    transform: scale(1.05);
}



/* User card */
.cards-container {
  width: 100%; /* Ensure a maximum width */
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.user-card {
  border: 1px solid var(--card-border);
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.2s;
  background-color: var(--card-color);
  display: flex;
  flex-direction: column;
  max-width: 200px; /* Ensure a maximum width */
  margin-bottom: 10px; /* Space between rows */
}

.user-card:hover {
  transform: scale(1.05);
}

.user-card img {
  border-bottom: 1px solid var(--card-color);
  height: 150px;
  object-fit: cover;
  border-radius: 8px
}

.user-card .card-body {
  padding: 1px;
  text-align: center;
}

.user-card .card-title {
  font-size: 1.25rem;
  font-weight: bold;
  margin: 5px;
}

.user-card .card-text {
  font-size: 0.9rem;
  color: #666;
}



/* Fingerprints button */





svg {
  width: 80%;
  filter: drop-shadow( -1px -1px 1px rgb(55, 84, 170, 0.2));
}

.draw {
  opacity: 0;
  transition: opacity ease-in-out 1s;
}

.prints {
  opacity: 0;
}

.button {
  position: relative;
  width: 50px;
  height: 50px;
  background: #f1f3f6;
  border-radius: 50%;
  box-shadow: 
  inset 0 0 15px rgba(55, 84, 170, 0), 
  inset 0 0 20px rgba(255, 255, 255, 0), 
  10px 10px 18px rgba(55, 84, 170, 0.15), 
  -10px -10px 22px white, 
  inset 0px 0px 4px rgba(255, 255, 255, 0.2);
  transition: box-shadow 0.7s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
  outline: none;
  border: none;
  font-size: 0;
}

.button:hover, .button:focus {
  box-shadow: inset 7px 7px 15px rgba(55, 84, 170, 0.15), inset -7px -7px 20px white, 0px 0px 4px rgba(255, 255, 255, 0.2);
}

.button:hover .draw {
  opacity: 0.4;
}
.button:hover .prints{
  opacity: 1;
  transition: opacity ease-in-out 0.8s;
}

.button:before {
  content: '';
  width: 14px;
  height: 14px;
  background-color: #f1f3f6;
  border-radius: 50%;
  position: absolute;
  box-shadow: inset 2px 2px 5px rgba(55, 84, 170, 0.15), inset -2px -2px 5px white, 0px 0px 4px rgba(255, 255, 255, 0.2);
}

.button:after {
  --color: rgb(30, 113, 119);
  content: '';
  width: 3px;
  height: 3px;
  background-color: white;
  border-radius: 50%;
  position: absolute;
  z-index: 9999;
  box-shadow: inset 0px 0px 1px var(--color), 
  0px 0px 2px var(--color), 
  0px 0px 3px var(--color), 
  0px 0px 4px var(--color),
  0px 0px 5px var(--color),
  0px 0px 6px var(--color),
  0px 0px 7px var(--color),
  0px 0px 20px var(--color),
  0px 0px 15px var(--color);
  animation: flash 0.6s infinite alternate forwards;
  transition: box-shadow 0.7s ease-in-out 0.5s;
}

.button:hover:after {
  --color: #ff002f;
}

@keyframes flash {
  0% {
  opacity: 0;
  }
  100% {
  opacity: 1;
  }
}



/* Settings box */
.settings-box {
  padding: 16px 20px;
  border: none;
  display: flex;
  margin-top: 30px;
  padding: 20px;
  flex-direction: column;
  gap: 20px;
  cursor: pointer;
}

.alert-error {
  min-height: 60px;
  margin: 0 2px 10px 2px;
  padding: 5px;
  display: flex;               /* Use flexbox for alignment */
  align-items: center;         /* Center items vertically */
  justify-content: center;
  text-align: center;
  border-radius: 5px;
  background-color: #ff93a6;
  font-size: 18px;
  border: none;
  cursor: pointer;
}

.alert-success {
  min-height: 60px;
  margin: 0 2px 10px 2px;
  padding: 5px;
  display: flex;               /* Use flexbox for alignment */
  align-items: center;         /* Center items vertically */
  justify-content: center;
  text-align: center;
  border-radius: 5px;
  background-color: #9ad4d4;
  font-size: 18px;
  border: none;
  cursor: pointer;
}