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

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  min-height: calc(100vh - var(--footer-height, 0px));
}

footer {
  --footer-height: auto;
  background-color: #212529;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  position: fixed;
  height: 50px;
  bottom: 0px;
  left: 0px;
  right: 0px;
  margin-bottom: 0px;
}

header.bg-image-full {
  min-height: 50vh;
  background-position: center;
  background-size: cover;
}

section {
  padding: 5rem 0;
}

footer p {
  margin: 0;
}

.navbar-brand img {
  width: 100px;
}

.navbar-brand {
  transition: transform .2s;
}

.navbar-brand:hover {
  transform: scale(1.2);
}

.card-img-top {
  width: 100%;
  height: 15vw;
  object-fit: cover;
}

.toast {
  opacity: 0;
  transition: opacity 0.4s ease-in-out;
}

.toast.show {
  opacity: 1;
}

.navlog {
  text-decoration: none;
  color: #fff;
}

.navlog:hover {
  color: #ffffffc4;
}

.signup-container,
.login-container,
.contact-container {
  max-width: 500px;
  margin: 50px auto;
  padding: 30px;
  background-color: #ffffff;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

input.form-control,
textarea.form-control {
  border-radius: 8px;
}

textarea {
  resize: none;
}

.btn-danger {
  background-color: #DC3545;
}

.btn-danger:hover {
  background-color: #e46471;
}

.btn-secondary {
  background-color: #6c757d;
  border-color: #6c757d;
}

.btn-secondary:hover {
  background-color: #5a6268;
  border-color: #545b62;
}

h2 {
  margin-bottom: 30px;
  font-weight: 700;
}

.home-container {
    margin-top: 50px;
    margin-bottom: 50px;
}

.home-container h1,
.home-container h2 {
    font-weight: 700;
}

.home-container p {
    font-size: 1.05rem;
    color: #555;
}

.credits-section {
    margin-top: 60px;
}

.credit-card {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    height: 100%;
    text-align: center;
}

.credit-card h5 {
    font-weight: 600;
    margin-bottom: 10px;
}

.credit-card p {
    margin: 0;
    font-size: 1rem;
}

.destination-card {
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.destination-card.hidden {
    opacity: 0;
    transform: scale(0.97);
    pointer-events: none;
}

#undoBtn:hover{
  background-color: #e46471;
}

#opgeslagenToastLink{
  color: white;
}

.destination-card.removing {
    transition: opacity 0.35s ease, transform 0.35s ease;
    opacity: 0;
    transform: translateY(-10px);
}
.destination-card.restored {
    animation: fadeInUp 0.35s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.map-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.region-btn.active {
    background-color: #dc3545;
    color: #fff;
}

.highlight {
    color: #dc3545;
    font-weight: 600;
    /* animation: highlightPop 0.35s ease; */
}

/* @keyframes highlightPop {
    0% {
        background-color: rgba(220, 53, 69, 0.25);
    }
    100% {
        background-color: transparent;
    }
} */
#cardSettings:hover{
  transform: scale(1);
}

.card:hover {
  transform: scale(1.05)
}

#usernamelink{
  color: white;
  text-decoration: none;
}

#usernamelink:hover{
  color: rgba(255, 255, 255, 0.507);
}
/* Settings pagina */
.settings-card {
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.settings-link {
    display: block;
    padding: 12px 16px;
    margin-bottom: 10px;
    border-radius: 8px;
    background-color: #f8f9fa;
    color: #212529;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
}

.settings-link:hover {
    background-color: #dc3545;
    color: #fff;
}

.settings-link.danger {
    background-color: #fff;
    color: #dc3545;
    font-weight: 600;
}

.settings-link.danger:hover {
    background-color: #dc3545;
    color: #fff;
}

.settings-nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.settings-nav-link {
    padding: 10px 14px;
    border-radius: 8px;
    text-decoration: none;
    color: #212529;
    font-weight: 500;
    background-color: #f8f9fa;
    transition: all 0.2s ease;
}

.settings-nav-link:hover,
.settings-nav-link.active {
    background-color: #dc3545;
    color: #fff;
}

.settings-nav-link.danger {
    color: #dc3545;
    background-color: #fff;
    border: 1px solid #dc3545;
}

.settings-nav-link.danger:hover {
    background-color: #dc3545;
    color: #fff;
}

.settings-divider {
    width: 2px;
    height: 100%;
    background-color: #dee2e6;
}

.settings-card {
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.table-wrapper {
    max-height: 500px;
    overflow-y: auto;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.table-wrapper thead th {
    position: sticky;
    top: 0;
    z-index: 2;
}

.remove-image-btn {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);

    width: 24px;
    height: 24px;

    border-radius: 50%;
    padding: 0;
    font-size: 12px;
}