@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Nunito:ital,wght@0,200..1000;1,200..1000&display=swap");

* {
  font-family: "Nunito", sans-serif;
  font-optical-sizing: auto;
  font-size: 12px;
}

a {
  text-decoration: none;
  font-style: none;
}

.logo {
  width: 250px;
  padding: 20px;
}

/* From Uiverse.io by JayRamoliya */
.input-style {
  padding: 10px;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  color: #555;
  outline: none;
}

.input-style:focus {
  border-color: #007bff;
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

/* ===== Sidebar + layout (pode levar para global.css) ===== */
:root {
  --brand: #a52727;
  --bg: #f7f8fb;
  --card: #ffffff;
  --line: #e5e7eb;
  --text: #374151;
}
body {
  background: var(--bg);
}
.layout {
  display: flex;
  min-height: 100vh;
}
.sidebar {
  width: 260px;
  background: var(--card);
  border-right: 1px solid var(--line);
  padding: 18px 14px;
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.side-brand {
  display: flex;
  justify-content: center;
  gap: 10px;
  padding-bottom: 8px;
}
.side-brand img {
  height: 36px;
}
.side-brand .title {
  font-weight: 800;
  letter-spacing: 0.3px;
  color: #1f2937;
}
.side-section {
  font-size: 11px;
  font-weight: 700;
  color: #9aa1ab;
  padding: 6px 8px 2px;
  text-transform: uppercase;
}
.side-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.side-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid transparent;
  color: var(--text);
  text-decoration: none;
}
.side-link:hover {
  border-color: var(--line);
}
.side-link.active {
  border-color: #f0d6d6;
  background: #fff7f7;
  color: var(--brand);
  font-weight: 700;
}
.side-link .icon {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
}
.side-bottom {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.content {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.content .topbar {
  background: var(--card);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
}
.wrap {
  padding: 20px 16px 28px;
}

/* cartões de atalho (opcional) */
.quick {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.quick .tile {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
}
.quick .tile:hover {
  border-color: #dfe3ea;
}
.quick .tile .ico {
  font-size: 28px;
}
@media (max-width: 920px) {
  .sidebar {
    width: 220px;
  }
  .quick {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .layout {
    display: block;
  }
  .sidebar {
    height: auto;
    position: static;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .quick {
    grid-template-columns: 1fr;
  }
}

.content .subtop {
    background: var(--card);
    border-bottom: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
}

.toolbar .ghost {
    background: #fff;
    border: 1px dashed #e5e7eb;
    color: #a52727;
    border-radius: 12px;
    padding: 10px 12px;
    font-weight: 600;
}

a[href="./atestados.html"],a[href="./usuarios.html"]{
display: none;
}

a[href="./edital.html"]{
display: none;
}

input {
    width: 100%;
    padding: 10px 12px;
    font-size: 14px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
    outline: none;
    transition: border-color 0.15s, box-shadow 0.15s;
}

input[type='checkbox']{
    width: max-content;
}

.icon-btn.round:hover {
  background: #ed3838;     
  color: #f1f1f1;
  border-color: #ed3838;
}

.icon-btn.round.edit:hover {
  background: #edbd38;      /* hover “perigo” como no Users */
  color: #f1f1f1;
  border-color: rgb(196, 156, 24);
}

.icon-btn.round.view:hover {
  background: #3871ed;      /* hover “perigo” como no Users */
  color: #f1f1f1;
  border-color: #1348b9;
}