body {
  font-family: Arial, sans-serif;
  background: #f4f7fb;
  display: flex;
  justify-content: center;
  padding: 40px;
}

.container {
  width: 700px;
}

/* HEADER */
.header {
    width: 750px;
    height: 90px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
  background-color: white;
  border-radius: 10px;
   box-shadow: 0 4px 10px rgba(0,0,0,0.05)
}

h2 {
  margin: 0;
  color: #333;
  margin-left: 30px;
}

.header p {
  margin: 5px 0;
  color: #888;
  margin-left: 30px;
}

.header-right {
  text-align: right;
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-left: 100px;
}

.badge {
  background: #e8fff3;
  color: green;
  padding: 5px 10px;
  border-radius: 12px;
  font-size: 12px;
}

.joined {
  display: block;
  font-size: 12px;
  color: #aaa;
  margin-top: 5px;
  background: #e6f0ff;
  color: #007bff;
   border-radius: 12px;
}

/* CARD */
.card {
  background: white;
  padding: 20px;
  border-radius: 14px;
  margin-bottom: 20px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

h3 {
  margin: 0;
  color: #333;
}

p {
  color: #888;
  font-size: 14px;
}

/* SUB INFO */
.sub-info {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
}

.sub-info span {
  font-size: 13px;
  color: #888;
}

/* BUTTONS */
.actions {
  display: flex;
  gap: 10px;
}

.btn {
  border: none;
  padding: 10px 16px;
  border-radius: 20px;
  color: white;
  font-weight: bold;
  cursor: pointer;
}

.gradient {
  background: linear-gradient(45deg, #6a5cff, #8e44ad);
}

.red {
  background: linear-gradient(to right, white,#ff0000);           
}

/* TABLE */
table {
  width: 100%;
  margin-top: 15px;
  border-collapse: collapse;
}

th {
  text-align: left;
  color: #888;
  font-weight: normal;
  padding-bottom: 10px;
}

td {
  padding: 10px 0;
  border-top: 1px solid #eee;
}

.bold {
  font-weight: bold;
}

.paid {
  color: green;
}

button {
  border: none;
  background: none;
  cursor: pointer;
  font-size: 16px;
}


.btn.gradient {
  transition: all 0.3s ease;
}

.btn.gradient:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  filter: brightness(1.1);
}



.btn.red {
  transition: all 0.3s ease;
}

.btn.red:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 0, 0, 0.25);
  background-color: #ff3b3b;
}



























/*Modal Change plan*/ 
.modal {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
}

.modal-content {
  background: #fff;
  width: 1000px;
  height: 590px;
  margin-left: 300px;
  padding: 20px;
  border-radius: 10px;
  position: relative;
  box-shadow: #022143;
  border-right: #022041;
}

.close {
  position: absolute;
  right: 10px;
  top: 5px;
  cursor: pointer;
  font-size: 24px;
}










/*Plans*/
.plans {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 80px;
}
.plan-card {
  width: 511px;
  height: 337px;
  border: 2px solid transparent;
  padding: 20px;
  border-radius: 20px;
  transition: 0.3s;
  background: white;
  text-align: center;
  box-shadow: #1b7adf;
  border-color: #3b63d1;
  border-style:double;
}

.plan-card.active {
  border: 2px solid #4f7cff;
  transform: scale(1.05);
  box-shadow: 0 10px 25px rgba(79,124,255,0.2);
}

.price {
  font-size: 20px;
  font-weight: bold;
  margin: 10px 0;
}

button {
  width: 150px;
  height: 50px;
  margin-top: 10px;
  padding: 8px 12px;
  border: none;
  background: linear-gradient(to right, #5c17fc, #0d5eff);
  color: white;
  border-radius: 20px;
  cursor: pointer;
}

button:hover {
  background: #019223;
}

.tag {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: #4f7cff;
  color: white;
  font-size: 12px;
  padding: 3px 8px;
  border-radius: 10px;
}








/*Modal Change Plan Card*/

.modal {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.3);
}


.cardpayment{
  width: 400px;
  height: 200px;
  border-color: #022143;
  background-color: #ffffff;
}
input {
  width: 100%;
  padding: 10px;
  margin: 8px 0 15px;
  border-radius: 8px;
  border: 1px solid #ccc;
}

.row {
  display: flex;
  gap: 10px;
}

.actions {
  display: flex;
  justify-content: space-between;
}

button {
  padding: 10px 15px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}

.save {
  background: linear-gradient(45deg, #5f2cff, #9f5cff);
  color: white;
}

.dropdown {
    position: absolute;
    background: white;
    box-shadow: 0 6px 18px rgba(0,0,0,0.15);
    border-radius: 10px;
    width: 160px;
    overflow: hidden;
    margin-top: 5px;
    margin-left: 600px;
    margin-bottom: 40px;
}

.dropdown .item {
    padding: 10px;
    cursor: pointer;
    font-size: 14px;
}

.dropdown .item:hover {
    background: #f2f2f2;
}

.hidden {
    display: none;
}

