/* --- Global Styles & Variables (From your theme) --- */
:root {
  --primary-bg: #02141f;
  --secondary-bg: #111827;
  --accent-color: #00b4d8;
  --text-color: #f4f4f4;
  --white-color: #ffffff;
  --status-pending: #fca11a;
  --status-approved: #28a745;
  --status-rejected: #dc3545;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: "Poppins", sans-serif;
  line-height: 1.6;
  background-color: var(--primary-bg);
  color: var(--text-color);
  overflow-x: hidden;
}
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
h2 {
  font-size: 2.8rem;
  text-align: center;
  color: var(--white-color);
  margin-bottom: 10px;
}
h3 {
  font-size: 1.4rem;
  color: var(--accent-color);
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}
p {
  color: var(--text-color);
  opacity: 0.9;
}
a {
  text-decoration: none;
  color: var(--accent-color);
}

/* --- Re-using Navbar and Footer Styles --- */
.navbar {
  background: rgba(2, 18, 31, 0.9);
  backdrop-filter: blur(10px);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.navbar .logo img {
  height: 50px;
  border-radius: 50%;
}
.navbar nav ul {
  display: flex;
  list-style: none;
  align-items: center;
}
.navbar nav ul li a {
  color: var(--white-color);
  padding: 0.5rem 1rem;
  margin: 0 0.5rem;
  font-weight: 600;
}
.footer {
  background: var(--secondary-bg);
  text-align: center;
  padding: 40px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* --- Dashboard Section --- */
.dashboard-section {
  padding: 60px 0 80px;
  background: var(--secondary-bg);
  min-height: 80vh;
}
.dashboard-header {
  text-align: center;
  margin-bottom: 50px;
}
.section-subtitle {
  max-width: 600px;
  margin: 0 auto;
  opacity: 0.8;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.dashboard-card {
  background: rgba(17, 24, 39, 0.7);
  border-radius: 12px;
  border: 1px solid rgba(173, 230, 243, 0.1);
  padding: 30px;
}
.dashboard-card.full-width {
  grid-column: 1 / -1; /* Make this card span the full width */
}
.dashboard-card p {
  font-size: 0.9rem;
  opacity: 0.7;
  margin-bottom: 25px;
}

/* --- Profile Form --- */
.profile-form label {
  display: block;
  font-weight: 500;
  margin-bottom: 5px;
  opacity: 0.8;
}
.profile-form input {
  width: 100%;
  padding: 12px;
  background-color: rgba(0, 109, 119, 0.3);
  border: 1px solid rgba(0, 180, 216, 0.3);
  border-radius: 8px;
  color: var(--white-color);
  font-size: 1rem;
  font-family: "Poppins", sans-serif;
  margin-bottom: 20px;
}
.profile-form input:disabled {
  background-color: rgba(0, 0, 0, 0.2);
  opacity: 0.5;
  cursor: not-allowed;
}

/* --- Publication List --- */
.publication-list {
  list-style: none;
  padding: 0;
}
.publication-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.publication-list li:last-child {
  border-bottom: none;
}
.publication-list .title {
  opacity: 0.9;
}
.publication-list .status {
  font-size: 0.85rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 15px;
  white-space: nowrap;
}
.status.pending {
  background-color: rgba(252, 161, 26, 0.2);
  color: var(--status-pending);
}
.status.approved {
  background-color: rgba(40, 167, 69, 0.2);
  color: var(--status-approved);
}
.status.rejected {
  background-color: rgba(220, 53, 69, 0.2);
  color: var(--status-rejected);
}

/* --- Account Settings --- */
.settings-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}
.action-item {
  border-left: 3px solid rgba(0, 180, 216, 0.3);
  padding-left: 20px;
}

/* --- Action Buttons --- */
.action-btn,
.action-btn-secondary,
.action-btn-danger {
  display: inline-block;
  padding: 10px 25px;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  transition: all 0.3s ease;
  font-family: "Poppins", sans-serif;
}
.action-btn {
  background-color: var(--accent-color);
  color: var(--white-color);
}
.action-btn:hover {
  background-color: #4ecce3;
  transform: translateY(-2px);
}
.action-btn-secondary {
  background-color: rgba(0, 180, 216, 0.15);
  color: var(--accent-color);
  border: 1px solid var(--accent-color);
}
.action-btn-secondary:hover {
  background-color: var(--accent-color);
  color: var(--white-color);
}
.action-btn-danger {
  background-color: rgba(220, 53, 69, 0.15);
  color: var(--status-rejected);
  border: 1px solid var(--status-rejected);
}
.action-btn-danger:hover {
  background-color: var(--status-rejected);
  color: var(--white-color);
}

/* --- Responsive Design --- */
@media (max-width: 992px) {
  .dashboard-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 768px) {
  .navbar .container {
    flex-direction: column;
  }
  .navbar nav ul {
    margin-top: 10px;
    flex-wrap: wrap;
    justify-content: center;
  }
  .settings-actions {
    grid-template-columns: 1fr;
  }
}
