@font-face {
  font-family: 'Anonymous Pro';
  src: url("../assets/AnonymousPro-2O73w.ttf") format("truetype"); }

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

body {
  font-family: 'Anonymous Pro', Arial, sans-serif;
  background: #f5f5f5;
  color: #343a40; }

h1, h2, h3, h4, h5, h6 {
  font-family: 'Anonymous Pro', sans-serif; }

.navbar {
  background: #f8f9fa;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); }

.navbar-brand, .nav-link {
  font-size: 1.2rem;
  color: #343a40 !important; }

.nav-link:hover {
  color: #007bff !important; }

.home-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: calc(100vh - 150px);
  padding: 2rem; }

.home-box {
  background: #ffffff;
  padding: 3rem 2rem;
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  max-width: 800px;
  text-align: center;
  width: 100%; }

.home-box h1 {
  font-size: 4rem;
  font-weight: bold;
  margin-bottom: 1rem;
  font-family: 'Anonymous Pro', sans-serif;
  line-height: 1.2; }

.home-box p.lead {
  font-size: 1.7rem;
  margin-bottom: 2rem;
  color: #555; }

.home-btn {
  font-size: 1.4rem;
  padding: 0.8rem 2.5rem;
  color: white;
  background: #007bff;
  border: none;
  border-radius: 5px;
  text-decoration: none;
  font-family: 'Anonymous Pro', sans-serif;
  margin-bottom: 1.5rem; }

.home-btn:hover {
  background: #0056b3; }

.home-box p {
  margin-top: 2rem;
  font-size: 1.2rem;
  color: #555; }

footer {
  margin-top: auto;
  left: 0;
  width: 100%;
  background: #f8f9fa;
  text-align: center;
  padding: 0.5rem;
  font-size: 0.9rem;
  color: #555; }

@media (max-width: 768px) {
  .home-box h1 {
    font-size: 3rem; }
  .home-box p.lead {
    font-size: 1.5rem; }
  .home-btn {
    font-size: 1.2rem;
    padding: 0.6rem 1.8rem; } }

@media (max-width: 480px) {
  .home-box h1 {
    font-size: 2rem; }
  .home-box p.lead {
    font-size: 1.2rem; }
  .home-btn {
    font-size: 1rem;
    padding: 0.5rem 1.5rem; } }

.main-header {
  background: #f8f9fa;
  padding: 1rem 0;
  text-align: center; }

.site-title {
  font-size: 3rem;
  font-weight: bold;
  color: #343a40;
  text-align: center;
  margin: 0; }

.form-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: calc(100vh - 150px);
  padding: 2rem; }

.form-card {
  background: white;
  padding: 2rem 3rem;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 600px;
  min-width: 300px;
  text-align: center; }

.form-heading {
  text-align: center;
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 2rem; }

.register-form .form-group {
  margin-bottom: 1.5rem;
  text-align: left; }

.register-form label {
  font-size: 1.1rem;
  font-weight: bold; }

.register-form input {
  width: 100%;
  padding: 0.8rem;
  font-size: 1rem;
  border: 1px solid #ced4da;
  border-radius: 4px; }

.btn-register {
  width: 100%;
  padding: 0.8rem;
  background: #007bff;
  color: white;
  font-size: 1.2rem;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s ease; }

.btn-register:hover {
  background: #0056b3; }

.form-footer {
  text-align: center;
  margin-top: 1rem;
  font-size: 1rem; }

.footer {
  text-align: center;
  padding: 1rem;
  background: #f8f9fa;
  font-size: 1rem;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%; }

.login-form {
  display: flex;
  flex-direction: column;
  text-align: left;
  font-weight: bold;
  gap: 1rem; }

.form-card {
  background: white;
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  max-width: 450px;
  margin: 2rem auto; }

.form-heading {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 1.5rem;
  text-align: center; }

.form-footer {
  text-align: center;
  margin-top: 1.5rem; }

.main-header {
  text-align: center;
  background: #f8f9fa;
  padding: 2rem 0;
  margin-bottom: 2rem; }

.site-title {
  font-size: 3rem;
  font-weight: bold;
  color: #343a40; }

.filter-section {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.5rem;
  align-items: center;
  margin-bottom: 2rem; }

#removeEndedButton {
  background: #dc3545 !important;
  color: white !important;
  padding: 0.4rem 0.6rem;
  font-size: 0.9rem;
  height: 38px;
  border-radius: 5px; }

#searchBar {
  width: 100%;
  height: 38px;
  padding: 0.5rem; }

.form-select-sm {
  height: 38px;
  min-width: 150px; }

@media (max-width: 768px) {
  .filter-section {
    grid-template-columns: 1fr;
    gap: 1rem; }
  #removeEndedButton {
    display: none; }
  #searchBar {
    width: 100%; }
  .form-select-sm {
    width: 100%; } }

.details-container {
  max-width: 900px;
  margin: 4rem auto;
  background: white;
  border-radius: 8px;
  overflow: hidden;
  padding: 1rem;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); }

.details-image {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 8px; }

.details-content {
  display: flex;
  gap: 2rem;
  padding: 2rem;
  flex-wrap: wrap; }

.details-left {
  flex: 2;
  min-width: 300px; }

.details-right {
  flex: 1;
  background: #f8f9fa;
  padding: 1.5rem;
  border-radius: 8px;
  overflow-y: auto;
  max-height: 300px;
  min-width: 250px;
  word-wrap: break-word; }

.details-title {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 1rem; }

.details-text {
  font-size: 1.2rem;
  color: #555;
  margin-bottom: 0.8rem; }

.details-bid-btn {
  width: 100%;
  padding: 0.8rem;
  font-size: 1rem;
  font-weight: bold;
  background: #28a745;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  text-align: center; }

.details-bid-btn:hover {
  background: #218838; }

@media (max-width: 768px) {
  .details-container {
    padding: 1rem;
    max-width: 600px; }
  .details-content {
    gap: 1rem; } }

@media (max-width: 480px) {
  .details-container {
    width: 90%;
    margin: 2rem auto; }
  .details-left,
  .details-right {
    min-width: 100%; }
  .details-bid-btn {
    width: 100%;
    margin-top: 1rem; } }

.card {
  background: #fff;
  border: none;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
  height: 560px;
  display: flex;
  flex-direction: column; }
  .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15); }

.card-img-top {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 2px solid #f1f1f1; }

.card-body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1rem;
  flex-grow: 1;
  text-align: center; }

.card-title {
  font-size: 1.4rem;
  font-weight: bold;
  color: #333;
  margin-bottom: 0.5rem; }

.card-text {
  font-size: 1rem;
  color: #555; }

.btn-info, .btn-success {
  width: 100%;
  font-size: 1rem;
  margin-top: 0.5rem; }

a.btn-primary.mt-auto,
button.btn-success.mt-auto {
  background-color: #007bff;
  border: none;
  color: #fff;
  margin-top: auto;
  padding: 0.8rem 1rem;
  border-radius: 5px;
  font-size: 1.1rem; }
  a.btn-primary.mt-auto:hover,
  button.btn-success.mt-auto:hover {
    background-color: #0056b3; }

body {
  font-family: 'Anonymous Pro', Arial, sans-serif; }

h1 {
  font-family: 'Anonymous Pro', sans-serif;
  font-size: 2.5rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 2rem; }

label {
  font-family: 'Anonymous Pro', sans-serif;
  font-size: 1.1rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
  color: #343a40; }

input, textarea {
  font-family: 'Anonymous Pro', Arial, sans-serif;
  font-size: 1rem; }

.btn-primary {
  font-family: 'Anonymous Pro', sans-serif;
  font-size: 1.2rem;
  font-weight: bold;
  padding: 0.8rem 1.5rem;
  background-color: #007bff;
  border: none;
  border-radius: 5px; }

.btn-primary:hover {
  background-color: #0056b3; }

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

html, body {
  height: 100%;
  margin: 0;
  padding: 0; }

.page-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh; }

.navbar-nav .nav-link {
  font-size: 1.2rem;
  color: #343a40 !important; }

.navbar-nav .nav-link.active-profile {
  font-weight: bold;
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-color: #007bff; }

.main-content {
  flex: 1;
  padding: 2rem 0; }

h1.text-center {
  font-family: 'Anonymous Pro', sans-serif;
  font-size: 2.5rem;
  margin-bottom: 2rem; }

#profileInfo {
  background: #fff;
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  max-width: 600px;
  margin: 2rem auto; }

.card-title {
  font-size: 2.1rem !important;
  font-family: 'Anonymous Pro', sans-serif;
  font-weight: bold; }

#userCreditsDisplay {
  font-family: 'Anonymous ProBold', Arial, sans-serif;
  font-size: 1.1rem;
  color: #28a745;
  margin-bottom: 1.5rem; }

#updateAvatarForm .form-label {
  font-size: 1.2rem;
  font-family: 'Anonymous Pro', sans-serif;
  color: #333; }

#updateAvatarForm .btn-primary {
  margin-top: 1rem;
  font-size: 1.2rem; }

h2.text-center {
  font-family: 'Anonymous Pro', sans-serif;
  font-size: 2rem;
  margin-top: 4rem; }

.card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); }

.card-title {
  font-size: 1.4rem;
  font-family: 'Anonymous Pro', sans-serif;
  font-weight: bold; }

.card-text {
  font-size: 1rem;
  color: #555; }

a.btn-primary.mt-auto {
  font-size: 1.1rem;
  padding: 0.6rem 1.5rem;
  border-radius: 5px; }

.footer {
  background: #f8f9fa;
  text-align: center;
  padding: 1rem 0;
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.1);
  margin-top: auto;
  width: 100%; }

.footer button {
  background: #007bff;
  color: white;
  border: none;
  padding: 0.8rem 2rem;
  font-size: 1.2rem;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s ease; }

.footer button:hover {
  background: #0056b3; }

.footer p {
  margin-top: 0.5rem;
  font-size: 1rem;
  color: #555; }

.pagination-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 2rem; }

.pagination-container button {
  background: #007bff;
  color: white;
  border: none;
  padding: 0.6rem;
  font-size: 1rem;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  text-align: center;
  line-height: 1; }
  .pagination-container button:hover {
    background: #0056b3; }
  .pagination-container button.active {
    background: #0056b3; }

.popup-overlay {
  position: fixed;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  opacity: 0;
  transition: top 0.7s ease, opacity 0.7s ease; }

.popup-overlay.show {
  top: 0;
  opacity: 1; }

.popup-content {
  background: white;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  text-align: center;
  width: 80%;
  max-width: 500px; }

.popup-title {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 1rem; }

.popup-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem; }

.popup-content a, .popup-content button {
  margin: 0.5rem; }

.btn-close {
  background: #dc3545;
  color: white;
  border: none;
  padding: 0.6rem 1.2rem;
  font-size: 1rem;
  border-radius: 5px; }
  .btn-close:hover {
    background: #c82333; }

.btn-login {
  background: #007bff;
  color: white;
  border: none;
  padding: 0.6rem 1.2rem;
  font-size: 1rem;
  border-radius: 5px; }
  .btn-login:hover {
    background: #0056b3; }
