:root {
  --bg-app: #fdf6f0; /* Soft Cream */
  --bg-card: #ffffff;
  --text-main: #5d534a; /* Warm Coffee Brown */
  --text-muted: #a0938a;
  --border: #f1e4d9;
  --status-blue: #a3c9f1; /* Pastel Sky */
  --status-mint: #a8dadc; /* Pastel Mint */
  --accent: #ffadaa; /* Pastel Rose */
}

* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

body {
  background-color: var(--bg-app);
  color: var(--text-main);
  font-family: "Quicksand", sans-serif;
  margin: 0;
  padding: 90px 20px 40px;
  min-height: 100vh;
}

/* Header & Sidebar */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  padding: 15px 20px;
  border-bottom: 2px solid var(--border);
  display: flex;
  align-items: center;
  z-index: 100;
}

.menu-trigger {
  font-size: 24px;
  cursor: pointer;
  margin-right: 15px;
}

#view-title {
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 1px;
  color: var(--text-muted);
}

#sidebar {
  position: fixed;
  top: 0;
  left: -280px;
  width: 280px;
  height: 100%;
  background: #fffcf9;
  z-index: 1000;
  transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 10px 0 30px rgba(93, 83, 74, 0.05);
  padding: 30px 20px;
}
#sidebar.open {
  left: 0;
}
#sidebar ul {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}
#sidebar li a {
  display: block;
  padding: 14px;
  text-decoration: none;
  color: var(--text-main);
  font-weight: 600;
  border-radius: 12px;
}
#sidebar li a:hover {
  background: #faedcd;
}

/* Main UI */
#app-content {
  max-width: 800px;
  margin: 0 auto;
}

.list-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
}

.add-btn {
  background: var(--text-main);
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 15px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 0px #3d352f;
  transition: 0.1s;
}
.add-btn:active {
  transform: translateY(3px);
  box-shadow: 0 1px 0px #3d352f;
}

/* Skill Cards */
.skill-card {
  background: white;
  border-radius: 20px;
  padding: 20px;
  margin-bottom: 12px;
  border: 1px solid var(--border);
  box-shadow: 0 4px 15px rgba(93, 83, 74, 0.02);
  cursor: pointer;
  transition: 0.2s;
}
.skill-card:hover {
  transform: scale(1.02);
}

/* Progress Bars (Marshmallows) */
.progress-bg {
  width: 100%;
  height: 12px;
  background: #f1e4d9;
  border-radius: 20px;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--status-blue), var(--status-mint));
  border-radius: 20px;
  transition: width 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Suggestion Grid */
.suggestions-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.skill-pill {
  background: white;
  border: 2px solid var(--border);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.2s;
  color: var(--text-main);
}
.skill-pill:hover {
  background: #faedcd;
  transform: translateY(-2px);
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(93, 83, 74, 0.4);
  z-index: 2000;
  backdrop-filter: blur(5px);
}
.modal-content {
  background: white;
  width: 90%;
  max-width: 400px;
  margin: 80px auto;
  padding: 30px;
  border-radius: 30px;
  position: relative;
}

.close-modal {
  position: absolute;
  right: 20px;
  top: 20px;
  font-size: 24px;
  cursor: pointer;
  color: var(--text-muted);
}

.field-label {
  display: block;
  font-weight: 700;
  font-size: 13px;
  margin: 15px 0 5px 5px;
  color: var(--text-muted);
}

input,
select {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid var(--border);
  border-radius: 15px;
  background: #fffcf9;
  font-family: inherit;
  outline: none;
}

.btn-full {
  flex: 1;
  background: var(--status-blue);
  color: white;
  border: none;
  padding: 15px;
  border-radius: 15px;
  font-weight: 700;
  box-shadow: 0 4px 0 #7ca9d9;
  cursor: pointer;
}
.btn-full:active {
  transform: translateY(2px);
  box-shadow: 0 1px 0 #7ca9d9;
}

.btn-delete-modal {
  background: #fff;
  border: 2px solid #fee2e2;
  border-radius: 15px;
  padding: 0 15px;
  cursor: pointer;
}
