:root{
  --bg-color: #ffffff;
  --text-color: #1a1a1a;
  --primary-color: #4f46e5;
  --card-bg: #2a2185;
  --card-border: #f0f0f0;
  --list-color: #ffff;
  --price-tag: #ff5733;
  --price-tag-color: #ffff;
}
.dark {
  --bg-color: #1a1a1a;
  --text-color: #f1f1f1;
  --primary-color: #818cf8; 
  --section-color: background-color: rgba(100, 100, 255, 0.05);
  --card-bg: #2A2A2A;
  --card-border: #2A2A2A;
  --list-color: rgba(255,255,255,0.85);
  --price-tag: #ff5733;
  --price-tag-color: #f0f0f0;
}

.profile{
  padding: 1.5rem;
  background: var(--section-color);
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(94, 94, 93, 0.09);
  margin-bottom: 2rem;
  line-height: 1.9;
  width: 100%;
}
.profile-id{
  /* color: var(--primary-color); */
  font-weight: bold;
}
.profile button{
  padding: 10px 20px;
  background-color: var(--primary-color);
  border: none;
  border-radius: 8Px;
  cursor: pointer;
  margin-top: 10px;
  color: #ffff;
  transition: 0.3s ease;
}
.profile button:hover{
  background-color: rgba(56, 202, 56, 0.795);
}
input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 14px;
  border-radius: 7px;
  background: #ddd;
  transition: background 0.3s ease;
  pointer-events: none; 
}

/* Hide the range thumb */
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 0;
  height: 0;
}

input[type="range"]::-moz-range-thumb {
  width: 0;
  height: 0;
  border: none;
}

#valueDisplay {
  font-size: 14px;
  font-weight: bold;
}
/* ----------stats section------- */
.stats-section{
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 2rem;
}
.stats-card{
  flex: 1 1 200px;
  padding: 1.5rem;
  border-radius: 12px;
  background-color: rgba(11, 9, 194, 0.05);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}
.stats-card h3 {
  margin-top: 0;
  font-size: 1.2rem;
  color: var(--primary-color);
}

/* --------------subscription section---------------- */
.subscription{
  background-color: rgba(11, 9, 194, 0.05);
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  margin-bottom: 2rem;
  margin-top: 2rem;
}
.sub-tittle{
  color: var(--text-color);
}
.grid-container{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 30px;
  padding: 30px;
}
.card-container{
  position: relative;
  transition: 0.5s;
  cursor: pointer;
  z-index: 2;
}
.card-container:hover {
  transform: scale(1.05);
}
.card {
  padding: 2.2rem 2rem;
  background-color: var(--card-bg);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  position: relative;
  z-index: 1;
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  color: var(--card-head);
  border: 1px solid var(--card-border);
  min-height: 300px;
  clip-path: polygon(0 0, 190px 0, 190px 80px, 400px 80px, 100% 1000px, 0 300px);
}
.card button {
  color: var(--list-color);
  background: transparent;
  border: 1px solid var(--primary-color);
  padding: 0.5rem 1rem;
  border-radius: 8px;
  margin-top: 10px;
}
.card h2{
  color: var(--list-color);
  max-width: 100px;
}
.content{
  list-style: none;
  color: var(--list-color);
  margin-top: 1rem;
}
.content i{
  color: var(--primary-color);
}
.price-tag {
  position: absolute;
  top: 5%;
  right: 5%;
  width: 200px;
  height: 100px;
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  background: var(--price-tag);
  color: var(--price-tag-color);
  padding: 20px 10px;
  font-size: 14px;
  font-weight: bold;
  z-index: 1;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  border-top-right-radius: 10px;
}
.card-container.hidden{
  display: none;
}
.view-more{
  padding: 5px 10px;
  border: 1px solid var(--primary-color);
  border-radius: 5px;
  color: var(--text-color);
  background: transparent;
  transition: 0.5s ease-in;
}
.view-more:hover{
  background: var(--primary-color);
  color: #ffff;
}
