/* =========================================================
   LOGGED-IN STARTUP OPPORTUNITIES
========================================================= */

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #f5f7fb;
  color: #061a44;
}

button,
input,
select,
textarea {
  font-family: inherit;
}

.opportunities-dashboard {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  min-height: 100vh;
}

/* =========================================================
   SIDEBAR
========================================================= */

.opportunities-dashboard .dash-sidebar {
  min-height: 100vh;
  padding: 35px 24px;
  background: #061a44;
  color: #ffffff;
}

.opportunities-dashboard .dash-logo {
  width: 170px;
  margin-bottom: 45px;
}

.opportunities-dashboard nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.opportunities-dashboard nav a {
  padding: 15px;
  border-radius: 12px;
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  transition:
    background 0.25s ease,
    color 0.25s ease,
    transform 0.25s ease;
}

.opportunities-dashboard nav a:hover {
  transform: translateX(3px);
}

.opportunities-dashboard nav a.active,
.opportunities-dashboard nav a:hover {
  background: rgba(53, 199, 89, 0.18);
  color: #35c759;
}

.opportunity-sidebar-card {
  margin-top: 50px;
  padding: 22px;
  border-radius: 18px;
  background:
    radial-gradient(
      circle at 85% 10%,
      rgba(137, 87, 255, 0.32),
      transparent 34%
    ),
    linear-gradient(
      135deg,
      #152e7a,
      #4e2ab0
    );
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.2);
}

.sidebar-card-icon {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.12);
  font-size: 20px;
}

.opportunity-sidebar-card h3 {
  margin: 18px 0 10px;
  color: #ffffff;
  font-size: 20px;
}

.opportunity-sidebar-card p {
  margin: 0;
  color: #d8e2f2;
  font-size: 14px;
  line-height: 1.6;
}

.opportunity-sidebar-card button {
  width: 100%;
  min-height: 46px;
  margin-top: 20px;
  border: 0;
  border-radius: 10px;
  background: #35c759;
  color: #061a44;
  cursor: pointer;
  font-weight: 800;
  transition:
    transform 0.25s ease,
    background 0.25s ease;
}

.opportunity-sidebar-card button:hover {
  transform: translateY(-2px);
  background: #5bd876;
}

/* =========================================================
   MAIN LAYOUT
========================================================= */

.opportunities-main {
  min-width: 0;
  padding: 38px;
  background: #f5f7fb;
}

/* =========================================================
   PAGE HEADER
========================================================= */

.opportunities-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 28px;
}

.opportunities-topbar h1 {
  margin: 0;
  color: #061a44;
  font-size: 34px;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.page-description {
  max-width: 720px;
  margin: 10px 0 0;
  color: #5f6b82;
  font-size: 15px;
  line-height: 1.6;
}

.header-post-button {
  flex: 0 0 auto;
}

/* =========================================================
   POST PROJECT BUTTON
========================================================= */

.post-project-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 20px;
  border: 0;
  border-radius: 11px;
  background: #35c759;
  color: #061a44;
  cursor: pointer;
  font-weight: 900;
  box-shadow: 0 12px 26px rgba(53, 199, 89, 0.24);
  transition:
    transform 0.25s ease,
    background 0.25s ease,
    box-shadow 0.25s ease;
}

.post-project-button span {
  font-size: 23px;
  line-height: 1;
}

.post-project-button:hover {
  transform: translateY(-2px);
  background: #5bd876;
  box-shadow: 0 18px 36px rgba(53, 199, 89, 0.3);
}

/* =========================================================
   DISCOVERY PANEL
========================================================= */

.opportunity-discovery-panel {
  margin-bottom: 36px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 20px;
  background:
    radial-gradient(
      circle at 88% 8%,
      rgba(105, 56, 201, 0.26),
      transparent 30%
    ),
    radial-gradient(
      circle at 8% 100%,
      rgba(53, 199, 89, 0.12),
      transparent 30%
    ),
    linear-gradient(
      135deg,
      #061a44,
      #0b2a62
    );
  box-shadow: 0 20px 46px rgba(6, 26, 68, 0.17);
}

/* =========================================================
   TABS
========================================================= */

.opportunity-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.opportunity-tab {
  min-height: 40px;
  padding: 0 15px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #c4d0e4;
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
  transition:
    color 0.25s ease,
    background 0.25s ease;
}

.opportunity-tab:hover,
.opportunity-tab.active {
  background: rgba(53, 199, 89, 0.17);
  color: #72e392;
}

/* =========================================================
   SEARCH
========================================================= */

.opportunity-search-box {
  min-height: 54px;
  display: grid;
  grid-template-columns: 28px 1fr;
  align-items: center;
  padding: 0 17px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.opportunity-search-box span {
  font-size: 16px;
}

.opportunity-search-box input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: #061a44;
  font-size: 14px;
}

.opportunity-search-box input::placeholder {
  color: #8e99ad;
}

/* =========================================================
   FILTERS
========================================================= */

.opportunity-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 16px;
}

.opportunity-filter,
.advanced-filter-button {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #c5d0e2;
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
  transition:
    transform 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease;
}

.opportunity-filter:hover,
.advanced-filter-button:hover {
  transform: translateY(-1px);
  border-color: rgba(115, 230, 143, 0.46);
  background: rgba(53, 199, 89, 0.14);
  color: #ffffff;
}

.opportunity-filter.active {
  border-color: #35c759;
  background: #35c759;
  color: #061a44;
}

/* =========================================================
   SECTION HEADERS
========================================================= */

.opportunity-section {
  margin-bottom: 36px;
}

.section-label {
  margin: 0 0 9px;
  color: #15993a;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.opportunity-section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 20px;
}

.opportunity-section-heading h2 {
  margin: 0;
  color: #061a44;
  font-size: 27px;
  letter-spacing: -0.03em;
}

.opportunity-section-heading p:not(.section-label) {
  max-width: 700px;
  margin: 8px 0 0;
  color: #5f6b82;
  line-height: 1.6;
}

.opportunity-section-heading a {
  flex: 0 0 auto;
  color: #15993a;
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
}

.opportunity-section-heading a:hover {
  text-decoration: underline;
}

/* =========================================================
   RECOMMENDED PROJECT CARDS
========================================================= */

.recommended-project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.opportunity-card {
  display: flex;
  flex-direction: column;
  padding: 24px;
  border: 1px solid #e2e8f1;
  border-radius: 18px;
  background: #fbfcfe;
  box-shadow: 0 10px 28px rgba(6, 26, 68, 0.05);
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.opportunity-card:hover {
  transform: translateY(-4px);
  border-color: rgba(53, 199, 89, 0.42);
  box-shadow: 0 18px 38px rgba(6, 26, 68, 0.09);
}

.opportunity-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.project-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.project-logo {
  flex: 0 0 auto;
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 15px;
  background: linear-gradient(135deg, #35c759, #5f7eea);
  color: #061a44;
  font-size: 16px;
  font-weight: 900;
}

.impact-logo {
  background: linear-gradient(135deg, #73e497, #219d4d);
}

.project-title-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
}

.project-title-row h3 {
  margin: 0;
  color: #061a44;
  font-size: 23px;
  letter-spacing: -0.03em;
}

.match-badge {
  padding: 6px 9px;
  border-radius: 999px;
  background: #f2eaff;
  color: #6938c9;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.project-sector {
  margin: 6px 0 0;
  color: #15993a;
  font-size: 11px;
  font-weight: 800;
}

.save-project-button {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border: 1px solid #dce3ee;
  border-radius: 11px;
  background: #ffffff;
  color: #5f6b82;
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
  transition:
    color 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease;
}

.save-project-button:hover,
.save-project-button.saved {
  border-color: #35c759;
  background: #e9f8ee;
  color: #15993a;
}

.project-description {
  margin: 20px 0;
  color: #5f6b82;
  line-height: 1.65;
}

.founder-summary {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px;
  border: 1px solid #e8edf4;
  border-radius: 13px;
  background: #ffffff;
}

.founder-avatar {
  flex: 0 0 auto;
  width: 43px;
  height: 43px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #e9f8ee;
  color: #15993a;
  font-size: 13px;
  font-weight: 900;
}

.founder-summary span,
.founder-summary a,
.founder-summary p {
  display: block;
}

.founder-summary span {
  color: #8b96a9;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.founder-summary a {
  width: fit-content;
  margin-top: 3px;
  color: #061a44;
  text-decoration: none;
  font-size: 14px;
  font-weight: 900;
}

.founder-summary a:hover {
  color: #15993a;
}

.founder-summary p {
  margin: 3px 0 0;
  color: #66738a;
  font-size: 11px;
}

.project-meta-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 18px;
}

.project-meta-grid > div {
  padding: 12px;
  border-radius: 11px;
  background: #f1f4f8;
}

.meta-label {
  display: block;
  margin-bottom: 6px;
  color: #8994a7;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-meta-grid strong {
  color: #061a44;
  font-size: 12px;
}

.project-role-section {
  margin-top: 18px;
}

.role-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.role-tags span {
  padding: 7px 10px;
  border-radius: 999px;
  background: #eaf1ff;
  color: #245fd6;
  font-size: 10px;
  font-weight: 800;
}

.impact-summary {
  margin-top: 17px;
  padding: 13px;
  border: 1px solid #cfead8;
  border-radius: 12px;
  background: #edf9f1;
}

.impact-summary span {
  color: #15993a;
  font-size: 11px;
  font-weight: 900;
}

.impact-summary p {
  margin: 6px 0 0;
  color: #4e6657;
  font-size: 11px;
  line-height: 1.5;
}

.opportunity-card-footer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: auto;
  padding-top: 20px;
}

.secondary-project-button,
.apply-project-button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  cursor: pointer;
  text-decoration: none;
  font-size: 12px;
  font-weight: 900;
  transition:
    transform 0.25s ease,
    background 0.25s ease,
    border-color 0.25s ease;
}

.secondary-project-button {
  border: 1px solid #d8e0ef;
  background: #ffffff;
  color: #061a44;
}

.apply-project-button {
  border: 0;
  background: #35c759;
  color: #061a44;
}

.secondary-project-button:hover,
.apply-project-button:hover {
  transform: translateY(-2px);
}

.secondary-project-button:hover {
  border-color: #35c759;
  background: #e9f8ee;
}

.apply-project-button:hover {
  background: #5bd876;
}

/* =========================================================
   VIEW CONTROLS
========================================================= */

.project-view-controls {
  display: flex;
  gap: 7px;
}

.view-button {
  width: 38px;
  height: 38px;
  border: 1px solid #d8e0ef;
  border-radius: 9px;
  background: #ffffff;
  color: #5f6b82;
  cursor: pointer;
  font-size: 16px;
}

.view-button.active,
.view-button:hover {
  border-color: #35c759;
  background: #e9f8ee;
  color: #15993a;
}

/* =========================================================
   ALL PROJECT ROWS
========================================================= */

.all-projects-placeholder {
  display: grid;
  gap: 14px;
}

.project-row-placeholder {
  display: grid;
  grid-template-columns:
    64px
    minmax(260px, 1fr)
    minmax(105px, auto)
    minmax(105px, auto)
    auto;
  align-items: center;
  gap: 20px;
  padding: 20px;
  border: 1px solid #e5eaf2;
  border-radius: 16px;
  background: #fbfcfe;
  box-shadow: 0 8px 22px rgba(6, 26, 68, 0.04);
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.project-row-placeholder:hover {
  transform: translateY(-2px);
  border-color: rgba(53, 199, 89, 0.4);
  box-shadow: 0 14px 30px rgba(6, 26, 68, 0.07);
}

.row-placeholder-icon {
  width: 58px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 15px;
  background: linear-gradient(135deg, #35c759, #5f7eea);
  color: #061a44;
  font-size: 17px;
  font-weight: 900;
}

.project-category {
  color: #15993a;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.row-placeholder-main h3 {
  margin: 6px 0;
  color: #061a44;
  font-size: 20px;
  letter-spacing: -0.02em;
}

.row-placeholder-main p {
  margin: 0;
  color: #5f6b82;
  font-size: 13px;
  line-height: 1.5;
}

.row-placeholder-detail span,
.row-placeholder-detail strong {
  display: block;
}

.row-placeholder-detail span {
  margin-bottom: 5px;
  color: #8a95a8;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.row-placeholder-detail strong {
  color: #061a44;
  font-size: 13px;
}

.row-view-button {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 15px;
  border: 1px solid #d8e0ef;
  border-radius: 9px;
  background: #ffffff;
  color: #061a44;
  cursor: pointer;
  text-decoration: none;
  font-size: 12px;
  font-weight: 800;
}

.row-view-button:hover {
  border-color: #35c759;
  background: #e9f8ee;
  color: #15993a;
}

/* =========================================================
   TEMPORARY TAB PANELS
========================================================= */

.temporary-opportunity-panel {
  padding: 60px 30px;
  border: 1px solid #e5eaf2;
  border-radius: 18px;
  background: #fbfcfe;
  text-align: center;
  box-shadow: 0 10px 28px rgba(6, 26, 68, 0.05);
}

.temporary-opportunity-icon {
  width: 62px;
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  border-radius: 18px;
  background: linear-gradient(135deg, #35c759, #5f7eea);
  font-size: 26px;
}

.temporary-opportunity-panel h2 {
  margin: 0;
  color: #061a44;
  font-size: 28px;
}

.temporary-opportunity-panel p {
  max-width: 520px;
  margin: 12px auto 24px;
  color: #5f6b82;
  line-height: 1.6;
}

.temporary-opportunity-panel button {
  min-height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: 10px;
  background: #35c759;
  color: #061a44;
  cursor: pointer;
  font-weight: 900;
}

/* =========================================================
   TAB PANELS
========================================================= */

.opportunity-tab-panel {
  margin-bottom: 36px;
}

.empty-tab-state {
  padding: 65px 30px;
  border: 1px solid #e2e8f1;
  border-radius: 18px;
  background: #ffffff;
  text-align: center;
  box-shadow: 0 10px 28px rgba(6, 26, 68, 0.05);
}

.empty-tab-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  border-radius: 18px;
  background: linear-gradient(
    135deg,
    #35c759,
    #5f7eea
  );
  font-size: 27px;
}

.empty-tab-state h2 {
  margin: 0;
  color: #061a44;
  font-size: 27px;
}

.empty-tab-state p {
  max-width: 520px;
  margin: 12px auto 24px;
  color: #5f6b82;
  line-height: 1.6;
}

.return-discover-button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 0;
  border-radius: 10px;
  background: #35c759;
  color: #061a44;
  cursor: pointer;
  text-decoration: none;
  font-weight: 900;
}

/* =========================================================
   APPLICATION TRACKER
========================================================= */

.tab-panel-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 20px;
}

.tab-panel-heading h2 {
  margin: 0;
  color: #061a44;
  font-size: 27px;
}

.tab-panel-heading p:not(.section-label) {
  margin: 8px 0 0;
  color: #5f6b82;
}

.application-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 13px;
  border-radius: 999px;
  background: #e9f8ee;
  color: #15993a;
  text-decoration: none;
  font-size: 12px;
  font-weight: 900;
}

.application-tracker-list {
  display: grid;
  gap: 14px;
}

.application-tracker-card {
  display: grid;
  grid-template-columns:
    minmax(240px, 1fr)
    minmax(110px, auto)
    auto;
  align-items: center;
  gap: 22px;
  padding: 20px;
  border: 1px solid #e2e8f1;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 8px 22px rgba(6, 26, 68, 0.04);
}

.application-tracker-main {
  display: flex;
  align-items: center;
  gap: 14px;
}

.application-project-icon {
  flex: 0 0 auto;
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 15px;
  background: linear-gradient(
    135deg,
    #35c759,
    #5f7eea
  );
  color: #061a44;
  font-weight: 900;
}

.application-small-label {
  color: #15993a;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.application-tracker-main h3 {
  margin: 4px 0;
  color: #061a44;
  font-size: 19px;
}

.application-tracker-main p {
  margin: 0;
  color: #7b879b;
  font-size: 12px;
}

.application-status span,
.application-status strong {
  display: block;
}

.application-status span {
  margin-bottom: 6px;
  color: #8a95a8;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.application-status strong {
  width: fit-content;
  padding: 7px 10px;
  border-radius: 999px;
  background: #eaf1ff;
  color: #245fd6;
  font-size: 11px;
}

.application-tracker-actions {
  display: flex;
  gap: 8px;
}

.application-tracker-actions a,
.application-tracker-actions button {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 13px;
  border-radius: 9px;
  cursor: pointer;
  font-size: 11px;
  font-weight: 900;
  text-decoration: none;
}

.application-tracker-actions a {
  border: 1px solid #d8e0ef;
  background: #ffffff;
  color: #061a44;
}

.application-tracker-actions button {
  border: 1px solid #f0ccd1;
  background: #fff6f7;
  color: #b3263c;
}

/* =========================================================
   MY PROJECTS
========================================================= */

.my-project-list {
  display: grid;
  gap: 18px;
}

.my-project-card {
  padding: 22px;
  border: 1px solid #e2e8f1;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(6, 26, 68, 0.05);
}

.my-project-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 22px;
}

.my-project-identity {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.my-project-logo {
  flex: 0 0 auto;
  width: 58px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: linear-gradient(
    135deg,
    #35c759,
    #5f7eea
  );
  color: #061a44;
  font-size: 16px;
  font-weight: 900;
}

.my-project-identity h3 {
  margin: 5px 0;
  color: #061a44;
  font-size: 22px;
}

.my-project-identity p {
  margin: 0;
  color: #5f6b82;
  line-height: 1.6;
}

.my-project-status {
  padding: 7px 11px;
  border-radius: 999px;
  background: #e9f8ee;
  color: #15993a;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.my-project-meta {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 20px;
}

.my-project-meta > div {
  padding: 13px;
  border-radius: 12px;
  background: #f5f7fb;
}

.my-project-meta span,
.my-project-meta strong {
  display: block;
}

.my-project-meta span {
  margin-bottom: 6px;
  color: #8a95a8;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.my-project-meta strong {
  color: #061a44;
  font-size: 12px;
}

.my-project-section {
  margin-top: 18px;
}

.my-project-impact {
  margin-top: 18px;
  padding: 14px;
  border: 1px solid #cfead8;
  border-radius: 12px;
  background: #edf9f1;
}

.my-project-impact > strong {
  display: block;
  margin-bottom: 10px;
  color: #15993a;
  font-size: 12px;
}

.my-project-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid #edf1f6;
}

.my-project-actions button {
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid #d8e0ef;
  border-radius: 9px;
  background: #ffffff;
  color: #061a44;
  cursor: pointer;
  font-size: 11px;
  font-weight: 900;
  transition:
    border-color 0.25s ease,
    background 0.25s ease,
    color 0.25s ease;
}

.my-project-actions button:hover {
  border-color: #35c759;
  background: #e9f8ee;
}

.my-project-actions .manage-applicants-button {
  border-color: #35c759;
  background: #35c759;
  color: #061a44;
}

.my-project-actions .manage-applicants-button:hover {
  background: #5bd876;
}

.my-project-actions .delete-created-project-button {
  margin-left: auto;
  border-color: #f0ccd1;
  background: #fff6f7;
  color: #b3263c;
}

.my-project-actions .delete-created-project-button:hover {
  border-color: #df8d99;
  background: #ffecef;
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1100px) {
  .opportunities-dashboard {
    grid-template-columns: 220px minmax(0, 1fr);
  }

  .opportunities-dashboard .dash-sidebar {
    padding-right: 18px;
    padding-left: 18px;
  }

  .project-row-placeholder {
    grid-template-columns:
      58px
      minmax(220px, 1fr)
      auto;
  }

  .row-placeholder-detail {
    display: none;
  }

  .my-project-meta {
    grid-template-columns: 1fr 1fr;
  }

  .my-project-card-top {
    flex-direction: column;
  }

  .my-project-actions button {
    flex: 1;
  }

  .my-project-actions .delete-created-project-button {
    margin-left: 0;
  }
}

@media (max-width: 820px) {
  .opportunities-dashboard {
    display: block;
  }

  .opportunities-dashboard .dash-sidebar {
    min-height: auto;
  }

  .opportunities-dashboard nav {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  .opportunity-sidebar-card {
    display: none;
  }

  .opportunities-main {
    padding: 28px 20px;
  }

  .opportunities-topbar,
  .opportunity-section-heading,
  .tab-panel-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .post-project-button {
    width: 100%;
  }

  .recommended-project-grid {
    grid-template-columns: 1fr;
  }

  .application-tracker-card {
    grid-template-columns: 1fr;
  }

  .application-tracker-actions {
    width: 100%;
  }

  .application-tracker-actions a,
  .application-tracker-actions button {
    flex: 1;
  }
}

@media (max-width: 560px) {
  .opportunities-dashboard nav {
    grid-template-columns: 1fr;
  }

  .opportunities-topbar h1 {
    font-size: 31px;
  }

  .opportunity-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .opportunity-tab {
    width: 100%;
  }

  .opportunity-discovery-panel {
    padding: 18px;
  }

  .project-row-placeholder {
    grid-template-columns: 52px 1fr;
  }

  .row-view-button {
    grid-column: 1 / -1;
    width: 100%;
  }

  .opportunity-section-heading h2 {
    font-size: 24px;
  }

  .project-meta-grid {
    grid-template-columns: 1fr;
  }

  .opportunity-card-footer {
    grid-template-columns: 1fr;
  }

  .project-title-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .my-project-meta {
    grid-template-columns: 1fr;
  }

  .my-project-identity {
    flex-direction: column;
  }

  .my-project-actions {
    flex-direction: column;
  }

  .my-project-actions button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
