/* Prevent iOS Safari auto-zoom on form focus */
@media (max-width: 768px) {
    input.form-control,
    select.form-select,
    textarea.form-control {
        font-size: 16px !important;
    }
}

/* Thumb-friendly tap targets */
.btn,
.form-select,
.form-control {
    min-height: 46px;
}

.btn-sm {
    min-height: 36px;
}

/* Selectable Privacy Cards (replaces cramped horizontal btn-group on mobile) */
.privacy-option-card {
    display: block;
    cursor: pointer;
    border: 2px solid #dee2e6;
    border-radius: 0.65rem;
    padding: 0.75rem;
    background: #fff;
    transition: all 0.15s ease-in-out;
    height: 100%;
}

.btn-check:checked + .privacy-option-card {
    border-color: #0d6efd;
    background-color: #f0f6ff;
    box-shadow: 0 0 0 0.15rem rgba(13, 110, 253, 0.15);
}

.btn-check:checked + .privacy-option-card.privacy-warning {
    border-color: #ffc107;
    background-color: #fffdf5;
    box-shadow: 0 0 0 0.15rem rgba(255, 193, 7, 0.25);
}

/* Horizontal touch-scroll filter bar for Admin mobile view */
.filter-scroll {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 4px;
}

.filter-scroll::-webkit-scrollbar {
    display: none;
}

.filter-scroll .btn {
    white-space: nowrap;
    flex-shrink: 0;
}

/* Vertical Remark Timeline for Mobile Tracking */
.remark-timeline {
    position: relative;
    padding-left: 1.5rem;
    border-left: 2px solid #0d6efd;
    margin-left: 0.5rem;
}

.remark-timeline-item {
    position: relative;
    margin-bottom: 1.25rem;
}

.remark-timeline-item::before {
    content: "";
    position: absolute;
    left: -1.85rem;
    top: 0.25rem;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #0d6efd;
    border: 2px solid #fff;
    box-shadow: 0 0 0 2px #0d6efd;
}
/* School Logo Styling */
.school-logo-nav {
    height: 38px;
    width: auto;
    max-width: 140px;
    object-fit: contain;
   /* background-color: #ffffff; */
    padding: 3px;
    border-radius: 6px;
}

.school-logo-login {
    height: 76px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
}

@media (max-width: 400px) {
    .school-logo-nav {
        height: 30px;
    }
    .brand-subtitle {
        display: none;
    }
}