/* Extra Accent & Styling Variables */
:root {
  --accent-color: #b247f9;
  --border-radius: 12px;
  --transition-speed: 0.3s;
  --text-primary: #ffffff;
  --card-bg: #1e1e2f;
}

/* Base Layout */
body {
  font-family: 'Inter', sans-serif;
  background-color: #0d1117;
  color: var(--text-primary);
}


/* Status Management Styles */
.status-management {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 20px;
    margin: 20px 0;
}

.status-info {
    margin-bottom: 20px;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 5px;
}

.status-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
}

.status-active {
    background: #4CAF50;
    color: white;
}

.status-inactive {
    background: #9E9E9E;
    color: white;
}

.status-pending {
    background: #FF9800;
    color: white;
}

.status-suspended {
    background: #F44336;
    color: white;
}

.status-verified {
    background: #2196F3;
    color: white;
}

.status-blocked {
    background: #000;
    color: white;
}

.status-default {
    background: #ddd;
    color: #333;
}

.status-form .form-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 20px;
    margin-bottom: 20px;
}

.status-form .form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.status-form .form-group select,
.status-form .form-group textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.status-history {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.status-history table {
    margin-top: 10px;
}

.status-history th,
.status-history td {
    padding: 10px;
    text-align: left;
}

.form-actions {
    display: flex;
    gap: 10px;
}

.notification-option {
    margin-top: 15px;
    padding: 10px;
    background: #f0f8ff;
    border-radius: 4px;
}

.notification-option label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

@media (max-width: 768px) {
    .status-form .form-grid {
        grid-template-columns: 1fr;
    }
    
    .form-actions {
        flex-direction: column;
    }
}




/* Dashboard Wrapper */
#udp-dashboard {
  max-width: 1400px;
  margin: auto;
  padding: 2rem 1rem;
}

/* Dashboard Title */
#udp-dashboard h1.dashboard-title {
  color: var(--text-primary);
  font-weight: 900;
  font-size: clamp(2.5rem, 6vw, 4rem);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 2rem;
}

/* Button Styling */
#udp-dashboard button,
#udp-dashboard .button,
#udp-dashboard .udp-navigation a,
#udp-dashboard .udp-navigation button {
  background: linear-gradient(
    90deg,
    var(--wp--preset--color--primary) 0%,
    var(--wp--preset--color--secondary) 100%
  );
  color: #ffffff;
  border: none;
  border-radius: var(--border-radius);
  padding: 0.8rem 1.6rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-speed);
  box-shadow: 0 4px 20px rgba(178, 71, 249, 0.3);
  text-transform: uppercase;
  display: inline-block;
}

#udp-dashboard button:hover,
#udp-dashboard .button:hover,
#udp-dashboard .udp-navigation a:hover,
#udp-dashboard .udp-navigation button:hover {
  transform: translateY(-2px);
  filter: brightness(1.15);
}

/* Card Style */
.card,
.udp-section {
  background-color: var(--card-bg);
  border-radius: var(--border-radius);
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 0 15px rgba(178, 71, 249, 0.1);
  transition: transform var(--transition-speed);
}

.card:hover,
.udp-section:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(178, 71, 249, 0.2);
}

/* Tables */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  border-radius: var(--border-radius);
  overflow: hidden;
  color: var(--text-primary);
}

table th,
table td {
  padding: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

table th {
  background-color: rgba(255, 255, 255, 0.05);
  font-weight: bold;
}

table tr:hover {
  background-color: rgba(255, 255, 255, 0.03);
}

/* Navigation */
.udp-navigation {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin: 1.5rem 0;
}

/* Highlight Badges */
.highlight,
.value-highlight {
  display: inline-block;
  padding: 0.5rem 1.2rem;
  border-radius: var(--border-radius);
  font-weight: bold;
  font-size: 1.1rem;
  background: linear-gradient(135deg, var(--wp--preset--color--primary), var(--wp--preset--color--secondary));
  color: #fff;
  box-shadow: 0 0 10px rgba(178, 71, 249, 0.4);
}

/* Chart Box */
#crypto-chart {
  background: var(--card-bg);
  border-radius: var(--border-radius);
  padding: 1rem;
  margin: 1.5rem 0;
}

#crypto-chart iframe {
  width: 100%;
  height: 500px;
  border: none;
  border-radius: 8px;
}

/* Document List */
#udp-dashboard ul {
  list-style: none;
  padding: 0;
}

#udp-dashboard ul li {
  background: var(--card-bg);
  padding: 1rem;
  border-radius: var(--border-radius);
  margin-bottom: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all var(--transition-speed);
}

#udp-dashboard ul li:hover {
  background-color: rgba(255, 255, 255, 0.05);
}

#udp-dashboard ul li a {
  color: var(--wp--preset--color--primary);
  text-decoration: none;
}

#udp-dashboard ul li a:hover {
  color: var(--wp--preset--color--secondary);
}

/* Responsive */
@media (max-width: 768px) {
  .udp-navigation {
    flex-direction: column;
  }

  .udp-navigation button,
  .udp-navigation a,
  button {
    width: 100%;
  }

  #udp-dashboard h1.dashboard-title {
    font-size: 2rem;
  }

  table {
    display: block;
    overflow-x: auto;
  }
}
