.profile-section {
padding-top: 100px;
min-height: 100vh;
padding-bottom: 60px;
}
.profile-container {
max-width: 1400px;
margin: 0 auto;
padding: 0 20px;
display: grid;
grid-template-columns: 320px 1fr;
gap: 30px;
}
/* ===== SIDEBAR ===== */
.profile-sidebar {
display: flex;
flex-direction: column;
gap: 20px;
}
.profile-card {
background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
border-radius: 20px;
padding: 30px;
text-align: center;
border: 2px solid rgba(0, 255, 255, 0.3);
box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}
.profile-avatar-wrapper {
position: relative;
width: 120px;
height: 120px;
margin: 0 auto 20px;
}
.profile-avatar {
width: 100%;
height: 100%;
border-radius: 50%;
object-fit: cover;
border: 4px solid #00ffff;
box-shadow: 0 4px 15px rgba(0, 255, 255, 0.3);
}
.change-avatar-btn {
position: absolute;
bottom: 5px;
right: 5px;
width: 35px;
height: 35px;
border-radius: 50%;
background: linear-gradient(135deg, #00ffff, #00ccff);
border: 2px solid #1a1a2e;
color: #000;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
font-size: 16px;
transition: 0.3s;
}
.change-avatar-btn:hover {
transform: scale(1.1);
box-shadow: 0 4px 15px rgba(0, 255, 255, 0.5);
}
.profile-name {
font-size: 22px;
color: #fff;
margin-bottom: 8px;
}
.profile-role {
font-size: 14px;
color: #00ffff;
text-transform: uppercase;
font-weight: 600;
margin-bottom: 25px;
}
.profile-stats {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 15px;
padding-top: 20px;
border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.stat {
display: flex;
flex-direction: column;
align-items: center;
}
.stat-value {
font-size: 24px;
font-weight: bold;
color: #00ffff;
margin-bottom: 5px;
}
.stat-label {
font-size: 12px;
color: #aaa;
}
/* ===== PROFILE MENU ===== */
.profile-menu {
background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
border-radius: 20px;
padding: 15px;
border: 2px solid rgba(0, 255, 255, 0.3);
box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}
.menu-item {
display: flex;
align-items: center;
gap: 15px;
padding: 15px 20px;
color: #aaa;
text-decoration: none;
border-radius: 12px;
transition: 0.3s;
margin-bottom: 8px;
}
.menu-item:last-child {
margin-bottom: 0;
}
.menu-item i {
font-size: 20px;
width: 25px;
text-align: center;
}
.menu-item span {
font-size: 15px;
font-weight: 500;
}
.menu-item:hover {
background: rgba(0, 255, 255, 0.1);
color: #00ffff;
padding-left: 25px;
}
.menu-item.active {
background: linear-gradient(135deg, #00ffff, #00ccff);
color: #000;
font-weight: 600;
}
/* ===== MAIN CONTENT ===== */
.profile-main {
background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
border-radius: 20px;
padding: 35px;
border: 2px solid rgba(0, 255, 255, 0.3);
box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
min-height: 600px;
}
.content-header {
margin-bottom: 30px;
padding-bottom: 20px;
border-bottom: 2px solid rgba(0, 255, 255, 0.2);
}
.content-header h2 {
font-size: 28px;
color: #fff;
margin-bottom: 8px;
display: flex;
align-items: center;
gap: 12px;
}
.content-header h2 i {
color: #00ffff;
}
.content-header p {
font-size: 14px;
color: #aaa;
margin-left: 40px;
}
/* ===== TAB CONTENT ===== */
.tab-content {
display: none;
}
.tab-content.active {
display: block;
animation: fadeIn 0.3s ease;
}
@keyframes fadeIn {
from {
opacity: 0;
transform: translateY(10px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
/* ===== PROFILE INFO CARD ===== */
.profile-info-card {
display: flex;
flex-direction: column;
gap: 30px;
}
.info-section {
background: rgba(0, 0, 0, 0.3);
border-radius: 15px;
padding: 25px;
border: 1px solid rgba(255, 255, 255, 0.1);
}
.info-section h3 {
font-size: 20px;
color: #00ffff;
margin-bottom: 20px;
display: flex;
align-items: center;
gap: 10px;
}
.info-grid {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 20px;
margin-bottom: 25px;
}
.info-item {
display: flex;
flex-direction: column;
gap: 8px;
}
.info-item.full-width {
grid-column: 1 / -1;
}
.info-item label {
font-size: 13px;
color: #aaa;
display: flex;
align-items: center;
gap: 8px;
}
.info-item label i {
color: #00ffff;
}
.info-item p {
font-size: 16px;
color: #fff;
font-weight: 500;
padding-left: 23px;
}
.btn-edit-profile {
padding: 12px 30px;
background: linear-gradient(135deg, #00ffff, #00ccff);
border: none;
border-radius: 25px;
color: #000;
font-weight: bold;
font-size: 15px;
cursor: pointer;
transition: 0.3s;
display: inline-flex;
align-items: center;
gap: 10px;
}
.btn-edit-profile:hover {
transform: translateY(-2px);
box-shadow: 0 6px 20px rgba(0, 255, 255, 0.5);
}
/* ===== STATS GRID ===== */
.stats-grid {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 20px;
}
.stats-card {
background: rgba(0, 255, 255, 0.05);
border: 1px solid rgba(0, 255, 255, 0.2);
border-radius: 12px;
padding: 20px;
display: flex;
align-items: center;
gap: 15px;
transition: 0.3s;
}
.stats-card:hover {
background: rgba(0, 255, 255, 0.1);
transform: translateY(-5px);
}
.stats-card i {
font-size: 32px;
color: #00ffff;
}
.stats-card h4 {
font-size: 28px;
color: #fff;
margin-bottom: 5px;
}
.stats-card p {
font-size: 13px;
color: #aaa;
}
/* ===== PRODUCT CARD ===== */
.product-card {
background: rgba(0, 0, 0, 0.3);
border: 1px solid rgba(255, 255, 255, 0.1);
border-radius: 15px;
padding: 20px;
display: flex;
gap: 20px;
margin-bottom: 20px;
transition: 0.3s;
}
.product-card:hover {
background: rgba(0, 0, 0, 0.4);
border-color: rgba(0, 255, 255, 0.3);
transform: translateX(5px);
}
.product-image {
width: 120px;
height: 120px;
border-radius: 12px;
object-fit: cover;
background: #000;
flex-shrink: 0;
}
.product-info {
flex: 1;
display: flex;
flex-direction: column;
justify-content: space-between;
}
.product-header {
display: flex;
justify-content: space-between;
align-items: start;
margin-bottom: 10px;
}
.product-title {
font-size: 18px;
color: #fff;
font-weight: 600;
margin-bottom: 5px;
}
.product-status {
padding: 5px 15px;
border-radius: 20px;
font-size: 12px;
font-weight: 600;
text-transform: uppercase;
}
.product-status.active {
background: rgba(46, 213, 115, 0.2);
color: #2ed573;
border: 1px solid rgba(46, 213, 115, 0.5);
}
.product-status.sold {
background: rgba(255, 107, 107, 0.2);
color: #ff6b6b;
border: 1px solid rgba(255, 107, 107, 0.5);
}
.product-status.pending {
background: rgba(255, 165, 0, 0.2);
color: #ffa500;
border: 1px solid rgba(255, 165, 0, 0.5);
}
.product-details {
display: flex;
gap: 20px;
margin-bottom: 10px;
flex-wrap: wrap;
}
.product-detail-item {
font-size: 14px;
color: #aaa;
display: flex;
align-items: center;
gap: 6px;
}
.product-detail-item i {
color: #00ffff;
}
.product-price {
font-size: 22px;
color: #00ffff;
font-weight: bold;
margin-bottom: 15px;
}
.product-actions {
display: flex;
gap: 10px;
flex-wrap: wrap;
}
.btn-product-action {
padding: 8px 18px;
border-radius: 20px;
border: none;
font-size: 13px;
font-weight: 600;
cursor: pointer;
transition: 0.3s;
display: flex;
align-items: center;
gap: 6px;
}
.btn-view {
background: rgba(0, 255, 255, 0.1);
color: #00ffff;
border: 1px solid rgba(0, 255, 255, 0.3);
}
.btn-view:hover {
background: rgba(0, 255, 255, 0.2);
}
.btn-edit {
background: rgba(255, 193, 7, 0.1);
color: #ffc107;
border: 1px solid rgba(255, 193, 7, 0.3);
}
.btn-edit:hover {
background: rgba(255, 193, 7, 0.2);
}
.btn-delete {
background: rgba(255, 107, 107, 0.1);
color: #ff6b6b;
border: 1px solid rgba(255, 107, 107, 0.3);
}
.btn-delete:hover {
background: rgba(255, 107, 107, 0.2);
}
/* ===== ORDERS ===== */
.orders-filter {
display: flex;
gap: 10px;
margin-bottom: 25px;
flex-wrap: wrap;
}
.filter-btn {
padding: 10px 20px;
background: rgba(0, 0, 0, 0.3);
border: 1px solid rgba(255, 255, 255, 0.1);
border-radius: 20px;
color: #aaa;
font-size: 14px;
font-weight: 600;
cursor: pointer;
transition: 0.3s;
}
.filter-btn:hover {
border-color: #00ffff;
color: #00ffff;
}
.filter-btn.active {
background: linear-gradient(135deg, #00ffff, #00ccff);
color: #000;
border-color: transparent;
}
.order-card {
background: rgba(0, 0, 0, 0.3);
border: 1px solid rgba(255, 255, 255, 0.1);
border-radius: 15px;
padding: 25px;
margin-bottom: 20px;
transition: 0.3s;
}
.order-card:hover {
background: rgba(0, 0, 0, 0.4);
border-color: rgba(0, 255, 255, 0.3);
}
.order-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 20px;
padding-bottom: 15px;
border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.order-id {
font-size: 16px;
color: #00ffff;
font-weight: 600;
}
.order-date {
font-size: 13px;
color: #aaa;
margin-top: 5px;
}
.order-status {
padding: 6px 18px;
border-radius: 20px;
font-size: 12px;
font-weight: 600;
text-transform: uppercase;
}
.order-status.pending {
background: rgba(255, 193, 7, 0.2);
color: #ffc107;
border: 1px solid rgba(255, 193, 7, 0.5);
}
.order-status.processing {
background: rgba(0, 191, 255, 0.2);
color: #00bfff;
border: 1px solid rgba(0, 191, 255, 0.5);
}
.order-status.shipped {
background: rgba(138, 43, 226, 0.2);
color: #8a2be2;
border: 1px solid rgba(138, 43, 226, 0.5);
}
.order-status.completed {
background: rgba(46, 213, 115, 0.2);
color: #2ed573;
border: 1px solid rgba(46, 213, 115, 0.5);
}
.order-status.cancelled {
background: rgba(255, 107, 107, 0.2);
color: #ff6b6b;
border: 1px solid rgba(255, 107, 107, 0.5);
}
.order-items {
display: flex;
flex-direction: column;
gap: 15px;
margin-bottom: 20px;
}
.order-item {
display: flex;
gap: 15px;
align-items: center;
}
.order-item-image {
width: 80px;
height: 80px;
border-radius: 10px;
object-fit: cover;
background: #000;
flex-shrink: 0;
}
.order-item-info {
flex: 1;
}
.order-item-name {
font-size: 16px;
color: #fff;
font-weight: 600;
margin-bottom: 5px;
}
.order-item-details {
font-size: 13px;
color: #aaa;
margin-bottom: 8px;
}
.order-item-price {
font-size: 18px;
color: #00ffff;
font-weight: bold;
}
.order-footer {
display: flex;
justify-content: space-between;
align-items: center;
padding-top: 15px;
border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.order-total {
font-size: 14px;
color: #aaa;
}
.order-total-price {
font-size: 24px;
color: #00ffff;
font-weight: bold;
margin-left: 10px;
}
.order-actions {
display: flex;
gap: 10px;
flex-wrap: wrap;
}
/* ===== SETTINGS ===== */
.settings-container {
display: flex;
flex-direction: column;
gap: 25px;
}
.settings-section {
background: rgba(0, 0, 0, 0.3);
border-radius: 15px;
padding: 25px;
border: 1px solid rgba(255, 255, 255, 0.1);
}
.settings-section h3 {
font-size: 18px;
color: #00ffff;
margin-bottom: 20px;
}
.setting-item {
display: flex;
justify-content: space-between;
align-items: center;
padding: 20px 0;
border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.setting-item:last-child {
border-bottom: none;
padding-bottom: 0;
}
.setting-info {
display: flex;
align-items: center;
gap: 15px;
}
.setting-info i {
font-size: 24px;
color: #00ffff;
width: 30px;
text-align: center;
}
.setting-info h4 {
font-size: 16px;
color: #fff;
margin-bottom: 5px;
}
.setting-info p {
font-size: 13px;
color: #aaa;
}
.btn-action {
padding: 8px 20px;
background: rgba(0, 255, 255, 0.1);
border: 1px solid rgba(0, 255, 255, 0.3);
border-radius: 20px;
color: #00ffff;
font-size: 13px;
font-weight: 600;
cursor: pointer;
transition: 0.3s;
}
.btn-action:hover {
background: rgba(0, 255, 255, 0.2);
}
/* ===== TOGGLE SWITCH ===== */
.toggle-switch {
position: relative;
display: inline-block;
width: 50px;
height: 26px;
}
.toggle-switch input {
opacity: 0;
width: 0;
height: 0;
}
.toggle-slider {
position: absolute;
cursor: pointer;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-color: rgba(255, 255, 255, 0.1);
border: 1px solid rgba(255, 255, 255, 0.2);
transition: 0.3s;
border-radius: 26px;
}
.toggle-slider:before {
position: absolute;
content: "";
height: 18px;
width: 18px;
left: 3px;
bottom: 3px;
background-color: #aaa;
transition: 0.3s;
border-radius: 50%;
}
input:checked + .toggle-slider {
background-color: rgba(0, 255, 255, 0.3);
border-color: #00ffff;
}
input:checked + .toggle-slider:before {
transform: translateX(24px);
background-color: #00ffff;
}
/* ===== DANGER ZONE ===== */
.danger-zone {
border-color: rgba(255, 107, 107, 0.3);
}
.danger-zone h3 {
color: #ff6b6b;
}
.btn-danger {
padding: 8px 20px;
background: rgba(255, 107, 107, 0.1);
border: 1px solid rgba(255, 107, 107, 0.3);
border-radius: 20px;
color: #ff6b6b;
font-size: 13px;
font-weight: 600;
cursor: pointer;
transition: 0.3s;
}
.btn-danger:hover {
background: rgba(255, 107, 107, 0.2);
}
/* ===== MODAL ===== */
.modal-overlay {
display: none;
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.8);
backdrop-filter: blur(5px);
z-index: 2000;
align-items: center;
justify-content: center;
padding: 20px;
}
.modal-overlay.active {
display: flex;
}
.modal-content {
background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
border-radius: 20px;
padding: 35px;
max-width: 500px;
width: 100%;
border: 2px solid rgba(0, 255, 255, 0.3);
box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
animation: slideUp 0.3s ease;
}
@keyframes slideUp {
from {
transform: translateY(50px);
opacity: 0;
}
to {
transform: translateY(0);
opacity: 1;
}
}
.modal-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 25px;
padding-bottom: 15px;
border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.modal-header h3 {
font-size: 22px;
color: #fff;
display: flex;
align-items: center;
gap: 10px;
}
.modal-header h3 i {
color: #00ffff;
}
.modal-close {
width: 35px;
height: 35px;
border-radius: 50%;
background: rgba(255, 255, 255, 0.1);
border: none;
color: #fff;
font-size: 24px;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
transition: 0.3s;
}
.modal-close:hover {
background: rgba(255, 107, 107, 0.8);
transform: rotate(90deg);
}
.form-group-modal {
margin-bottom: 20px;
}
.form-group-modal label {
display: block;
color: #00ffff;
font-size: 14px;
font-weight: 600;
margin-bottom: 8px;
}
.form-group-modal input,
.form-group-modal textarea {
width: 100%;
padding: 12px 15px;
background: rgba(255, 255, 255, 0.1);
border: 2px solid rgba(255, 255, 255, 0.2);
border-radius: 10px;
color: #fff;
font-size: 14px;
transition: 0.3s;
}
.form-group-modal input:focus,
.form-group-modal textarea:focus {
outline: none;
border-color: #00ffff;
background: rgba(255, 255, 255, 0.15);
}
.form-group-modal textarea {
resize: vertical;
font-family: Arial, sans-serif;
}
.modal-actions {
display: flex;
gap: 12px;
justify-content: flex-end;
margin-top: 25px;
}
.btn-cancel {
padding: 12px 25px;
background: rgba(255, 255, 255, 0.1);
border: 1px solid rgba(255, 255, 255, 0.2);
border-radius: 25px;
color: #fff;
font-size: 14px;
font-weight: 600;
cursor: pointer;
transition: 0.3s;
}
.btn-cancel:hover {
background: rgba(255, 255, 255, 0.15);
}
.btn-save {
padding: 12px 25px;
background: linear-gradient(135deg, #00ffff, #00ccff);
border: none;
border-radius: 25px;
color: #000;
font-size: 14px;
font-weight: 600;
cursor: pointer;
transition: 0.3s;
}
.btn-save:hover {
transform: translateY(-2px);
box-shadow: 0 6px 20px rgba(0, 255, 255, 0.5);
}
/* ===== EMPTY STATE ===== */
.empty-state {
text-align: center;
padding: 80px 20px;
}
.empty-state i {
font-size: 80px;
color: rgba(255, 255, 255, 0.1);
margin-bottom: 20px;
}
.empty-state h3 {
font-size: 22px;
color: #fff;
margin-bottom: 10px;
}
.empty-state p {
font-size: 15px;
color: #aaa;
margin-bottom: 25px;
}
.btn-add-product {
padding: 12px 30px;
background: linear-gradient(135deg, #00ffff, #00ccff);
border: none;
border-radius: 25px;
color: #000;
font-weight: bold;
font-size: 15px;
cursor: pointer;
transition: 0.3s;
display: inline-flex;
align-items: center;
gap: 10px;
}
.btn-add-product:hover {
transform: translateY(-2px);
box-shadow: 0 6px 20px rgba(0, 255, 255, 0.5);
}
/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
.profile-container {
grid-template-columns: 1fr;
}
.profile-sidebar {
flex-direction: row;
gap: 20px;
}
.profile-card,
.profile-menu {
flex: 1;
}
.stats-grid {
grid-template-columns: repeat(2, 1fr);
}
}
@media (max-width: 768px) {
.profile-section {
padding-top: 80px;
}
.profile-sidebar {
flex-direction: column;
}
.profile-main {
padding: 25px 20px;
}
.content-header h2 {
font-size: 24px;
}
.content-header p {
margin-left: 0;
margin-top: 5px;
}
.info-grid {
grid-template-columns: 1fr;
}
.stats-grid {
grid-template-columns: 1fr;
}
.product-card {
flex-direction: column;
}
.product-image {
width: 100%;
height: 200px;
}
.product-header {
flex-direction: column;
gap: 10px;
}
.orders-filter {
overflow-x: auto;
flex-wrap: nowrap;
}
.order-card {
padding: 20px 15px;
}
}