/* VN Contact Button - Utility CSS Framework (Tailwind-like) */

/* Reset */
* {
    box-sizing: border-box;
}

/* Display */
.cb-hidden { display: none !important; }
.cb-block { display: block !important; }
.cb-inline-block { display: inline-block !important; }
.cb-inline { display: inline !important; }
.cb-flex { display: flex !important; }
.cb-inline-flex { display: inline-flex !important; }
.cb-grid { display: grid !important; }

/* Flex Direction */
.cb-flex-row { flex-direction: row !important; }
.cb-flex-col { flex-direction: column !important; }
.cb-flex-wrap { flex-wrap: wrap !important; }

/* Justify Content */
.cb-justify-start { justify-content: flex-start !important; }
.cb-justify-end { justify-content: flex-end !important; }
.cb-justify-center { justify-content: center !important; }
.cb-justify-between { justify-content: space-between !important; }
.cb-justify-around { justify-content: space-around !important; }

/* Align Items */
.cb-items-start { align-items: flex-start !important; }
.cb-items-end { align-items: flex-end !important; }
.cb-items-center { align-items: center !important; }
.cb-items-stretch { align-items: stretch !important; }

/* Gap */
.cb-gap-1 { gap: 0.25rem !important; }
.cb-gap-2 { gap: 0.5rem !important; }
.cb-gap-3 { gap: 0.75rem !important; }
.cb-gap-4 { gap: 1rem !important; }
.cb-gap-5 { gap: 1.25rem !important; }
.cb-gap-6 { gap: 1.5rem !important; }
.cb-gap-8 { gap: 2rem !important; }

/* Padding */
.cb-p-0 { padding: 0 !important; }
.cb-p-1 { padding: 0.25rem !important; }
.cb-p-2 { padding: 0.5rem !important; }
.cb-p-3 { padding: 0.75rem !important; }
.cb-p-4 { padding: 1rem !important; }
.cb-p-5 { padding: 1.25rem !important; }
.cb-p-6 { padding: 1.5rem !important; }
.cb-p-8 { padding: 2rem !important; }

.cb-px-2 { padding-left: 0.5rem !important; padding-right: 0.5rem !important; }
.cb-px-3 { padding-left: 0.75rem !important; padding-right: 0.75rem !important; }
.cb-px-4 { padding-left: 1rem !important; padding-right: 1rem !important; }
.cb-px-6 { padding-left: 1.5rem !important; padding-right: 1.5rem !important; }

.cb-py-2 { padding-top: 0.5rem !important; padding-bottom: 0.5rem !important; }
.cb-py-3 { padding-top: 0.75rem !important; padding-bottom: 0.75rem !important; }
.cb-py-4 { padding-top: 1rem !important; padding-bottom: 1rem !important; }

/* Margin */
.cb-m-0 { margin: 0 !important; }
.cb-m-1 { margin: 0.25rem !important; }
.cb-m-2 { margin: 0.5rem !important; }
.cb-m-3 { margin: 0.75rem !important; }
.cb-m-4 { margin: 1rem !important; }
.cb-m-auto { margin: auto !important; }

.cb-mx-auto { margin-left: auto !important; margin-right: auto !important; }
.cb-my-2 { margin-top: 0.5rem !important; margin-bottom: 0.5rem !important; }
.cb-my-4 { margin-top: 1rem !important; margin-bottom: 1rem !important; }

.cb-mt-2 { margin-top: 0.5rem !important; }
.cb-mt-4 { margin-top: 1rem !important; }
.cb-mb-2 { margin-bottom: 0.5rem !important; }
.cb-mb-4 { margin-bottom: 1rem !important; }

/* Width */
.cb-w-full { width: 100% !important; }
.cb-w-auto { width: auto !important; }
.cb-w-fit { width: fit-content !important; }

/* Height */
.cb-h-full { height: 100% !important; }
.cb-h-auto { height: auto !important; }

/* Text Align */
.cb-text-left { text-align: left !important; }
.cb-text-center { text-align: center !important; }
.cb-text-right { text-align: right !important; }

/* Font Size */
.cb-text-xs { font-size: 0.75rem !important; line-height: 1rem !important; }
.cb-text-sm { font-size: 0.875rem !important; line-height: 1.25rem !important; }
.cb-text-base { font-size: 1rem !important; line-height: 1.5rem !important; }
.cb-text-lg { font-size: 1.125rem !important; line-height: 1.75rem !important; }
.cb-text-xl { font-size: 1.25rem !important; line-height: 1.75rem !important; }
.cb-text-2xl { font-size: 1.5rem !important; line-height: 2rem !important; }

/* Font Weight */
.cb-font-normal { font-weight: 400 !important; }
.cb-font-medium { font-weight: 500 !important; }
.cb-font-semibold { font-weight: 600 !important; }
.cb-font-bold { font-weight: 700 !important; }

/* Text Color */
.cb-text-gray-500 { color: #6B7280 !important; }
.cb-text-gray-700 { color: #374151 !important; }
.cb-text-gray-900 { color: #111827 !important; }
.cb-text-white { color: #fff !important; }

/* Background Color */
.cb-bg-white { background-color: #fff !important; }
.cb-bg-gray-50 { background-color: #F9FAFB !important; }
.cb-bg-gray-100 { background-color: #F3F4F6 !important; }
.cb-bg-gray-200 { background-color: #E5E7EB !important; }
.cb-bg-transparent { background-color: transparent !important; }

/* Border */
.cb-border { border: 1px solid #E5E7EB !important; }
.cb-border-0 { border: 0 !important; }
.cb-border-t { border-top: 1px solid #E5E7EB !important; }
.cb-border-b { border-bottom: 1px solid #E5E7EB !important; }
.cb-border-l { border-left: 1px solid #E5E7EB !important; }
.cb-border-r { border-right: 1px solid #E5E7EB !important; }

/* Border Radius */
.cb-rounded-none { border-radius: 0 !important; }
.cb-rounded-sm { border-radius: 0.125rem !important; }
.cb-rounded { border-radius: 0.25rem !important; }
.cb-rounded-md { border-radius: 0.375rem !important; }
.cb-rounded-lg { border-radius: 0.5rem !important; }
.cb-rounded-xl { border-radius: 0.75rem !important; }
.cb-rounded-2xl { border-radius: 1rem !important; }
.cb-rounded-full { border-radius: 9999px !important; }

/* Shadow */
.cb-shadow-none { box-shadow: none !important; }
.cb-shadow-sm { box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05) !important; }
.cb-shadow { box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06) !important; }
.cb-shadow-md { box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06) !important; }
.cb-shadow-lg { box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05) !important; }
.cb-shadow-xl { box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04) !important; }

/* Position */
.cb-relative { position: relative !important; }
.cb-absolute { position: absolute !important; }
.cb-fixed { position: fixed !important; }
.cb-sticky { position: sticky !important; }

/* Top, Right, Bottom, Left */
.cb-top-0 { top: 0 !important; }
.cb-right-0 { right: 0 !important; }
.cb-bottom-0 { bottom: 0 !important; }
.cb-left-0 { left: 0 !important; }

/* Z-Index */
.cb-z-0 { z-index: 0 !important; }
.cb-z-10 { z-index: 10 !important; }
.cb-z-20 { z-index: 20 !important; }
.cb-z-30 { z-index: 30 !important; }
.cb-z-40 { z-index: 40 !important; }
.cb-z-50 { z-index: 50 !important; }
.cb-z-9999 { z-index: 9999 !important; }

/* Opacity */
.cb-opacity-0 { opacity: 0 !important; }
.cb-opacity-50 { opacity: 0.5 !important; }
.cb-opacity-75 { opacity: 0.75 !important; }
.cb-opacity-100 { opacity: 1 !important; }

/* Cursor */
.cb-cursor-pointer { cursor: pointer !important; }
.cb-cursor-not-allowed { cursor: not-allowed !important; }

/* Overflow */
.cb-overflow-hidden { overflow: hidden !important; }
.cb-overflow-auto { overflow: auto !important; }
.cb-overflow-y-auto { overflow-y: auto !important; }

/* Pointer Events */
.cb-pointer-events-none { pointer-events: none !important; }
.cb-pointer-events-auto { pointer-events: auto !important; }

/* Transition */
.cb-transition-all { transition: all 0.3s ease !important; }
.cb-transition-colors { transition: color 0.3s ease, background-color 0.3s ease !important; }
.cb-transition-opacity { transition: opacity 0.3s ease !important; }
.cb-transition-transform { transition: transform 0.3s ease !important; }

/* Transform */
.cb-scale-0 { transform: scale(0) !important; }
.cb-scale-100 { transform: scale(1) !important; }
.cb-scale-110 { transform: scale(1.1) !important; }

/* Animations */
@keyframes cb-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

@keyframes cb-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes cb-shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

@keyframes cb-fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes cb-slideUp {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.cb-animate-pulse { animation: cb-pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite !important; }
.cb-animate-bounce { animation: cb-bounce 1s infinite !important; }
.cb-animate-shake { animation: cb-shake 0.5s ease-in-out !important; }
.cb-animate-fadeIn { animation: cb-fadeIn 0.3s ease-in-out !important; }
.cb-animate-slideUp { animation: cb-slideUp 0.3s ease-out !important; }

/* Hover Effects */
.cb-hover-shadow:hover { box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05) !important; }
.cb-hover-scale:hover { transform: scale(1.05) !important; }

/* Flex Grow/Shrink */
.cb-flex-1 { flex: 1 1 0% !important; }
.cb-flex-none { flex: none !important; }

/* Grid */
.cb-grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)) !important; }
.cb-grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
.cb-grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
.cb-grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }

/* Responsive breakpoints */
@media (min-width: 768px) {
    .cb-md\:flex { display: flex !important; }
    .cb-md\:hidden { display: none !important; }
    .cb-md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
    .cb-md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
}

@media (min-width: 1024px) {
    .cb-lg\:flex { display: flex !important; }
    .cb-lg\:hidden { display: none !important; }
}
