/* Minimal custom styles */

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', Roboto, sans-serif;
}

/* Responsive form controls */
.form-select-responsive {
    font-size: 1rem;
    padding: 0.5rem 0.75rem;
    min-height: 44px; /* Better touch target on mobile */
}

@media (min-width: 768px) {
    .form-select-responsive {
        font-size: 0.875rem;
        padding: 0.375rem 0.75rem;
        min-height: auto;
    }
}

/* Responsive reverse button */
.btn-reverse-responsive {
    width: 44px;
    height: 44px;
    padding: 0;
    font-size: 1.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

@media (min-width: 768px) {
    .btn-reverse-responsive {
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }
}

/* Responsive checkbox and label */
.form-check-input-responsive {
    width: 1.25rem;
    height: 1.25rem;
    margin-top: 0.25rem;
}

@media (min-width: 768px) {
    .form-check-input-responsive {
        width: 1rem;
        height: 1rem;
    }
}

.form-check-label-responsive {
    font-size: 1rem;
    padding-left: 0.5rem;
    cursor: pointer;
    line-height: 1.5;
}

@media (min-width: 768px) {
    .form-check-label-responsive {
        font-size: 0.875rem;
        padding-left: 0.375rem;
    }
}

/* Better table display on mobile */
@media (max-width: 767px) {
    .table {
        font-size: 0.875rem;
    }
    
    .table th,
    .table td {
        padding: 0.5rem 0.25rem;
        vertical-align: middle;
    }
    
    .table th {
        font-size: 0.75rem;
    }
    
    .badge {
        font-size: 0.7rem;
        padding: 0.25rem 0.5rem;
    }
    
    .card-body {
        padding: 1rem;
    }
    
    .card-header {
        padding: 0.75rem 1rem;
    }
}

/* Better button sizes on mobile */
@media (max-width: 767px) {
    .btn-lg {
        padding: 0.75rem 1rem;
        font-size: 1rem;
    }
}

/* Improve touch targets */
@media (max-width: 767px) {
    .nav-link {
        padding: 0.75rem 1rem;
    }
    
    .navbar-brand {
        font-size: 1.25rem;
    }
}
