@import url("/assets/application-4381d286.css");
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap");

:root {
  --rt-primary: #e31d6b;
  --rt-primary-light: #f279a8;
  --rt-primary-dark: #8b0e3f;
  --rt-gradient-start: #c01558;
  --rt-gradient-end: #ff5a9c;
  --rt-primary-soft: #fde6f0;
  --rt-canvas: #f4f7f9;
  --rt-surface: #ffffff;
  --rt-ink: #20313d;
  --rt-muted: #6c7c86;
  --rt-line: #dfe7eb;
  --rt-success: #16805b;
  --rt-danger: #c74454;
  --rt-radius: 12px;
  --rt-shadow: 0 10px 30px rgba(31, 52, 65, 0.08);
  --rt-brand-shadow: 0 8px 24px rgba(139, 14, 63, 0.2);
}

html,
body {
  color: var(--rt-ink);
  background: var(--rt-canvas);
  font-family: "Poppins", "Segoe UI", Arial, sans-serif;
}

a,
a:link,
a:visited {
  color: var(--rt-primary-dark);
}

a:hover,
a:focus {
  color: var(--rt-primary);
}

#top-menu {
  min-height: 34px;
  padding: 3px 22px;
  background: #6f183d;
  color: rgba(255, 255, 255, 0.82);
}

#top-menu a,
#top-menu a:link,
#top-menu a:visited {
  color: rgba(255, 255, 255, 0.88);
  font-weight: 500;
}

#top-menu a:hover,
#top-menu a:focus {
  color: #fff;
  text-decoration: none;
}

#header {
  min-height: 72px;
  padding: 18px 26px 8px;
  background: linear-gradient(110deg, var(--rt-gradient-start), var(--rt-gradient-end));
  box-shadow: var(--rt-brand-shadow);
}

#header h1 {
  margin: 0 0 12px;
  color: #fff;
  font-size: 24px;
  font-weight: 650;
  letter-spacing: -0.02em;
  text-shadow: none;
}

#header h1::before {
  display: inline-block;
  width: 11px;
  height: 27px;
  margin: 0 11px -5px 0;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  content: "";
}

#quick-search label,
#quick-search a,
#quick-search a:link,
#quick-search a:visited {
  color: #fff;
}

#quick-search input {
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.96);
}

#main-menu {
  left: 22px;
}

#main-menu li a {
  margin-right: 3px;
  padding: 8px 13px;
  border-radius: 9px 9px 0 0;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
}

#main-menu li a:hover {
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
}

#main-menu li a.selected,
#main-menu li a.selected:hover {
  background: var(--rt-canvas);
  color: var(--rt-primary-dark);
}

#main {
  background: var(--rt-canvas);
}

#content {
  min-height: calc(100vh - 175px);
  padding: 24px 28px 32px;
  background: var(--rt-canvas);
}

#sidebar {
  padding: 24px 18px 30px;
  background: #fff;
  box-shadow: -4px 0 22px rgba(30, 52, 66, 0.05);
}

#sidebar h3 {
  color: var(--rt-primary-dark);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
h4 {
  color: var(--rt-ink);
}

h2 {
  margin-bottom: 18px;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.box,
.issue,
.journal,
.version-overview,
.news-article,
.splitcontentleft > div,
.splitcontentright > div {
  border: 1px solid var(--rt-line);
  border-radius: var(--rt-radius);
  background: var(--rt-surface);
  box-shadow: var(--rt-shadow);
}

.box {
  padding: 18px 20px;
}

table.list {
  overflow: hidden;
  border: 1px solid var(--rt-line);
  border-radius: var(--rt-radius);
  background: var(--rt-surface);
  box-shadow: 0 6px 20px rgba(31, 52, 65, 0.05);
}

table.list thead th {
  padding: 10px 8px;
  border-color: var(--rt-line);
  background: #f8fafb;
  color: #566873;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

table.list tbody td {
  padding-top: 9px;
  padding-bottom: 9px;
  border-color: #edf1f3;
}

table.list tbody tr:hover,
table.list tbody tr.context-menu-selection {
  background: var(--rt-primary-soft);
}

input[type="text"],
input[type="password"],
input[type="date"],
input[type="email"],
input[type="number"],
select,
textarea {
  padding: 7px 9px;
  border: 1px solid #cfd9de;
  border-radius: 8px;
  background: #fff;
  color: var(--rt-ink);
  font-family: inherit;
  box-shadow: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--rt-primary);
  box-shadow: 0 0 0 3px rgba(227, 29, 107, 0.12);
  outline: 0;
}

input[type="submit"],
button,
.button,
a.button,
.contextual a.icon-add {
  padding: 8px 14px;
  border: 1px solid var(--rt-primary);
  border-radius: 9px;
  background: var(--rt-primary);
  color: #fff;
  font-family: inherit;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 5px 14px rgba(227, 29, 107, 0.18);
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

input[type="submit"]:hover,
button:hover,
.button:hover,
a.button:hover,
.contextual a.icon-add:hover {
  border-color: var(--rt-primary-dark);
  background: var(--rt-primary-dark);
  color: #fff;
  transform: translateY(-1px);
}

.tabs ul {
  border-bottom-color: var(--rt-line);
}

.tabs ul li a {
  padding: 8px 13px;
  border: 0;
  border-bottom: 3px solid transparent;
  background: transparent;
  color: var(--rt-muted);
  font-weight: 500;
}

.tabs ul li a:hover {
  border-bottom-color: var(--rt-primary-light);
  background: var(--rt-primary-soft);
  color: var(--rt-primary-dark);
}

.tabs ul li a.selected {
  border-bottom-color: var(--rt-primary);
  background: #fff;
  color: var(--rt-primary-dark);
  font-weight: 650;
}

.pagination ul.pages li.current {
  border-color: var(--rt-primary);
  background: var(--rt-primary);
  color: #fff;
}

.flash.notice,
#flash_notice {
  border-color: #9fd8c4;
  border-radius: 9px;
  background-color: #e7f7f0;
  color: #12694b;
}

.flash.error,
#flash_error {
  border-color: #f2bdcf;
  border-radius: 9px;
  background-color: #fff2f5;
  color: #9f294f;
}

.priority-highest,
.priority-highest2,
tr.issue.priority-highest,
tr.issue.priority-highest2 {
  border-left-color: var(--rt-danger);
}

.progress .bar,
table.progress td.closed {
  background: var(--rt-primary);
}

#footer {
  padding: 15px 20px;
  border-top: 1px solid var(--rt-line);
  background: #fff;
  color: var(--rt-muted);
}

body.controller-account.action-login #top-menu,
body.controller-account.action-login #header {
  display: none;
}

body.controller-account.action-login #main {
  display: flex;
  min-height: calc(100vh - 48px);
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 14% 18%, rgba(255, 255, 255, 0.14) 0, rgba(255, 255, 255, 0) 28%),
    radial-gradient(circle at 82% 76%, rgba(236, 150, 187, 0.24) 0, rgba(236, 150, 187, 0) 30%),
    linear-gradient(135deg, #702142 0%, #9d3562 46%, #c45284 100%);
}

body.controller-account.action-login #content {
  width: 100%;
  min-height: 0;
  padding: 38px 18px;
  background: transparent;
}

body.controller-account.action-login #login-form {
  width: min(420px, calc(100vw - 36px));
  margin: 0 auto;
  padding: 34px 38px 30px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 30px 70px rgba(53, 11, 31, 0.27), 0 8px 24px rgba(53, 11, 31, 0.14);
}

body.controller-account.action-login #login-form::before {
  display: block;
  margin-bottom: 22px;
  color: var(--rt-primary-dark);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  content: "Red Turística · Redmine";
}

body.controller-account.action-login #login-form table {
  width: 100%;
}

body.controller-account.action-login #login-form td {
  display: block;
  width: 100%;
  padding: 4px 0;
  text-align: left;
}

body.controller-account.action-login #login-form input[type="text"],
body.controller-account.action-login #login-form input[type="password"] {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  height: 46px;
}

body.controller-account.action-login #login-form input[type="submit"] {
  box-sizing: border-box;
  width: 100%;
  margin-top: 10px;
}

body.controller-account.action-login #footer {
  border: 0;
  background: #702142;
  color: rgba(255, 255, 255, 0.75);
}

@media screen and (max-width: 899px) {
  #content {
    padding: 18px 16px 28px;
  }

  #header {
    padding-right: 16px;
    padding-left: 16px;
  }

  #main-menu {
    left: 12px;
  }

  body.controller-account.action-login #login-form {
    padding: 28px 24px 24px;
  }
}
