@font-face {
font-family: 'IRANSans';
font-style: normal;
font-weight: 900;
src: url('IRANSansWeb.eot');
src: url('IRANSansWeb.eot?#iefix') format('embedded-opentype'),
url('IRANSansWeb.woff2') format('woff2'),
url('IRANSansWeb.woff') format('woff'),
url('IRANSansWeb.ttf') format('truetype');
}
@font-face {
font-family: 'IRANSans';
font-style: normal;
font-weight: 500;
src: url('IRANSansWeb.eot');
src: url('IRANSansWeb.eot?#iefix') format('embedded-opentype'),
url('IRANSansWeb.woff2') format('woff2'),
url('IRANSansWeb.woff') format('woff'),
url('IRANSansWeb.ttf') format('truetype');
}
@font-face {
font-family: 'IRANSans';
font-style: normal;
font-weight: 300;
src: url('IRANSansWeb.eot');
src: url('IRANSansWeb.eot?#iefix') format('embedded-opentype'),
url('IRANSansWeb.woff2') format('woff2'),
url('IRANSansWeb.woff') format('woff'),
url('IRANSansWeb.ttf') format('truetype');
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
:root {
--sidebar: #1D546D;
--glass-bg: rgba(255, 255, 255, 0.05);
--glass-border: rgba(255, 255, 255, 0.1);
--glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
--primary: #667eea;
--success: #6ab04c;
--warning: #208110;
--danger: #eb4d4b;
--info: #3498db;
--font-size: 14px;
}
body {
font-family: 'IRANSans', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
background: #000;
color: #fff;
min-height: 100vh;
font-size: var(--font-size);
}
.container {
display: flex;
max-width: 1800px;
margin: 0 auto;
height: 100vh;
}
.sidebar {
width: 260px;
background: var(--sidebar);
padding: 30px 0;
transition: all 0.3s;
}
.sidebar-header {
text-align: center;
padding: 0 20px 30px;
margin-bottom: 20px;
border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.sidebar-header img {
max-width: 120px;
height: auto;
margin-bottom: 15px;
max-height: 80px;
margin: 0 auto 15px;
border-radius: 10px;
}
.sidebar-header h1 {
color: #fff;
font-size: 22px;
font-weight: 700;
margin-top: 10px;
}
.sidebar-menu {
padding: 0 15px;
}
.menu-item {
display: flex;
align-items: center;
gap: 15px;
padding: 15px 20px;
margin: 5px 0;
border-radius: 12px;
cursor: pointer;
transition: all 0.2s;
color: #fff;
text-decoration: none;
font-weight: 500;
font-size: 15px;
}
.menu-item:hover {
background: rgba(255, 255, 255, 0.1);
transform: translateX(5px);
}
.menu-item.active {
background: rgba(255, 255, 255, 0.15);
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}
.menu-item i {
font-size: 20px;
width: 24px;
text-align: center;
filter: opacity(0.8);
}
.main-content {
flex: 1;
overflow: auto;
padding: 30px;
}
.header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 30px;
}
.header h2 {
color: #fff;
font-size: 28px;
font-weight: 700;
}
.header-actions {
display: flex;
gap: 15px;
align-items: center;
}
.btn {
padding: 12px 25px;
background: var(--glass-bg);
backdrop-filter: blur(10px);
border: 1px solid var(--glass-border);
border-radius: 10px;
color: #fff;
font-weight: 600;
cursor: pointer;
transition: all 0.3s;
display: flex;
align-items: center;
gap: 10px;
font-size: 15px;
font-family: 'IRANSans', sans-serif;
white-space: nowrap;
}
.btn:hover {
background: rgba(255, 255, 255, 0.1);
transform: translateY(-2px);
}
.btn-primary {
background: var(--primary);
border: none;
box-shadow: 0 5px 20px rgba(102, 126, 234, 0.4);
}
.btn-primary:hover {
background: #5568d3;
transform: translateY(-3px);
box-shadow: 0 8px 25px rgba(102, 126, 234, 0.6);
}
.btn-secondary {
background: rgba(102, 126, 234, 0.2);
color: var(--primary);
}
.btn-success {
background: rgba(106, 176, 76, 0.2);
color: var(--success);
}
.btn-warning {
background: rgba(240, 147, 43, 0.2);
color: var(--warning);
}
.btn-danger {
background: rgba(235, 77, 75, 0.2);
color: var(--danger);
}
.btn-info {
background: rgba(52, 152, 219, 0.2);
color: var(--info);
}
.btn-logout {
background: rgba(235, 77, 75, 0.3);
color: var(--danger);
}
.tab-container {
background: var(--glass-bg);
backdrop-filter: blur(12px);
border: 1px solid var(--glass-border);
border-radius: 15px;
overflow: hidden;
margin-bottom: 30px;
box-shadow: var(--glass-shadow);
}
.tab-buttons {
display: flex;
background: rgba(0, 0, 0, 0.3);
}
.tab-btn {
flex: 1;
padding: 15px 0;
background: transparent;
border: none;
color: #fff;
font-weight: 600;
cursor: pointer;
transition: all 0.3s;
position: relative;
font-size: 15px;
font-family: 'IRANSans', sans-serif;
}
.tab-btn:hover {
background: rgba(255, 255, 255, 0.08);
}
.tab-btn.active {
background: rgba(255, 255, 255, 0.1);
box-shadow: inset 0 -3px 0 var(--primary);
}
.tab-content {
display: none;
padding: 30px;
}
.tab-content.active {
display: block;
}
.grid {
display: grid;
gap: 25px;
grid-template-columns: repeat(3, 1fr);
}
.compact .grid {
grid-template-columns: repeat(3, 1fr);
gap: 15px;
}
.card {
background: var(--glass-bg);
backdrop-filter: blur(12px);
border: 1px solid var(--glass-border);
border-radius: 15px;
padding: 25px;
transition: all 0.3s;
cursor: pointer;
}
.compact .card {
padding: 18px;
}
.card:hover {
transform: translateY(-5px);
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
border-color: rgba(255, 255, 255, 0.2);
}
.card-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 20px;
padding-bottom: 15px;
border-bottom: 1px solid var(--glass-border);
}
.compact .card-header {
margin-bottom: 12px;
padding-bottom: 10px;
}
.card-title {
color: #fff;
font-size: 18px;
font-weight: 700;
display: flex;
align-items: center;
gap: 10px;
}
.compact .card-title {
font-size: 16px;
}
.card-title i {
filter: opacity(0.9);
}
.status-badge {
padding: 6px 15px;
border-radius: 20px;
font-size: 12px;
font-weight: 700;
text-transform: uppercase;
color: #fff;
}
.status-processing {
background: linear-gradient(135deg, var(--warning) 0%, #208110 100%);
}
.status-completed {
background: linear-gradient(135deg, var(--success) 0%, #55a630 100%);
}
.status-pending {
background: linear-gradient(135deg, #6c757d 0%, #5a6268 100%);
}
.status-on-hold {
background: linear-gradient(135deg, #fdcb6e 0%, #f9c83d 100%);
color: #2c3e50;
}
.status-cancelled {
background: linear-gradient(135deg, var(--danger) 0%, #d63031 100%);
}
.card-body {
color: #ccc;
font-size: 14px;
line-height: 1.8;
}
.compact .card-body {
font-size: 13px;
line-height: 1.6;
}
.card-body div {
margin: 8px 0;
display: flex;
justify-content: space-between;
}
.compact .card-body div {
margin: 6px 0;
}
.card-body strong {
color: #fff;
font-weight: 600;
}
.card-footer {
margin-top: 20px;
padding-top: 15px;
border-top: 1px solid var(--glass-border);
display: flex;
justify-content: space-between;
align-items: center;
gap: 10px;
flex-wrap: wrap;
}
.compact .card-footer {
margin-top: 12px;
padding-top: 10px;
}
.card-footer .price {
color: var(--primary);
font-size: 18px;
font-weight: 700;
}
.compact .card-footer .price {
font-size: 16px;
}
.product-card .stock {
display: inline-block;
padding: 4px 12px;
border-radius: 8px;
font-size: 12px;
font-weight: 600;
}
.product-card .stock.in-stock {
background: rgba(106, 176, 76, 0.2);
color: var(--success);
}
.product-card .stock.out-of-stock {
background: rgba(235, 77, 75, 0.2);
color: var(--danger);
}
.product-card .stock.on-backorder {
background: rgba(253, 203, 110, 0.2);
color: #f39c12;
}
.product-card .categories {
display: flex;
flex-wrap: wrap;
gap: 8px;
margin-top: 12px;
}
.compact .product-card .categories {
margin-top: 8px;
}
.product-card .category {
background: rgba(102, 126, 234, 0.2);
color: var(--primary);
padding: 4px 10px;
border-radius: 6px;
font-size: 12px;
}
.product-card .product-image {
width: 60px;
height: 60px;
border-radius: 50%;
object-fit: cover;
margin-left: 15px;
border: 2px solid var(--primary);
}
.stats-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 20px;
margin-bottom: 30px;
}
.stat-card {
background: var(--glass-bg);
backdrop-filter: blur(12px);
border: 1px solid var(--glass-border);
border-radius: 15px;
padding: 25px;
text-align: center;
}
.stat-card strong {
display: block;
font-size: 32px;
font-weight: 700;
color: #fff;
margin-bottom: 10px;
}
.stat-card span {
color: #ccc;
font-size: 14px;
}
.loading {
text-align: center;
padding: 60px 20px;
color: #fff;
font-size: 18px;
}
.loading i {
font-size: 40px;
display: block;
margin-bottom: 15px;
animation: spin 1s linear infinite;
}
@keyframes spin {
to {
transform: rotate(360deg);
}
}
.empty-state {
text-align: center;
padding: 80px 20px;
color: #fff;
}
.empty-state i {
font-size: 60px;
display: block;
margin-bottom: 20px;
opacity: 0.5;
}
.notification {
position: fixed;
top: 25px;
left: 25px;
background: #fff;
padding: 15px 25px;
border-radius: 12px;
box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
z-index: 10000;
animation: slideIn 0.3s ease, fadeOut 0.3s ease 2.7s;
display: none;
border-right: 4px solid var(--primary);
font-weight: 500;
font-size: 14px;
max-width: 350px;
color: #333;
font-family: 'IRANSans', sans-serif;
}
.notification.success {
border-right-color: var(--success);
}
.notification.error {
border-right-color: var(--danger);
}
@keyframes slideIn {
from {
transform: translateX(-100%);
opacity: 0;
}
to {
transform: translateX(0);
opacity: 1;
}
}
@keyframes fadeOut {
from {
opacity: 1;
transform: translateX(0);
}
to {
opacity: 0;
transform: translateX(-20px);
}
}
.settings-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 25px;
}
.settings-card {
background: var(--glass-bg);
backdrop-filter: blur(12px);
border: 1px solid var(--glass-border);
border-radius: 15px;
padding: 25px;
}
.settings-card h3 {
color: #fff;
font-size: 18px;
font-weight: 700;
margin-bottom: 20px;
display: flex;
align-items: center;
gap: 10px;
}
.settings-card h3 i {
filter: opacity(0.8);
}
.settings-group {
margin-bottom: 20px;
}
.settings-group label {
display: block;
color: #ccc;
font-size: 14px;
margin-bottom: 8px;
font-weight: 500;
}
.settings-group input[type="text"],
.settings-group input[type="password"],
.settings-group input[type="color"],
.settings-group input[type="range"],
.settings-group textarea,
.settings-group select {
width: 100%;
padding: 12px 15px;
background: rgba(0, 0, 0, 0.3);
border: 1px solid var(--glass-border);
border-radius: 8px;
color: #fff;
font-family: 'IRANSans', sans-serif;
font-size: 14px;
}
.settings-group input[type="color"] {
height: 45px;
padding: 5px;
border-radius: 8px;
}
.settings-group textarea {
min-height: 80px;
resize: vertical;
}
.settings-group .switch {
display: flex;
align-items: center;
gap: 15px;
}
.settings-group .switch input[type="checkbox"] {
width: 40px;
height: 22px;
position: relative;
appearance: none;
background: #ccc;
border-radius: 11px;
cursor: pointer;
transition: all 0.3s;
}
.settings-group .switch input[type="checkbox"]:checked {
background: var(--primary);
}
.settings-group .switch input[type="checkbox"]:checked::before {
transform: translateX(18px);
}
.settings-group .switch input[type="checkbox"]::before {
content: '';
position: absolute;
top: 2px;
left: 2px;
width: 18px;
height: 18px;
background: #fff;
border-radius: 50%;
transition: transform 0.3s;
}
.settings-group .switch label {
color: #ccc;
font-size: 14px;
font-weight: 500;
margin: 0;
cursor: pointer;
}
.preview-box {
background: var(--glass-bg);
backdrop-filter: blur(10px);
border: 1px solid var(--glass-border);
border-radius: 10px;
padding: 20px;
margin-top: 15px;
text-align: center;
}
.preview-title {
font-size: 16px;
font-weight: 600;
color: #fff;
margin-bottom: 10px;
}
.preview-text {
font-size: 14px;
color: #ccc;
}
.logo-upload {
border: 2px dashed rgba(255, 255, 255, 0.2);
border-radius: 10px;
padding: 30px;
text-align: center;
cursor: pointer;
transition: all 0.3s;
}
.logo-upload:hover {
border-color: var(--primary);
background: rgba(102, 126, 234, 0.1);
}
.logo-upload input[type="file"] {
display: none;
}
.logo-upload i {
font-size: 48px;
display: block;
margin-bottom: 15px;
color: var(--primary);
opacity: 0.8;
}
.logo-upload span {
color: #ccc;
font-size: 14px;
}
.logo-preview {
max-width: 150px;
max-height: 80px;
margin-top: 15px;
border-radius: 8px;
}
.activity-log {
background: var(--glass-bg);
backdrop-filter: blur(12px);
border: 1px solid var(--glass-border);
border-radius: 15px;
padding: 25px;
}
.activity-log h3 {
color: #fff;
font-size: 18px;
font-weight: 700;
margin-bottom: 20px;
}
.log-item {
padding: 12px 0;
border-bottom: 1px solid var(--glass-border);
display: flex;
justify-content: space-between;
align-items: center;
}
.log-item:last-child {
border-bottom: none;
}
.log-time {
color: #999;
font-size: 13px;
white-space: nowrap;
}
.log-message {
color: #ccc;
font-size: 14px;
}
.log-success {
color: var(--success);
}
.log-error {
color: var(--danger);
}
.edit-form {
display: none;
margin-top: 15px;
padding-top: 15px;
border-top: 1px solid var(--glass-border);
}
.edit-form input,
.edit-form button {
margin-top: 8px;
width: 100%;
}
.edit-form button {
margin-top: 10px;
}
.modal {
display: none;
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.8);
z-index: 9999;
justify-content: center;
align-items: center;
}
.modal-content {
background: var(--glass-bg);
backdrop-filter: blur(12px);
border: 1px solid var(--glass-border);
border-radius: 15px;
padding: 30px;
max-width: 500px;
width: 90%;
max-height: 90vh;
overflow-y: auto;
}
.modal-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 20px;
padding-bottom: 15px;
border-bottom: 1px solid var(--glass-border);
}
.modal-title {
color: #fff;
font-size: 20px;
font-weight: 700;
}
.modal-close {
background: none;
border: none;
color: #fff;
font-size: 24px;
cursor: pointer;
}
.modal-body {
color: #ccc;
line-height: 1.8;
}
.modal-footer {
margin-top: 20px;
padding-top: 15px;
border-top: 1px solid var(--glass-border);
display: flex;
gap: 10px;
}
.order-notification {
position: fixed;
bottom: 20px;
left: 20px;
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
color: white;
padding: 20px;
border-radius: 15px;
box-shadow: 0 15px 50px rgba(0, 0, 0, 0.5);
z-index: 99999;
display: none;
min-width: 380px;
animation: slideUp 0.4s ease, pulse 2s infinite;
border-left: 5px solid #ffd700;
}
@keyframes slideUp {
from {
transform: translateY(100px);
opacity: 0;
}
to {
transform: translateY(0);
opacity: 1;
}
}
@keyframes pulse {
0%, 100% {
box-shadow: 0 15px 50px rgba(0, 0, 0, 0.5);
}
50% {
box-shadow: 0 15px 70px rgba(102, 126, 234, 0.8);
}
}
.order-notification h3 {
font-size: 20px;
font-weight: 800;
margin-bottom: 12px;
display: flex;
align-items: center;
gap: 12px;
}
.order-notification h3 i {
font-size: 24px;
animation: bounce 1s infinite;
}
@keyframes bounce {
0%, 100% { transform: translateY(0); }
50% { transform: translateY(-5px); }
}
.order-notification p {
margin: 6px 0;
font-size: 15px;
opacity: 0.95;
line-height: 1.6;
}
.order-notification p strong {
color: white;
font-weight: 700;
}
.order-notification .btn-group {
display: flex;
gap: 10px;
margin-top: 15px;
}
.order-notification .btn-dismiss,
.order-notification .btn-view {
background: rgba(255, 255, 255, 0.2);
border: none;
color: white;
padding: 10px 20px;
border-radius: 8px;
cursor: pointer;
font-family: 'IRANSans', sans-serif;
font-weight: 600;
font-size: 14px;
transition: all 0.3s;
flex: 1;
}
.order-notification .btn-dismiss:hover {
background: rgba(255, 255, 255, 0.3);
transform: translateY(-2px);
}
.order-notification .btn-view {
background: rgba(255, 215, 0, 0.3);
color: white;
font-weight: 700;
}
.order-notification .btn-view:hover {
background: rgba(255, 215, 0, 0.5);
transform: translateY(-2px);
}
.notification-badge {
position: absolute;
top: -8px;
left: -8px;
background: #ff4444;
color: white;
border-radius: 50%;
width: 24px;
height: 24px;
display: flex;
align-items: center;
justify-content: center;
font-size: 12px;
font-weight: 700;
box-shadow: 0 0 10px rgba(255, 68, 68, 0.8);
animation: badgePulse 1.5s infinite;
}
@keyframes badgePulse {
0%, 100% {
transform: scale(1);
box-shadow: 0 0 0 0 rgba(255, 68, 68, 0.7);
}
50% {
transform: scale(1.2);
box-shadow: 0 0 0 8px rgba(255, 68, 68, 0);
}
}
@media (max-width: 1024px) {
.container {
flex-direction: column;
height: auto;
}
.sidebar {
width: 100%;
border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.grid {
grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}
}
@media (max-width: 768px) {
.sidebar {
padding: 20px 0;
}
.sidebar-header h1 {
font-size: 20px;
}
.menu-item {
padding: 12px 15px;
font-size: 14px;
}
.header {
flex-direction: column;
gap: 15px;
text-align: center;
}
.header h2 {
font-size: 24px;
}
.btn {
width: 100%;
justify-content: center;
}
.grid {
grid-template-columns: 1fr;
}
.stats-grid {
grid-template-columns: repeat(2, 1fr);
}
.settings-grid {
grid-template-columns: 1fr;
}
.tab-buttons {
flex-wrap: wrap;
}
.tab-btn {
flex-basis: 50%;
}
.order-notification {
left: 10px;
right: 10px;
min-width: auto;
width: calc(100% - 20px);
}
}
.btn-ship {
background: rgba(52, 152, 219, 0.25);
color: #3498db;
border: 1px solid rgba(52, 152, 219, 0.4);
}
.btn-ship:hover {
background: rgba(52, 152, 219, 0.45);
transform: translateY(-2px);
}