/* Small overrides on top of the Tailwind CDN build — elderly-friendly
   base sizing (larger body text/line-height) plus the SweetAlert2 input
   styling carried over from the original front-end. */

body {
    font-family: 'Kanit', sans-serif;
    background-color: #f8fafc;
    font-size: 17px;
    line-height: 1.6;
}

.swal-custom-input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #cbd5e1;
    border-radius: 0.375rem;
    margin-bottom: 0.5rem;
    font-family: 'Kanit', sans-serif;
}

.swal-custom-input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
}

#create-task-modal,
#task-detail-modal {
    transition: opacity 0.3s ease;
}

.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
