/* Base Styles */ :root { --primary: #4f46e5; --primary-dark: #4338ca; --primary-light: #6366f1; --secondary: #ec4899; --secondary-dark: #db2777; --secondary-light: #f472b6; --dark: #1e293b; --darker: #0f172a; --light: #f8fafc; --lighter: #ffffff; --gray: #64748b; --gray-light: #e2e8f0; --success: #10b981; --warning: #f59e0b; --danger: #ef4444; --info: #3b82f6; } /* Typography */ html { font-size: 16px; line-height: 1.5; scroll-behavior: smooth; } body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif; color: var(--dark); background-color: var(--light); margin: 0; padding: 0; } h1, h2, h3, h4, h5, h6 { font-weight: 700; line-height: 1.2; margin-top: 0; } h1 { font-size: 2.5rem; } h2 { font-size: 2rem; } h3 { font-size: 1.75rem; } h4 { font-size: 1.5rem; } h5 { font-size: 1.25rem; } h6 { font-size: 1rem; } p { margin-top: 0; margin-bottom: 1rem; } /* Layout */ .container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 1rem; } .flex { display: flex; } .grid { display: grid; } /* Buttons */ .btn { display: inline-flex; align-items: center; justify-content: center; padding: 0.75rem 1.5rem; border-radius: 0.375rem; font-weight: 600; text-align: center; text-decoration: none; cursor: pointer; transition: all 0.2s ease; border: none; } .btn-primary { background-color: var(--primary); color: white; } .btn-primary:hover { background-color: var(--primary-dark); } .btn-secondary { background-color: var(--secondary); color: white; } .btn-secondary:hover { background-color: var(--secondary-dark); } .btn-outline { background-color: transparent; border: 2px solid var(--primary); color: var(--primary); } .btn-outline:hover { background-color: var(--primary); color: white; } /* Forms */ .form-control { width: 100%; padding: 0.75rem; border: 1px solid var(--gray-light); border-radius: 0.375rem; transition: border-color 0.2s ease; } .form-control:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.2); } /* Cards */ .card { background-color: var(--lighter); border-radius: 0.5rem; box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1); overflow: hidden; transition: transform 0.3s ease, box-shadow 0.3s ease; } .card:hover { transform: translateY(-4px); box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1); } .card-img { width: 100%; height: 200px; object-fit: cover; } .card-body { padding: 1.5rem; } /* Alerts */ .alert { padding: 1rem; border-radius: 0.375rem; margin-bottom: 1rem; } .alert-primary { background-color: var(--primary-light); color: white; } .alert-danger { background-color: var(--danger); color: white; } /* Animations */ @keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } } .fade-in { animation: fadeIn 0.3s ease-in; } /* Dark Mode */ .dark { background-color: var(--darker); color: var(--light); } .dark .card { background-color: var(--dark); } /* Responsive Utilities */ @media (min-width: 640px) { .sm\:flex { display: flex; } } @media (min-width: 768px) { .md\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); } } @media (min-width: 1024px) { .lg\:grid-cols-3 { grid-template-columns: repeat(3, 1fr); } } /* Custom Components */ .loader { border: 4px solid var(--gray-light); border-top: 4px solid var(--primary); border-radius: 50%; width: 30px; height: 30px; animation: spin 1s linear infinite; } @keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } } /* Utility Classes */ .text-center { text-align: center; } .text-primary { color: var(--primary); } .bg-primary { background-color: var(--primary); } .mt-2 { margin-top: 0.5rem; } .mt-4 { margin-top: 1rem; } .p-4 { padding: 1rem; } .rounded-lg { border-radius: 0.5rem; } .shadow { box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1); }