* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', sans-serif;
}

body {
  background: #f5f5f5;
}
:root {

  /* BRAND COLORS */

  --magenta: #A10F4A;
  --gold: #C6A75E;
  --ivory: #F5EFE6;
  --rose: #D8A1A6;
  --brown: #352D27;
}

p{
  font-family:montserrat classic;
  color: var(--magenta);
}
h1{
  font-family:"Grown";
} 
h2{
  font-family:montserrat classic;
  color: var(--magenta);
}
h3{
  font-family:montserrat classic;
  color: var(--magenta);
}
a{
 
  color: var(--magenta);
}
/* HEADER */
.profile-header {
  background: var(--magenta);
  color: white;
  padding: 15px 40px;
}

/* MAIN CONTAINER */
.profile-container {
  display: flex;
  min-height: 90vh;
}

/* SIDEBAR */
.profile-sidebar {
  width: 280px;
  background: var(--ivory);
  padding: 30px 20px;
  border-right: 1px solid #eee;
}

.user-info {
  text-align: center;
  margin-bottom: 30px;
}

.user-avatar {
  width: 80px;
  height: 80px;
  background: var(--magenta);
  color: var(--ivory);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  margin: auto;
  margin-bottom: 10px;
}

.profile-menu a {
  text-decoration: none;
  display: block;
  padding: 10px 0;
}
.profile-menu a:hover {
  color: #b76e79;
}
.profile-menu li {
  padding: 12px;
  cursor: pointer;
  border-radius: 6px;
  margin-bottom: 8px;
  transition: 0.3s;
}

.profile-menu li:hover {
  background: #f0f0f0;
}



.profile-menu .logout {
  color: red;
  margin-top: 20px;
}

/* CONTENT */
.profile-content {
  flex: 1;
  padding: 40px;
}

.profile-section {
  background: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px var(--gold);
}

.profile-section h2 {
  margin-bottom: 20px;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.info-box label {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  color: gray;
}

.info-box input {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 6px;
}

.save-btn {
  margin-top: 25px;
  padding: 10px 20px;
  background: var(--magenta);
  color: var(--ivory);
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.3s;
}

.save-btn:hover {
  background: #333;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .profile-container {
    flex-direction: column;
  }

  .profile-sidebar {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid #eee;
  }

  .info-grid {
    grid-template-columns: 1fr;
  }


}

.logout-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  display: none; /* 🔥 MUST BE NONE */
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.logout-box {
  background: white;
  padding: 25px;
  border-radius: 10px;
  width: 280px;
  text-align: center;
}

.logout-actions {
  margin-top: 20px;
  display: flex;
  justify-content: space-between;
}

.secondary-btn {
  background: #ddd;
  border: none;
  padding: 6px 12px;
  cursor: pointer;
}

.primary-btn {
  background: black;
  color: white;
  border: none;
  padding: 6px 12px;
  cursor: pointer;
}