/* Sitwide CSS */

:root {
  --primary-color: #000;
  --secondary-color: hsl(0, 0%, 100%);
  --accent-color: #ff9d00;
  --tertiary-color: #f0f0f0;
  --danger-color: #dc3545;
  --success-color: #28a745;
  --warning-color: #ffc107;
  --font-mono: monospace, sans-serif;
  --font-sans: 'Inter', sans-serif;
  --font-display: 'Archivo Black', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  overflow-x: hidden;
}

/* Fixes modal shifting screen */
.modal-open {
  padding-right: 0 !important;
}

body {
  font-family: var(--font-sans);
  background-color: var(--secondary-color);
  color: var(--primary-color);
  position: relative;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  text-transform: uppercase;
}

.mono {
  font-family: var(--font-mono);
}

.section-title {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
  position: relative;
  text-transform: uppercase;
  display: inline-block;
  padding-bottom: 0.5rem;
}

.section-title:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 5px;
  background-color: var(--accent-color);
}

/* Navigation */
.navbar {
  padding: 1.5rem 0;
  border-bottom: 1.5px solid var(--primary-color);
  background-color: var(--primary-color);
}

.navbar-brand {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--secondary-color);
  letter-spacing: -1px;
}

.navbar-brand:hover {
  color: var(--accent-color);
  transition: color 0.3s ease;
}

.nav-link {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--secondary-color);
  margin: 0 1rem;
  position: relative;
  letter-spacing: -0.5px;
  cursor: pointer;
}

.nav-link:after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent-color);
  transition: width 0.3s ease;
}

.nav-link:hover:after {
  width: 100%;
}

.action-btn {
  background-color: var(--accent-color);
  color: var(--secondary-color);
  border: none;
  padding: 8px 24px;
  font-family: var(--font-mono);
  font-weight: 700;
  text-transform: uppercase;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.action-btn:hover {
  background-color: var(--secondary-color);
  color: var(--primary-color);
  transform: translateY(-2px);
}

/* Logo styling */
.logo-container {
  display: flex;
  align-items: center;
  text-decoration: none;
  cursor: pointer;
}

.logo-svg {
  width: 45px;
  height: 45px;
  margin-right: 15px;
  filter: invert(1);
  transform: scale(1.5);
  transform-origin: left center;
}

.logo-text {
  font-family: var(--font-display);
  color: var(--secondary-color);
  font-size: 2rem;
  margin: 0;
  letter-spacing: -1px;
}

.logo-text span {
  color: var(--accent-color);
}

/* Button styling */
.btn {
  font-family: var(--font-mono);
  border-radius: 0;
  text-transform: uppercase;
  font-weight: 700;
  transition: all 0.3s ease;
}

.btn-primary {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  color: var(--secondary-color);
  border: 2px solid var(--accent-color);
  box-sizing: border-box;
  height: 100%;
  padding: 0.8rem 1.5rem;
}

.navbar .btn {
  height: 42px;
  display: flex;
  align-items: center;
}

.btn-primary:hover {
  background-color: var(--secondary-color);
  color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-secondary {
  background-color: transparent;
  border: 2px solid var(--secondary-color);
  color: var (--secondary-color);
}

.btn-secondary:hover {
  background-color: var(--secondary-color);
  color: var(--primary-color);
}

.btn-outline-primary {
  color: var(--secondary-color);
  border-color: var(--secondary-color);
  background: transparent;
}

.btn-outline-primary:hover {
  background-color: var(--accent-color);
  color: var(--secondary-color);
  border-color: var(--accent-color);
}

.btn-update {
  background-color: var(--tertiary-color);
  color: var(--primary-color);
  border: 1.5px solid var(--primary-color);
  opacity: 1;
  transition: all 0.3s ease;
}

.btn-update:hover {
  background-color: var(--accent-color);
  color: var(--secondary-color);
  border-color: var(--accent-color);
}

/* Notifications styling */
#notif-button {
  position: relative;
  background-color: transparent;
  color: var(--secondary-color);
  border: 2px solid rgba(255,255,255,0.2);
  transition: all 0.3s ease;
  font-family: var(--font-mono);
}

#notif-button::after {
  content: 'NOTIFICATIONS';
  margin-left: 8px;
  display: none;
}

#notif-button:hover {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
}

.dropdown-menu {
  border-radius: 0;
  border: 1.5px solid var(--primary-color);
  box-shadow: 5px 5px 0 rgba(0,0,0,0.2);
  padding: 0;
}

.notification-item {
  border-bottom: 1px solid rgba(0,0,0,0.1);
  padding: 0.8rem;
  transition: background-color 0.2s ease;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  white-space: normal;
  word-wrap: break-word;
  overflow-wrap: break-word;
  overflow-x: hidden;
  width: 100%;
  height: auto;
  min-height: fit-content;
  max-height: none;
  display: block;
}

.notification-item:hover {
  background-color: var(--tertiary-color);
}

.auction-page-title {
  word-wrap: break-word;
}

/* Flashes */
.alert {
  border: 1.5px solid var(--primary-color);
  border-radius: 0;
  font-family: var(--font-mono);
}

.alert-error {
  background-color: var(--accent-color);
}

.alert-danger,
.alert-success,
.alert-info,
.alert-warning,
.alert-error {
  color: black;
}

/* Countdown Timer */
.countdown {
  font-weight: 700;
}

.countdown-active {
  color: green;
}

.countdown-urgent {
  color: red;
  font-weight: bold;
  animation: pulse 1s infinite;
}

@keyframes pulse {
  0% { opacity: 1; }
  50% { opacity: 0.7; }
  100% { opacity: 1; }
}

.bg-dark-turquoise { 
  background-color: #008B8B !important; 
}
.bg-dark-orange { 
  background-color: #FF8C00 !important; 
}

/* Badges */
.badges {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.badge {
  font-family: var(--font-mono);
  font-weight: 500;
  letter-spacing: 0.5px;
  padding: 0.5em 0.7em;
  width: fit-content;
}

.black-click:active {
  color: var(--accent-color);
}

/* Animations & Effects */
.reveal {
  position: relative;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Rotating text and blinking cursor */
#rotating-word-container,
#about-rotating-word-container,
#footer-rotating-word-container {
  display: inline-block;
  position: relative;
}

#rotating-word,
#about-rotating-word,
#footer-rotating-word {
  display: inline-block;
  color: var(--accent-color);
  font-weight: bold;
}

.blinking-cursor {
  display: inline-block;
  font-weight: bold;
  animation: blink 0.7s infinite;
  color: var(--accent-color);
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* Logo animation */
@keyframes pulse {
  0% { opacity: 1; }
  50% { opacity: 0.5; }
  100% { opacity: 1; }
}

@keyframes float {
  0% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
  100% { transform: translateY(0); }
}

@keyframes colorShift {
  0% { fill: white; }
  50% { fill: #999999; }
  100% { fill: white; }
}

.logo-svg-container {
  position: relative;
  width: 45px;
  height: 45px;
  margin-right: 15px;
}

.logo-square {
  transition: fill 0.3s ease;
}

.logo-svg {
  width: 45px;
  height: 45px;
  margin-right: 15px;
  filter: invert(1);
  transition: all 0.3s ease;
}

.search-container {
  background-color: white;
  padding: 2rem;
  border: 1.5px solid var(--primary-color);
  margin-bottom: 2rem;
  position: relative;
}

.focused-image-container {
  background-color: #f7f7f7;
}

.focused-image {
  width: 100%;
  height: 500px;
  object-fit: contain;
  border: 2px solid #ddd;
  margin-bottom: 15px;
  background-color: #f7f7f7;
  cursor: pointer;
}

.tile-images-container {
  margin-right: 10px;
}

.tile {
  object-fit: contain;
  cursor: pointer;
  transition: transform 0.2s ease, border 0.2s ease;
  max-width: 125px;
  max-height: 125px;
  border: 2px solid transparent;
  background-color: #f7f7f7;
}

.tile:hover {
  transform: scale(1.1);
  border: 2px solid #007bff;
}

#tile-images-container {
  display: inline-block;
}

.image-modal-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: #f7f7f7;
  padding: 15px;
  overflow: hidden;
}

.close-image-modal {
  margin-left: 10px;
  margin-top: 10px;
  margin-bottom: 10px;
}

.modal-image {
  object-fit: contain;
  transition: transform 0.25s ease;
  cursor: zoom-in;
  max-width: 100%;
}

.modal-image.is-zoomed {
  transform: scale(3);
  cursor: zoom-out;
}

.bid-history-modal-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.bid-history-modal {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.bid-history-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.bid-history-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.bid-history-body {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bid-history {
  width: 100%;
  list-style-position: inside; 
  padding-left: 0px;
  list-style: none;
}

.bid-info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#watch-counter {
  position: absolute;
  top: 20px;
  left: 10px;
  color: white;
  padding: 5px 10px;
  border-radius: 5px;
}

/* Custom accent color classes to replace Bootstrap warnings */
.text-accent {
  color: var(--accent-color) !important;
}

.bg-accent {
  background-color: var(--accent-color) !important;
}

.btn-accent {
  background-color: var(--accent-color) !important;
  border-color: var(--accent-color) !important;
  color: var(--secondary-color) !important;
}

.btn-accent:hover {
  background-color: transparent !important;
  border-color: var(--accent-color) !important;
  color: var(--accent-color) !important;
}

.border-accent {
  border-color: var(--accent-color) !important;
}

/* Top Bar */
.top-bar {
  font-family: var(--font-mono);
  font-size: 0.8rem;
}

.top-bar .contact-info {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.top-bar .social-icons a {
  opacity: 0.8;
  transition: opacity 0.2s ease;
}

.top-bar .social-icons a:hover {
  opacity: 1;
}

.authentication-alert {
  color: var(--primary-color);
  text-decoration: none;
  text-align: center;
  display: block;
}

/* Media query for mobile responsiveness */
@media (max-width: 576px) {
  .top-bar .contact-info span {
    font-size: 0.7rem;
    display: block;
    width: 100%;
    margin: 0.2rem 0;
  }
}

/* Media Queries */
@media (max-width: 992px) {
  .navbar-toggler {
    border: 2px solid var(--secondary-color);
    padding: 0.5rem;
  }
  
  .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  }
  
  .navbar-collapse,
  .navbar-collapse *,
  .navbar-nav,
  .navbar-nav *,
  .nav-item,
  .nav-link {
    box-sizing: border-box !important;
  }
  
  .navbar,
  .navbar > .container,
  .navbar > .container-fluid,
  .navbar-collapse,
  .navbar-collapse .navbar-nav,
  .navbar-collapse .navbar-nav .nav-item {
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  
  .navbar-collapse {
    margin-top: 1rem;
    border-top: 2px solid var(--secondary-color);
    padding-top: 1rem;
  }
  
  .navbar-collapse .nav-item {
    margin-bottom: 10px;
    display: flex;
    justify-content: center;
    width: 100%;
  }
  
  .navbar-collapse .ms-auto {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .navbar-collapse .nav-link,
  .navbar-collapse .nav-item a,
  .navbar-collapse .nav-item .btn,
  .navbar-collapse #notif-button,
  .navbar-collapse .dropdown-toggle {
    align-items: center;
    height: 42px;
    padding: 0 15px !important;
    margin: 5px 0;
    text-align: center;
    justify-content: center;
    font-family: var(--font-mono);
    font-weight: 700;
    text-transform: uppercase;
    width: auto !important;
  }
  
  /* Show word NOTIFICATIONS on smaller screens */
  .navbar-collapse #notif-button::after {
    display: inline;
  }
  
  .navbar-collapse .d-flex {
    width: 100%;
    flex-direction: column;
  }
  
  .navbar-collapse .btn {
    margin-bottom: 10px;
  }
  
  .navbar-collapse .dropdown-menu {
    width: fit-content !important;
    max-width: 80% !important;
    margin: 0 !important;
    position: absolute !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
  }

  .navbar-collapse .dropdown-menu .notification-item {
    width: 100% !important;
    padding: 0.8rem !important;
    text-align: left !important;
    white-space: normal;
  }
  
  /* Search and filter section */
  .search-filter-wrapper {
    flex-wrap: wrap;
    border: 1.5px solid var(--primary-color);
  }
  
  #search-bar, .filter-dropdown {
    width: 100%;
    border: none !important;
    min-width: 100%;
    max-width: 100%;
    flex: 1 0 100%;
    padding: 0.8rem 1.2rem;
    margin: 0;
  }
    
  .filter-dropdown {
    display: block;
  }
    
  #type-filter,
  #category-filter {
    border: none !important;
    border-top: 1.5px solid var(--primary-color) !important;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
}

.main-content {
  min-height: 100vh;
}

@media (max-width: 768px) {
  .hero-section {
    padding: 3rem 0;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .footer {
    text-align: center;
  }
  
  .social-icons {
    justify-content: center;
  }
}

@media (max-width: 576px) {
  .auction-item {
    min-height: 420px;
  }
  
  .auction-image-container {
    height: 240px;
  }
  
  .auction-info {
    min-height: 180px;
  }
  
  .navbar .btn {
    padding: 0.3rem 0.8rem;
    font-size: 0.9rem;
  }
  
  .logo-text {
    font-size: 1.6rem;
  }
}

.nav-tabs .nav-link {
  background-color: #e9ecef;
  color: var(--primary-color);
  border: 1px solid #dee2e6;
  border-bottom: none;
  border-radius: 0.25rem 0.25rem 0 0;
  margin-right: 0.25rem;
  opacity: 1;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.nav-tabs .nav-link:hover:not(.active) {
  background-color: #d3d9df;
}

.nav-tabs .nav-link.active {
  background-color: var(--accent-color);
  color: var(--secondary-color);
  border-color: var(--accent-color);
}

/* Login Page Styling */
@media (max-width: 769px) {

  .login-graphic {
    display: none !important;
  }

  .login-wrapper {
    flex-direction: column;
    padding: 10px;
    background-image: url('https://images.unsplash.com/photo-1582139329536-e7284fece509?q=80&w=2080&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D');
    background-size: cover; 
    background-position: center;
    max-width: 100%;
    margin: 0 !important;
  }

  .login-container {
    width: 100%;
    margin: 0 !important;
    padding: 20px;
    height: 100%;
  }

  .login-form-background {
    width: 80%;
  }
}

@media (max-width: 1024px) {

  .login-form-background {
    flex: 4 !important;
  }
}

@media (max-width: 1024px) {

  .login-form-background {
    flex: 4 !important;
  }
}

.login-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  padding: 0px;
  margin: 50px;
}

.login-graphic { 
  position: relative;
  flex: 3;
  padding: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-image: url('https://images.unsplash.com/photo-1582139329536-e7284fece509?q=80&w=2080&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D');
  background-size: cover; 
  background-position: center;
  min-height: 100%;
}

.login-form-background {
  flex: 2;
  margin-top: 50px;
  margin-bottom: 50px;
  background-color: #f7f7f7;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.login-container {
  flex: 1;
  margin: auto;
  padding: 30px;
  background-color: #f7f7f7;
  max-width: 80%;
  overflow-y: auto;
  height: 100%;
}

.login-logo {
  position: absolute;
  top: 20px;
  left: 20px;
  max-width: 150px;
  height: auto;
}

.pass-container, .user-container {
  position: relative;
}

.pass-container .form-control, 
.user-container .form-control {
  padding-left: 40px;
  padding-top: 15px;
  padding-bottom: 15px;
  border: none;
  border-bottom: 2px solid #ccc;
  transition: border-color 0.3s ease;
  border-radius: 0;
}

.pass-container .form-control:focus,
.user-container .form-control:focus,
.input-container:focus {
  border-bottom: 2px solid var(--accent-color);
}

.pass-container i, .user-container i {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
}

.login-button-container {
  display: flex;
  flex-direction: column;
}

.login-form {
  margin-bottom: 10px;
}

.login-heading, .login-msg {
  margin: auto;
}

.google-login-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.google-btn {
  background-color: white;
  padding-left: 30px;
  padding-right: 30px;
  border: 2px solid #ccc;
  text-transform: capitalize;
}

.google-btn:hover{
  border: 2px solid var(--accent-color);
}

.google-icon {
  width: 24px;
  height: 24px;
}

.email-login-break {
  position: relative;
}

.email-login-break span {
  background-color: #f7f7f7;;
  z-index: 3;
  position: relative;
  padding-left: 10px;
  padding-right: 10px;
}

.email-login-break::before {
  content: "";
  height: 1px;
  width: 50%;
  background-color: #000;
  position: absolute;
  top: 50%;
  right: 0;
  z-index: 1;
}

.email-login-break::after {
  content: "";
  height: 1px;
  width: 50%;
  background-color: #000;
  position: absolute;
  top: 50%;
  left: 0;
  z-index: 2;
}

/* Cookie Consent Popup */
.cookie-consent {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: rgba(0, 0, 0, 0.9);
  color: #fff;
  max-width: 350px;
  padding: 1.5rem;
  border-radius: 8px;
  z-index: 9999;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.3s, transform 0.3s;
  display: flex;
  flex-direction: column;
}

.cookie-consent.show {
  opacity: 1;
  transform: translateY(0);
}

.cookie-content {
  display: flex;
  flex-direction: column;
}

.cookie-text {
  margin-bottom: 1rem;
}

.cookie-text h6 {
  margin-bottom: 0.5rem;
  font-family: var(--font-mono);
  color: var(--accent-color);
  font-weight: 700;
}

.cookie-text p {
  font-size: 0.85rem;
  line-height: 1.4;
  margin-bottom: 0;
}

.cookie-buttons {
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

@media (max-width: 576px) {
  .cookie-consent {
    bottom: 0;
    right: 0;
    left: 0;
    max-width: 100%;
    border-radius: 0;
  }
  
  .cookie-buttons {
    flex-direction: column;
  }
}

.image-name {
  overflow: hidden;
  display: inline-block;
  text-overflow: ellipsis;
  max-width: 200px;
  white-space: nowrap;
}

.delete-btn {
  color: var(--danger-color);
  cursor: pointer;
  padding: 10px;
}

.delete-btn:hover{
  filter: brightness(120%);
}

.image-item {
  display: flex;
  align-items: center;
}

.input-container {
  padding-top: 15px;
  padding-bottom: 15px;
  border: none;
  border-bottom: 2px solid #ccc;
  transition: border-color 0.3s ease;
  border-radius: 0;
}

#auction-form .form-control {
  margin-bottom: 10px;
}

#auction-form .form-label {
  font-size: 1rem;
  font-weight: bold;
  font-family: var(--font-display);
  text-transform: uppercase;
}

#auction-form {
  background-color: #f7f7f7;
}

#register-form input::placeholder,
#register-form textarea::placeholder {
  font-size: 1rem;
}

.register-container {
  padding: 0;
}

.register-container .form-label {
  font-size: 0.8rem;
  font-weight: bold;
  font-family: var(--font-display);
  text-transform: uppercase;
}

/* Update details styling */

.update-details-wrapper {
  width: 75%;
  margin: auto;
  background-color: #f7f7f7;
  padding: 1rem;
}

.update-form-container h5 {
  color: var(--accent-color);
}

#update-username-form .form-group label,
#update-email-form .form-group label,
#update-password-form .form-group label {
  margin-bottom: 0.5rem;
}

#update-username-form .form-group input,
#update-email-form .form-group input,
#update-password-form .form-group input {
  margin-bottom: 1rem;
}

#update-username-form .form-container,
#update-email-form .form-container,
#update-password-form .form-container {
  margin-bottom: 2rem;
}

.update-list-group .list-group-item.active {
  background-color: var(--accent-color);
  color: white;
  border: 1px solid var(--accent-color);
}

.update-list-group {
  border-radius: 0;
}

.update-details-wrapper label {
  font-family: var(--font-display);
}

.update-backdrop {
  background: linear-gradient(to right, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.7)), url('https://images.unsplash.com/photo-1514195037031-83d60ed3b448?q=80&w=2342&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D');
  width: 100%;
  height: 100vh;
  margin: auto;
}

.update-backdrop h1 {
  color: white;
}

.update-backdrop h3 {
  font-size: 2rem;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}

.update-form-container input[type="text"], 
.update-form-container input[type="email"], 
.update-form-container input[type="password"] {
  max-width: 30rem;
  width: 100%;
}

@media (max-width: 767px) {
  .update-form-container h3{
    text-align: center;
    padding-top: 2rem;
    font-size: 1.75rem;
  }

  .update-form-container h5{
    font-size: 1rem;
  }

  .update-details-wrapper {
    width: 80%;
  }
}

@media (max-width: 300px) {

  #email-form h5 {
    font-size: 1rem;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .update-form-container input[type="text"]::placeholder, 
  .update-form-container input[type="email"]::placeholder, 
  .update-form-container input[type="password"]::placeholder {
    font-size: 0.75rem;
  }

  .update-backdrop h3 {
    font-size: 1.5rem;
  }

  .update-details-wrapper {
    width: 100%;
  }
}

.form-warning {
  color: red;
}

.bid-count {
  padding-left: 5px;
  padding-right: 5px;
  padding-bottom: 0px;
  padding-top: 0px;
}

/* Notifications */
.notification-dropdown {
  border-radius: 5px;
  border: 1.5px solid var(--primary-color);
  box-shadow: 5px 5px 0 rgba(0,0,0,0.2);
  padding: 0;
  overflow: hidden;
}

.notification-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 15px;
  background-color: white;
}

.notification-header h6 {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--primary-color);
  font-size: 1rem;
  margin: 0;
}

#notification-list {
  max-height: 350px;
  overflow-y: auto;
}

.notification-item {
  border-bottom: 1px solid rgba(0,0,0,0.05);
  padding: 10px 15px;
  transition: all 0.2s ease;
  position: relative;
  cursor: pointer;
}

.notification-item:hover {
  background-color: rgba(0,0,0,0.03);
}

.notification-unread {
  background-color: rgba(255, 157, 0, 0.15);
  border-left: 4px solid var(--accent-color);
}

.notification-unread .notification-message {
  font-weight: bold;
}

.notification-unread:hover {
  background-color: rgba(255, 157, 0, 0.25);
}

.notification-content {
  display: flex;
  flex-direction: column;
}

.notification-message {
  color: var(--primary-color);
  font-size: 0.85rem;
  line-height: 1.4;
  margin-bottom: 5px;
  font-family: var(--font-sans);
}

.notification-time {
  color: #6c757d;
  font-size: 0.7rem;
  font-family: var(--font-mono);
}

.notification-empty {
  padding: 20px 15px;
  text-align: center;
}

.notification-empty i {
  font-size: 1.5rem;
  color: #6c757d;
}

.notification-empty p {
  font-size: 0.85rem;
  margin-bottom: 0;
  color: #6c757d;
}

#clear-all-notifications {
  font-size: 0.75rem;
  padding: 0.5rem 0.75rem;
  background: transparent;
  border-color: #dc3545;
  color: #dc3545;
  text-align: center;
}

#clear-all-notifications:hover {
  background-color: #dc3545;
  color: white;
}

/* Prevent iOS zoom on inputs */
@media screen and (-webkit-min-device-pixel-ratio:0) { 
  input[type="number"] {
    font-size: 16px !important;
  }
}
