/**
 * WPAgent CSS Overrides
 *
 * This file provides high-specificity overrides for Kadence parent theme conflicts.
 * All rules use .wpagent-profile prefix for scoped specificity.
 *
 * Specificity hierarchy:
 * 1. Kadence base styles (low specificity)
 * 2. Tailwind utilities (medium, with !important from config)
 * 3. This file (high specificity: .wpagent-profile .class)
 *
 * @package WPAgent
 * @since 1.0.0
 */

/* ==========================================================================
   CARD COMPONENTS
   ========================================================================== */

/**
 * Card Body - Main content wrapper inside cards
 * Used in: handoff-card.php, meeting cards, etc.
 */
.wpagent-profile .card-body {
    padding: 20px;
}

.wpagent-profile .card-body-lg {
    padding: 24px;
}

.wpagent-profile .card-body-sm {
    padding: 16px;
}

/**
 * Card Section - Full card with border and background
 * Already defined in Tailwind components, this is backup
 */
.wpagent-profile .card-section {
    padding: 24px;
    margin-bottom: 24px;
    background-color: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
}

/* ==========================================================================
   SPACING UTILITIES
   ========================================================================== */

/**
 * Padding utilities - Override Kadence resets
 */
.wpagent-profile .p-3 { padding: 12px; }
.wpagent-profile .p-4 { padding: 16px; }
.wpagent-profile .p-5 { padding: 20px; }
.wpagent-profile .p-6 { padding: 24px; }
.wpagent-profile .p-8 { padding: 32px; }

.wpagent-profile .px-3 { padding-left: 12px; padding-right: 12px; }
.wpagent-profile .px-4 { padding-left: 16px; padding-right: 16px; }
.wpagent-profile .px-5 { padding-left: 20px; padding-right: 20px; }
.wpagent-profile .px-6 { padding-left: 24px; padding-right: 24px; }

.wpagent-profile .py-3 { padding-top: 12px; padding-bottom: 12px; }
.wpagent-profile .py-4 { padding-top: 16px; padding-bottom: 16px; }
.wpagent-profile .py-5 { padding-top: 20px; padding-bottom: 20px; }
.wpagent-profile .py-6 { padding-top: 24px; padding-bottom: 24px; }

/* ==========================================================================
   MARGIN UTILITIES
   ========================================================================== */

.wpagent-profile .mb-3 { margin-bottom: 12px; }
.wpagent-profile .mb-4 { margin-bottom: 16px; }
.wpagent-profile .mb-5 { margin-bottom: 20px; }
.wpagent-profile .mb-6 { margin-bottom: 24px; }
.wpagent-profile .mb-8 { margin-bottom: 32px; }

.wpagent-profile .mt-3 { margin-top: 12px; }
.wpagent-profile .mt-4 { margin-top: 16px; }
.wpagent-profile .mt-5 { margin-top: 20px; }
.wpagent-profile .mt-6 { margin-top: 24px; }

/* ==========================================================================
   GAP UTILITIES (for flex/grid)
   ========================================================================== */

.wpagent-profile .gap-2 { gap: 8px; }
.wpagent-profile .gap-3 { gap: 12px; }
.wpagent-profile .gap-4 { gap: 16px; }
.wpagent-profile .gap-6 { gap: 24px; }
.wpagent-profile .gap-8 { gap: 32px; }

/* ==========================================================================
   SIZING UTILITIES
   ========================================================================== */

.wpagent-profile .w-12 { width: 48px; }
.wpagent-profile .h-12 { height: 48px; }
.wpagent-profile .w-6 { width: 24px; }
.wpagent-profile .h-6 { height: 24px; }
.wpagent-profile .w-5 { width: 20px; }
.wpagent-profile .h-5 { height: 20px; }
.wpagent-profile .w-4 { width: 16px; }
.wpagent-profile .h-4 { height: 16px; }
.wpagent-profile .w-3 { width: 12px; }
.wpagent-profile .h-3 { height: 12px; }

/* ==========================================================================
   BORDER RADIUS
   ========================================================================== */

.wpagent-profile .rounded-lg { border-radius: 16px; }
.wpagent-profile .rounded-md { border-radius: 12px; }
.wpagent-profile .rounded { border-radius: 8px; }

/* ==========================================================================
   BACKGROUND COLORS WITH OPACITY
   ========================================================================== */

.wpagent-profile .bg-primary-500\/10 { background-color: rgba(139, 92, 246, 0.1); }
.wpagent-profile .bg-blue-500\/10 { background-color: rgba(59, 130, 246, 0.1); }
.wpagent-profile .bg-green-500\/10 { background-color: rgba(34, 197, 94, 0.1); }
.wpagent-profile .bg-yellow-500\/10 { background-color: rgba(234, 179, 8, 0.1); }
.wpagent-profile .bg-orange-500\/10 { background-color: rgba(249, 115, 22, 0.1); }
.wpagent-profile .bg-red-500\/10 { background-color: rgba(239, 68, 68, 0.1); }

.wpagent-profile .bg-gray-100 { background-color: #f3f4f6; }
.wpagent-profile .bg-gray-50 { background-color: #f9fafb; }
.wpagent-profile .bg-white { background-color: #fff; }

/* Status colors */
.wpagent-profile .bg-green-50 { background-color: #f0fdf4; }
.wpagent-profile .bg-green-100 { background-color: #dcfce7; }
.wpagent-profile .bg-yellow-50 { background-color: #fefce8; }
.wpagent-profile .bg-yellow-100 { background-color: #fef9c3; }
.wpagent-profile .bg-red-50 { background-color: #fef2f2; }
.wpagent-profile .bg-red-100 { background-color: #fee2e2; }

/* ==========================================================================
   TEXT COLORS
   ========================================================================== */

.wpagent-profile .text-primary-500 { color: #8b5cf6; }
.wpagent-profile .text-blue-500 { color: #3b82f6; }
.wpagent-profile .text-blue-600 { color: #2563eb; }
.wpagent-profile .text-gray-900 { color: #111827; }
.wpagent-profile .text-gray-700 { color: #374151; }
.wpagent-profile .text-gray-600 { color: #4b5563; }
.wpagent-profile .text-gray-500 { color: #6b7280; }
.wpagent-profile .text-gray-400 { color: #9ca3af; }

.wpagent-profile .text-green-800 { color: #166534; }
.wpagent-profile .text-green-700 { color: #15803d; }
.wpagent-profile .text-green-600 { color: #16a34a; }
.wpagent-profile .text-green-500 { color: #22c55e; }
.wpagent-profile .text-yellow-700 { color: #a16207; }
.wpagent-profile .text-yellow-600 { color: #ca8a04; }
.wpagent-profile .text-yellow-500 { color: #eab308; }
.wpagent-profile .text-yellow-400 { color: #facc15; }
.wpagent-profile .text-red-700 { color: #b91c1c; }
.wpagent-profile .text-red-500 { color: #ef4444; }
.wpagent-profile .text-primary-700 { color: #6d28d9; }

/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */

.wpagent-profile .text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.wpagent-profile .text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.wpagent-profile .text-base { font-size: 1rem; line-height: 1.5rem; }
.wpagent-profile .text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.wpagent-profile .text-xs { font-size: 0.75rem; line-height: 1rem; }

.wpagent-profile .font-semibold { font-weight: 600; }
.wpagent-profile .font-bold { font-weight: 700; }
.wpagent-profile .font-medium { font-weight: 500; }

.wpagent-profile .font-display {
    font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
}

/* ==========================================================================
   FLEXBOX
   ========================================================================== */

.wpagent-profile .flex { display: flex; }
.wpagent-profile .items-start { align-items: flex-start; }
.wpagent-profile .items-center { align-items: center; }
.wpagent-profile .justify-between { justify-content: space-between; }
.wpagent-profile .justify-center { justify-content: center; }
.wpagent-profile .shrink-0 { flex-shrink: 0; }
.wpagent-profile .flex-1 { flex: 1 1 0%; }

/* ==========================================================================
   BORDERS
   ========================================================================== */

.wpagent-profile .border { border-width: 1px; }
.wpagent-profile .border-gray-200 { border-color: #e5e7eb; }
.wpagent-profile .border-green-200 { border-color: #bbf7d0; }
.wpagent-profile .border-yellow-200 { border-color: #fef08a; }
.wpagent-profile .border-red-200 { border-color: #fecaca; }

/* ==========================================================================
   SHADOWS
   ========================================================================== */

.wpagent-profile .shadow {
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
}

.wpagent-profile .shadow-lg {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
}

/* ==========================================================================
   TRANSITIONS
   ========================================================================== */

.wpagent-profile .transition-shadow {
    transition-property: box-shadow;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

.wpagent-profile .duration-200 {
    transition-duration: 200ms;
}

/* ==========================================================================
   HOVER STATES
   ========================================================================== */

.wpagent-profile .hover\:shadow-lg:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
}

/* ==========================================================================
   SPACE-Y UTILITY
   ========================================================================== */

.wpagent-profile .space-y-3 > * + * {
    margin-top: 12px;
}

.wpagent-profile .space-y-4 > * + * {
    margin-top: 16px;
}

.wpagent-profile .space-y-8 > * + * {
    margin-top: 32px;
}
