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;
}

.crop-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border: 2px solid #ddd; /* Add a solid border */
    border-radius: 6px; /* Rounded corners */
    margin-bottom: 10px;
    background: #fafafa;
}

    .crop-card:hover {
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15); /* Hover effect for interactivity */
        border-color: #2d87ff; /* Change border color on hover */
        transition: 0.3s;
    }

.crop-info {
    flex: 1;
}

    .crop-info h2 {
        margin: 0;
        font-size: 20px;
        color: #444;
    }

    .crop-info p {
        margin: 5px 0;
        color: #666;
    }

.crop-amount {
    text-align: right;
    margin-left: 20px;
}

    .crop-amount p {
        margin: 5px 0;
        font-size: 18px;
        font-weight: bold;
        color: #2d87ff;
    }

.bins-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
    align-items: stretch;
}

.bin-card {
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 14px;
    box-shadow: 0 1px 2px rgba(0,0,0,.04);
    background: #fff;
    display: flex;
    flex-direction: column;
}

.bin-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

    .bin-header h3 {
        margin: 0;
        font-size: 1.1rem;
    }

.bin-chip {
    font-size: .75rem;
    padding: 4px 8px;
    border-radius: 999px;
    background: #f3f4f6;
}

.bin-body {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 12px;
    align-items: center;
}

.silo {
    display: grid;
    place-items: center;
    gap: 8px;
}

.silo-glass {
    position: relative;
    width: 64px;
    height: 140px;
    border-radius: 10px 10px 12px 12px;
    border: 2px solid #d1d5db;
    overflow: hidden;
    background: linear-gradient(180deg,#fafafa,#f5f5f5);
}

.silo-cap {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 46px;
    height: 12px;
    background: #d1d5db;
    border-radius: 8px 8px 2px 2px;
}

.silo-fill {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    /* height set inline via style attr */
    background: linear-gradient(180deg,#c1d6ff,#7aa2ff);
    border-top: 1px solid rgba(0,0,0,.05);
}

.bin-amount {
    text-align: center;
}

    .bin-amount .amount {
        font-size: 1.25rem;
        font-weight: 700;
        line-height: 1;
    }

    .bin-amount .unit {
        font-size: .75rem;
        color: #6b7280;
    }

.bin-meta {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 6px;
}

    .bin-meta li {
        display: flex;
        justify-content: space-between;
        align-items: baseline;
        font-size: .9rem;
        border-bottom: 1px dashed #eee;
        padding: 4px 0;
    }

        .bin-meta li span {
            color: #6b7280;
        }

.map {
    height: 55vh;
    min-height: 360px;
    width: 100%;
    border-radius: 14px;
    margin-bottom: 16px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 1px 2px rgba(0,0,0,.04);
}
.azmaps-map .popup table tr td {
    padding: 2px 0;
}