html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
    background-color: #ededeb;
    padding-bottom: 70px;
    min-height: 100vh;
}

body.public {
    padding-bottom: 0;
    background-position: center;
    background-size: cover;
    background-image: url('../images/kleurspel-home-puppets-1600-800.jpg');
}

main {
    padding: 20px 16px;
}

.main-container {
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}


.page-header {
    display: flex;
    text-align: left;
    align-items: center;
    margin-bottom: 20px;
}

.page-title {
    font-size: 24px;
    font-weight: 600;
    margin: 0;
    flex: 1;
    color: #1a1a1a;
}

.page-header .back-button {
    color: #1a1a1a;
    font-size: 20px;
    margin-right: 15px;
    padding: 5px 15px;
    background-color: #f9f9f9;
    border-radius: 12px;
    border: none;
    cursor: pointer;
}

.page-header .back-button:hover {
    color: #4d7670;
    background-color: rgba(77, 118, 112, 0.1);
}

/* Button loading state styles */
button[type="submit"]:disabled,
input[type="submit"]:disabled {
    cursor: not-allowed;
    opacity: 0.65;
}

.btn-loading {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Spinner animation for loading state */
.spinner-border {
    display: inline-block;
    width: 1rem;
    height: 1rem;
    vertical-align: middle;
    border: 0.15em solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: spinner-border 0.75s linear infinite;
}

.spinner-border-sm {
    width: 0.875rem;
    height: 0.875rem;
    border-width: 0.125em;
}

@keyframes spinner-border {
    to {
        transform: rotate(360deg);
    }
}