devusman's picture
kindly add css in this
0be686e verified
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');
/* Base styles */
body {
font-family: 'Inter', sans-serif;
line-height: 1.6;
display: flex;
flex-direction: column;
min-height: 100vh;
background-color: #f7fafc;
color: #1a202c;
}
.dark body {
background-color: #1a202c;
color: #f7fafc;
}
.dark .bg-gray-900 {
background-color: #0f172a;
}
.dark .bg-gray-800 {
background-color: #1e293b;
}
.dark .text-gray-400 {
color: #94a3b8;
}
.dark .border-gray-700 {
border-color: #334155;
}
/* Custom scrollbar */
::-webkit-scrollbar {
width: 8px;
height: 8px;
}
::-webkit-scrollbar-track {
background: #1a202c;
}
::-webkit-scrollbar-thumb {
background: #4a5568;
border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
background: #718096;
}
/* Animations */
@keyframes fadeIn {
from { opacity: 0; }
to { opacity: 1; }
}
@keyframes slideUp {
from {
opacity: 0;
transform: translateY(20px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
.animate-fade-in {
animation: fadeIn 0.5s ease-in-out;
}
.animate-slide-up {
animation: slideUp 0.5s ease-out forwards;
}
/* Custom gradient text */
.gradient-text {
background-clip: text;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
/* Auth buttons styling */
.auth-buttons-container {
display: flex;
align-items: center;
gap: 1rem;
}
.auth-buttons-container a {
transition: all 0.3s ease;
}
.sign-in-btn {
color: #94a3b8;
padding: 0.5rem 1rem;
font-size: 0.875rem;
font-weight: 500;
border-radius: 0.375rem;
}
.sign-in-btn:hover {
color: #ffffff;
}
.get-started-btn {
background: linear-gradient(to right, #8b5cf6, #3b82f6);
color: white;
padding: 0.5rem 1rem;
font-size: 0.875rem;
font-weight: 500;
border-radius: 0.375rem;
box-shadow: 0 4px 6px -1px rgba(139, 92, 246, 0.3);
}
.get-started-btn:hover {
background: linear-gradient(to right, #7c3aed, #2563eb);
transform: translateY(-1px);
box-shadow: 0 10px 15px -3px rgba(139, 92, 246, 0.3);
}
/* Dark mode adjustments */
.dark .sign-in-btn {
color: #94a3b8;
}
.dark .sign-in-btn:hover {
color: #ffffff;
}
.dark .get-started-btn {
box-shadow: 0 4px 6px -1px rgba(139, 92, 246, 0.5);
}
.dark .get-started-btn:hover {
box-shadow: 0 10px 15px -3px rgba(139, 92, 246, 0.5);
}
/* Custom shadows */
.shadow-purple-glow {
box-shadow: 0 4px 20px -5px rgba(139, 92, 246, 0.5);
}
/* Custom transitions */
.transition-all {
transition: all 0.3s ease;
}
/* Custom form inputs */
input, textarea, select {
transition: all 0.3s ease;
}
input:focus, textarea:focus, select:focus {
outline: none;
box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.3);
}
/* Custom buttons */
.btn-gradient {
background-image: linear-gradient(to right, #8b5cf6, #3b82f6);
transition: all 0.3s ease;
}
.btn-gradient:hover {
background-image: linear-gradient(to right, #7c3aed, #2563eb);
transform: translateY(-2px);
box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}
/* Responsive adjustments */
@media (max-width: 640px) {
.auth-buttons-container {
gap: 0.5rem;
}
.sign-in-btn, .get-started-btn {
padding: 0.4rem 0.8rem;
font-size: 0.75rem;
}
}
/* Custom badge */
.badge {
display: inline-block;
padding: 0.25rem 0.5rem;
font-size: 0.75rem;
font-weight: 600;
line-height: 1;
text-align: center;
white-space: nowrap;
vertical-align: baseline;
border-radius: 0.25rem;
}
/* Custom tooltip */
.tooltip {
position: relative;
}
.tooltip .tooltip-text {
visibility: hidden;
width: 120px;
background-color: #2d3748;
color: #fff;
text-align: center;
border-radius: 6px;
padding: 5px;
position: absolute;
z-index: 1;
bottom: 125%;
left: 50%;
margin-left: -60px;
opacity: 0;
transition: opacity 0.3s;
}
.tooltip:hover .tooltip-text {
visibility: visible;
opacity: 1;
}
/* Custom modal */
.modal {
display: none;
position: fixed;
z-index: 50;
left: 0;
top: 0;
width: 100%;
height: 100%;
overflow: auto;
background-color: rgba(0, 0, 0, 0.8);
}
.modal-content {
background-color: #1a202c;
margin: 10% auto;
padding: 20px;
border: 1px solid #2d3748;
width: 80%;
max-width: 600px;
border-radius: 0.5rem;
animation: modalFadeIn 0.3s;
}
@keyframes modalFadeIn {
from { opacity: 0; transform: translateY(-20px); }
to { opacity: 1; transform: translateY(0); }
}
.close-modal {
color: #a0aec0;
float: right;
font-size: 28px;
font-weight: bold;
}
.close-modal:hover,
.close-modal:focus {
color: #fff;
text-decoration: none;
cursor: pointer;
}