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 {
  margin-bottom: 60px;
}

.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;
}

body.baseball {
    background-color: #ffffff;
    color: #333;
}

body.football {
    background-color: #ffffff;
    color: #222;
}

body.hockey {
    background-color: #ffffff;
    color: #111;
}

body.default {
    background-color: #ffffff;
    color: #000;
}

body.baseball .navbar {
    background-color: #6c757d;
}

.card-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.constitution-card {
    border: 1px solid #ccc;
    border-radius: 6px;
    padding: 1rem;
    background-color: #f9f9f9;
}

.card-header {
    background: none;
    border: none;
    font-size: 1.2rem;
    font-weight: bold;
    text-align: left;
    width: 100%;
    cursor: pointer;
    padding: 0;
    margin-bottom: 0.5rem;
}

.card-body {
    padding-left: 1rem;
}

.fab-container .btn:hover {
    filter: brightness(1.1);
    box-shadow: 0 0 12px rgba(0,0,0,0.4);
    border: 1px solid rgba(0,0,0,0.1);
}

.fab-container .btn {
    transition: filter 0.2s ease, box-shadow 0.2s ease;
}

.list-group-item a:hover {
    color: #0d6efd;
    text-decoration: underline;
}

.organization-view .trophy-summary img {
    height: 20px;
    width: 20px;
}

.organization-view .trophy-summary .badge {
    font-size: 0.65rem;
    padding: 0.1em 0.3em;
}

.coming-soon-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    animation: pulse 1.5s infinite;
}

.watch-icon {
    cursor: pointer;
    font-weight: bold;
    font-style: normal;
    display: inline-block;
}

.watch-icon.add {
    color: #080 !important; /* green */
}

.watch-icon.remove {
    color: #d00 !important; /* red */
}

/* Prevent Bootstrap or theme from overriding with link styles */
.watch-icon.add:visited,
.watch-icon.add:active,
.watch-icon.add:hover,
.watch-icon.add:focus {
    color: #080 !important;
}

.watch-icon.remove:visited,
.watch-icon.remove:active,
.watch-icon.remove:hover,
.watch-icon.remove:focus {
    color: #d00 !important;
}


@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.7;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

html {
    scroll-padding-top: calc(var(--nav-height) + var(--league-expanded-height));
}