
header, body, footer {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}


header {
  display: flex;
  justify-content: space-between;
  padding: 1rem 2rem;
  background: #fff;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

nav a {
  margin: 0 1rem;
  text-decoration: none;
  color: #111;
  font-weight: 600;
  display: inline-block;
  transition: color 0.2s ease, transform 0.2s ease;
}

nav a:hover {
  color: #000;
  transform: translateY(-3px);
}

.auth-btn {
  background-color: #111;
  color: #fff;
  padding: 10px 20px;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.auth-btn:hover {
  background-color: #333;
  transform: translateY(-2px);
}

.profile-container {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 2rem;
}

.profile-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.profile-picture {
  width: 250px;
  height: 250px;
  border-radius: 50%;
  object-fit: cover;
}
#logout-prf {
  padding: 10px 20px;
  border: 2px solid #e74c3c;
  background: transparent;
  color: #e74c3c;
  font-weight: bold;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
}
#logout-prf:hover {
  background-color: #e74c3c;
  color: white;
}

.profile-info {
  flex: 1;
  max-width: 500px;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
.profile-title {
  margin: 0;
  font-size: 2rem;
  color: #333;
}
.profile-field {
  background-color: #f0f0f0;
  padding: 12px 16px;
  border-radius: 10px;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.05);
  color: #333;
  font-size: 1rem;
}

.footer {
  margin-top: auto;
  background-color: #f8f8f8;
  padding: 20px 0;
  text-align: center;
  font-size: 14px;
  color: #555;
  border-top: 1px solid #ddd;
}
.footer-content {
  max-width: 1200px;
  margin: 0 auto;
}
.footer nav {
  margin-top: 10px;
}
.footer nav a {
  margin: 0 10px;
  color: #555;
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer nav a:hover {
  color: #000;
}

@media (max-width: 768px) {
  .profile-container {
    flex-direction: column;
    align-items: center;
  }
  .profile-info {
    max-width: 100%;
    text-align: center;
  }
  .profile-title {
    text-align: center;
  }
}


.profile-menu {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-end; 
  gap: 5px;
}

.avatar-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
}

.dropdown-menu {
  position: absolute;
  right: 0;
  top: 50px;
  background: white;
  list-style: none;
  border: 1px solid #ccc;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 1000;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.dropdown-menu.hidden {
  display: none;
}

.dropdown-menu li {
  cursor: pointer;
}

.dropdown-menu li a {
  text-decoration: none;
  color: black;
}
#logout-btn,#profile-btn {
    padding: 8px 12px;
    transition: background-color 0.3s ease;
}

#logout-btn,#profile-btn :hover {
    background-color: red;
    color: white;
}

.orders-section {
  max-width: 600px;
  margin: 2rem auto;
  padding: 0 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

#orders-table {
  border-collapse: separate;
  border-spacing: 0 14px; 
  width: 100%;
}

#orders-table th,
#orders-table td {
  background-color: #f9f9f9;
  padding: 14px 18px;
  border-radius: 12px;
  box-shadow: inset 2px 2px 6px rgba(0, 0, 0, 0.05),
              inset -2px -2px 6px rgba(255, 255, 255, 0.6);
  font-size: 1rem;
  color: #333;
  text-align: left;
}


#orders-table th {
  background-color: #ececec;
  font-weight: 600;
  box-shadow: none;
  text-align: center;
}

#orders-table td {
  transform: none !important;
}

#orders-table td[colspan] {
  text-align: center;
}