/* SatoShop Header Stilleri */

/* Body ve HTML */
body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: #f3f4f4;
}

/* Ana İçerik Alanı */
main,
.main-content {
  flex: 1;
}

/* Header Container */
.header-container {
  position: sticky;
  top: 0;
  z-index: 1020;
}

/* Sidebar Styles */
.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: 300px;
  height: 100vh;
  background: #fafafa;
  z-index: 9999;
  transition: transform 0.3s ease;
  overflow-y: auto;
  box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
  transform: translateX(-300px);
}

.sidebar.show {
  transform: translateX(0);
}

.sidebar-header {
  padding: 20px 20px 20px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #adb5bd;
  background-color: #dee2e6;
}

.game-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #333;
}

.game-logo img {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 8px;
}

.game-logo h4 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 600;
}

.close-sidebar {
  background: none;
  border: none;
  color: #333;
  font-size: 1rem;
  cursor: pointer;
  padding: 5px;
  border-radius: 3px;
  transition: background-color 0.2s;
}

.close-sidebar:hover {
  color: #212529;
  background-color: #ced4da;
}

.sidebar-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-menu li {
  border-bottom: 1px solid #adb5bd;
}

.sidebar-menu a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 20px;
  color: #111;
  text-decoration: none;
  transition: all 0.2s ease;
  font-weight: 450;
  font-size: 16px;
  padding-left: 10px;
}

.sidebar-menu a:hover {
  background-color: #ced4da !important;
  color: #000 !important;
  text-decoration: none;
  padding-left: 10px;
  transform: translateX(5px);
}

.sidebar-menu a:hover i {
  color: #000 !important;
}

.sidebar-menu a i {
  width: 20px;
  text-align: center;
  color: #111;
}

/* Sidebar Accordion */
.sidebar-accordion {
  position: relative;
}

.accordion-toggle {
  display: flex;
  align-items: center;
  cursor: pointer;
  position: relative;
}

.accordion-toggle .accordion-arrow {
  position: absolute;
  right: 20px;
}

.accordion-arrow {
  transition: transform 0.3s ease;
}

.accordion-arrow i {
  color: #111;
  transition: transform 0.3s ease;
}

.accordion-toggle.open .accordion-arrow i {
  transform: rotate(180deg);
}

.accordion-menu {
  max-height: 0;
  overflow: hidden;
  background-color: #fafafa;
  padding: 0;
  margin: 0;
  list-style: none;
  border-top: 1px solid #adb5bd;
  border-bottom: 1px solid #adb5bd;
  transition: max-height 0.3s ease, opacity 0.3s ease;
  opacity: 0;
}

.accordion-menu.open {
  max-height: 300px;
  opacity: 1;
}

.accordion-menu li {
  border-bottom: none;
}

.accordion-menu a {
  padding-left: 20px;
  font-size: 0.85rem;
  color: #111;
  font-weight: 450;
  transition: all 0.2s ease;
}

.accordion-menu a i {
  color: #111;
}

.accordion-menu a:hover {
  background-color: #d7dde2 !important;
  color: #000 !important;
  padding-left: 10px;
  transform: translateX(5px);
}

.accordion-menu a:hover i {
  color: #000 !important;
}

/* Sidebar Overlay */
.sidebar-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.sidebar-overlay.show {
  opacity: 1;
  visibility: visible;
}

/* Üst Bar - Ana */
.top-bar {
  background: #f7f4f1;
  padding: 5px 15px;
  color: #333;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  height: 50px;
  border-bottom: 1px solid #e9ecef;
}

.top-bar-left {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-right: auto;
  margin-left: 50px;
}

.top-bar-right {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  margin-right: 50px;
}

/* Menu Toggle */
.menu-toggle {
  color: #333;
  cursor: pointer;
  position: relative;
  padding: 5px;
  transition: color 0.3s ease;
}

.menu-toggle:hover {
  color: #495057;
}

/* Header Logo */
.header-logo {
  display: flex;
  align-items: center;
}

.header-logo img {
  height: 35px;
  width: auto;
  border-radius: 5px;
}




.user-actions-group {
  display: flex;
  align-items: stretch;
  background-color: #f8f9fa;
  border-radius: 0px;
  border: 1px solid #e9ecef;
  height: 35px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.user-profile-link,
.action-icon {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 10px;
  text-decoration: none;
  color: #222;
  position: relative;
  transition: background-color 0.2s;
}

.user-profile-link:hover,
.action-icon:hover {
  background-color: #e9ecef;
  color: #495057;
}

.user-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: #222;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: bold;
  position: relative;
  overflow: hidden;
}


.user-avatar span {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #555;
  color: white;
  font-size: 0.8rem;
  font-weight: bold;
}

.username-text {
  font-weight: 600;
  font-size: 0.7rem;
}

.action-icon {
  border-left: 1px solid #e9ecef;
  padding: 0 10px;
}

.notification-badge {
  position: absolute;
  top: 2px;
  right: 0px;
  background-color: #dc3545;
  color: white;
  font-size: 8px;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  border: 2px solid #f8f9fa;
  transform: translate(10%, -20%);
}


.top-bar-secondary {
  background: #f8f9fa;
  border-bottom: 1px solid #e9ecef;
  display: flex;
  align-items: center;
  padding: 6px 15px;
  font-size: 0.65rem;
}

.contact-info {
  display: flex;
  justify-content: space-between;
  width: 100%;
}

.contact-left {
  margin-right: auto;
  margin-left: 50px;
}

.contact-right {
  margin-left: auto;
  margin-right: 50px;
}

.contact-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #6c757d;
  font-weight: 400;
}

.contact-item i {
  color: #6c757d;
  font-size: 0.7rem;
}

.contact-item .fab.fa-whatsapp {
  color: #25d366;
}

.contact-item.whatsapp-link {
  cursor: pointer;
  transition: all 0.2s ease;
  border-radius: 4px;
}

.contact-item.whatsapp-link:hover {
  opacity: 0.8;
}

.contact-right {
  display: flex;
  align-items: center;
}

.shipping-info {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #28a745;
  font-weight: 500;
}

.shipping-info i {
  color: #28a745;
  font-size: 0.7rem;
}



/* Responsive */
@media (max-width: 768px) {
  .top-bar {
    justify-content: space-between;
    padding: 5px 10px;
  }

  .top-bar-left,
  .top-bar-right {
    margin: 0;
  }

  .user-actions-group {
    display: flex;
  }

  .user-avatar {
    width: 20px;
    height: 20px;
    font-size: 0.7rem;
  }


  .action-icon {
    padding: 0 8px;
  }

  .notification-badge {
    width: 16px;
    height: 16px;
    font-size: 9px;
  }

  .contact-info {
    flex-direction: row;
    justify-content: space-between;
  }

  .contact-left,
  .contact-right {
    margin: 0;
  }

  .contact-left {
    gap: 15px;
  }

  .contact-item:nth-child(2) {
    display: none;
    /* Email'i gizle */
  }

  .contact-item,
  .shipping-info {
    font-size: 0.6rem;
  }

  .sidebar {
    width: 280px;
    transform: translateX(-280px);
  }

  .sidebar.show {
    transform: translateX(0);
  }
}

@media (max-width: 480px) {
  .sidebar {
    width: 70%;
    transform: translateX(-100%);
  }

  .sidebar.show {
    transform: translateX(0);
  }
}

/* Footer Styles */
.site-footer {
  background: linear-gradient(135deg, #2c3e50, #34495e);
  color: #ecf0f1;
  margin-top: auto;
  padding: 0;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  padding: 50px 0 30px;
}

.footer-section h5 {
  color: #fff;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 20px;
  position: relative;
}

.footer-section h5::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 30px;
  height: 2px;
  background: #3498db;
}

/* Footer Logo */
.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.footer-logo img {
  height: 40px;
  width: auto;
  border-radius: 8px;
}

.footer-logo h4 {
  color: #fff;
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0;
}

.footer-description {
  color: #bdc3c7;
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 25px;
}

/* Social Links */
.social-links {
  display: flex;
  gap: 12px;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: #fff;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 1.1rem;
}

.social-link.whatsapp {
  background: #25d366;
}

.social-link.instagram {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.social-link.facebook {
  background: #3b5998;
}

.social-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Footer Links */
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #bdc3c7;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #3498db;
}

/* Contact Info */
.footer-section .contact-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-section .contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #bdc3c7;
  font-size: 0.9rem;
}

.footer-section .contact-item i {
  width: 16px;
  color: #3498db;
}

/* Footer Bottom */
.footer-bottom {
  border-top: 1px solid #34495e;
  padding: 20px 0;
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.copyright p {
  color: #95a5a6;
  font-size: 0.85rem;
  margin: 0;
}

.payment-methods {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #95a5a6;
  font-size: 0.85rem;
}

.payment-methods i {
  font-size: 1.5rem;
  color: #ffffff;
}

/* Footer Right Section */
.footer-right {
  display: flex;
  gap: 40px;
}

.footer-column {
  flex: 1;
}

/* Bildirim Panel */
.notification-panel {
  position: fixed;
  top: 0;
  right: 0;
  width: 400px;
  height: 100vh;
  background: #ffffff;
  z-index: 10000;
  transform: translateX(400px);
  transition: transform 0.3s ease;
  box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
}

.notification-panel.open {
  transform: translateX(0);
}

.notification-panel-content {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.notification-panel-header {
  padding: 20px;
  border-bottom: 1px solid #e9ecef;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f8f9fa;
}

.notification-panel-header h3 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 600;
  color: #2c3e50;
}

.notification-close-btn {
  background: none;
  border: none;
  color: #6c757d;
  font-size: 1.2rem;
  cursor: pointer;
  padding: 5px;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.notification-close-btn:hover {
  background: #e9ecef;
  color: #495057;
}

.notification-panel-body {
  flex: 1;
  overflow-y: auto;
  padding: 0;
}

.notification-items {
  padding: 0;
}

.notification-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 15px 10px;
  border-bottom: 1px solid #f1f3f4;
  cursor: pointer;
  transition: background-color 0.2s ease;
  position: relative;
}

.notification-item:hover {
  background: #f8f9fa;
}

.notification-item.unread {
  background: #f0f8ff;
}

.notification-item.read {
  opacity: 0.8;
}

.notification-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #e3f2fd;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
  border: 2px solid #bbdefb;
}

.notification-content {
  flex: 1;
  min-width: 0;
}

.notification-title {


  font-weight: 600;
  color: #333;
  margin-bottom: 5px;
  font-size: 0.95rem;
  line-height: 1.3;
}

.notification-message {
  font-size: 0.85rem;
  color: #333;
  margin: 0 0 6px 0;
  line-height: 1.4;
  word-wrap: break-word;
  font-weight: 400;
}

.notification-time {
  font-size: 0.75rem;
  color: #666;
  font-weight: 500;
}

.notification-dot {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 8px;
  height: 8px;
  background: #007bff;
  border-radius: 50%;
  flex-shrink: 0;
}

.notification-empty {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 200px;
  text-align: center;
  color: #6c757d;
  padding: 40px 20px;
}

.notification-empty.show {
  display: flex;
}

.empty-notification-icon {
  font-size: 3rem;
  color: #dee2e6;
  margin-bottom: 15px;
}

.notification-empty p {
  margin: 0;
  font-size: 1rem;
  font-weight: 500;
}

.notification-panel-footer {
  padding: 20px;
  border-top: 1px solid #e9ecef;
  background: #f8f9fa;
  display: flex;
  gap: 10px;
}

.notification-panel-footer .btn {
  flex: 1;
  padding: 10px 15px;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 500;
  text-align: center;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.notification-panel-footer .btn-outline {
  background: transparent;
  color: #6c757d;
  border: 1px solid #dee2e6;
}

.notification-panel-footer .btn-outline:hover {
  background: #e9ecef;
  color: #495057;
}

.notification-panel-footer .btn-primary {
  background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
  color: white;
  border: none;
  transition: all 0.3s ease;
}

.notification-panel-footer .btn-primary:hover {
  background: linear-gradient(135deg, #ff5252 0%, #d63031 100%);
  transform: translateY(-1px);
}

/* Bildirim Panel Responsive */
@media (max-width: 768px) {
  .notification-panel {
    width: 80%;
    transform: translateX(100%);
  }

  .notification-panel.open {
    transform: translateX(0);
  }

  .notification-panel-header {
    padding: 15px;
  }

  .notification-panel-header h3 {
    font-size: 1.1rem;
  }

  .notification-item {
    padding: 12px 10px;
  }

  .notification-icon {
    width: 28px;
    height: 28px;
    font-size: 0.9rem;
  }



  .notification-panel-footer {
    padding: 15px;
    flex-direction: column;
  }

  .notification-panel-footer .btn {
    padding: 12px 15px;
    font-size: 0.9rem;
  }
}

/* Footer Responsive */
@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 40px 0 20px;
  }

  .footer-right {
    gap: 30px;
  }

  .footer-bottom-content {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }

  .footer-section h5 {
    font-size: 1rem;
  }

  .footer-logo {
    justify-content: center;
  }

  .social-links {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .footer-container {
    padding: 0 15px;
  }

  .footer-content {
    padding: 30px 0 15px;
  }

  .footer-logo img {
    height: 35px;
  }

  .footer-logo h4 {
    font-size: 1.2rem;
  }

  .social-link {
    width: 35px;
    height: 35px;
    font-size: 1rem;
  }
}