@import url("theme.css");

.profile-section {
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  box-shadow: var(--shadow-1);
  padding: 20px;
  max-width: 720px;
  margin: 24px auto;
}
.profile-photo img {
  display: none;
}
.profile-photo::before {
  content: "";
  display: inline-block;
  width: 80px;
  height: 80px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
}
/* General Styling */
html,
body {
  height: 100%;
  margin: 0;
}

body {
  font-family: Arial, sans-serif;
  background: radial-gradient(
      1200px 600px at 20% -10%,
      #223264 0%,
      transparent 60%
    ),
    radial-gradient(1200px 600px at 120% 10%, #1a2b54 0%, transparent 60%),
    linear-gradient(180deg, var(--bg) 0%, #0a0f1e 100%);
  color: var(--text);
  line-height: 1.6;
  display: flex;
  flex-direction: column;
}

/* Header Styling */
header {
  background: linear-gradient(90deg, var(--bg-soft), var(--card-2));
  color: var(--text);
  padding: 12px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
header .logo img {
  display: none;
}
header nav {
  display: flex;
  gap: 20px;
}
header nav a {
  color: var(--text);
  text-decoration: none;
  font-size: 16px;
  opacity: 0.92;
  padding: 6px 8px;
  border-radius: 8px;
}
header nav a:hover {
  background: rgba(255, 255, 255, 0.06);
}

/* Main Content Styling */
main {
  flex: 1;
}

/* Profile Section Styling */
.profile-section {
  width: 100%;
  max-width: 600px;
  margin: 40px auto;
  background: linear-gradient(180deg, var(--card), var(--card-2));
  color: var(--text);
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: var(--shadow-1);
  position: relative;
}

.profile-header {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.profile-photo {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.profile-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-info {
  flex: 1;
}

.profile-info h2 {
  color: var(--text);
  margin-bottom: 10px;
}

.profile-info p {
  margin: 5px 0;
}

/* Button Styling */
.return-home,
.logout-btn {
  position: absolute;
  bottom: 20px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  font-size: 24px;
  cursor: pointer;
}

.return-home {
  right: 80px;
}

.logout-btn {
  right: 20px;
}

.return-home:hover,
.logout-btn:hover {
  filter: brightness(1.05);
  transform: scale(1.03);
}

/* Footer Styling */
footer {
  background: var(--bg-soft);
  color: var(--muted);
  padding: 20px;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  width: 100%;
  position: static;
  box-shadow: none;
}

/* Responsive Styling */
@media (max-width: 768px) {
  .profile-header {
    flex-direction: column;
    align-items: center;
  }

  .profile-photo {
    margin-bottom: 20px;
  }

  .return-home,
  .logout-btn {
    bottom: 10px;
  }

  .return-home {
    right: 50px;
  }

  .logout-btn {
    right: 10px;
  }
}
