/* style.css */

/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  background-color: #e9f1f7;
}

/* Header Styles */
header {
  background-color: #1765e2;
  color: white;
  padding: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  position: relative;
}

.user-icon {
  position: absolute;
  right: 50px;
  top: 50%;
  transform: translateY(-50%);
  text-decoration: none;
}

.user-icon i {
  font-size: 3rem;
  color: #ffffff;
  text-shadow: 0 0 5px rgba(0,0,0,0.3); /* soft glow for contrast */
  cursor: pointer;
}

.menu-toggle {
  font-size: 3rem;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  z-index: 1100;
  padding-right: 1rem;
}

header > a img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.logo-placeholder {
  margin-left: auto;
}

.logo-placeholder a {
  display: inline-block;
  width: 180px;
  height: 50px;
  background-color: transparent;
  border-radius: 4px;
  padding-left: 3rem;
}

.logo-placeholder a img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* Dropdown Menu */
.nav-menu {
  position: fixed;
  top: 0;
  left: -100%;
  width: 70%;
  height: 100%;
  background-color: #0095ff;
  color: white;
  display: flex;
  flex-direction: column;
  padding-top: 7rem;
  padding-left: 1.5rem;
  box-shadow: 2px 0 10px rgba(0, 0, 0, 0.3);
  transition: left 0.3s ease-in-out;
  z-index: 1000;
}

.nav-menu a {
  padding: 1rem;
  text-decoration: none;
  font-size: x-large;
  color: white;
  border-bottom: 1px solid #ffffff33;
}

.nav-menu a:hover {
  background-color: #2f6ace;
}

.nav-menu.active {
  left: 0;
}

/* Footer Styles */
footer {
  background-color: #e9f1f7;
  padding: 2rem 1rem;
  text-align: center;
  margin-top: auto;
}

.footer-company-logo a {
  display: inline-block;
  width: 120px;
  height: 120px;
}

.footer-company-logo a img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.footer-company-info p {
  font-size: 0.9rem;
  color: #003f5c;
  margin: 0.3rem 0;
}

/* Landing Page Styles */
.landing-container {
  padding-top: 2rem;
  padding-bottom: 4rem;
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.app-title {
  font-size: 2.5rem;
  font-family: 'Cursive', sans-serif;
  color: #003f5c;
  margin-bottom: 2rem;
}

.app-logo img {
  width: 120px;
  height: 120px;
  object-fit: contain;
  margin-bottom: 2rem;
  border-radius: 15%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.main-btn {
  padding: 0.9rem 1.5rem;
  border-radius: 2rem;
  text-decoration: none;
  font-size: 1rem;
  margin: 0.5rem 0;
  display: inline-block;
  transition: 0.3s ease;
}

.get-started {
  background-color: #1765e2;
  color: white;
}

.get-started:hover {
  background-color: #2f6ace;
}

.tutorial-btn {
  background-color: white;
  color: #1765e2;
  border: 2px solid #1765e2;
}

.tutorial-btn:hover {
  background-color: #e9f1f7;
}

/* Shared Page Layout */
.hook-container,
.problem-container {
  padding: 6rem 1.5rem 4rem;
  max-width: 500px;
  margin: 0 auto;
}

.step-status {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  color: #003f5c;
}

.step-status a.back-btn {
  color: #003f5c;
  font-size: 1.2rem;
}

progress {
  flex: 1;
  height: 10px;
  appearance: none;
  border-radius: 5px;
  overflow: hidden;
}

progress::-webkit-progress-bar {
  background-color: #eee;
}

progress::-webkit-progress-value {
  background-color: #6495ed;
}

textarea {
  width: 100%;
  border: 1px solid #333;
  border-radius: 8px;
  padding: 0.8rem;
  resize: none;
  font-size: 1rem;
  margin-bottom: 1.5rem;
  margin-top: 0.5rem;
}

.example-box {
  background-color: #6495ed;
  padding: 1rem;
  border-radius: 10px;
  color: white;
  font-size: 0.9rem;
  margin: 1rem 0;
}

.next-btn {
  margin: 2rem auto 0;
  background-color: #1765e2;
  color: white;
  border: none;
  padding: 0.8rem 1.3rem;
  border-radius: 50%;
  display: block;
  font-size: 1.2rem;
  cursor: pointer;
}

.next-btn:hover {
  background-color: #2f6ace;
}

/* Hook Page Specific */
.suggestions-label {
  color: gray;
  font-size: 0.9rem;
  margin: 1rem 0 0.5rem;
}

.suggestions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  overflow-y: auto;
  max-height: 200px;
}

.suggestions button {
  background-color: #1765e2;
  color: white;
  padding: 0.6rem 1rem;
  border-radius: 2rem;
  border: none;
  text-align: left;
  font-size: 0.9rem;
  cursor: pointer;
  transition: 0.3s;
}

.suggestions button:hover {
  background-color: #2f6ace;
}

/* Introduce Page */
.introduce-container {
  padding: 6rem 1.5rem 4rem;
  max-width: 500px;
  margin: 0 auto;
}

.introduce-container input[type="text"] {
  width: 100%;
  border: 1px solid #333;
  border-radius: 8px;
  padding: 0.8rem;
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

/* Solution Page */
.solution-container {
  padding: 6rem 1.5rem 4rem;
  max-width: 500px;
  margin: 0 auto;
}

.solution-container input[type="text"] {
  width: 100%;
  border: 1px solid #333;
  border-radius: 8px;
  padding: 0.8rem;
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

/* Difference Page */
.difference-container {
  padding: 6rem 1.5rem 4rem;
  max-width: 500px;
  margin: 0 auto;
}

.difference-container input[type="text"] {
  width: 100%;
  border: 1px solid #333;
  border-radius: 8px;
  padding: 0.8rem;
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

/* Success Page */
.success-container {
  padding: 6rem 1.5rem 4rem;
  max-width: 500px;
  margin: 0 auto;
}

.success-container input[type="text"] {
  width: 100%;
  border: 1px solid #333;
  border-radius: 8px;
  padding: 0.8rem;
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

/*Call to action page*/
.cta-container {
  padding: 6rem 1.5rem 4rem;
  max-width: 500px;
  margin: 0 auto;
}

.cta-container textarea {
  width: 100%;
  border: 1px solid #333;
  border-radius: 8px;
  padding: 0.8rem;
  resize: none;
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

/* almostthere page */
.almost-container {
  padding: 6rem 1.5rem 4rem;
  max-width: 500px;
  margin: 0 auto;
}

.almost-container h2 {
  font-size: 1.5rem;
  color: #003f5c;
  margin-bottom: 1rem;
}

.almost-container p {
  margin-bottom: 2rem;
  font-size: 1rem;
  color: #333;
}

.almost-container label {
  display: block;
  font-weight: bold;
  margin: 1rem 0 0.5rem;
}

.almost-container input[type="text"],
.almost-container input[type="email"],
.almost-container input[type="password"] {
  width: 100%;
  border: 1px solid #333;
  border-radius: 8px;
  padding: 0.8rem;
  font-size: 1rem;
  margin-bottom: 1rem;
}

.submit-btn {
  background-color: #1765e2;
  color: white;
  border: none;
  padding: 0.8rem 1.5rem;
  border-radius: 2rem;
  font-size: 1rem;
  cursor: pointer;
  display: block;
  margin: 2rem auto 0;
}

.submit-btn:hover {
  background-color: #2f6ace;
}

/* Pitch Page */

.pitch-container {
  padding: 6rem 1.5rem 4rem;
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.pitch-container h2 {
  font-size: 1.6rem;
  margin-bottom: 2rem;
  color: #003f5c;
}

.pitch-box {
  border: 1px solid #333;
  border-radius: 12px;
  padding: 1rem;
  text-align: left;
  background-color: white;
  margin-bottom: 1rem;
}

.pitch-icons {
  display: flex;
  justify-content: space-between;
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: #003f5c;
}

.pitch-text {
  font-size: 1rem;
  line-height: 1.5rem;
  white-space: pre-wrap;
  outline: none;
}

.grammar-btn {
  background-color: #52948c;
  color: white;
  border: none;
  padding: 0.6rem 1.2rem;
  border-radius: 2rem;
  cursor: pointer;
  font-size: 1rem;
}

.grammar-btn:hover {
  background-color: #0c8126;
}

.grammar-list {
  text-align: left;
  padding-left: 1rem;
  margin-bottom: 1rem;
}

.grammar-list li {
  margin-bottom: 0.5rem;
}

.retry-btn {
  display: inline-block;
  margin-top: 1rem;
  background-color: #1765e2;
  color: white;
  padding: 0.6rem 1.2rem;
  border-radius: 2rem;
  text-decoration: none;
}

.retry-btn:hover {
  background-color: #2f6ace;
}

.message-box {
  padding: 1rem;
  margin: 1rem auto;
  max-width: 500px;
  border-radius: 8px;
  font-size: 0.95rem;
  text-align: center;
}

.message-box.success {
  background-color: #d4edda;
  color: #155724;
}

.message-box.error {
  background-color: #f8d7da;
  color: #721c24;
}

.message-box.info {
  background-color: #d1ecf1;
  color: #0c5460;
}

.pitch-icons i.icon-btn {
  cursor: pointer;
  margin-right: 0.8rem;
  font-size: 1.4rem;
  color: #1765e2;
  transition: color 0.2s ease;
}

.pitch-icons i.icon-btn:hover {
  color: #2f6ace;
}

/*Sign Up Page*/
/* Form Container */
.form-container {
  max-width: 420px;
  margin: 5rem auto;
  padding: 2rem;
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  text-align: center;
}

/* Heading */
.form-container h2 {
  margin-bottom: 1.5rem;
  color: #1765e2;
  font-size: 1.8rem;
}

/* Form Inputs */
.form-container input[type="text"],
.form-container input[type="email"],
.form-container input[type="password"] {
  width: 100%;
  padding: 0.8rem;
  margin: 0.5rem 0;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 1rem;
}

/* Submit Button */
.form-container button {
  width: 100%;
  padding: 0.9rem;
  margin-top: 1rem;
  background-color: #1765e2;
  color: white;
  font-size: 1rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.form-container button:hover {
  background-color: #2f6ace;
}

/* Error Box */
.error-box {
  background-color: #ffe6e6;
  color: #d8000c;
  padding: 1rem;
  margin-bottom: 1rem;
  border-radius: 5px;
  text-align: left;
}

/* Success Box */
.success-box {
  background-color: #e6ffec;
  color: #2e7d32;
  padding: 1rem;
  margin-bottom: 1rem;
  border-radius: 5px;
}

/* Links */
.form-container a {
  color: #1765e2;
  text-decoration: none;
}

.form-container a:hover {
  text-decoration: underline;
}

/* Admin Dashboard Styles */

.admin-dashboard {
  max-width: 600px;
  margin: 0 auto;
  padding: 2rem 1rem;
  text-align: center;
}

.admin-dashboard h2 {
  font-family: 'Cursive', sans-serif;
  font-size: 2rem;
  color: #003f5c;
  margin-bottom: 2rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.stat-box {
  background-color: #1765e2;
  color: white;
  border-radius: 16px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  height: 130px;
  aspect-ratio: 1 / 1; /* Keeps it square */
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.stat-box span {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: auto;
  margin-top: 0.5rem;
}

.stat-box label {
  margin-top: auto;
  font-size: 1rem;
}
.dashboard-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  max-width: 400px;
  margin: 2rem auto;
  padding-left: 3rem;
}


.action-heading {
  text-align: center;
  font-family: 'Cursive', sans-serif;
  font-size: 1.8rem;
  margin-top: 3rem;
  color: #111;
}

.no-action {
  text-align: center;
  font-size: 1.1rem;
  margin-top: 1rem;
  color: #444;
}

.table-container {
  max-width: 100%;
  margin: 1rem auto 3rem;
}

.approval-table {
  width: 100%;
  border-collapse: collapse;
  background-color: #e9f1f7;
  border-radius: 10px;
  overflow: hidden;
  font-size: 0.95rem;
}

.approval-table th, .approval-table td {
  padding: 1rem;
  text-align: center;
  border: 1px solid #ccc;
}

.approval-table th {
  background-color: #1765e2;
  color: white;
  font-weight: bold;
}

.status-pending {
  color: orange;
  font-weight: bold;
}

.view-btn {
  background-color: #1e90ff;
  color: white;
  padding: 0.3rem 0.7rem;
  border: none;
  border-radius: 20px;
  margin-top: 0.3rem;
  text-decoration: none;
  display: inline-block;
  font-size: 0.85rem;
}

.approve-btn {
  background-color: green;
  color: white;
  padding: 0.4rem 0.8rem;
  border: none;
  border-radius: 20px;
  margin-right: 0.5rem;
  cursor: pointer;
}

.reject-btn {
  background-color: crimson;
  color: white;
  padding: 0.4rem 0.8rem;
  border: none;
  border-radius: 20px;
  cursor: pointer;
}

.approve-btn:hover,
.reject-btn:hover,
.view-btn:hover {
  opacity: 0.9;
}




/*Added From here*/
.biz-wrapper {
  display: flex;
  height: 100vh;
  background-color: #f5f8fc;
}

.biz-sidebar {
  width: 220px;
  background: #0d2550;
  color: white;
  padding: 1.5rem 1rem;
  display: flex;
  flex-direction: column;
}

.biz-logo {
  text-align: center;
  margin-bottom: 2rem;
}

.biz-logo img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid white;
  margin-bottom: 0.5rem;
}

.biz-name {
  font-weight: bold;
}

.biz-nav {
  display: flex;
  flex-direction: column;
}

.biz-nav a {
  color: white;
  text-decoration: none;
  margin: 0.6rem 0;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem;
  border-radius: 4px;
  transition: background 0.3s;
}

.biz-nav a:hover {
  background: rgba(255, 255, 255, 0.1);
}

.biz-main {
  flex: 1;
  padding: 2rem;
  overflow-y: auto;
}

.biz-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.upload-section {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.upload-section label {
  background: #0d2550;
  color: white;
  padding: 0.4rem 1rem;
  border-radius: 6px;
  cursor: pointer;
}

input[type="file"] {
  display: none;
}

.biz-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.2rem;
  margin-top: 2rem;
}

.biz-card {
  background: white;
  padding: 1.2rem;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.biz-card i {
  font-size: 1.5rem;
  color: #1765e2;
  margin-bottom: 0.3rem;
}

.biz-card h4 {
  font-size: 0.95rem;
  color: #444;
  margin: 0;
}

.biz-card p {
  font-size: 1.5rem;
  font-weight: bold;
  color: #0d2550;
  margin: 0.3rem 0 0;
}

.biz-chart {
  background: white;
  padding: 1.5rem;
  margin-top: 2rem;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.biz-header-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.biz-header-left img {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid #0d2550;
}


@media (max-width: 768px) {
  .biz-wrapper {
    flex-direction: column;
  }

  .biz-sidebar {
    width: 100%;
    flex-direction: row;
    overflow-x: auto;
    padding: 1rem 0.5rem;
    justify-content: space-around;
  }

  .biz-logo {
    display: none;
  }

  .biz-nav {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }

  .biz-nav a {
    margin: 0.4rem;
    font-size: 0.85rem;
    gap: 0.4rem;
    padding: 0.3rem 0.6rem;
  }

  .biz-main {
    padding: 1rem;
  }

  .biz-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .biz-stats {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }

  .biz-card p {
    font-size: 1.2rem;
  }

  .biz-chart canvas {
    width: 100% !important;
    height: auto !important;
  }

  .upload-section label {
    font-size: 0.85rem;
    padding: 0.3rem 0.6rem;
  }
}

.dashboard-container {
  display: flex;
  min-height: 100vh;
}

.sidebar {
  width: 230px;
  background: #132d5c;
  color: white;
  padding: 2rem 1rem;
}

.sidebar-logo h2 {
  font-size: 1.3rem;
  margin-bottom: 0.2rem;
}

.sidebar-logo p {
  font-size: 0.9rem;
  color: #ccc;
  margin-bottom: 2rem;
}

.sidebar nav a {
  display: block;
  color: white;
  padding: 0.8rem 0.5rem;
  text-decoration: none;
  border-radius: 4px;
  margin-bottom: 0.5rem;
}

.sidebar nav a:hover,
.sidebar nav a.active {
  background-color: #1765e2;
}

.events-main {
  flex-grow: 1;
  padding: 2rem;
}

.events-main h2 {
  font-size: 1.3rem;
  margin-top: 1.5rem;
  color: #0d2550;
}

.event-form {
  background: #f0f6ff;
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.event-form input,
.event-form textarea {
  padding: 0.7rem;
  border-radius: 6px;
  border: 1px solid #ccc;
}

.add-event-btn {
  align-self: flex-start;
  padding: 0.6rem 1.2rem;
  background-color: #1765e2;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

.add-event-btn:hover {
  background-color: #144cbf;
}

.event-card-list {
  display: grid;
  gap: 1.2rem;
  margin: 1.2rem 0;
}

.event-photo-card {
  display: flex;
  text-decoration: none;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: transform 0.2s ease;
}

.event-photo-card:hover {
  transform: scale(1.01);
}

.event-img {
  width: 140px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.event-date-box {
  background: white;
  color: #0d2550;
  position: absolute;
  bottom: 8px;
  left: 8px;
  padding: 5px 8px;
  text-align: center;
  font-weight: bold;
  border-radius: 6px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.2);
}

.event-date-box .day {
  font-size: 1.2rem;
  display: block;
}

.event-date-box .month {
  font-size: 0.8rem;
  text-transform: uppercase;
}

.event-details {
  padding: 1rem;
  flex-grow: 1;
  background: #e7f0fb;
}

.event-details h4 {
  margin: 0 0 0.3rem;
  font-size: 1.1rem;
  color: #0d2550;
}

.event-details p {
  margin: 0.2rem 0;
  font-size: 0.9rem;
  color: #333;
}

.event-details.past {
  background: #eee;
}

@media (max-width: 768px) {
  .dashboard-container {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
    display: flex;
    overflow-x: auto;
    white-space: nowrap;
  }

  .sidebar nav a {
    flex: 1;
    text-align: center;
  }

  .events-main {
    padding: 1rem;
  }

  .event-photo-card {
    flex-direction: column;
  }

  .event-img {
    width: 100%;
    height: 180px;
  }
}

.edit-event {
  margin-left: auto;
  padding: 0.5rem 0.8rem;
  font-size: 0.85rem;
  text-align: right;
}

.edit-event a {
  color: #1765e2;
  font-weight: 500;
  text-decoration: none;
}

.edit-event a:hover {
  text-decoration: underline;
}


.edit-event a i {
  margin-right: 4px;
}

.past-event-card-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 1.5rem 0;
}

.past-event-card {
  display: flex;
  align-items: center;
  background: white;
  text-decoration: none;
  border-radius: 8px;
  padding: 1rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.07);
  transition: transform 0.2s, box-shadow 0.2s;
}

.past-event-card:hover {
  transform: scale(1.01);
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.past-date-box {
  background: #d0d0d0;
  color: #0d2550;
  padding: 10px;
  border-radius: 8px;
  text-align: center;
  min-width: 60px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.1);
  margin-right: 1rem;
}

.past-date-box .day {
  font-size: 1.2rem;
  font-weight: bold;
  line-height: 1;
}

.past-date-box .month {
  font-size: 0.75rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.past-info h4 {
  font-size: 1rem;
  margin: 0 0 0.2rem;
  color: #0d2550;
}

.past-info p {
  font-size: 0.85rem;
  margin: 0;
  color: #444;
}
.event-form label {
  font-weight: bold;
  font-size: 0.95rem;
  margin-top: 0.5rem;
  color: #0d2550;
}

.go-back-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background-color: white;
  border: 2px solid #1765e2;
  border-radius: 50%;
  color: #1765e2;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
  margin-bottom: 1rem;
}

.go-back-btn:hover {
  background-color: #1765e2;
  color: white;
}

.delete-event-btn {
  align-self: flex-start;
  padding: 0.6rem 1.2rem;
  background-color: #e21717;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

.delete-event-btn:hover {
  background-color: #910f0f;
}

.event-detail-main {
  flex-grow: 1;
  padding: 2rem;
}

.event-card-details {
  background: #f9fbff;
  border-radius: 10px;
  padding: 2rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  max-width: 700px;
  margin: 0 auto;
}

.event-card-details h1 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: #0d2550;
}

.event-detail-img {
  width: 100%;
  height: 280px;
  background-size: cover;
  background-position: center;
  border-radius: 8px;
  margin-bottom: 1.5rem;
}

.event-meta {
  font-size: 1rem;
  margin-bottom: 0.8rem;
  color: #333;
}

.event-description {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #444;
  margin-top: 1.2rem;
  white-space: pre-wrap;
}

@media (max-width: 768px) {
  .event-detail-main {
    padding: 1rem;
  }

  .event-card-details {
    padding: 1.2rem;
  }

  .event-card-details h1 {
    font-size: 1.4rem;
  }
}

.products-main {
  flex-grow: 1;
  padding: 2rem;
}

.products-main h2 {
  font-size: 1.4rem;
  margin-top: 2rem;
  color: #0d2550;
}

.add-product-form {
  background: #f0f6ff;
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.add-product-form input,
.add-product-form textarea {
  padding: 0.7rem;
  border-radius: 6px;
  border: 1px solid #ccc;
}

.add-btn {
  align-self: flex-start;
  padding: 0.6rem 1.2rem;
  background-color: #1765e2;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

.add-btn:hover {
  background-color: #144cbf;
}

.product-card-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.2rem;
  margin: 1.5rem 0;
}

.product-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: transform 0.2s;
  text-decoration: none;
  color: inherit;
}

.product-card:hover {
  transform: scale(1.02);
}

.product-img {
  width: 100%;
  height: 180px;
  background-size: cover;
  background-position: center;
}

.product-info {
  padding: 1rem;
}

.product-info h4 {
  margin: 0 0 0.3rem;
  font-size: 1rem;
  color: #0d2550;
}

.product-info p {
  margin: 0;
  font-weight: bold;
  color: #1765e2;
}

.product-sold {
  opacity: 0.5;
  transform: scale(0.97);
}

.product-sold .product-img {
  height: 140px;
}

.product-sold .product-info {
  padding: 0.8rem;
}

@media (max-width: 768px) {
  .products-main {
    padding: 1rem;
  }
}

.product-sales {
  margin-top: 2rem;
  text-align: center;
}

.sales-number {
  font-size: 2.5rem;
  font-weight: bold;
  color: #0d2550;
}

.sales-label {
  font-size: 0.95rem;
  color: #666;
  margin-top: 0.3rem;
}

.product-details-main {
  flex-grow: 1;
  padding: 2rem;
  max-width: 700px;
  margin: auto;
}

.product-details-main h1 {
  font-size: 1.8rem;
  color: #0d2550;
  margin-bottom: 1rem;
}

.product-img-large {
  width: 100%;
  height: 280px;
  background-size: cover;
  background-position: center;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  margin-bottom: 1.5rem;
}

.product-price {
  font-size: 1.3rem;
  color: #1765e2;
  margin-bottom: 1rem;
}

.product-description {
  font-size: 1rem;
  color: #333;
  line-height: 1.6;
}

.go-back-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background-color: white;
  border: 2px solid #1765e2;
  border-radius: 50%;
  color: #1765e2;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
  margin-bottom: 1rem;
}

.go-back-btn:hover {
  background-color: #1765e2;
  color: white;
}

@media (max-width: 768px) {
  .product-details-main {
    padding: 1rem;
  }

  .product-img-large {
    height: 220px;
  }
}

.event-interest {
  margin-top: 2rem;
  text-align: center;
}

.interest-number {
  font-size: 2.5rem;
  font-weight: bold;
  color: #1765e2;
}

.interest-label {
  font-size: 0.95rem;
  color: #666;
  margin-top: 0.3rem;
}

/* Container */
.biz-container {
  display: flex;
  min-height: 100vh;
  background-color: #eef4fa;
}

/* Main content */
.biz-connection-main {
  flex-grow: 1;
  padding: 2rem 3rem;
  max-width: 1000px;
  margin: 0 auto;
}

.biz-connection-main h2 {
  font-size: 1.8rem;
  color: #0d2b57;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

/* Search Bar */
.search-bar-wrapper {
  display: flex;
  align-items: center;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 10px;
  padding: 0.7rem 1rem;
  margin: 2rem auto;
  max-width: 500px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.07);
}

.search-bar-wrapper input {
  flex: 1;
  border: none;
  font-size: 1rem;
  outline: none;
  background: transparent;
}

.search-bar-wrapper i {
  font-size: 1.1rem;
  color: #444;
}

/* Results */
.connection-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  padding: 0 1rem;
  justify-items: center;
}

.connection-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 1.2rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  text-align: center;
  transition: transform 0.2s ease;
  width: 100%;
  max-width: 260px;
}

.connection-card:hover {
  transform: translateY(-5px);
}

.connection-card img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 0.6rem;
}

.connection-card h4 {
  font-size: 1.1rem;
  color: #0d2b57;
  margin-bottom: 0.2rem;
}

.connection-card p {
  font-size: 0.9rem;
  color: #555;
  margin: 0.2rem 0;
}

.connection-card small {
  color: #888;
  font-size: 0.85rem;
}

/* Info / Error Message */
.info-text {
  text-align: center;
  font-style: italic;
  color: #777;
  font-size: 0.95rem;
  margin-top: 1.5rem;
}

.info-text.error {
  color: red;
}

/* Responsive */
@media (max-width: 768px) {
  .biz-connection-main {
    padding: 1.2rem;
  }

  .search-bar-wrapper {
    max-width: 90%;
    margin: 1.5rem auto;
  }

  .connection-list {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
}

.biz-container {
  display: flex;
  min-height: 100vh;
}

.biz-notification-main {
  flex-grow: 1;
  padding: 2rem;
  background: #f9fafe;
}

.notification-list {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.notification-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background-color: #ffffff;
  padding: 1rem 1.5rem;
  border-left: 4px solid #1765e2;
  border-radius: 6px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}

.notification-card i {
  font-size: 1.4rem;
  padding-top: 4px;
}

.follow-icon {
  color: #4caf50;
}
.buy-icon {
  color: #e91e63;
}
.interest-icon {
  color: #2196f3;
}

.notification-text {
  flex: 1;
  font-size: 0.95rem;
  color: #333;
}

.notification-text strong {
  color: #0d2550;
}

.notification-time {
  display: block;
  font-size: 0.8rem;
  color: #888;
  margin-top: 4px;
}

.biz-setting-main {
  padding: 2rem;
}

.setting-options {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  margin-top: 2rem;
}

.setting-card {
  display: flex;
  gap: 1rem;
  padding: 1.2rem;
  background: #f9f9f9;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  text-decoration: none;
  color: #333;
  transition: all 0.2s ease;
}

.setting-card i {
  font-size: 1.8rem;
  color: #1765e2;
}

.setting-card:hover {
  background: #eef4ff;
  transform: translateY(-2px);
}

.setting-card h4 {
  margin: 0 0 5px;
  font-size: 1.1rem;
}

.setting-card p {
  margin: 0;
  font-size: 0.9rem;
  color: #666;
}


/*User's side*/
/* Dashboard Container */
.dashboard-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  padding: 1rem;
  max-width: 1200px;
  margin: 0 auto;
}

/* Individual Card */
.dashboard-card {
  height: 200px;
  border-radius: 16px;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  transition: transform 0.3s ease;
}

.dashboard-card:hover {
  transform: scale(1.02);
}

/* Overlay on Top of Card */
.dashboard-overlay {
  background: linear-gradient(to top, rgba(0,0,0,0.55), rgba(0,0,0,0));
  padding: 16px;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  color: #fff;
  text-align: center;
  border-radius: 16px;
}

.dashboard-overlay h2 {
  font-size: 1.2rem;
  margin-bottom: 8px;
  line-height: 1.3;
}

/* Rounded "pill" button under text */
.dashboard-overlay span {
  background-color: rgba(255, 255, 255, 0.85);
  color: #003366;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 50px;
  font-size: 0.85rem;
  transition: background 0.3s;
}

.dashboard-overlay span:hover {
  background-color: white;
}

/* Background image bindings */
.bg-pitch {
  background-image: url('resources/pitch.jpg');
}

.bg-networking {
  background-image: url('resources/networking.jpg');
}

.bg-marketplace {
  background-image: url('resources/marketplace.jpg');
}

.bg-event {
  background-image: url('resources/event.jpg');
}

/* 2-column grid for larger screens */
@media (min-width: 600px) {
  .dashboard-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    
  }

  .dashboard-card {
    height: 240px;
  }

  .dashboard-overlay h2 {
    font-size: 1.3rem;
  }

  .dashboard-overlay span {
    font-size: 0.9rem;
  }
}

/* Container */
.profile-container {
  max-width: 600px;
  margin: 0 auto;
  padding: 1.5rem;
  background-color: #f5faff;
}

/* Header Section */
.profile-header {
  text-align: center;
  margin-bottom: 1.5rem;
  position: relative;
}

.profile-actions {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.profile-actions a {
  color: #0066ff;
  font-weight: bold;
  text-decoration: none;
}

.profile-photo-wrapper {
  position: relative;
  width: 120px;
  height: 120px;
  margin: 0 auto;
  border-radius: 50%;
  overflow: hidden;
  cursor: pointer;
  border: 3px solid #0066ff;
}

.profile-photo-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-options {
  display: none;
  position: absolute;
  bottom: -55px;
  left: 50%;
  transform: translateX(-50%);
  background: #ffffff;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  border-radius: 8px;
  z-index: 10;
  width: 140px;
  text-align: center;
}

.photo-options button {
  width: 100%;
  padding: 0.5rem;
  border: none;
  background: none;
  cursor: pointer;
  font-size: 0.9rem;
  border-bottom: 1px solid #ddd;
}

.photo-options button:last-child {
  border-bottom: none;
}

.username {
  font-size: 1.2rem;
  font-weight: bold;
  margin-top: 0.5rem;
}

/* Stats */
.profile-stats {
  display: flex;
  justify-content: space-around;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.profile-stats div {
  background: #fff;
  padding: 0.8rem 1rem;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  text-align: center;
  flex: 1;
  margin: 0 4px;
}

/* Bio and Contact Sections */
.profile-section {
  margin-bottom: 1.5rem;
}

.bio-box {
  background: #eef6ff;
  padding: 1rem;
  border-radius: 10px;
  font-size: 0.95rem;
  line-height: 1.5;
  color: #333;
  margin-top: 0.5rem;
}

.contact-links {
  list-style: none;
  padding: 0;
  margin-top: 0.5rem;
  font-size: 0.95rem;
}

.contact-links li {
  margin-bottom: 0.4rem;
}

.contact-links strong {
  display: inline-block;
  width: 90px;
  color: #003366;
}

.user-settings-container {
  max-width: 500px;
  margin: auto;
  padding: 1.5rem;
  background: #ffffff;
  font-family: 'Segoe UI', sans-serif;
}

.user-settings-container h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2rem;
  font-weight: 700;
}

.user-settings-section {
  margin-bottom: 2rem;
}

.user-settings-section h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
  padding-left: 0.5rem;
}

.user-settings-group {
  background-color: #a6c8ff;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.user-settings-item {
  display: flex;
  align-items: center;
  padding: 1.1rem 1.2rem;
  text-decoration: none;
  color: #000;
  font-weight: 600;
  font-size: 1.05rem;
  transition: background 0.2s ease;
}

.user-settings-item:hover {
  background-color: #d0e2ff;
}

.user-settings-item:not(:last-child) {
  border-bottom: 1px solid #dbe8ff;
}

.user-settings-item .icon {
  font-size: 1.4rem;
  color: #003366;
  margin-right: 16px;
  min-width: 28px;
}

.user-settings-item .label {
  flex-grow: 1;
  text-align: left;
}

.personal-details-container {
  max-width: 600px;
  margin: auto;
  padding: 2rem;
  background: #f5faff;
  font-family: 'Segoe UI', sans-serif;
}

.personal-details-container h2 {
  text-align: center;
  margin-bottom: 1.5rem;
}

.success-msg, .error-msg {
  text-align: center;
  font-weight: bold;
  margin-bottom: 1rem;
}

.success-msg { color: green; }
.error-msg { color: red; }

form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

label {
  font-weight: 600;
}

input[type="text"],
input[type="email"],
input[type="url"] {
  padding: 0.6rem;
  border: 1px solid #ccc;
  border-radius: 6px;
}

.update-btn {
  margin-top: 1rem;
  padding: 0.8rem;
  background: #0066cc;
  color: white;
  font-weight: bold;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

.update-btn:hover {
  background: #004da1;
}

/*Admin's here*/
.admin-header {
  text-align: center;
  margin-bottom: 2rem;
}

.admin-profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.admin-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #cce0ff;
}

.admin-info h2 {
  font-size: 1.8rem;
  margin: 0;
  font-weight: bold;
  color: #004080;
}

.admin-info p {
  margin: 0;
  color: #333;
  font-size: 1rem;
}

.admin-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.2rem;
  margin: 2rem 0;
}

.stat-card {
  flex: 1 1 160px;
  max-width: 220px;
  min-width: 140px;
  background: #ffffff;
  padding: 1.2rem 1rem;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
  transition: transform 0.2s ease;
}

.stat-card:hover {
  transform: translateY(-4px);
}

.stat-card i {
  font-size: 2.2rem;
  color: #004db3;
}

.stat-card h3 {
  margin: 0;
  font-size: 1.8rem;
  font-weight: bold;
  color: #003366;
}

.stat-card p {
  margin: 0;
  color: #666;
  font-size: 0.95rem;
}

.admin-settings {
  max-width: 600px;
  margin: auto;
  padding: 2rem;
  font-family: 'Segoe UI', sans-serif;
}

.admin-settings h2 {
  text-align: center;
  font-size: 1.8rem;
  margin-bottom: 2rem;
}

.settings-group h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  font-weight: bold;
  color: #000;
}

.admin-setting-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: #8bb8f4;
  padding: 1rem 1.2rem;
  font-weight: bold;
  color: #000;
  text-decoration: none;
  border-top: 1px solid #fff;
}

.admin-setting-link:first-of-type {
  border-top: none;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}

.admin-setting-link:last-of-type {
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
}

.admin-setting-link i {
  font-size: 1.2rem;
  color: #000;
  min-width: 20px;
}

.admin-setting-link:hover {
  background: #6ca5e3;
}

.form-upload-group {
  margin-bottom: 1.5rem;
}

.form-upload-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #333;
}

.form-upload-group input[type="file"] {
  display: block;
  padding: 0.5rem;
  background: #f9f9f9;
  border: 1px solid #ccc;
  border-radius: 6px;
  cursor: pointer;
  width: 100%;
}

.admin-user-management {
  max-width: 1000px;
  margin: auto;
  padding: 2rem;
}

.search-wrapper {
  position: relative;
  margin-bottom: 1.5rem;
}

.search-bar {
  width: 100%;
  padding: 0.8rem 2.5rem 0.8rem 1rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 6px;
}

.search-icon {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #888;
  font-size: 1.2rem;
}

#searchResults {
  display: grid;
  gap: 1rem;
  margin-bottom: 2rem;
}

.search-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 8px;
  transition: background 0.2s;
  text-decoration: none;
  color: #333;
}
.search-card:hover {
  background: #eef6ff;
}
.search-card img {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #ccc;
}
.search-card .info {
  flex: 1;
}
.search-card .info strong {
  display: block;
  font-size: 1.05rem;
  margin-bottom: 2px;
}
.search-card .info small {
  color: #666;
  font-size: 0.9rem;
}

/* Pending table */
.pending-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.pending-table th, .pending-table td {
  padding: 1rem;
  border: 1px solid #e0e0e0;
}
.pending-table th {
  background-color: #f4f7fb;
  text-align: left;
  color: #444;
}
.pending-table tr:hover {
  background-color: #fdfdfd;
}

.btn-view, .btn-approve, .btn-reject {
  padding: 6px 12px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
  display: inline-block;
  margin-top: 6px;
}
.btn-view { background: #0066cc; color: white; }
.btn-approve { background: #28a745; color: white; }
.btn-reject { background: #dc3545; color: white; }


.pending-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 8px;
  overflow: hidden;
  margin-top: 1.5rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  background-color: white;
}

.pending-table th {
  background-color: #f5f7fa;
  color: #333;
  text-align: left;
  font-weight: 600;
  padding: 1rem;
  font-size: 0.95rem;
  border-bottom: 1px solid #e1e4e8;
}

.pending-table td {
  padding: 1rem;
  font-size: 0.95rem;
  border-bottom: 1px solid #f0f0f0;
  vertical-align: middle;
}

.pending-table tr:nth-child(even) {
  background-color: #fafafa;
}

.pending-table tr:hover {
  background-color: #f0f8ff;
}

.pending-table a {
  text-decoration: none;
  font-weight: 600;
}

.btn-view,
.btn-approve,
.btn-reject {
  padding: 6px 12px;
  border-radius: 5px;
  font-size: 0.85rem;
  font-weight: bold;
  border: none;
  color: #fff;
  text-decoration: none;
  display: inline-block;
  margin: 2px 4px 2px 0;
  transition: background 0.2s ease;
}

.btn-view { background-color: #3498db; }
.btn-approve { background-color: #27ae60; }
.btn-reject { background-color: #e74c3c; }

.btn-view:hover { background-color: #2d89c7; }
.btn-approve:hover { background-color: #219150; }
.btn-reject:hover { background-color: #c0392b; }


.pending-heading {
  font-size: 1.6rem;
  font-weight: 700;
  margin-top: 3rem;
  color: #333;
}

.pending-empty {
  font-size: 1.2rem;
  color: green;
  font-weight: 600;
  margin-top: 1rem;
}

.admin-payment-container {
  max-width: 600px;
  margin: 2rem auto;
  padding: 2rem;
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  border-radius: 12px;
  font-family: 'Segoe UI', sans-serif;
}

.admin-payment-heading {
  text-align: center;
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  color: #004db3;
}

.admin-payment-success,
.admin-payment-error {
  text-align: center;
  font-weight: bold;
  margin-bottom: 1rem;
  padding: 0.6rem;
  border-radius: 6px;
}

.admin-payment-success { background: #e8f8e4; color: #2d8f2d; }
.admin-payment-error { background: #ffe5e5; color: #c70000; }

.admin-payment-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.admin-payment-form label {
  font-weight: 600;
  color: #333;
}

.admin-payment-form input[type="text"] {
  padding: 0.7rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  width: 100%;
}

.admin-payment-save-btn {
  margin-top: 1rem;
  padding: 0.9rem;
  background: #004db3;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.2s ease;
}

.admin-payment-save-btn:hover {
  background: #003080;
}

.biz-details-container {
  max-width: 600px;
  margin: 2rem auto;
  padding: 2rem;
  background: #fefefe;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
  font-family: 'Segoe UI', sans-serif;
}

.biz-details-title {
  text-align: center;
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  color: #004db3;
}

.biz-details-success,
.biz-details-error {
  text-align: center;
  font-weight: bold;
  margin-bottom: 1rem;
  padding: 0.6rem;
  border-radius: 6px;
}

.biz-details-success { background: #e8f8e4; color: #2d8f2d; }
.biz-details-error { background: #ffe5e5; color: #c70000; }

.biz-details-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.biz-details-form label {
  font-weight: 600;
  color: #333;
}

.biz-details-form input[type="text"],
.biz-details-form input[type="email"] {
  padding: 0.7rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  width: 100%;
  background-color: white;
}

.biz-logo-label {
  font-weight: 600;
  color: #222;
  display: block;
  margin-bottom: 0.4rem;
}

.biz-logo-file-name {
  font-size: 0.9rem;
  color: #555;
  margin-top: 0.3rem;
}

.biz-details-save-btn {
  margin-top: 1rem;
  padding: 0.9rem;
  background: #004db3;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.2s ease;
}

.biz-details-save-btn:hover {
  background: #003080;
}

.biz-payment-container {
  max-width: 600px;
  margin: 2rem auto;
  padding: 2rem;
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  border-radius: 12px;
  font-family: 'Segoe UI', sans-serif;
}

.biz-payment-heading {
  text-align: center;
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  color: #004db3;
}

.biz-payment-success,
.biz-payment-error {
  text-align: center;
  font-weight: bold;
  margin-bottom: 1rem;
  padding: 0.6rem;
  border-radius: 6px;
}

.biz-payment-success { background: #e8f8e4; color: #2d8f2d; }
.biz-payment-error { background: #ffe5e5; color: #c70000; }

.biz-payment-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.biz-payment-form label {
  font-weight: 600;
  color: #333;
}

.biz-payment-form input[type="text"] {
  padding: 0.7rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  width: 100%;
  background-color: white;
}

.biz-payment-save-btn {
  margin-top: 1rem;
  padding: 0.9rem;
  background: #004db3;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.2s ease;
}

.biz-payment-save-btn:hover {
  background: #003080;
}

.event-add-container {
  max-width: 650px;
  margin: 2rem auto;
  padding: 2rem;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
  font-family: 'Segoe UI', sans-serif;
}

.event-add-title {
  text-align: center;
  font-size: 1.7rem;
  color: #004db3;
  margin-bottom: 1.5rem;
}

.event-add-error {
  background: #ffe5e5;
  color: #c70000;
  padding: 0.8rem;
  text-align: center;
  margin-bottom: 1rem;
  border-radius: 6px;
}

.event-add-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.event-add-form label {
  font-weight: 600;
  color: #333;
}

.event-add-form input[type="text"],
.event-add-form input[type="date"],
.event-add-form input[type="time"],
.event-add-form input[type="file"],
.event-add-form textarea {
  padding: 0.7rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  width: 100%;
}

.event-add-submit {
  margin-top: 1rem;
  padding: 0.9rem;
  background: #004db3;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.2s ease;
}

.event-add-submit:hover {
  background: #003080;
}

.biz-event-container {
  max-width: 1200px;
  margin: auto;
  padding: 2rem;
  font-family: 'Segoe UI', sans-serif;
}

.biz-event-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.biz-event-add-btn {
  background: #004db3;
  color: white;
  padding: 0.6rem 1rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
}

.biz-event-add-btn:hover {
  background: #003080;
}

.biz-event-section {
  margin-bottom: 3rem;
}

.biz-event-section h3 {
  margin-bottom: 1.5rem;
  text-align: center;
  font-size: 1.4rem;
  color: #004db3;
}

.biz-event-empty {
  color: gray;
  font-style: italic;
  text-align: center;
}

/* Unified Grid for both sections */
.biz-event-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.biz-event-card {
  position: relative;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}

.biz-event-bg {
  position: relative;
  padding-top: 100%;
  background-size: cover;
  background-position: center;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.biz-event-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(213, 212, 212, 0.98);
  color: black;
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  border-bottom-left-radius: 16px;
  border-bottom-right-radius: 16px;
}

.biz-event-overlay h4 {
  margin: 0;
  font-size: 1.3rem;
  font-weight: bold;
}

.biz-event-overlay p {
  margin: 0;
  font-size: 0.95rem;
}

/* Edit Button (only visible in Upcoming) */
.biz-event-edit-btn {
  position: absolute;
  bottom: 12px;
  right: 14px;
  background: #ffffff;
  color: #004db3;
  font-size: 0.95rem;       /* ⬅️ Make text slightly bigger */
  font-weight: bold;
  padding: 8px 16px;         /* ⬅️ Bigger padding */
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  transition: background 0.2s ease;
  z-index: 10;
}

.biz-event-edit-btn:hover {
  background: #e1eaff;
}


.biz-event-edit-btn:hover {
  background:rgb(178, 195, 236);
}

/* Past styling */
.biz-event-past .biz-event-bg {
  filter: grayscale(40%);
}

.about-item-container {
  max-width: 900px;
  margin: 2rem auto;
  padding: 1rem;
  font-family: 'Segoe UI', sans-serif;
}

.about-item-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.08);
  overflow: hidden;
}

.about-item-image {
  width: 100%;
  max-height: 350px;
  object-fit: cover;
}

.about-item-content {
  padding: 2rem;
}

.about-item-title {
  margin: 0 0 1rem 0;
  font-size: 2rem;
  color: #004db3;
}

.about-item-meta p {
  margin: 0.5rem 0;
  font-size: 1.1rem;
  color: #333;
}

.about-item-description {
  margin-top: 2rem;
}

.about-item-description h3 {
  margin-bottom: 0.5rem;
  color: #222;
}

.about-item-description p {
  font-size: 1rem;
  line-height: 1.6;
  color: #444;
}

.challenge-level-container {
  max-width: 500px;
  margin: auto;
  padding: 2rem 1rem;
  text-align: center;
  font-family: 'Segoe UI', sans-serif;
}

.back-arrow {
  display: inline-block;
  font-size: 1.2rem;
  color: #004db3;
  margin-bottom: 1rem;
  text-decoration: none;
}

.challenge-level-container h2 {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  font-weight: 600;
}

.challenge-level-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.level-btn {
  background: #004db3;
  color: white;
  padding: 1rem;
  font-size: 1.5rem;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s ease;
}

.level-btn:hover {
  background: #00308c;
}

.challenge-main {
  max-width: 700px;
  margin: 2rem auto;
  font-family: 'Segoe UI', sans-serif;
  padding: 1rem;
}

.challenge-main h2 {
  text-align: center;
  font-size: 1.8rem;
  color: #004db3;
  margin-bottom: 2.5rem;
  font-weight: 700;
}

.challenge-list {
  list-style: none;
  padding: 0;
}

.challenge-item {
  background: #ffffff;
  padding: 1.5rem 1.2rem;
  margin-bottom: 2rem;
  border-radius: 12px;
  border-left: 5px solid #004db3;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.3s ease;
}

.challenge-item:hover {
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

/* ✅ Aligned checkbox and text on same line */
.challenge-header {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ✅ Bigger checkbox */
.challenge-item input[type="checkbox"] {
  appearance: none;
  width: 28px;
  height: 28px;
  border: 2px solid #004db3;
  border-radius: 4px;
  position: relative;
  cursor: pointer;
  transition: all 0.2s ease;
}

.challenge-item input[type="checkbox"]:checked {
  background-color: #004db3;
  border-color: #004db3;
}

.challenge-item input[type="checkbox"]::after {
  content: '';
  position: absolute;
  width: 7px;
  height: 14px;
  border: solid white;
  border-width: 0 3px 3px 0;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(45deg); /* ✅ perfectly centered */
  opacity: 0;
  transition: opacity 0.2s ease;
}

.challenge-item input[type="checkbox"]:checked::after {
  opacity: 1;
}


.challenge-desc {
  font-weight: 600;
  font-size: 1.05rem;
  color: #222;
  line-height: 1;
}

/* Form section */
.challenge-form {
  display: none;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px dashed #ccc;
}

/* ✅ Align radio and label text */
.challenge-form label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0.5rem 0;
  font-size: 0.95rem;
  color: #333;
}

/* ✅ Bigger & centered radio button */
.challenge-form input[type="radio"] {
  appearance: none;
  border: 2px solid #004db3;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  position: relative;
  cursor: pointer;
  transition: all 0.2s ease;
}

.challenge-form input[type="radio"]:checked::before {
  content: '';
  position: absolute;
  width: 14px;
  height: 14px;
  background: #004db3;
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); /* ✅ perfect centering */
}

.cov-input input {
  padding: 0.4rem;
  font-size: 0.95rem;
  width: 80px;
  border-radius: 6px;
  border: 1px solid #ccc;
  margin-left: 0.5rem;
}


/* Container */
.uc-container {
  max-width: 900px;
  margin: 2rem auto;
  padding: 1.5rem;
  font-family: 'Segoe UI', sans-serif;
  text-align: center;
}

/* Heading */
.uc-heading {
  font-size: 2rem;
  color: #004db3;
  margin-bottom: 2rem;
}

/* Stats Row */
.uc-stats {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

/* Stat Box */
.uc-box {
  background: #eaf1ff;
  border-radius: 12px;
  padding: 1.2rem 2rem;
  text-decoration: none;
  color: #004db3;
  font-weight: bold;
  min-width: 140px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transition: transform 0.2s ease;
}

.uc-box:hover {
  transform: translateY(-4px);
}

.uc-box h3 {
  font-size: 1.6rem;
  margin: 0;
}

.uc-box p {
  font-size: 1rem;
  margin: 0.5rem 0 0;
}

/* Search Bar */
.uc-searchbar {
  position: relative;
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
}

.uc-searchbar input {
  width: 100%;
  max-width: 500px;
  padding: 0.85rem 3rem 0.85rem 1rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
  background-color: #e6f0ff;
  color: #00357c;
}

.uc-search-icon {
  position: absolute;
  right: calc(50% - 250px + 10px);
  top: 50%;
  transform: translateY(-50%);
  color: #004db3;
  font-size: 1.2rem;
  pointer-events: none;
}

.uc-results {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding: 0 1rem;
  margin: 2rem auto;
  max-width: 100%;
  box-sizing: border-box;
}


@media screen and (min-width: 768px) {
  .uc-results {
    grid-template-columns: repeat(3, 1fr);
  }

  .uc-search-icon {
    right: calc(50% - 250px + 460px); /* aligns on wide screens */
  }
}

/* Result Cards */
.connection-card {
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 12px;
  padding: 1rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  text-decoration: none;
  color: #222;
  transition: box-shadow 0.2s ease;
  overflow: hidden;
  width: 100%;
  max-width: 300px;
  min-width: 260px;
}


.connection-card:hover {
  box-shadow: 0 6px 14px rgba(0,0,0,0.1);
}

.connection-avatar {
  width: 55px;
  height: 55px;
  object-fit: cover;
  border-radius: 50%;
  margin-right: 1rem;
}

.connection-info {
  flex-grow: 1;
  text-align: left;
}

.connection-info strong {
  font-size: 1.1rem;
  display: block;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.connection-info small {
  font-size: 0.9rem;
  color: #666;
  display: block;
}

.connection-info p {
  margin: 0.3rem 0 0;
  font-size: 0.9rem;
  color: #555;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.connection-add {
  font-size: 1.3rem;
  color: #004db3;
  margin-left: auto;
}

.uc-stats {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.uc-box {
  width: 150px;
  height: 110px;
  background: #f0f6ff;
  border-radius: 12px;
  text-align: center;
  text-decoration: none;
  color: #004db3;
  box-shadow: 0 6px 12px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: transform 0.2s ease;
}

.uc-box:hover {
  transform: translateY(-4px);
}

.uc-box h3 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: bold;
}

.uc-box p {
  margin: 0.25rem 0 0;
  font-size: 1rem;
}



.uc-searchbar {
  position: relative;
  max-width: 500px;
  margin: 0 auto 2rem;
}

.uc-searchbar input {
  width: 100%;
  padding: 0.85rem 2.75rem 0.85rem 1rem; /* extra right space for icon */
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
  background-color: #e6f0ff;
  color: #00357c;
}

.uc-searchbar .fa-search {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #004db3;
  font-size: 1.2rem;
  pointer-events: none;
}


@media screen and (max-width: 768px) {
  .uc-searchbar .fa-search {
    right: 1.2rem;
  }
}

/* Result Cards Layout */
.connection-card {
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 12px;
  padding: 1rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  text-decoration: none;
  color: #222;
  transition: box-shadow 0.2s ease;
  overflow: hidden;
}

.connection-avatar {
  width: 55px;
  height: 55px;
  object-fit: cover;
  border-radius: 50%;
  flex-shrink: 0;
}

/* INFO TEXT TRUNCATED CLEANLY */
.connection-info {
  flex-grow: 1;
  overflow: hidden;
  text-align: left;
}

.connection-info strong,
.connection-info small,
.connection-info p {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.connection-info strong {
  font-size: 1.1rem;
}

.connection-info small {
  font-size: 0.9rem;
  color: #666;
}

.connection-info p {
  font-size: 0.9rem;
  color: #555;
  margin: 0.25rem 0 0;
}

.connection-add {
  font-size: 1.3rem;
  color: #004db3;
  margin-left: 0.8rem;
}


.anchor-count {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin: 1.5rem auto;
  max-width: 600px;
}

.anchor-count a {
  flex: 1;
  text-align: center;
  text-decoration: none;
  background: #fff;
  color: #000;
  padding: 0.8rem 0.6rem;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: all 0.2s ease;
  font-weight: 500;
  border: 1px solid #e5e5e5;
  min-width: 120px;
}

.anchor-count a:hover {
  background: #eef3ff;
  color: #004db3;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.07);
}

.anchor-count strong {
  font-size: 0.95rem;
  display: block;
  margin-bottom: 0.2rem;
}

.anchor-count span {
  font-size: 1.2rem;
  font-weight: 600;
  color: #000;
  display: block;
}

.notif-badge {
  background-color: red;
  color: white;
  padding: 4px 10px;
  border-radius: 50%;
  font-size: 14px;
  font-weight: 700;
  margin-left: 10px;
  display: inline-block;
  line-height: 1;
}

.notif-dot {
  position: absolute;
  top: -10px;
  right: -10px;
  background: red;
  color: white;
  font-size: 18px;       /* Bigger font size */
  padding: 6px 10px;     /* Bigger pill shape */
  border-radius: 50%;
  font-weight: bold;
  z-index: 1000;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.3);
}




