merimandi / src /index.css
datamk's picture
Upload 63 files
0d8a28a verified
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');
:root {
--bg-color: #060907;
--surface-color: #0f1612;
--surface-light: #18231c;
--surface-glass: rgba(24, 35, 28, 0.7);
--primary-color: #10b981;
--primary-dark: #059669;
--primary-glow: rgba(16, 185, 129, 0.4);
--text-main: #f8fafc;
--text-muted: #94a3b8;
--danger-color: #ef4444;
--danger-glass: rgba(239, 68, 68, 0.2);
--border-color: rgba(255, 255, 255, 0.05);
}
* {
box-sizing: border-box;
margin: 0;
padding: 0;
font-family: 'Outfit', sans-serif;
}
body {
background-color: var(--bg-color);
color: var(--text-main);
min-height: 100vh;
overflow-x: hidden;
-webkit-font-smoothing: antialiased;
}
.app-container {
width: 100%;
max-width: 1200px;
margin: 0 auto;
min-height: 100vh;
background-color: var(--surface-color);
position: relative;
box-shadow: 0 0 100px rgba(0, 0, 0, 0.8);
display: flex;
flex-direction: column;
}
.admin-container {
width: 100%;
min-height: 100vh;
background-color: var(--bg-color);
display: flex;
flex-direction: column;
}
/* Typography elements */
h1, h2, h3, h4, h5, h6 {
font-weight: 700;
letter-spacing: -0.02em;
}
.text-gradient {
background: linear-gradient(135deg, #34d399, #10b981);
-webkit-background-clip: text;
background-clip: text;
-webkit-text-fill-color: transparent;
}
/* Glass UI styles */
.glass-panel {
background: var(--surface-glass);
backdrop-filter: blur(12px);
border: 1px solid var(--border-color);
border-radius: 20px;
}
/* Buttons */
.btn-primary {
background: linear-gradient(135deg, #10b981, #059669);
color: white;
border: none;
padding: 14px 24px;
border-radius: 14px;
font-size: 16px;
font-weight: 600;
cursor: pointer;
transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
box-shadow: 0 8px 24px var(--primary-glow);
display: inline-flex;
align-items: center;
justify-content: center;
gap: 8px;
}
.btn-primary:active {
transform: scale(0.96);
box-shadow: 0 4px 12px var(--primary-glow);
}
.btn-secondary {
background: var(--surface-light);
color: var(--text-main);
border: 1px solid var(--border-color);
padding: 14px 24px;
border-radius: 14px;
font-size: 16px;
font-weight: 600;
cursor: pointer;
transition: all 0.2s;
display: inline-flex;
align-items: center;
justify-content: center;
gap: 8px;
}
.btn-secondary:active, .btn-icon:active {
transform: scale(0.96);
}
.btn-icon-circular {
width: 50px;
height: 50px;
border-radius: 50%;
border: none;
display: flex;
align-items: center;
justify-content: center;
background: var(--surface-light);
color: var(--text-main);
cursor: pointer;
transition: all 0.2s;
}
/* Call specific buttons */
.btn-call-accept {
background: #10b981;
color: white;
box-shadow: 0 8px 30px rgba(16, 185, 129, 0.4);
}
.btn-call-reject {
background: #ef4444;
color: white;
box-shadow: 0 8px 30px rgba(239, 68, 68, 0.4);
}
/* Input Fields */
.input-base {
width: 100%;
background: var(--bg-color);
border: 1px solid var(--border-color);
color: var(--text-main);
padding: 16px;
border-radius: 14px;
font-size: 16px;
outline: none;
transition: all 0.2s;
}
.input-base:focus {
border-color: var(--primary-color);
box-shadow: 0 0 0 2px var(--primary-glow);
}
.input-base::placeholder {
color: var(--text-muted);
}
/* Animations */
@keyframes fadeIn {
from { opacity: 0; transform: translateY(10px); }
to { opacity: 1; transform: translateY(0); }
}
@keyframes pulse-ring {
0% { transform: scale(0.8); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
70% { transform: scale(1); box-shadow: 0 0 0 15px rgba(16, 185, 129, 0); }
100% { transform: scale(0.8); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}
/* Utilities */
.scroll-hide::-webkit-scrollbar {
display: none;
}
.scroll-hide {
-ms-overflow-style: none;
scrollbar-width: none;
}
.fixed-bottom {
position: absolute;
bottom: 0;
left: 0;
right: 0;
padding: 20px;
background: linear-gradient(to top, var(--surface-color) 70%, transparent);
}
/* Skeleton & Pulse */
.animate-pulse {
animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
@keyframes pulse {
0%, 100% { opacity: 1; }
50% { opacity: .5; }
}
.loading-dots:after {
content: ' .';
animation: dots 1.5s steps(5, end) infinite;
}
@keyframes dots {
0%, 20% { content: ' .'; }
40% { content: ' ..'; }
60% { content: ' ...'; }
80%, 100% { content: ''; }
}