سیستم چت هوش مصنوعی پیشرفته
:root {
--primary-color: #4361ee;
--secondary-color: #3f37c9;
--accent-color: #4895ef;
--dark-color: #1b263b;
--light-color: #f8f9fa;
--success-color: #4cc9f0;
--warning-color: #f8961e;
--danger-color: #f94144;
}
* {
box-sizing: border-box;
margin: 0;
padding: 0;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
body {
background-color: #f5f7fa;
color: #333;
line-height: 1.6;
}
.admin-panel {
display: flex;
min-height: 100vh;
}
.sidebar {
width: 280px;
background: var(--dark-color);
color: white;
padding: 20px 0;
transition: all 0.3s;
}
.sidebar-header {
padding: 0 20px 20px;
border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.sidebar-menu {
padding: 20px;
}
.menu-item {
margin-bottom: 10px;
border-radius: 5px;
transition: all 0.3s;
}
.menu-item:hover {
background-color: rgba(255, 255, 255, 0.1);
}
.menu-item a {
color: white;
text-decoration: none;
padding: 10px 15px;
display: block;
font-size: 15px;
}
.menu-item i {
margin-left: 10px;
}
.main-content {
flex: 1;
padding: 20px;
}
.header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 30px;
padding-bottom: 20px;
border-bottom: 1px solid #e0e0e0;
}
.page-title {
font-size: 24px;
color: var(--dark-color);
}
.user-info {
display: flex;
align-items: center;
}
.user-info img {
width: 40px;
height: 40px;
border-radius: 50%;
margin-left: 10px;
}
.dashboard-cards {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 20px;
margin-bottom: 30px;
}
.card {
background: white;
border-radius: 10px;
padding: 20px;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.card-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 15px;
}
.card-title {
font-size: 16px;
color: #666;
}
.card-value {
font-size: 28px;
font-weight: bold;
color: var(--dark-color);
}
.card-icon {
width: 50px;
height: 50px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-size: 20px;
}
.icon-blue {
background-color: rgba(67, 97, 238, 0.1);
color: var(--primary-color);
}
.icon-green {
background-color: rgba(76, 201, 240, 0.1);
color: var(--success-color);
}
.icon-orange {
background-color: rgba(248, 150, 30, 0.1);
color: var(--warning-color);
}
.chat-container {
background: white;
border-radius: 10px;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
overflow: hidden;
height: 600px;
}
.chat-controls {
margin-top: 20px;
display: flex;
gap: 10px;
}
.btn {
padding: 10px 20px;
border: none;
border-radius: 5px;
cursor: pointer;
font-weight: 500;
transition: all 0.3s;
}
.btn-primary {
background-color: var(--primary-color);
color: white;
}
.btn-primary:hover {
background-color: var(--secondary-color);
}
.btn-outline {
background-color: transparent;
border: 1px solid var(--primary-color);
color: var(--primary-color);
}
.btn-outline:hover {
background-color: rgba(67, 97, 238, 0.1);
}
.settings-panel {
margin-top: 30px;
background: white;
border-radius: 10px;
padding: 20px;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.settings-title {
font-size: 18px;
margin-bottom: 20px;
color: var(--dark-color);
}
.form-group {
margin-bottom: 20px;
}
.form-label {
display: block;
margin-bottom: 8px;
font-weight: 500;
}
.form-control {
width: 100%;
padding: 10px 15px;
border: 1px solid #ddd;
border-radius: 5px;
font-size: 15px;
}
.form-control:focus {
outline: none;
border-color: var(--primary-color);
}
.toggle-switch {
position: relative;
display: inline-block;
width: 50px;
height: 24px;
}
.toggle-switch input {
opacity: 0;
width: 0;
height: 0;
}
.slider {
position: absolute;
cursor: pointer;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-color: #ccc;
transition: .4s;
border-radius: 24px;
}
.slider:before {
position: absolute;
content: "";
height: 16px;
width: 16px;
left: 4px;
bottom: 4px;
background-color: white;
transition: .4s;
border-radius: 50%;
}
input:checked + .slider {
background-color: var(--primary-color);
}
input:checked + .slider:before {
transform: translateX(26px);
}
.toggle-label {
margin-right: 10px;
vertical-align: middle;
}
@media (max-width: 992px) {
.dashboard-cards {
grid-template-columns: repeat(2, 1fr);
}
.sidebar {
width: 80px;
overflow: hidden;
}
.sidebar-header h3, .menu-item span {
display: none;
}
.menu-item a {
text-align: center;
padding: 15px 5px;
}
.menu-item i {
margin-left: 0;
font-size: 18px;
}
}
@media (max-width: 768px) {
.dashboard-cards {
grid-template-columns: 1fr;
}
}
مدیر سیستم
بازنشانی چت
codepen.io
Verify you are human by completing the action below.
codepen.io خدمات طراحی سایت نمایندگی رسمی codpen