
/* === BP Dashboard & Admin Styling === */

.bpdashboard-container {
    background-color: rgba(14, 15, 16, 0.75);
    padding: 30px;
    border-radius: 8px;
    width: 90%;
    max-width: 500px;
    margin: 0px 0 20px 60px; /* Further reduced top margin for better alignment */
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
    text-align: left;
    color: #ffbe55;
}

.bpdashboard-container h2 {
    font-size: 26px;
    color: #ffbe55;
    margin-bottom: 5px;
    margin-top: 0; /* Ensure no extra space on top */
}

.bpdashboard-subtitle {
    text-align: left;
    margin-left: 0;
    padding-left: 0;
    margin-top: 5px; /* Minor spacing below the title */
}

.bpdashboard-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-align: left;
}

.bpdashboard-links a {
    padding: 12px 15px;
    background-color: #1c1d1f;
    border: 1px solid #ffbe55;
    border-radius: 6px;
    color: #ffbe55;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.bpdashboard-links a:hover {
    background-color: #ffbe55;
    color: #0e0f10;
}

.bpdashboard-links .logout-link {
    color: #bfbfbf;
    border-color: #bfbfbf;
    border-radius: 4px;
    padding: 8px 12px;
}

.bpdashboard-links .logout-link:hover {
    background-color: #bfbfbf;
    color: #0e0f10;
}

.dashboard-wrapper {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 20px 30px 60px;
    max-width: 1280px;
    margin: 0 auto;
    min-height: calc(100vh - 115px);
    flex-wrap: wrap;
    gap: 30px;
}

.dashboard-card {
    background-color: rgba(14, 15, 16, 0.75);
    padding: 5px 30px 30px 30px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
    color: #ffbe55;
    max-width: 400px;
    width: 100%;
    text-align: center;
}

.dashboard-card h1 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #ffbe55;
}

.dashboard-subtext {
    font-size: 14px;
    color: #dddddd;
    margin-bottom: 20px;
}

.dashboard-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.dashboard-menu li {
    border-top: 1px solid rgba(255,255,255,0.1);
}

.dashboard-menu li:first-child {
    border-top: none;
}

.dashboard-menu li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 15px;
    text-decoration: none;
    color: #ffbe55;
    font-weight: bold;
    transition: background 0.3s;
}

.dashboard-menu li a:hover {
    background-color: rgba(255, 190, 85, 0.08);
    border-radius: 4px;
}

/* === Header Styling === */
.admin-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: rgba(14, 15, 16, 0.75);
    padding: 10px 30px 20px;
    height: 200px;
    width: 95%;
    max-width: 1280px;
    margin: 30px auto 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
    box-sizing: border-box;
    z-index: 10;
}

.header-logo {
    height: 170px;
    width: auto;
    box-sizing: content-box;
}

.site-header-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    height: 100%;
    padding-left: 20px;
}

.site-title-link {
    font-size: 24px;
    font-weight: bold;
    color: #ffbe55;
    text-decoration: none;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.site-title-link:hover {
    color: #ffffff;
}

.wide-card {
    max-width: 700px;
}

.site-logout-link {
    font-size: 14px;
    font-weight: bold;
    color: #bfbfbf;
    text-decoration: none;
    margin-top: 6px;
    margin-bottom: 10px;
    padding: 4px 8px;
    background-color: transparent;
    border: 1px solid #bfbfbf;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.site-logout-link:hover {
    background-color: #bfbfbf;
    color: #0e0f10;
}

/* === Responsive Design === */
@media (max-width: 1024px) {
  .admin-header {
    flex-direction: column;
    height: auto;
    padding: 20px;
    text-align: center;
  }

  .site-header-right {
    align-items: center;
    padding-left: 0;
    margin-top: 10px;
  }

  .header-logo {
    height: 120px;
    padding: 10px;
  }

  .site-title-link {
    font-size: 22px;
  }

  .site-logout-link {
    font-size: 13px;
    padding: 6px 10px;
  }

  .dashboard-wrapper {
    flex-direction: column;
    align-items: center;
    padding: 20px;
    margin-top: 0;
  }

  .dashboard-card {
    max-width: 90%;
    margin: 0 auto 20px;
  }

  .dashboard-info-box {
    width: 90%;
    margin: 0 auto;
  }

  .bpdashboard-container {
    width: 95%;
    padding: 20px;
    margin: 30px auto;
    text-align: center;
  }
}

@media (max-width: 600px) {
  .admin-header {
    width: 100%;
    border-radius: 0;
    margin: 0;
  }

  .dashboard-wrapper {
    margin-top: 10px;
    padding: 10px;
    flex-direction: column;
    align-items: center;
  }

  .dashboard-card,
  .dashboard-info-box {
    padding: 20px;
    width: 95%;
    max-width: 95%;
    margin: 0 auto 0px;
    box-sizing: border-box;
  }

  .bpdashboard-links a,
  .dashboard-menu li a,
  .dashboard-menu li a.logout {
    font-size: 14px;
    padding: 10px 12px;
  }

  .site-title-link {
    font-size: 20px;
  }
}

/* === Dashboard Info Box (Styled Like Main Page) === */
.dashboard-info-box {
    background-color: rgba(14, 15, 16, 0.75);
    border-radius: 8px;
    box-sizing: border-box;
    color: #dddddd;
    font-size: 16px;
    line-height: 1.6;
    padding: 30px;
    flex: 1;
    min-width: 300px;
    margin-top: 0;
}

.dashboard-info-box h2,
.dashboard-info-box h3 {
    color: #ffbe55;
    margin-top: 0;
}

.dashboard-info-box a {
    color: #ffbe55;
    text-decoration: none;
    font-weight: bold;
}

.dashboard-info-box a:hover {
    text-decoration: underline;
}

@media (max-width: 1024px) {
  .dashboard-info-box {
      width: 95%;
      max-width: 95%;
      margin-top: 0px;
      padding: 20px;
  }
}
