/* Custom styles for AI Learning Path Generator This supplements the Tailwind CSS from CDN */ :root { --primary-color: #4f46e5; --secondary-color: #7c3aed; --light-bg: #f9fafb; --dark-text: #1f2937; } /* Gradient backgrounds */ .gradient-bg { background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%); } .hover-lift { transition: transform 0.2s ease, box-shadow 0.2s ease; } .hover-lift:hover { transform: translateY(-3px); box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1); } /* Animations */ .fade-in { animation: fadeIn 0.5s ease-in-out; } @keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } } /* Loading spinner */ .loading-spinner { display: none; border: 3px solid #f3f3f3; border-top: 3px solid var(--primary-color); border-radius: 50%; width: 24px; height: 24px; animation: spin 1s linear infinite; margin: 0 auto; } @keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } } /* Progress bars */ .progress-container { width: 100%; background-color: #e0e0e0; border-radius: 9999px; height: 8px; overflow: hidden; } .progress-bar { height: 100%; background: linear-gradient(90deg, var(--primary-color), var(--secondary-color)); border-radius: 9999px; transition: width 0.5s ease-in-out; } /* Resource cards */ .resource-card { border-left: 4px solid var(--primary-color); transition: all 0.2s ease; } .resource-card:hover { border-left-width: 6px; } /* Custom form styling */ input:focus, select:focus, textarea:focus { outline: none; box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.2); border-color: var(--primary-color); } /* Responsive adjustments */ @media (max-width: 768px) { .container { padding-left: 1rem; padding-right: 1rem; } }