/* Django form help text styling */
form p {
    display: flex;
    flex-direction: column;
}

form p input,
form p select,
form p textarea {
    margin-bottom: 0.25rem;
}

form p .helptext,
form p small,
form p span {
    font-size: 0.7rem;
    /* ~30% smaller */
    color: #6c757d;
    /* Bootstrap muted */
    display: block;
    margin-top: 0.25rem;
}

.hover-opacity-100:hover {
    opacity: 1 !important;
    background-color: rgba(255, 255, 255, 0.1);
}

/* Set the height of the photo container */
.physio-photo-wrapper {
    height: 300px;
    overflow: hidden;
    background-color: #f8f9fa;
}

.physio-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.card-body {
    flex: 1 1 auto;
}

/* Buttons in cards */

.btn-outline-primary {
    border-color: #0d6efd;
    color: #0d6efd;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background-color: #0d6efd;
    color: white;
    box-shadow: 0 4px 8px rgba(13, 110, 253, 0.2);
}

.text-muted.small {
    opacity: 0.85;
}

.is-invalid-wrapper select, 
    .is-invalid-wrapper input {
        border-color: #dc3545 !important;
        background-color: #fff8f8;
    }