/* Base Styles (Light Theme) */
:root {
  --bg-gradient: linear-gradient(to right, #ffe6f0, #e6f7ff);
  --text-color: #333;
  --container-bg: white;
  --accent: #ff69b4;
  --input-bg: white;
  --input-border: #ffb6c1;
  --button-bg: #ff69b4;
  --button-hover: #ff85c1;
  --card-bg: #fdf0f5;
  --link-color: #0077cc;
  --header-border: #ccc;
}

/* Dark Theme Overrides */
[data-theme="dark"] {
  --bg-gradient: linear-gradient(to right, #1e1e2f, #2a2a3d);
  --text-color: #f0f0f0;
  --container-bg: #2c2c3c;
  --accent: #ffb6c1;
  --input-bg: #3a3a4a;
  --input-border: #ff85c1;
  --button-bg: #ff85c1;
  --button-hover: #ffa3d1;
  --card-bg: #3a3a4a;
  --link-color: #66ccff;
  --header-border: #555;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background: var(--bg-gradient);
  margin: 0;
  padding: 0;
  color: var(--text-color);
}

.container {
  max-width: 600px;
  margin: 60px auto;
  padding: 20px;
  background: var(--container-bg);
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  text-align: center;
}

h1 {
  font-size: 2em;
  color: var(--accent);
  margin-bottom: 20px;
}

form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

input[type="text"] {
  padding: 10px;
  background-color: var(--input-bg);
  border: 2px solid var(--input-border);
  border-radius: 8px;
  font-size: 1em;
  color: var(--text-color);
}

button {
  padding: 10px;
  background-color: var(--button-bg);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1em;
  cursor: pointer;
}

button:hover {
  background-color: var(--button-hover);
}

.channel-card {
  margin-top: 20px;
  padding: 20px;
  background-color: var(--card-bg);
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.channel-card img {
  border-radius: 50%;
  margin-bottom: 10px;
}

a {
  color: var(--link-color);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.back-link {
  display: inline-block;
  margin-top: 20px;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  background-color: var(--container-bg);
  border-bottom: 1px solid var(--header-border);
}

.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: right;
  margin-right: 20px;
  gap: 10px;
}

.switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 26px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  border-radius: 26px;
  transition: 0.4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  border-radius: 50%;
  transition: 0.4s;
}

input:checked+.slider {
  background-color: #ff85c1;
}

input:checked+.slider:before {
  transform: translateX(24px);
}

.toggle-label {
  font-size: 0.9em;
  color: var(--text-color);
}

#profile-pic {
  border-radius: 50%;
}

#uuuuu {
  border-radius: 25%;
  margin-bottom: 20px;
}