:root {
  --primary-blue: #006da0;
  --secondary-indigo: #5B21B6;
  --accent-cyan: #00beb8;
  --contrast-navy: #0F172A;
  --neutral-gray: #F3F4F6;
}

/* ========== RESET STYLES ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ========== BODY BASE STYLES ========== */
body {
    font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    background-color: #f4f4f4;
    color: #333;
}

html {
    scroll-behavior: smooth;
}

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}

.page-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding-top: 0;
  margin-top: 0;
}

.content {
  flex: 1;
}

.site-footer {
  background: #111;
  color: #fff;
  padding: 2rem;
}


/* ========== NAVBAR ========== */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #111;
  padding: 1rem 2rem;
  transition: 0.3s ease-in-out;
}

.navbar-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.navbar-logo img {
  height: 40px;
  object-fit: contain;
}

.navbar-links-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  align-items: center;
}

.nav-links a {
  color: #fff;
  font-weight: bold;
  text-decoration: none;
  transition: color 0.3s;
}

.nav-links a:hover,
.cta-button:hover {
  color: #6495ED;
  background-color: #fff;
}

/* ===== User Dropdown Profile Button ===== */
.user-menu-container {
  position: relative;
  display: flex;
  align-items: center;
  margin-left: 1rem;
}

.user-initials-btn {
  background-color: var(--accent-cyan);
  color: white;
  font-weight: bold;
  border: none;
  border-radius: 50%;
  width: 42px;
  height: 42px;
  font-size: 1rem;
  text-transform: uppercase;
  cursor: pointer;
}

#arrow-icon {
  font-size: 1rem;
  position: absolute;
  bottom: 38px;
  right: 4px;
}

.user-dropdown {
  display: none;
  position: absolute;
  right: 0;
  top: 24px;
  left: 725px;
  background: white;
  border-radius: 10%;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  z-index: 1000;
  min-width: 160px;
}

.user-dropdown a,
.user-dropdown .logout-btn {
  display: block;
  padding: 10px 14px;
  color: #1a1a1a;
  text-decoration: none;
  background: white;
  border: none;
  width: 100%;
  text-align: left;
}

.user-dropdown a:hover,
.user-dropdown .logout-btn:hover {
  background-color: #f5f5f5;
}


.user-dropdown.show {
  display: block;
}


.logout-btn {
  font-weight: 500;
  cursor: pointer;
}

.mobile-menu.show {
  left: 0;
}

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

.user-initials-circle {
  background: var(--accent-cyan);
  color: white;
  font-weight: bold;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 0.5rem;
}

.mobile-nav-links {
  list-style: none;
  padding: 1rem 0;
}

.mobile-nav-links li {
  margin-bottom: 1rem;
}

.mobile-nav-links a {
  font-size: 1.2rem;
  color: #111;
  text-decoration: none;
}

.mobile-menu-actions a {
  display: block;
  margin: 0.5rem 0;
  background: #e6faff;
  padding: 10px;
  border-radius: 6px;
  font-weight: 600;
  color: var(--contrast-navy);
  text-align: center;
}

/* Desktop default: hide hamburger + mobile menu */
.hamburger {
  display: none;
}
.mobile-menu {
  display: none;
}

/* Hide default nav + show hamburger */
@media (max-width: 768px) {
  .nav-links {
    font-size: 1.8rem;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    display: none;
  }

  .user-menu-container,
  .user-initials-btn {
    display: none;
  }

  .mobile-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 80%;
    height: 100%;
    background-color: white;
    z-index: 2000;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: left 0.3s ease-in-out;
  }

  .mobile-menu.show {
    left: 0;
  }

  .mobile-nav-links {
    list-style: none;
    padding: 0;
  }

  .mobile-nav-links li {
    margin-bottom: 1.25rem;
  }

  .mobile-nav-links a {
    font-size: 1.2rem;
    color: #111;
    text-decoration: none;
    font-weight: 600;
  }

  .mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
  }

  .mobile-user-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid #eee;
  }

  .user-initials-circle {
    background: var(--accent-cyan);
    color: white;
    font-weight: bold;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
    font-size: 1rem;
  }

  .mobile-user-name {
    font-weight: 600;
    margin-bottom: 0.5rem;
  }

  .logout-btn {
    background: #ffecec;
    color: #b20000;
    border: none;
    padding: 10px 16px;
    font-weight: bold;
    border-radius: 6px;
    cursor: pointer;
  }

  .hamburger {
    display: block;
    margin-left: auto;
    font-size: 1.8rem;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2001;
  }
}


/* ========== HERO SECTION ========== */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
    padding: 2rem;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: 
        linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
        url('salonagility-com-daniel-ZCbBBaFL-Ek-unsplash.jpg') center/cover no-repeat;
    z-index: -1;
    animation: zoomIn 20s ease-in-out infinite alternate;
}

@keyframes zoomIn {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); }
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-inline: auto;
}

.sub-hero {
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    max-width: 700px;
    margin: auto;
    color: #f0f0f0;
    text-align: center;
}

.sub-hero .highlight {
    color: #6495ED;
    font-weight: 600;
}

.cta-button {
    background-color: #fff;
    color: #6495ED;
    padding: 0.75rem 2rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    border: 2px solid #6495ED;
    display: inline-block;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background-color: #6495ED;
    color: #fff;
}


/* ========== FEATURES SECTION ========== */
.features {
    display: flex;
    justify-content: space-around;
    padding: 3rem 1rem;
    background: #fff;
}

.feature {
    max-width: 300px;
    text-align: center;
}

.feature h2 {
    color: #6495ED;
    margin-bottom: 1rem;
}

.feature-link {
    color: #6495ED;
    text-decoration: none;
    transition: color 0.3s ease;
}

.feature-link:hover {
    color: #4a7cd6;
    text-decoration: underline;
}


/* ========== MISSION SECTION ========== */
.mission {
    padding: 6rem 2rem;
    background-color: #f0f8ff;
    text-align: center;
}

.mission-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: left;
}

.mission h2 {
    font-size: 2rem;
    color: #6495ED;
    margin-bottom: 1rem;
    text-align: center;
}

.mission p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #333;
}

/* ========== VISION SECTION ========== */
.vision {
    background-color: #f9f9f9;
    padding: 6rem 2rem;
    text-align: center;
    color: #333;
}

.vision .container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: left;
}

.vision h2 {
    color: #6495ED;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.vision p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

/* ========== JOB LIST & MATCH STYLING ========== */

.job-list, .job-matches {
  padding: 6rem 2rem;
  background-color: #ffffff;
  text-align: center;
}

.job-list .container, .job-matches .container {
  max-width: 1100px;
  margin: 0 auto;
  text-align: left;
}

.job-list h2, .job-matches h2 {
  font-size: 2rem;
  color: #6495ED;
  margin-bottom: 2rem;
  text-align: center;
}

.job-card {
  background-color: #f4f4f4;
  border-left: 5px solid #6495ED;
  padding: 1.5rem 2rem;
  margin-bottom: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.3s ease;
}

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

.job-card h3 {
  font-size: 1.5rem;
  color: #333;
  margin-bottom: 0.75rem;
}

.job-card p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin: 0.25rem 0;
}

.signup-container {
    width: 100%;
    max-width: 1000px;
    margin: 60px auto;
    padding: 30px;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
    font-family: 'Segoe UI', sans-serif;
}

.signup-container h2 {
    text-align: center;
    margin-bottom: 25px;
    color: #4169e1;
}

.signup-container form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.signup-container label {
    font-weight: bold;
    margin-bottom: 5px;
    color: #333;
}

.signup-container input,
.signup-container textarea {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 16px;
}

.signup-container button {
    background-color: #6495ED;
    color: #fff;
    padding: 12px;
    border: none;
    border-radius: 6px;
    font-weight: bold;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s;
}

.signup-container button:hover {
    background-color: #4169e1;
}

a {
    text-decoration: none;
    color: #5b2cc3; /* optional: matches the purple you're using */
    font-weight: 500;
}

a:hover {
    text-decoration: underline;
}


.form-errors ul {
    background: #ffe6e6;
    border: 1px solid #ff4d4d;
    color: #cc0000;
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 6px;
    list-style-type: none;
}


/* Ensure nav-links list items don't auto-expand dropdowns */
.nav-links li {
    position: relative;
}

/* Dropdown container */
.dropdown {
    position: relative;
}

/* Dropdown toggle */
.dropbtn {
    cursor: pointer;
    text-decoration: none;
    font-weight: bold;
    color: #6495ED;
}

/* Dropdown hidden by default */
.dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    background-color: white;
    min-width: 160px;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.1);
    z-index: 999;
    border-radius: 6px;
}

/* Show dropdown on hover */
.dropdown:hover .dropdown-content {
    display: block;
}

/* Dropdown link and button styles */
.dropdown-content a,
.dropdown-content form {
    color: #333;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.dropdown-content a:hover,
.dropdown-content form:hover {
    background-color: #f0f0f0;
}

.logout-btn {
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    font: inherit;
    color: inherit;
    padding: 0;
    margin: 0;
    cursor: pointer;
}

.site-footer {
    background-color: #1a1a1a;
    color: #f2f2f2;
    padding: 2rem 1rem;
    margin-top: 4rem;
    font-size: 0.9rem;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-column {
    flex: 1 1 250px;
    margin: 1rem;
}

.footer-column h3,
.footer-column h4 {
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.footer-column ul {
    list-style-type: none;
    padding: 0;
}

.footer-column ul li {
    margin: 0.25rem 0;
}

.footer-column ul li a {
    color: #cccccc;
    text-decoration: none;
}

.footer-column ul li a:hover {
    color: #ffffff;
}

.footer-bottom {
    text-align: center;
    margin-top: 2rem;
    border-top: 1px solid #444;
    padding-top: 1rem;
    font-size: 0.8rem;
}

.resume-builder {
  display: flex;
  justify-content: center; /* Center the panel horizontally */
  align-items: flex-start; /* Align to top, not vertically centered */
  gap: 2rem;
  padding: 6rem 2rem;
  background-color: #f4f4f4;
}

.resume-form-panel {
  width: 100%;
  max-width: 700px;         /* Control the size of the form panel */
  background-color: #fff;
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.resume-form-panel h2 {
  color: #6495ED;
  font-size: 2rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

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

.resume-form-panel label {
  display: block;
  font-weight: bold;
  margin-bottom: 0.5rem;
  color: #333;
}

.resume-form-panel input,
.resume-form-panel textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
}

.resume-preview {
  padding: 4rem 2rem;
  background-color: #f9f9f9;
  text-align: center;
}

.resume-box {
  max-width: 800px;
  margin: 0 auto;
  background: white;
  padding: 2rem 3rem;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  text-align: left;
}

.resume-box h1 {
  font-size: 2rem;
  color: #333;
  margin-bottom: 1rem;
}

.resume-section {
  margin-top: 2rem;
}

.resume-section h2 {
  font-size: 1.5rem;
  color: #6495ED;
  margin-bottom: 0.5rem;
}

.resume-section p {
  font-size: 1.1rem;
  line-height: 1.6;
}

.resume-preview {
  padding: 4rem 1rem;
  background-color: #f9f9f9;
  display: flex;
  justify-content: center;
}

.resume-box {
  background: #fff;
  padding: 2rem 3rem;
  max-width: 750px;
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  font-family: 'Segoe UI', sans-serif;
  line-height: 1.8;
}

.resume-box h1 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: #222;
}

.resume-box p {
  font-size: 1rem;
  margin-bottom: 0.75rem;
}

.resume-section {
  margin-top: 2rem;
}

.resume-section h2 {
  font-size: 1.25rem;
  color: #6495ED;
  border-bottom: 1px solid #ccc;
  padding-bottom: 0.25rem;
  margin-bottom: 0.5rem;
}

.resume-section p {
  margin-left: 1rem;
  font-size: 1rem;
}

.resume-box ul {
  margin-left: 1.5rem;
  padding-left: 1rem;
  list-style-type: disc;
}

.resume-box li {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  line-height: 1.6;
}



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

.form-section h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: #333;
}

textarea,
input[type="file"] {
  width: 100%;
  padding: 0.75rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.submit-button {
  background-color: #6495ED;
  color: #fff;
  border: none;
  padding: 0.75rem 2rem;
  font-size: 1rem;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.submit-button:hover {
  background-color: #4a7cd6;
}

.preview-box p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.preview-box strong {
  display: inline-block;
  width: 120px;
}

.preview-button {
  background-color: #eee;
  color: #333;
  margin-left: 10px;
}


.download-resume-button {
  margin-top: 20px;
  text-align: center;
}

.btn-download {
  background-color: #007bff;
  color: white;
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  display: inline-block;
  transition: background-color 0.3s;
}

.btn-download:hover {
  background-color: #0056b3;
}

select.form-control {
  padding: 8px;
  font-size: 1rem;
  border-radius: 6px;
}


.dashboard-wrapper {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 2rem;
    padding: 10rem 2rem 3rem 2rem;
    max-width: 1200px;   /* controls how wide it can grow */
    margin: 0 auto;      /* centers it horizontally */
}

@media screen and (max-width: 768px) {
    .dashboard-wrapper {
        padding: 2rem 1rem;
    }
}


.profile-pic,
.placeholder-pic {
    width: 120px;
    height: 120px;
    border-radius: 8px;
    object-fit: cover;
    background: #eee;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.8rem;
    color: #777;
    margin-bottom: 1rem;
}

.verified-badge {
    display: inline-block;
    background-color: #28a745;
    color: #fff;
    border-radius: 999px;
    font-size: 0.75rem;
    padding: 0.25rem 0.75rem;
    margin: 0.5rem 0;
    text-align: center;
}


.bio-info {
    width: 100%;
    text-align: left;
    margin-top: 1.5rem;
    font-size: 0.95rem;
}

.bio-info h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    border-bottom: 1px solid #ccc;
    padding-bottom: 0.3rem;
}

.bio-info ul {
    list-style: none;
    padding-left: 0;
}

.bio-info li {
    margin-bottom: 0.5rem;
}

.dashboard-main {
    flex-grow: 1;
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.bio-sidebar {
    width: 300px;
    background-color: #fff;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    position: relative;
    transition: width 0.3s ease;
}

.bio-sidebar.collapsed {
    width: 60px;
    padding: 1rem 0.5rem;
    overflow: hidden;
}

.bio-sidebar.collapsed .bio-info,
.bio-sidebar.collapsed .profile-pic,
.bio-sidebar.collapsed .placeholder-pic,
.bio-sidebar.collapsed h3,
.bio-sidebar.collapsed .uid,
.bio-sidebar.collapsed .verified-badge {
    display: none;
}

.toggle-bio-btn {
    position: absolute;
    top: 10px;
    right: -15px;
    background: #000;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    font-size: 16px;
    cursor: pointer;
    z-index: 10;
}

.bio-sidebar.collapsed .toggle-bio-btn {
    transform: rotate(180deg);
}

.dashboard-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    background-color: #f9f9f9;
    padding: 1rem 1.5rem;
    margin: 2rem auto;
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
    max-width: 800px;
}


@media (max-width: 600px) {
  .dashboard-nav {
    flex-direction: column;
    align-items: center;
  }

  .dashboard-nav a {
    width: 90%;
    text-align: center;
    padding: 0.75rem;
    font-size: 1rem;
  }
}

.dashboard-nav a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.dashboard-nav a:hover {
    color: #007bff;
    text-decoration: underline;
}

.dashboard-nav a.active {
    background-color: #007bff;
    color: #fff;
    border-radius: 6px;
    padding: 0.5rem 1rem;
}


.dashboard-section {
    margin-top: 2rem;
    padding: 1.5rem;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}

#editProfileForm {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 600px;
    margin: 2rem auto;
    background-color: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

#editProfileForm label {
    font-weight: 600;
    color: #1a1a1a;
    display: flex;
    flex-direction: column;
    font-size: 0.95rem;
}

#editProfileForm input,
#editProfileForm textarea {
    margin-top: 0.4rem;
    padding: 0.6rem 1rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    background-color: #f7f9fc;
    font-size: 0.95rem;
}

#editProfileForm button {
    width: fit-content;
    padding: 0.6rem 1.5rem;
    background-color: #007bff;
    color: #fff;
    font-weight: bold;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#editProfileForm button:hover {
    background-color: #0056b3;
}

#save-status {
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.profile-subnav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    background: #f9f9f9;
    padding: 0.5rem;
    border-radius: 8px;
}

.profile-subnav a {
    flex: 1 1 auto;
    min-width: 40%;
    text-align: center;
    text-decoration: none;
    color: #333;
    font-weight: 500;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    transition: background 0.3s;
}

.profile-subnav a:hover,
.profile-subnav a.active {
    background: #007bff;
    color: white;
}

.profile-section {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    margin-bottom: 2rem;
}

.profile-section form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 1.5rem;
    border-radius: 10px;
    background-color: #fff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.profile-section input,
.profile-section textarea,
.profile-section select {
  width: 100%;
  max-width: 100%;
  padding: 0.5rem;
  margin-bottom: 1rem;
  box-sizing: border-box;
}


.form-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    align-items: center;
}

.form-group label {
    display: flex;
    flex-direction: column;
    font-weight: 600;
    font-size: 0.95rem;
    color: #1a1a1a;
    flex: 1;
    min-width: 200px;
}

.form-group input,
.form-group textarea {
    margin-top: 0.4rem;
    padding: 0.6rem 1rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    background-color: #f7f9fc;
    font-size: 0.95rem;
    width: 100%;
}

.profile-section button {
    align-self: flex-start;
    padding: 0.5rem 1.25rem;
    background-color: #007bff;
    color: white;
    font-weight: bold;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.profile-section button:hover {
    background-color: #0056b3;
}

select {
    padding: 0.6rem 1rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    background-color: #f7f9fc;
    font-size: 0.95rem;
}

.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background-color: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
}


.modal-content {
  background-color: white;
  padding: 1.5rem;
  border-radius: 12px;
  width: 100%;
  max-width: 500px;
  height: auto;
  min-height: 600px; /* Increase to fit the full crop area */
  box-sizing: border-box;
  overflow: visible;
  text-align: center;
  position: relative;
}


.modal-photo-preview {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
}

#imagePreview {
  max-width: 100%;
  max-height: 450px;
  border-radius: 8px;
}


.close-button {
  float: right;
  position: absolute;
  right: 10px;
  top: 10px;
  font-size: 1.5rem;
  cursor: pointer;
}

.placeholder-pic {
  width: 120px;
  height: 120px;
  background-color: #ccc;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 0.9rem;
  color: #555;
  cursor: pointer;
  transition: background-color 0.2s ease;
}
.placeholder-pic:hover {
  background-color: #bbb;
}

.photo-options {
  display: flex;
  justify-content: space-around;
  margin: 1rem 0;
}

.photo-options button {
  background: #1a1a1a;
  color: white;
  border: none;
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: background 0.2s ease;
}

.photo-options button:hover {
  background: #333;
}

.save-btn {
  background-color: #0a66c2;
  color: white;
  border: none;
  padding: 10px 18px;
  border-radius: 6px;
  font-weight: bold;
  font-size: 14px;
  margin-top: 1rem;
  cursor: pointer;
  transition: background 0.2s ease;
}

.save-btn:hover {
  background-color: #004182;
}

