/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */

@import url("/assets/fonts-3490b3c0.css");

.gsi-material-button {
  -moz-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-appearance: none;
  appearance: none;
  background-color: #131314;
  background-image: none;
  border: 1px solid #747775;
  -webkit-border-radius: 20px;
  border-radius: 20px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  color: #e3e3e3;
  cursor: pointer;
  font-family: "Roboto", arial, sans-serif;
  font-size: 14px;
  height: 40px;
  letter-spacing: 0.25px;
  outline: none;
  overflow: hidden;
  padding: 0 12px;
  position: relative;
  text-align: center;
  -webkit-transition: background-color 0.218s, border-color 0.218s,
    box-shadow 0.218s;
  transition: background-color 0.218s, border-color 0.218s, box-shadow 0.218s;
  vertical-align: middle;
  white-space: nowrap;
  width: auto;
  max-width: 400px;
  min-width: min-content;
  border-color: #8e918f;
}

.gsi-material-button .gsi-material-button-icon {
  height: 20px;
  margin-right: 12px;
  min-width: 20px;
  width: 20px;
}

.gsi-material-button .gsi-material-button-content-wrapper {
  -webkit-align-items: center;
  align-items: center;
  display: flex;
  -webkit-flex-direction: row;
  flex-direction: row;
  -webkit-flex-wrap: nowrap;
  flex-wrap: nowrap;
  height: 100%;
  justify-content: space-between;
  position: relative;
  width: 100%;
}

.gsi-material-button .gsi-material-button-contents {
  -webkit-flex-grow: 1;
  flex-grow: 1;
  font-family: "Roboto", arial, sans-serif;
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: top;
}

.gsi-material-button .gsi-material-button-state {
  -webkit-transition: opacity 0.218s;
  transition: opacity 0.218s;
  bottom: 0;
  left: 0;
  opacity: 0;
  position: absolute;
  right: 0;
  top: 0;
}

.gsi-material-button:disabled {
  cursor: default;
  background-color: #13131461;
  border-color: #8e918f1f;
}

.gsi-material-button:disabled .gsi-material-button-state {
  background-color: #e3e3e31f;
}

.gsi-material-button:disabled .gsi-material-button-contents {
  opacity: 38%;
}

.gsi-material-button:disabled .gsi-material-button-icon {
  opacity: 38%;
}

.gsi-material-button:not(:disabled):active .gsi-material-button-state,
.gsi-material-button:not(:disabled):focus .gsi-material-button-state {
  background-color: white;
  opacity: 12%;
}

.gsi-material-button:not(:disabled):hover {
  -webkit-box-shadow: 0 1px 2px 0 rgba(60, 64, 67, 0.3),
    0 1px 3px 1px rgba(60, 64, 67, 0.15);
  box-shadow: 0 1px 2px 0 rgba(60, 64, 67, 0.3),
    0 1px 3px 1px rgba(60, 64, 67, 0.15);
}

.gsi-material-button:not(:disabled):hover .gsi-material-button-state {
  background-color: white;
  opacity: 8%;
}

body {
  font-family: "Futura PT Light", -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, sans-serif;
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
  background: #000000;
  color: #ffffff;
}

h1.page-header {
  color: #C5B358;
  text-align: center;
  margin-bottom: 40px;
  font-size: 2.8em;
  text-shadow: 0 0 15px rgba(197, 179, 88, 0.3);
  letter-spacing: 1px;
  animation: headerGlow 10s ease-in-out infinite;
}

@keyframes headerGlow {
  0% {
    text-shadow: 0 0 15px rgba(197, 179, 88, 0.4);
  }
  50% {
    text-shadow: 0 0 25px rgba(197, 179, 88, 0.5);
  }
  100% {
    text-shadow: 0 0 15px rgba(197, 179, 88, 0.4);
  }
}

.category {
  background: linear-gradient(145deg, #111111, #1a1a1a);
  border-radius: 12px;
  padding: 25px;
  margin-bottom: 25px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(197, 179, 88, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.category h2 {
  color: #C5B358;
  margin-top: 0;
  font-size: 1.3em;
  text-shadow: 0 0 10px rgba(197, 179, 88, 0.2);
  letter-spacing: 0.5px;
  border-bottom: 1px solid rgba(197, 179, 88, 0.2);
  padding-bottom: 10px;
}

.nominee {
  display: flex;
  align-items: center;
  margin: 12px 0;
  padding: 12px 15px;
  border-radius: 8px;
  transition: all 0.3s ease;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid transparent;
}

.nominee:hover {
  background: rgba(197, 179, 88, 0.05);
  border-color: rgba(197, 179, 88, 0.2);
  transform: translateX(5px);
}

.nominee:has(input:checked) {
  background: rgba(197, 179, 88, 0.1);
  border-left: 3px solid #C5B358;
  font-weight: bold;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

input[type="radio"] {
  margin-right: 15px;
  accent-color: #C5B358;
  transform: scale(1.2);
}

label {
  cursor: pointer;
  font-size: 1.05em;
}

.muted {
  color: rgba(197, 179, 88, 0.6);
  font-size: 0.9em;
  font-style: italic;
}

button {
  display: block;
  width: 250px;
  margin: 40px auto;
  padding: 15px 30px;
  background: linear-gradient(90deg, #926F34, #C5B358, #FFD700);
  background-size: 200% 100%;
  color: black;
  border: none;
  border-radius: 8px;
  font-size: 1.2em;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 4px 15px rgba(197, 179, 88, 0.3);
}

button:hover {
  background-position: 100% 0;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(197, 179, 88, 0.4);
}

button:disabled {
  background: #333;
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

#predictions {
  display: none;
  margin-top: 20px;
  padding: 20px;
  background: #1a1a1a;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(197, 179, 88, 0.1);
  border: 1px solid #333;
}

.subtitle {
  text-align: center;
  color: #888;
  margin-top: -30px;
  margin-bottom: 30px;
}

.flash-message {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  padding: 15px 30px;
  background: #58C5B3;
  color: #000;
  border-radius: 4px;
  font-weight: bold;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
  z-index: 1000;
}

.flash-message.show {
  opacity: 1;
}

.ballot-label {
  color: #C5B358;
  font-size: 0.9em;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 500;
  margin-bottom: 12px;
  display: block;
  text-shadow: 0 0 10px rgba(197, 179, 88, 0.2);
  text-align: center;
}

.user-profile {
  position: relative;
  z-index: 1;
  max-width: 400px;
  margin: 0 auto 30px;
  padding: 0 20px;
}

.user-info {
  background: linear-gradient(145deg, rgba(17, 17, 17, 0.95), rgba(26, 26, 26, 0.95));
  padding: 8px 16px 8px 8px;
  border-radius: 50px;
  border: 1px solid rgba(197, 179, 88, 0.3);
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  margin: 0 auto;
  display: flex;
  width: fit-content;
}

.user-info:hover {
  background: linear-gradient(145deg, rgba(26, 26, 26, 0.95), rgba(17, 17, 17, 0.95));
  transform: translateY(-1px);
  box-shadow:
      0 4px 15px rgba(0, 0, 0, 0.2),
      0 0 20px rgba(197, 179, 88, 0.1);
  border-color: rgba(197, 179, 88, 0.5);
}

.avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid rgba(197, 179, 88, 0.5);
  box-shadow:
      0 0 10px rgba(197, 179, 88, 0.3),
      inset 0 0 15px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #111111, #1a1a1a);
  color: #C5B358;
  font-weight: 500;
  font-size: 1em;
  letter-spacing: 1px;
  margin-left: 4px;
}

.user-name {
  color: #C5B358;
  font-size: 1em;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-shadow: 0 0 10px rgba(197, 179, 88, 0.2);
  margin-right: 12px;
}

.user-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(-10px);
  background: linear-gradient(145deg, #111111, #1a1a1a);
  border: 1px solid rgba(197, 179, 88, 0.3);
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  padding: 4px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 100;
  backdrop-filter: blur(10px);
  min-width: 180px;
}

.user-dropdown.active {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav-container {
  max-width: 400px;
  margin: -20px auto 30px;
  padding: 20px;
}

.main-nav {
  background: linear-gradient(145deg, #111111, #1a1a1a);
  border-radius: 15px;
  padding: 5px;
  display: flex;
  position: relative;
  border: 1px solid rgba(197, 179, 88, 0.3);
  box-shadow:
      0 4px 20px rgba(0, 0, 0, 0.5),
      0 0 30px rgba(197, 179, 88, 0.1);
  backdrop-filter: blur(10px);
}

.nav-link {
  flex: 1;
  padding: 12px;
  text-align: center;
  color: rgba(197, 179, 88, 0.7);
  text-decoration: none;
  border-radius: 10px;
  position: relative;
  z-index: 1;
  transition: all 0.3s ease;
  font-size: 0.95em;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.nav-link i {
  font-size: 0.9em;
}

.nav-link:hover {
  color: #C5B358;
}

.nav-link.active {
  background: linear-gradient(90deg, #926F34, #C5B358, #FFD700);
  color: #000;
  font-weight: 500;
  box-shadow: 0 0 10px rgba(197, 179, 88, 0.3);
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-overlay.active {
    display: flex;
}

.modal-content {
    background: linear-gradient(145deg, #1a1a1a, #222);
    border: 1px solid rgba(197, 179, 88, 0.3);
    border-radius: 20px;
    padding: 35px;
    max-width: 450px;
    width: 90%;
    box-shadow: 
        0 10px 40px rgba(0, 0, 0, 0.5),
        0 0 100px rgba(197, 179, 88, 0.1);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.modal-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent,
        rgba(197, 179, 88, 0.5),
        transparent
    );
}

.modal-title {
    color: #C5B358;
    font-size: 1.5em;
    margin-bottom: 25px;
    text-shadow: 0 0 10px rgba(197, 179, 88, 0.2);
    letter-spacing: 0.5px;
}

.modal-message {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 25px;
    line-height: 1.6;
    font-size: 1.1em;
}

.modal-message em {
    color: #C5B358;
    font-style: normal;
    font-weight: 500;
}

.modal-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
}

.modal-btn {
    padding: 12px 30px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9em;
    min-width: 120px;
}

.modal-btn.confirm {
    background: linear-gradient(145deg, #1a1a1a, #222);
    color: #C5B358;
    border: 1px solid rgba(197, 179, 88, 0.5);
    box-shadow: 
        0 4px 15px rgba(0, 0, 0, 0.2),
        0 0 20px rgba(197, 179, 88, 0.1);
}

.modal-btn.cancel {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.7);
}

.modal-btn:hover {
    transform: translateY(-2px);
}

.modal-btn.confirm:hover {
    background: linear-gradient(145deg, #222, #2a2a2a);
    border-color: #C5B358;
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.3),
        0 0 30px rgba(197, 179, 88, 0.2);
    color: #FFD700;
}

.modal-btn.cancel:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.3);
    color: rgba(255, 255, 255, 0.9);
}

.dropdown-item {
    display: flex;
    align-items: center;
    padding: 10px 16px;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.2s ease;
    border-radius: 8px;
    font-size: 0.95em;
}

.dropdown-item:hover {
    background: rgba(197, 179, 88, 0.1);
    color: #C5B358;
}

.dropdown-item i {
    margin-right: 10px;
    width: 16px;
    text-align: center;
}
