38703-vm/assets/css/style.css
Flatlogic Bot bde9c05daa sadiq
2026-02-23 11:37:06 +00:00

642 lines
13 KiB
CSS

:root {
--primary-color: #d4af37; /* Gold */
--secondary-color: #1e293b; /* Dark Slate Blue */
--bg-color: #0f172a; /* Deep Background */
--card-bg: #1e293b;
--glass-border: rgba(255, 255, 255, 0.1);
--text-primary: #f8fafc;
--text-secondary: #94a3b8;
--transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
--sidebar-width: 280px;
--danger: #ff4757;
--success: #2ed573;
--warning: #ffa502;
--info: #1e90ff;
--glass-bg: rgba(30, 41, 59, 0.7);
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Inter', system-ui, -apple-system, sans-serif;
background-color: var(--bg-color);
color: var(--text-primary);
line-height: 1.6;
overflow-x: hidden;
}
/* Glassmorphism utility */
.glass {
background: var(--glass-bg);
backdrop-filter: blur(15px);
-webkit-backdrop-filter: blur(15px);
border: 1px solid var(--glass-border);
border-radius: 20px;
box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.3);
transition: var(--transition);
}
.glass:hover {
border-color: rgba(212, 175, 55, 0.5);
background: rgba(30, 41, 59, 0.9);
box-shadow: 0 15px 45px -10px rgba(0, 0, 0, 0.4);
}
/* Navbar */
nav {
display: flex;
justify-content: space-between;
align-items: center;
padding: 1.2rem 6%;
position: sticky;
top: 0;
z-index: 1000;
background: rgba(15, 23, 42, 0.9);
backdrop-filter: blur(20px);
border-bottom: 1px solid var(--glass-border);
}
.logo {
font-size: 1.6rem;
font-weight: 900;
color: var(--primary-color);
text-transform: uppercase;
letter-spacing: 3px;
text-decoration: none;
background: linear-gradient(45deg, var(--primary-color), #fff);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
.nav-links {
display: flex;
gap: 3rem;
list-style: none;
}
.nav-links a {
color: var(--text-primary);
text-decoration: none;
font-size: 0.9rem;
font-weight: 600;
transition: var(--transition);
text-transform: uppercase;
letter-spacing: 1px;
opacity: 0.8;
}
.nav-links a:hover {
color: var(--primary-color);
opacity: 1;
}
/* Container */
.container {
padding: 0 6%;
}
.container-fluid {
padding: 0 4%;
}
/* Dashboard Layout */
.dashboard-container {
display: flex;
min-height: 100vh;
background: #050505;
}
.main-content {
flex: 1;
margin-left: var(--sidebar-width);
padding: 3rem 4rem;
min-width: 0;
}
/* Sidebar (Admin) */
.sidebar {
width: var(--sidebar-width);
height: 100vh;
background: #0a0a0a;
border-right: 1px solid var(--glass-border);
position: fixed;
padding: 2.5rem 1.5rem;
display: flex;
flex-direction: column;
z-index: 100;
}
.sidebar-brand {
font-size: 1.5rem;
font-weight: 900;
color: var(--primary-color);
text-decoration: none;
letter-spacing: 4px;
margin-bottom: 3.5rem;
padding-left: 1rem;
display: block;
}
.sidebar-menu {
list-style: none;
flex: 1;
}
.sidebar-menu li {
margin-bottom: 0.5rem;
}
.sidebar-menu a {
display: flex;
align-items: center;
gap: 1rem;
padding: 1.2rem 1.5rem;
color: var(--text-secondary);
text-decoration: none;
font-weight: 600;
border-radius: 12px;
transition: var(--transition);
font-size: 0.95rem;
}
.sidebar-menu a:hover, .sidebar-menu a.active {
background: rgba(212, 175, 55, 0.1);
color: var(--primary-color);
}
.sidebar-footer {
padding-top: 2rem;
border-top: 1px solid var(--glass-border);
}
/* Hero Section */
.hero {
height: 85vh;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
text-align: center;
background: radial-gradient(circle at top right, rgba(212, 175, 55, 0.15), transparent),
radial-gradient(circle at bottom left, rgba(30, 41, 59, 0.5), transparent);
}
.hero h1 {
font-size: 5rem;
font-weight: 900;
line-height: 1.1;
margin-bottom: 2rem;
letter-spacing: -2px;
color: #ffffff;
}
.hero p {
font-size: 1.4rem;
color: var(--text-secondary);
max-width: 600px;
margin-bottom: 3rem;
}
/* Form Styles */
.form-group {
margin-bottom: 1.5rem;
}
label {
display: block;
margin-bottom: 0.5rem;
font-weight: 600;
color: var(--text-primary);
font-size: 0.9rem;
}
.form-control {
width: 100%;
padding: 1rem 1.2rem;
border-radius: 12px;
background: var(--card-bg);
border: 1px solid var(--glass-border);
color: var(--text-primary);
font-family: inherit;
transition: var(--transition);
}
.form-control:focus {
outline: none;
border-color: var(--primary-color);
box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.2);
}
textarea.form-control {
resize: none;
}
/* Buttons */
.btn {
padding: 1rem 2rem;
border-radius: 12px;
font-weight: 700;
cursor: pointer;
text-decoration: none;
display: inline-flex;
align-items: center;
justify-content: center;
gap: 0.8rem;
transition: var(--transition);
border: none;
font-size: 0.95rem;
white-space: nowrap;
}
.btn-primary {
background: var(--primary-color);
color: #000;
box-shadow: 0 10px 20px -5px rgba(212, 175, 55, 0.4);
}
.btn-primary:hover {
transform: translateY(-3px);
box-shadow: 0 15px 30px -5px rgba(212, 175, 55, 0.6);
background: #e5be47;
}
.btn-outline {
background: transparent;
border: 2px solid var(--glass-border);
color: var(--text-primary);
}
.btn-outline:hover {
background: rgba(255, 255, 255, 0.05);
border-color: var(--text-primary);
}
.btn-sm {
padding: 0.6rem 1.2rem;
font-size: 0.85rem;
}
.btn-lg {
padding: 1.5rem 3rem;
font-size: 1.1rem;
}
.btn-danger {
background: rgba(255, 71, 87, 0.1);
color: var(--danger);
border: 1px solid var(--danger);
}
.btn-danger:hover {
background: var(--danger);
color: white;
}
.btn-auth {
padding: 0.8rem 1.5rem;
border-radius: 12px;
border: 2px solid var(--glass-border);
text-decoration: none;
color: var(--text-primary);
font-weight: 700;
font-size: 0.9rem;
transition: var(--transition);
display: inline-flex;
align-items: center;
gap: 0.5rem;
}
.btn-auth:hover {
border-color: var(--primary-color);
color: var(--primary-color);
}
/* Grid Layouts */
.grid {
display: grid;
gap: 2rem;
}
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
/* Stats Card */
.stats-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
gap: 1.5rem;
margin-bottom: 3rem;
}
.stat-card {
padding: 2.5rem 2rem;
display: flex;
flex-direction: column;
}
.stat-label {
font-size: 0.8rem;
color: var(--text-secondary);
text-transform: uppercase;
letter-spacing: 2px;
font-weight: 800;
margin-bottom: 1rem;
}
.stat-value {
font-size: 3rem;
font-weight: 900;
color: var(--primary-color);
line-height: 1;
}
/* Table Styling */
.table-container {
overflow-x: auto;
border-radius: 16px;
}
table {
width: 100%;
border-collapse: collapse;
text-align: left;
}
table thead tr {
background: rgba(255, 255, 255, 0.03) !important;
}
table th {
padding: 1.5rem;
color: var(--text-primary);
font-weight: 800;
font-size: 0.85rem;
text-transform: uppercase;
letter-spacing: 1px;
border-bottom: 1px solid var(--glass-border);
}
table td {
padding: 1.5rem;
color: var(--text-secondary);
border-bottom: 1px solid rgba(255, 255, 255, 0.05);
vertical-align: middle;
}
table tr:last-child td {
border-bottom: none;
}
/* Badge */
.badge {
padding: 0.4rem 1rem;
border-radius: 30px;
font-size: 0.75rem;
font-weight: 800;
text-transform: uppercase;
letter-spacing: 1px;
display: inline-block;
}
.badge-success { background: rgba(46, 213, 115, 0.15); color: #2ed573; border: 1px solid rgba(46, 213, 115, 0.3); }
.badge-warning { background: rgba(255, 165, 2, 0.15); color: #ffa502; border: 1px solid rgba(255, 165, 2, 0.3); }
.badge-danger { background: rgba(255, 71, 87, 0.15); color: #ff4757; border: 1px solid rgba(255, 71, 87, 0.3); }
.badge-info { background: rgba(30, 144, 255, 0.15); color: #1e90ff; border: 1px solid rgba(30, 144, 255, 0.3); }
.badge-primary { background: rgba(212, 175, 55, 0.15); color: var(--primary-color); border: 1px solid rgba(212, 175, 55, 0.3); }
/* Card Styling */
.card {
background: var(--card-bg);
border-radius: 24px;
overflow: hidden;
border: 1px solid var(--glass-border);
transition: var(--transition);
}
.card:hover {
transform: translateY(-10px);
box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5);
border-color: rgba(212, 175, 55, 0.3);
}
.card-img {
width: 100%;
height: 250px;
object-fit: cover;
}
.card-content {
padding: 2rem;
}
/* Page Header */
.page-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 4rem;
padding: 2rem 0;
}
.page-header h1 {
font-size: 3rem;
font-weight: 900;
color: #fff;
margin-bottom: 0.5rem;
}
.page-header p {
color: var(--text-secondary);
font-size: 1.1rem;
}
/* Section Title */
.section-title {
font-size: 2rem;
font-weight: 800;
margin-bottom: 2.5rem;
display: flex;
align-items: center;
gap: 1rem;
color: #fff;
}
.section-icon {
background: var(--primary-color);
color: #000;
width: 45px;
height: 45px;
display: flex;
align-items: center;
justify-content: center;
border-radius: 12px;
font-size: 1.3rem;
}
/* Sold Overlay */
.sold-overlay {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0,0,0,0.7);
display: flex;
align-items: center;
justify-content: center;
color: var(--primary-color);
font-weight: 900;
font-size: 2.5rem;
letter-spacing: 5px;
text-shadow: 0 5px 15px rgba(0,0,0,0.5);
z-index: 5;
}
.sold-stamp {
border: 10px double white;
color: white;
padding: 20px 50px;
font-weight: 900;
font-size: 5rem;
transform: rotate(-15deg);
letter-spacing: 10px;
text-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
/* Price Tag */
.price-tag {
font-weight: 900;
color: var(--primary-color);
font-size: 1.5rem;
}
.price-tag-large {
font-size: 3.5rem;
font-weight: 900;
color: var(--primary-color);
line-height: 1;
}
/* Alerts */
.alert {
padding: 1.2rem 2rem;
border-radius: 16px;
margin-bottom: 2rem;
font-weight: 600;
display: flex;
align-items: center;
gap: 1rem;
}
.alert-error {
background: rgba(255, 71, 87, 0.15);
color: #ff6b81;
border: 1px solid rgba(255, 71, 87, 0.3);
}
.alert-success {
background: rgba(46, 213, 115, 0.15);
color: #7bed9f;
border: 1px solid rgba(46, 213, 115, 0.3);
}
/* Box component */
.box {
background: var(--card-bg);
border-radius: 32px;
border: 1px solid var(--glass-border);
padding: 4rem;
}
/* Utility */
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.fw-bold { font-weight: 700; }
.fw-black { font-weight: 900; }
.text-gold { color: var(--primary-color); }
.text-sm { font-size: 0.85rem; }
.text-center { text-align: center; }
.flex { display: flex; }
.justify-between { justify-content: space-between; }
.align-center { align-items: center; }
.gap-1 { gap: 1rem; }
.w-full { width: 100%; }
/* Footer Styles */
footer {
background: var(--bg-color);
border-top: 1px solid var(--glass-border);
padding: 6rem 6% 3rem;
color: var(--text-primary);
}
.footer-grid {
display: grid;
grid-template-columns: 2fr 1fr 1fr 1.5fr;
gap: 4rem;
margin-bottom: 4rem;
}
.footer-col h4 {
font-size: 1.1rem;
font-weight: 800;
margin-bottom: 2rem;
text-transform: uppercase;
letter-spacing: 1px;
}
.footer-col ul {
list-style: none;
}
.footer-col ul li {
margin-bottom: 1.2rem;
}
.footer-col ul li a {
color: var(--text-secondary);
text-decoration: none;
transition: var(--transition);
font-size: 0.95rem;
}
.footer-col ul li a:hover {
color: var(--primary-color);
padding-left: 0.5rem;
}
.footer-bottom {
padding-top: 3rem;
border-top: 1px solid var(--glass-border);
text-align: center;
color: var(--text-secondary);
font-size: 0.9rem;
}
@media (max-width: 1200px) {
.main-content { padding: 3rem 2rem; }
}
@media (max-width: 1024px) {
.grid-4, .grid-3 { grid-template-columns: repeat(2, 1fr); }
.footer-grid { grid-template-columns: 1fr 1fr; }
.sidebar { width: 80px; padding: 2rem 0.5rem; }
.sidebar span, .sidebar-brand { display: none; }
.main-content { margin-left: 80px; }
}
@media (max-width: 768px) {
.grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
.hero h1 { font-size: 3rem; }
.footer-grid { grid-template-columns: 1fr; }
.page-header { flex-direction: column; text-align: center; gap: 2rem; }
}