/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS and SCSS file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS/SCSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *
 *= require_tree .
 *= require_self
 */

:root {
  --at-blue: #243bb7;
  --at-blue-dark: #182680;
  --ink: #252936;
  --muted: #6d7380;
  --line: #dfe3ea;
  --surface: #ffffff;
  --canvas: #f6f7fb;
  --mint: #d9f1e8;
  --coral: #f7d9d3;
  --sun: #f9edb6;
  --positive: #10795d;
  --negative: #bc4a3b;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--canvas);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.45;
}

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

.button-style {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 18px;
  color: var(--surface);
  background-color: var(--at-blue);
  border: 1px solid var(--at-blue);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  transition: background-color 150ms ease, border-color 150ms ease, transform 150ms ease;
  cursor: pointer;
}

.button-style:hover {
  background-color: var(--at-blue-dark);
  border-color: var(--at-blue-dark);
  transform: translateY(-1px);
}

.delete-button {
  color: var(--negative);
  background-color: var(--surface);
  border-color: var(--negative);
}

.delete-button:hover {
  color: var(--surface);
  background-color: var(--negative);
  border-color: var(--negative);
}

.tooltip {
  position: relative;
  display: inline-block;
  cursor: pointer;
}

.tooltip-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: var(--surface);
  color: var(--ink);
  font-size: 14px;
  border: 1px solid black;
}

.tooltip-text {
  visibility: hidden;
  width: 400px;
  background-color: var(--ink);
  color: #fff;
  text-align: left;
  border-radius: 6px;
  padding: 10px;
  position: absolute;
  z-index: 1;
  left: 130%; /* Position to the right of the icon */
  top: 50%; /* Center vertically */
  transform: translateY(-50%); /* Ensure perfect vertical centering */
  opacity: 0;
  transition: opacity 0.3s, visibility 0.3s;
}


.tooltip:hover .tooltip-text {
  visibility: visible;
  opacity: 1;
}
