/* Basic Form Styling */
.dpm-form-container {
  max-width: 600px;
  margin: 30px auto;
  padding: 25px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
  font-family:arial;
}

.dpm-form-field {
  margin-bottom: 10px;
}

.dpm-form-field label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #333;
}

.dpm-form-field input[type="text"],
.dpm-form-field input[type="email"],
.dpm-form-field input[type="password"],
.dpm-form-field input[type="number"],
.dpm-form-field input[type="date"],
.dpm-form-field textarea,
.dpm-form-field select {
  width: 100%;
  padding: 10px 15px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 16px;
  transition: border-color 0.3s;
}

.dpm-form-field textarea {
  min-height: 100px;
  resize: vertical;
}

.dpm-form-field input:focus,
.dpm-form-field textarea:focus,
.dpm-form-field select:focus {
  border-color: #0073aa;
  outline: none;
  box-shadow: 0 0 0 2px rgba(0, 115, 170, 0.2);
}

.dpm-btn {
  display: block;
  width: 100%;
  padding: 14px;
  background: #0073aa;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s;
}

.dpm-btn:hover {
  background: #005177;
}

.dpm-form-footer {
  margin-top: 20px;
  text-align: center;
  padding-top: 15px;
  border-top: 1px solid #eee;
}

/* Alerts */
.dpm-alert {
  padding: 15px;
  margin-bottom: 20px;
  border-radius: 6px;
}

.dpm-alert-error {
  background: #f8d7da;
  border: 1px solid #f5c6cb;
  color: #721c24;
}

.dpm-alert-success {
  background: #d4edda;
  border: 1px solid #c3e6cb;
  color: #155724;
}

/* Dashboard Styling */
.dpm-dashboard {
  max-width: 1200px;
  margin: 30px auto;
  padding: 25px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.dpm-dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
}

.dpm-user-info {
  display: flex;
  gap: 15px;
  font-weight: 600;
}

.dpm-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
  border-bottom: 1px solid #eee;
  padding-bottom: 10px;
}

.dpm-tab {
  padding: 10px 20px;
  background: #f5f5f5;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.3s;
}

.dpm-tab.active,
.dpm-tab:hover {
  background: #0073aa;
  color: #fff;
}

.dpm-tab-content {
  display: none;
  padding: 20px 0;
}

.dpm-tab-content.active {
  display: block;
}

.dpm-profile-form {
  max-width: 700px;
  margin: 0 auto;
}

.dpm-static-value {
  padding: 12px 0;
  font-weight: 600;
}

/* Tables */
.dpm-table-responsive {
  overflow-x: auto;
}

.dpm-table {
  width: 100%;
  border-collapse: collapse;
}

.dpm-table th,
.dpm-table td {
  padding: 12px 15px;
  text-align: left;
  border-bottom: 1px solid #eee;
}

.dpm-table th {
  background: #f8f9fa;
  font-weight: 600;
}

.dpm-table tr:hover {
  background-color: #f8f9fa;
}

/* Rewards Section */
.dpm-rewards-summary {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
}

.dpm-reward-card {
  flex: 1;
  padding: 20px;
  background: #f8f9fa;
  border-radius: 8px;
  text-align: center;
}

.dpm-reward-amount {
  font-size: 24px;
  font-weight: 700;
  color: #0073aa;
  margin: 10px 0;
}

.dpm-rewards-info {
  background: #e7f4ff;
  padding: 20px;
  border-radius: 8px;
  border-left: 4px solid #0073aa;
}

/* Status Indicators */
.dpm-status {
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}

.dpm-status.approved {
  background: #d4edda;
  color: #155724;
}

.dpm-status.pending {
  background: #fff3cd;
  color: #856404;
}

.dpm-status.suspended {
  background: #f8d7da;
  color: #721c24;
}

/* Logout Button */
.dpm-logout-btn {
  display: inline-block;
  padding: 10px 20px;
  background: #dc3545;
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  transition: background 0.3s;
}

.dpm-logout-btn:hover {
  background: #bd2130;
  color: #fff;
}
/*Members List in Partners dashboard*/
.dpm-table-container {
    max-height: 300px;
    overflow-y: auto;
    border: 1px solid #ccc;
}
.dpm-table {
    width: 100%;
    border-collapse: collapse;
}
.dpm-table th, .dpm-table td {
    border: 1px solid #ccc;
    padding: 10px;
    text-align: left;
}
.dpm-table th {
    background-color: #f5f5f5;
}
