.rp-title {
  font-size: 28px;
  margin-bottom: 25px;
  color: #111;
}

.rp-card-limit {
  background: #f4f4f4;
  border-radius: 12px;
  padding: 30px;
  margin-bottom: 25px;
  border: 2px solid #dcdcdc;
}

.rp-card {
  background: #f4f4f4;
  border-radius: 12px;
  padding: 30px;
  margin-bottom: 25px;
  border: 2px solid #dcdcdc;
  display: flex;
  gap: 40px;
}

.rp-column {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.rp-stats {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

.rp-stat {
  flex: 1;
  background: #ffffff;
  padding: 18px;
  border-radius: 10px;
  text-align: center;
  border: 2px solid #dcdcdc;
}

.rp-label {
  display: block;
  font-size: 13px;
  color: #666;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.rp-value {
  font-size: 22px;
  font-weight: bold;
  color: #111;
}

.rp-value.remaining {
  color: #6a00ff;
}

.rp-progress {
  background: #dcdcdc;
  height: 12px;
  border-radius: 30px;
  overflow: hidden;
}

.rp-progress-bar {
  height: 100%;
  border-radius: 30px;
  background: linear-gradient(90deg, #6a00ff, #00c2ff);
  transition: width 0.4s ease;
}

.rp-form {
  display: flex;
  flex-direction: column;
}

.rp-form label {
  font-size: 14px;
  margin-bottom: 8px;
  color: #222;
  text-align: center;
}

.rp-form input, .rp-form select {
  padding: 12px;
  border-radius: 8px;
  border: 2px solid #6a00ff;
  color: black;
  margin-bottom: 15px;
  font-size: 14px;
  outline: none;
}

.rp-form input:focus {
  border-color: #00c2ff;
  box-shadow: 0 0 6px rgba(0,194,255,0.5);
}

.rp-button {
  background: linear-gradient(90deg, #6a00ff, #8e2de2);
  color: #fff;
  padding: 12px 18px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  transition: 0.3s ease;
}

.rp-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(106,0,255,0.4);
}

.rp-note {
  font-size: 13px;
  color: #555;
  margin-top: 10px;
}

.rp-warning {
  background: #d8e7ef;
  border: 2px solid #00c2ff;
  color: #111;
  padding: 18px;
  border-radius: 10px;
  font-size: 14px;
}

.rp-progress-bar.limit-reached {
  background: linear-gradient(90deg, #ff3b3b, #ff0000);
}

.rp-value.zero {
  color: #ff0000;
}

.rp-limit {
    margin-bottom: 20px;
}

@media (max-width: 768px) {
  .rp-stats {
    flex-direction: column;
  }

  .rp-card{
    flex-direction: column;
  }

  .rp-form {
    max-width: 100%;
  }
}

.rp-header{
    margin-bottom: 20px;
}

.label-exclude, .label-limit {
    text-align: center;
}

/* Container */
.rp-dashboard-description{
    margin-bottom: 32px;
    text-align: left;
}

/* Intro text */
.rp-intro{
    color: #555;
    font-size: 15px;
    margin-bottom: 22px;
    line-height: 1.6;
}

/* Card grid layout */
.rp-info-grid{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

/* Tablet */
@media (max-width: 1024px){
    .rp-info-grid{
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile */
@media (max-width: 600px){
    .rp-info-grid{
        grid-template-columns: 1fr;
    }
}

/* Individual cards */
.rp-info-card{
    background: #ffffff;
    border-radius: 12px;
    padding: 18px 20px;
    border: 1px solid #ececec;
    box-shadow: 0 2px 6px rgba(0,0,0,0.04);
    transition: all 0.25s ease;
}

/* Hover effect */
.rp-info-card:hover{
    transform: translateY(-3px);
    box-shadow: 0 10px 22px rgba(0,0,0,0.08);
}

/* Card headings */
.rp-info-card h4{
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #222;
}

/* Card text */
.rp-info-card p{
    font-size: 14px;
    color: #555;
    line-height: 1.5;
    margin: 0;
}

/* Card container */
.rp-card {
    background: #fff; /* White card */
    border-radius: 12px;
    padding: 24px 28px;
    border: 1px solid #ececec;
    box-shadow: 0 3px 12px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column; /* stack forms vertically */
    gap: 30px; /* space between limit and self-exclusion sections */
}

/* Column inside card */
.rp-column {
    display: flex;
    flex-direction: column;
    gap: 16px; /* spacing inside each form section */
}

/* Card header */
.rp-header {
    font-size: 18px;
    font-weight: 600;
    color: #222;
    margin-bottom: 12px;
}

/* Forms inside card */
.rp-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Form labels */
.rp-limit-label,
.rp-form label {
    font-size: 14px;
    color: #444;
    margin-bottom: 6px;
}

.rp-form input:focus {
    border-color: #6a00ff;
    box-shadow: 0 0 6px rgba(106,0,255,0.2);
}

/* Buttons */
.rp-button {
    padding: 10px 16px;
    border-radius: 8px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s ease;
}

.rp-button:hover {
    transform: translateY(-1px);
}

/* Primary Save button */
.rp-button.save {
    background: #6a00ff;
    color: #fff;
}

/* Reset button / secondary */
.rp-button.rp-reset {
    background: #f0f0f0;
    color: #333;
    width: 50%;
}

/* Notes / messages */
.rp-note {
    font-size: 13px;
    color: #555;
    line-height: 1.4;
}

/* Responsive tweaks */
@media (max-width: 768px) {
    .rp-card {
        padding: 20px;
        gap: 24px;
    }
}

/* Card container */
.rp-card {
    display: flex;
    flex-direction: row; /* side by side */
    gap: 32px; /* space between Limit and Self-Exclusion */
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    border: 1px solid #ececec;
    box-shadow: 0 3px 12px rgba(0,0,0,0.05);
}

/* Columns inside card */
.rp-card .rp-column {
    flex: 1; /* each column takes equal space */
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Form layout inside each column */
.rp-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Buttons in form */
.rp-form-actions {
    display: flex;
    gap: 12px;
}

/* Button styles */
.rp-button.rp-save {
    background: #6a00ff;
    color: #fff;
    width: 50%;
}

.rp-button.rp-reset {
    background: #f0f0f0;
    color: #333;
    width: 50%;
}

/* Responsive: stack on smaller screens */
@media (max-width: 768px) {
    .rp-card {
        flex-direction: column;
        gap: 24px;
    }
}