body {

.auth-bar {
  position: fixed;
  top: 20px;
  right: 20px;
  display: flex;
  align-items: center;
  gap: 15px;
  z-index: 1000;
}
.auth-btn {
  font-family: 'Fira Code', monospace;
  font-size: 1.2rem;
  font-weight: bold;
  color: #a74a1e;
  background: #ffae85;
  border: none;
  border-radius: 10px;
  padding: 8px 22px;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  transition: all 0.18s ease;
  position: relative;
  z-index: 1001;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.auth-btn:hover {
  background: #ffc5a7;
  color: #a74a1e;
}

.flash-messages {
  position: fixed;
  top: 70px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 200;
  width: 340px;
}
.flash {
  padding: 10px 18px;
  border-radius: 8px;
  margin-bottom: 10px;
  font-family: 'Fira Code', monospace;
  font-size: 1.1rem;
  text-align: center;
  box-shadow: 0 2px 8px #ffae8544;
}
.flash-success {
  background: #d5ffd5;
  color: #1e7a1e;
}
.flash-danger {
  background: #ffd5d5;
  color: #a71e1e;
}
.flash-warning {
  background: #fff5d5;
  color: #a77a1e;
}
.flash-info {
  background: #d5e9ff;
  color: #1e5da7;
}
.welcome-msg {
  font-family: 'Fira Code', monospace;
  font-size: 1.2rem;
  font-weight: bold;
  color: #a74a1e;
  margin-right: 1.5rem;
}

  background: linear-gradient(180deg, #ffffff 0%, #ffc0a2 95%);
  min-height: 100vh;
  margin: 0;
  overflow: hidden;
}


.bottom-btn {
  font-family: 'Fira Code', monospace;
  font-size: 1.4rem;
  font-weight: bold;
  color: #a74a1e;
  background: #ffae85;
  border: none;
  border-radius: 12px;
  padding: 8px 20px;
  margin: 0 8px;
  cursor: pointer;
  box-shadow: 0 2px 4px #ffae8544;
  transition: background 0.18s, box-shadow 0.18s;
  text-decoration: none;
  display: inline-block;
}
.bottom-btn:hover {
  background: #ffc5a7;
}

/* Dashboard streak grid styles */

/* Tier List Styles */
.tierlist-container {
    margin-top: 40px;
    background: rgba(32,20,10,0.92);
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(255,152,0,0.09);
    padding: 24px 18px;
}
.tierlist-title {
    color: #ff9800;
    margin-bottom: 18px;
    font-size: 1.3rem;
    text-align: center;
    font-weight: bold;
}
#tierlist {
    border: 3px solid #ff7f2a;
    background: #ffd9b3;
    border-radius: 10px;
    overflow: hidden;
}
.tier-row {
    display: flex;
    align-items: stretch;
    border-bottom: 2px solid #ff7f2a;
    min-height: 100px;
    height: 100px;
    width: 100%;
    box-sizing: border-box;
}
.tier-row:last-child {
    border-bottom: none;
}
.tier-label {
    width: 100px;
    height: 100px;
    min-width: 100px;
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: bold;
    color: #a64d00;
    border-right: 2px solid #ff7f2a;
    user-select: none;
    border-radius: 12px 0 0 12px;
    box-sizing: border-box;
    background-clip: padding-box;
}
.tier-dropzone {
    flex: 1;
    min-height: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 3px;
    padding: 2px;
    justify-content: flex-start;
    transition: background 0.2s;
    overflow-y: auto;
}
.program-card {
    background: #fff3e0;
    border: 2px solid #ff9800;
    border-radius: 8px;
    padding: 4px 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: grab;
    min-width: 90px;
    box-shadow: 0 2px 8px rgba(255,152,0,0.08);
    transition: box-shadow 0.2s;
}
.program-card-img-container {
    width: 24px;
    height: 18px;
    aspect-ratio: 4/3;
    border-radius: 3px;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid #fff;
}
.program-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 3px;
    box-shadow: none;
    position: relative;
    z-index: 2;
}
.program-card-name-tooltip {
    display: none;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(255,152,0,0.95);
    color: #fff;
    font-size: 0.95rem;
    font-weight: bold;
    text-align: center;
    padding: 2px 0;
    border-radius: 0 0 7px 7px;
    pointer-events: none;
    z-index: 2;
}
.program-card-img-container:hover .program-card-name-tooltip {
    display: block;
}


/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 999999;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  overflow: auto;
  background-color: rgba(0,0,0,0.3);
  transition: opacity 0.25s cubic-bezier(.4,2,.6,1), visibility 0.25s;
  opacity: 0;
  pointer-events: none;
}
.modal.modal-show {
  display: block;
  opacity: 1;
  pointer-events: auto;
}
.modal-content {
  background-color: #fff6ee;
  margin: 8% auto;
  padding: 32px 40px 28px 40px;
  border: 2px solid #ffae85;
  border-radius: 16px;
  width: 410px;
  font-family: 'Fira Code', monospace;
  font-size: 20px;
  color: #a74a1e;
  box-shadow: 0 4px 32px #ffae8544;
  position: relative;
  transform: scale(0.92);
  opacity: 0;
  transition: transform 0.28s cubic-bezier(.4,2,.6,1), opacity 0.28s cubic-bezier(.4,2,.6,1);
}
.modal.modal-show .modal-content {
  opacity: 1;
  transform: scale(1);
}
.modal-content {
  background-color: #fff6ee;
  margin: 8% auto;
  padding: 32px 40px 28px 40px;
  border: 2px solid #ffae85;
  border-radius: 16px;
  width: 410px;
  font-family: 'Fira Code', monospace;
  font-size: 20px;
  color: #a74a1e;
  box-shadow: 0 4px 32px #ffae8544;
  position: relative;
}
.close {
  color: #a74a1e;
  position: absolute;
  top: 10px;
  right: 18px;
  font-size: 2rem;
  font-weight: bold;
  cursor: pointer;
}

.overlay {
  display: flex;
  justify-content: center;
  align-items: center;

}
.logo-title-stack {
  position: relative;
  width: 30rem;
  height: 12rem;
  margin: 0 auto;
}

.logo-img {
  position: absolute;
  left: 50%;
  top: 200%;
  width: 20rem;
  transform: translate(-50%, -50%);
  z-index: 1;
  pointer-events: none;
}

.title-img {
  position: absolute;
  left: 50%;
  top: 40%;
  width: 30rem;
  transform: translate(-50%, -50%);
  z-index: 2;
  pointer-events: none;
}

.version-img {
  position: fixed;
  left: 0px;
  bottom: 0px;
  width: 15rem;
  z-index: 10;
  pointer-events: none;
}


.arrows-left-img {
  left: 10px;
  top: 0px;
  z-index: 10;
  opacity: 0.8;
  position: fixed;
}

.arrows-right-img {
  right: 10px;
  top: 0px;
  z-index: 10;
  opacity: 0.8;
  position: fixed;
}

.navbar-img {
  position: absolute;
  bottom: -20px;
  right: -20px;
  opacity: 0.9;
  width: 78rem;
  height: auto;
}

.bottom-bar {
  position: absolute;
  bottom: 20px;
  right: 30px; 
  display: flex;
  gap: 1rem;
  background: none;
  z-index: 103;
  pointer-events: auto; 
}

