/* custom.css - Core IPSO Components */
/* Bypasses Vite/Node.js requirement while maintaining strict 'No Inline CSS' rules */

.btn-primary { background-color: #15803d; color: white; font-weight: 600; padding: 0.5rem 1rem; border-radius: 0.25rem; box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1); transition: background-color 200ms; }
.btn-primary:hover { background-color: #166534; }

.btn-secondary { background-color: #4b5563; color: white; font-weight: 600; padding: 0.5rem 1rem; border-radius: 0.25rem; box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1); transition: background-color 200ms; }
.btn-secondary:hover { background-color: #374151; }

/* Action Buttons (Categories, Users, etc) */
.btn-action-delete {
    color: #ef4444; /* text-red-500 */
    background-color: #fef2f2; /* bg-red-50 */
    font-weight: 600;
    font-size: 0.875rem; /* text-sm */
    padding: 0.375rem 0.75rem; /* px-3 py-1.5 */
    border-radius: 0.25rem;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05); /* shadow-sm */
    transition: all 0.2s ease-in-out;
    border: 1px solid transparent;
}
.btn-action-delete:hover {
    color: #b91c1c; /* text-red-700 */
    background-color: #fee2e2; /* bg-red-100 */
    border-color: #fecaca; /* border-red-200 */
}

.btn-action-warning {
    color: #f97316; /* text-orange-500 */
    background-color: #fff7ed; /* bg-orange-50 */
    font-weight: 600;
    font-size: 0.875rem;
    padding: 0.375rem 0.75rem;
    border-radius: 0.25rem;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease-in-out;
    border: 1px solid transparent;
}
.btn-action-warning:hover {
    color: #c2410c; /* text-orange-700 */
    background-color: #ffedd5; /* bg-orange-100 */
    border-color: #fed7aa; /* border-orange-200 */
}

.btn-action-success {
    color: #16a34a; /* text-green-600 */
    background-color: #f0fdf4; /* bg-green-50 */
    font-weight: 600;
    font-size: 0.875rem;
    padding: 0.375rem 0.75rem;
    border-radius: 0.25rem;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease-in-out;
    border: 1px solid transparent;
}
.btn-action-success:hover {
    color: #166534; /* text-green-800 */
    background-color: #dcfce7; /* bg-green-100 */
    border-color: #bbf7d0; /* border-green-200 */
}

.form-input { width: 100%; border: 1px solid #d1d5db; border-radius: 0.25rem; padding: 0.5rem 1rem; margin-top: 0.25rem; outline: none; }
.form-input:focus { box-shadow: 0 0 0 2px #16a34a; border-color: transparent; }

.form-label { display: block; font-size: 0.875rem; font-weight: 600; color: #374151; }

.card { background-color: white; box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1); border-radius: 0.75rem; padding: 1.5rem; border: 1px solid #e5e7eb; }

.badge-status { padding: 0.25rem 0.75rem; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; border-radius: 9999px; display: inline-block; }

.badge-new { background-color: #dbeafe; color: #1e40af; border: 1px solid #bfdbfe; }
.badge-review { background-color: #fef9c3; color: #854d0e; border: 1px solid #fef08a; }
.badge-investigating { background-color: #f3e8ff; color: #6b21a8; border: 1px solid #e9d5ff; }
.badge-resolved { background-color: #dcfce7; color: #166534; border: 1px solid #bbf7d0; }
.badge-closed { background-color: #f3f4f6; color: #1f2937; border: 1px solid #e5e7eb; }

.chat-container {
    max-height: 500px;
    overflow-y: auto;
    padding: 1rem;
    background-color: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
}
