/* updated 2025-07-25 */
body {
  font-family: system-ui, sans-serif;
  background: #f4f2ee;
  color: #222;
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}


.container {
  max-width: 75vw;
  margin: 0 auto;
  box-sizing: border-box;
  width: 100%;
}
.header {
  background: rgba(255,255,255,0.5);
  color: #222;
  border-bottom: 1px solid #eee;
  padding: 0.7rem 0.5rem 0.7rem 0.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: sticky;
  top: 0;
  z-index: 1000;

  height: auto;
  backdrop-filter: blur(16px);
}
.header-content {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  gap: 1rem;
}
.flex-left {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}
.flex-middle {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  min-width: 0;
}
.flex-right {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: 0 0 auto;
}
.brand {
  font-weight: 700;
  font-size: 1.2rem;
  color: #111;
  text-decoration: none;
  position: relative;
}

.brand-platform {
  padding-right: 1rem;
}

.platform-indicator {
  position: absolute;
  top: 0.1rem;
  right: -0.5rem;
  background: #3498db;
  color: white;
  font-size: 0.6rem;
  font-weight: 600;
  padding: 0.2rem 0.4rem;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.brand-platform:hover .platform-indicator {
  background: #2980b9;
  transform: scale(1.05);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  justify-content: center;
  max-width: 900px;
  margin: 0 auto;
}

.nav-link {
  color: #222;
  text-decoration: none;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.nav-link:hover {
  color: #3498db;
  text-decoration: underline;
}

.dropdown {
  position: relative;
}
.dropdown-toggle {
  background: none;
  border: none;
  font: inherit;
  font-family: system-ui, sans-serif;
  color: #222;
  cursor: pointer;
  padding: 0;
}
.dropdown-menu {
  display: none;
  position: absolute;
  left: 0;
  top: 100%;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 6px;
  min-width: 180px;

  z-index: 10;
}
.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu {
  display: block;
}
.dropdown-menu a {
  display: block;
  padding: 0.7em 1em;
  color: #222;
  text-decoration: none;
}
.dropdown-menu a:hover {
  background: #f4f2ee;
}
.btn,
.btn-secondary,
.cta-button {
  text-align: center;
  border-radius: 6px;
  padding: 0.5em 1em;
  font-size: 0.9rem;
  font-family: system-ui, sans-serif;
  cursor: pointer;
  text-decoration: none;


  display: inline-block;
  min-width: 110px !important;
  min-height: 35px !important;
  box-sizing: border-box;
}
.btn,
.cta-button  {
  background: #3498db;
  color: #fff;
  border: none;
}
.btn-secondary {
  background: #fff;
  color: #3498db;
  border: 1.5px solid #3498db;
}
.btn:hover,
a.btn:hover,
button.btn:hover,
.cta-button:hover {
  background: #2980b9;
  color: #fff;
}
.btn-secondary:hover,
.btn-secondary:focus {
  background: #e9f7fb;
  color: #2980b9;
  border-color: #2980b9;
}
.btn-secondary:active {
  background: #b2e4ef;
  color: #2980b9;
  border-color: #2980b9;
}

/* Disabled button styling */
.btn:disabled,
.btn[disabled],
.btn-secondary:disabled,
.btn-secondary[disabled],
.cta-button:disabled,
.cta-button[disabled] {
  background-color: #6c757d !important;
  border-color: #6c757d !important;
  color: #fff !important;
  cursor: not-allowed !important;
  opacity: 0.65;

}

.btn:disabled:hover,
.btn[disabled]:hover,
.btn-secondary:disabled:hover,
.btn-secondary[disabled]:hover,
.cta-button:disabled:hover,
.cta-button[disabled]:hover {
  background-color: #6c757d !important;
  border-color: #6c757d !important;
  color: #fff !important;
}
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  margin-left: 0.5em;
  z-index: 20;
  padding: 0;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 3px;
  margin: 3px 0;
  background: #111;
  border-radius: 6px;
  transition: all 0.35s ease-out;
  transform-origin: center;
}
.hamburger span:nth-child(1) {
  transform: translateY(0) rotate(0deg);
}
.hamburger span:nth-child(2) {
  opacity: 1;
  transform: translateX(0);
}
.hamburger span:nth-child(3) {
  transform: translateY(0) rotate(0deg);
}
.hamburger.collapsed span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}
.hamburger.collapsed span:nth-child(2) {
  opacity: 0;
  transform: translateX(-20px);
}
.hamburger.collapsed span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}
.search-bar {
  display: flex;
  align-items: center;
  background: #f8f9fa;
  border-radius: 6px;
  padding: 0.2em 0.5em 0.2em 1em;
  width: 100%;
  max-width: 200px;
  border: 1px solid #e0e0e0;
  margin-left: 1rem;
}
.search-bar input[type="text"] {
  border: none;
  outline: none;
  font-size: 0.9rem;
  font-family: system-ui, sans-serif;
  background: transparent;
  flex: 1;
  padding: 0.5em 0.5em 0.5em 0;
  color: #222;
}
.search-bar button {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0 0.3em;
  display: flex;
  align-items: center;
}
.search-bar svg {
  width: 1.2em;
  height: 1.2em;
  fill: #3498db;
  transition: fill 0.2s;
}
.search-bar button:hover svg {
  fill: #2980b9;
}

.text-center {
  text-align: center;
}

.highlight-search {
  background: #ffe066;
  color: #222;
  border-radius: 6px;
  padding: 0 2px;

  transition: background 0.2s;
  cursor: pointer;
}
.highlight-search:hover {
  background: #ffd633;
}
.footer {
  background: #2c3e50;
  color: #ecf0f1;
  padding: 2rem 0;
  margin-top: 2rem;
}
.footer-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.footer-brand {
  font-weight: 700;
  font-size: 1.2rem;
  color: #ecf0f1;
}
.footer-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}
.footer-links a {
  color: #bdc3c7;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover {
  color: #ecf0f1;
}
.footer-social {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.footer-social svg {
  width: 1.2em;
  height: 1.2em;
  fill: #bdc3c7;
  transition: fill 0.2s;
}
.footer-social:hover svg {
  fill: #ecf0f1;
}

.category-table {
  width: 100%;
  margin: 2.5rem 0 0 0;
  border-radius: 6px;
  background: #fff;

  overflow: hidden;
  border-collapse: separate;
  border-spacing: 0;
}
.category-row {
  display: flex;
  align-items: center;
  border-bottom: 1px solid #f0f0f0;
  padding: 0.7rem 0;
}
.category-row:last-child {
  border-bottom: none;
}
.category-domain {
  flex: 0 0 220px;
  display: flex;
  align-items: center;
  gap: 1rem;
  font-weight: 600;
  font-size: 1.08rem;
  padding: 1.1rem 1.2rem 1.1rem 1.5rem;
  min-height: 64px;
}
.category-domain img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  border-radius: 6px;
  background: #f4f2ee;

}
.category-domain svg {
  width: 36px;
  height: 36px;
  color: #3498db;
  flex-shrink: 0;
}

.category-link {
  color: #222;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.08rem;
  transition: color 0.2s;
}

.category-link:hover {
  color: #3498db;
}

.category-label-link {
  text-decoration: none;
  transition: transform 0.2s;
}

.category-label-link:hover {
  transform: translateY(-1px);
}

.category-label-link:hover .category-label {
  background: #d1f2f8;
  border-color: #3498db;
}
.category-examples {
  flex: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  padding: 1.1rem 1.5rem 1.1rem 0.5rem;
}
.category-label {
  display: inline-block;
  background: #e9f7fb;
  color: #3498db;
  border-radius: 6px;
  padding: 0.35em 1em;
  font-size: 0.98em;
  font-weight: 500;
  margin: 0 0.2em 0.2em 0;
  border: 1px solid #b2e4ef;

  letter-spacing: 0.01em;
}
.feature-card,
.hero,
.feature-section {
  border-radius: 6px;
}
a:hover {
  text-decoration: underline;
}
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
  list-style: none;
  background: #f8f9fa;
  border-radius: 6px;

  font-size: 1rem;
  gap: 0.5rem;
}
.breadcrumb-item {
  color: #3498db;
  font-weight: 500;
  letter-spacing: 0.01em;
  display: flex;
  align-items: center;
}
.breadcrumb-item + .breadcrumb-item:before {
  content: "/";
  color: #bbb;
  margin: 0 0.5em;
  font-weight: 400;
}
.breadcrumb-item.active {
  color: #222;
  font-weight: 700;
}
.breadcrumb a {
  color: #3498db;
  text-decoration: none;
  transition: color 0.2s;
}
.breadcrumb a:hover {
  color: #2980b9;
  text-decoration: underline;
}

body.sticky-footer {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
body.sticky-footer main.container,
body.sticky-footer .container-md,
body.sticky-footer .container-xxl {
  flex: 1 0 auto;
}
body.sticky-footer .footer {
  margin-top: auto;
}
.form-container {
  background: #fff;
  max-width: 75vw;
  margin: 0 auto;
  padding: 2rem 1rem;
}
.form-header {
  text-align: center;
  margin-bottom: 2.5rem;
}
.form-header h1 {
  font-size: 2rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 0.5rem;
}
.form-header p {
  color: #666;
  font-size: 1.1rem;
}
.form-section {
  background: #fff;
  border-radius: 6px;

  padding: 1rem;
}
.form-section-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: #222;
  margin-bottom: 0.5rem;
  padding-bottom: 0.5rem;
}
.section-explanation {
  margin-bottom: 1rem;
}
.input-wrap {
  position: relative;
  margin-bottom: 1.5rem;
  width: 100%;
  box-sizing: border-box;
}
.input-wrap label {
  pointer-events: none;
  position: absolute;
  color: #666;
  font-size: 14px;
  font-family: system-ui, sans-serif;
  left: 12px;
  top: 12px;
  background: #fff;
  padding: 0 4px;
  visibility: hidden;
  transition: visibility 0.2s ease;
}
.input-wrap input:focus + label,
.input-wrap input + label,
.input-wrap textarea:focus + label,
.input-wrap textarea + label {
  visibility: visible;
  left: 8px;
  top: -8px;
  font-size: 12px;
  color: #3498db;
  font-weight: 500;
  transition: 200ms ease all;
}
.input-wrap input,
.input-wrap textarea,
.input-wrap select {
  width: 100%;
  padding: 0.5rem;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 14px;
  font-family: system-ui, sans-serif;
  transition: all 0.2s ease;
  background: #fff;
  box-sizing: border-box;
}
.input-wrap input:focus,
.input-wrap textarea:focus,
.input-wrap select:focus {
  outline: none;
  border-color: #3498db;
}
.input-wrap input.is-valid,
.input-wrap textarea.is-valid,
.input-wrap select.is-valid {
  border-color: #28a745;
}
.input-wrap input.is-invalid,
.input-wrap textarea.is-invalid,
.input-wrap select.is-invalid {
  border-color: #dc3545;
}
.invalid-feedback {
  display: none;
  color: #dc3545;
  font-size: 12px;
  font-family: system-ui, sans-serif;
  margin-top: 0.25rem;
}
.input-wrap input.is-invalid + .invalid-feedback,
.input-wrap textarea.is-invalid + .invalid-feedback,
.input-wrap select.is-invalid + .invalid-feedback {
  display: block;
}
.asterisk {
  color: #dc3545;
}
.alert {
  padding: 1rem;
  border-radius: 6px;
  margin: 2rem 0 0 0;
  display: none;
}
.alert.show {
  display: block;
}
.alert-danger {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}
.alert a {
  color: #3498db;
  text-decoration: underline;
}
.form-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #f0f0f0;
}
.form-check-input {
  margin-right: 0.5rem;
}

/* Date dropdown specific styles */
.date-dropdown {
  cursor: pointer;
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e") !important;
  background-repeat: no-repeat !important;
  background-position: right 0.75rem center !important;
  background-size: 16px !important;
  padding-right: 2.5rem !important;
  border: 2px solid #3498db !important;
  background-color: #f8f9fa !important;
}

.date-dropdown:focus {
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300818f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
}

/* Remove default browser dropdown arrow */
.date-dropdown::-ms-expand {
  display: none !important;
}

/* Additional browser-specific rules to hide default arrows */
.date-dropdown::-webkit-select-placeholder {
  display: none;
}

.date-dropdown::-moz-focus-inner {
  border: 0;
}

.date-dropdown:-moz-focusring {
  color: transparent;
  text-shadow: 0 0 0 #000;
}

.date-dropdown option {
  padding: 0.5rem;
  font-family: system-ui, sans-serif;
}

/* hero section */
.hero {
  padding: 3rem 2rem;
  margin-top: 2rem;
  margin-bottom: 2rem;
  border-radius: 6px;

  background: #fff;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  min-height: 320px;
}
.hero-content {
  flex: 1;
  min-width: 280px;
  max-width: 480px;
  text-align: center;
}
.hero-title {
  font-size: 2rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 1rem;
  line-height: 1.2;
}
.hero-subtitle {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 1.5rem;
  line-height: 1.4;
}
.hero-image {
  flex: 1;
  min-width: 280px;
  max-width: 480px;
  text-align: center;
}
.hero-image img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;

}
/* feature section */
.feature-section {
  margin-bottom: 2rem;
}
.feature-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
  align-items: stretch;
}
.feature-card {
  border: none;
  background: #fff;

  border-radius: 6px;
  padding: 1.5rem 1rem;

  min-width: 180px;
  max-width: 320px;
  margin: 0 auto;
  margin-bottom: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  flex: 1 1 180px;
}
.feature-card  p {
  text-align: center;
}
.feature-card:hover {

}
.feature-icon {
  font-size: 2rem;
  color: #3498db;
  margin-bottom: 0.8rem;
}
.cta-section {
  margin: 2rem 0 0 0;
  text-align: center;
  padding: 1.5rem;
}

.cta-question {
  font-weight: bold;
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.page-dim-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.page-dim-overlay.active {
  opacity: 1;
  visibility: visible;
}
.highlighted-block {
  position: relative;
  z-index: 1001;

  border-radius: 6px;

}
.offers-table {
  background: #fff;
  border-radius: 6px;

  overflow: hidden;
  border: 1px solid #f0f0f0;
}
.offer-header {
  display: flex;
  background: #f8f9fa;
  border-bottom: 2px solid #e9ecef;
}
.offer-title {
  flex: 1;
  padding: 1.5rem;
  text-align: center;
  font-size: 1.2rem;
  font-weight: 700;
  color: #3498db;
  border-right: 1px solid #e9ecef;
}
.offer-title:last-child {
  border-right: none;
}
.offer-row {
  display: flex;
  border-bottom: 1px solid #f0f0f0;
}
.offer-row:last-child {
  border-bottom: none;
}
.offer-cell {
  flex: 1;
  padding: 1.5rem;
  border-right: 1px solid #f0f0f0;
  display: flex;
  align-items: center;
}
.offer-cell:last-child {
  border-right: none;
}
.offer-icon {
  font-size: 2rem;
  margin-right: 1rem;
  flex-shrink: 0;
}
.offer-content h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #222;
  margin-bottom: 0.5rem;
}
.offer-content p {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.4;
  margin: 0;
}
.offer-step {
  display: flex;
  align-items: center;
  width: 100%;
}
.step-icon {
  font-size: 1.5rem;
  margin-right: 1rem;
  flex-shrink: 0;
}
.step-text {
  color: #555;
  font-size: 0.95rem;
  line-height: 1.4;
}

.category-table {
  width: 100%;
  margin: 2.5rem auto 0 auto;
  border-radius: 6px;
  background: #fff;

  overflow-x: auto;
  border-collapse: separate;
  border-spacing: 0;
  max-width: 900px;
}
.section-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-align: center;
}

/* Utility Classes */
.d-none {
  display: none !important;
}
.d-block {
  display: block !important;
}
.d-inline {
  display: inline !important;
}
.d-inline-block {
  display: inline-block !important;
}
.d-flex {
  display: flex !important;
}
.d-inline-flex {
  display: inline-flex !important;
}


/* Form Layout */
.form-layout {
display: grid;
grid-template-columns: 1fr 350px;
gap: 2.5rem;
align-items: start;
}

/* Platform and Hosting Options */
.platform-options,
.hosting-options,
.type-options {
display: flex;
flex-wrap: wrap;
gap: 0.5rem;
}

.platform-option,
.hosting-option,
.type-option {
display: flex;
align-items: center;
cursor: pointer;
}

/* Form Help Text */
.form-help {
font-size: 0.875rem;
font-family: system-ui, sans-serif;
color: #6c757d;
margin-top: 0.5rem;
line-height: 1.4;
}



/* Technology Filtered and Selected */
.technology-filtered,
.technology-selected {
display: flex;
flex-wrap: wrap;
gap: 0.5rem;
margin-top: 0.75rem;
padding: 0.75rem;
border-radius: 6px;
min-height: 2.5rem;
}

.technology-filtered {
background-color: #f8f9fa;
border: 1px solid #e9ecef;
}

.technology-selected {
background-color: #e7f3ff;
border: 1px solid #b3d9ff;
display: flex !important;
}

.technology-selected:empty {
background-color: #f8f9fa;
border: 1px dashed #dee2e6;
}

.technology-filtered:empty {
display: none;
}

.technology-selected:empty::before {
content: "Aucune technologie sélectionnée";
display: block;
width: 100%;
font-size: 0.875rem;
font-family: system-ui, sans-serif;
font-weight: 500;
color: #6c757d;
font-style: italic;
text-align: center;
padding: 0.5rem 0;
}

.technology-filtered:not(:empty)::before {
content: "";
display: none;
}

.technology-selected:not(:empty)::before {
content: "Technologies sélectionnées :";
display: block;
width: 100%;
font-size: 0.875rem;
font-family: system-ui, sans-serif;
font-weight: 500;
color: #0d6efd;
margin-bottom: 0.5rem;
}

/* Category Filtered and Selected */
.category-filtered,
.category-selected {
display: flex;
flex-wrap: wrap;
gap: 0.5rem;
margin-top: 0.75rem;
padding: 0.75rem;
border-radius: 6px;
min-height: 2.5rem;
}

.category-filtered {
background-color: #f8f9fa;
border: 1px solid #e9ecef;
}

.category-selected {
background-color: #e7f3ff;
border: 1px solid #b3d9ff;
display: flex !important;
}

.category-selected:empty {
background-color: #f8f9fa;
border: 1px dashed #dee2e6;
}

.category-filtered:empty {
display: none;
}

.category-selected:empty::before {
content: "Aucune catégorie sélectionnée";
display: block;
width: 100%;
font-size: 0.875rem;
font-family: system-ui, sans-serif;
font-weight: 500;
color: #6c757d;
font-style: italic;
text-align: center;
padding: 0.5rem 0;
}

.category-filtered:not(:empty)::before {
content: "";
display: none;
}

.category-selected:not(:empty)::before {
content: "Catégories sélectionnées :";
display: block;
width: 100%;
font-size: 0.875rem;
font-family: system-ui, sans-serif;
font-weight: 500;
color: #0d6efd;
margin-bottom: 0.5rem;
}

/* Preview Panel */
.preview-panel {
background-color: #F4F2EE;
position: sticky;
top: 1rem;
border-radius: 6px;
padding: 0;

overflow: hidden;
}

.preview-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 1rem;
padding: 1rem 1rem 0 1rem;
}

.preview-header h3 {
font-size: 1.25rem;
margin: 0;
padding: 0.5rem 0;
}

.preview-close-btn {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
width: 32px;
height: 32px;
background: #6c757d;
color: white;
border: none;
border-radius: 6px;
cursor: pointer;
padding: 0;
transition: background 0.2s;
}

.preview-close-btn:hover {
background: #5a6268;
}

.preview-close-btn span {
display: block;
width: 16px;
height: 2px;
background: white;
border-radius: 6px;
transition: all 0.35s ease-out;
transform-origin: center;
}

.preview-close-btn span:nth-child(1) {
transform: translateY(0) rotate(0deg);
}

.preview-close-btn span:nth-child(2) {
transform: translateY(0) rotate(0deg);
}

.preview-close-btn.collapsed span:nth-child(1) {
transform: translateY(0) rotate(45deg);
}

.preview-close-btn.collapsed span:nth-child(2) {
transform: translateY(-2px) rotate(-45deg);
}

/* On small devices, always show X state since the button is only visible when drawer is open */
@media (max-width: 991px) {
.preview-close-btn span:nth-child(1) {
  transform: translateY(0) rotate(45deg);
}

.preview-close-btn span:nth-child(2) {
  transform: translateY(-2px) rotate(-45deg);
}

.preview-close-btn.collapsed span:nth-child(1) {
  transform: translateY(0) rotate(45deg);
}

.preview-close-btn.collapsed span:nth-child(2) {
  transform: translateY(-2px) rotate(-45deg);
}
}

.preview-content {
border: 1px solid #dee2e6;
border-radius: 6px;
padding: 1rem;
background: white;
margin: 0 1rem 1rem 1rem;
overflow: hidden;
}

.preview-section {
margin-bottom: 1rem;
padding-bottom: 0.5rem;
border-bottom: 1px solid #f1f3f4;
}

.preview-section:last-child {
border-bottom: none;
margin-bottom: 0;
}

.preview-headline {
font-size: 0.9rem;
font-weight: 600;
color: #6c757d;
margin: 0 0 0.75rem 0;
text-transform: uppercase;
letter-spacing: 0.5px;
}

.preview-title {
font-size: 1.5rem;
margin-bottom: 0.5rem;
}

.preview-dates {
font-size: 1.1rem;
color: #6c757d;
margin-bottom: 0.75rem;
}

.preview-type {
margin-bottom: 0.75rem;
display: flex;
flex-wrap: wrap;
gap: 0.5rem;
}

.preview-type .category-label {
background: #f8f9fa;
color: #495057;
padding: 0.25rem 0.75rem;
border-radius: 6px;
font-size: 0.875rem;
font-weight: 500;
border: 1px solid #e9ecef;
transition: all 0.2s ease;
}

.preview-type .category-label:hover {
background: #e9ecef;
color: #212529;
}

.preview-description {
font-size: 0.875rem;
line-height: 1.5;
color: #495057;
}

/* Submit Container */
.submit-container {
display: flex;
justify-content: flex-end;
align-items: center;
max-width: 100%;
width: 100%;
}

/* Sticky Submit Button */
.sticky-submit {
position: sticky;
bottom: 0;
background: rgba(255, 255, 255, 0.85);
backdrop-filter: blur(8px);
border-top: 1px solid rgba(222, 226, 230, 0.3);
padding: 1rem 0;
z-index: 1000;
transition: all 0.3s ease;
display: flex;
justify-content: flex-end;
align-items: center;
}

/* Blend effect when at bottom of page */
.sticky-submit.at-bottom {
background: rgba(255, 255, 255, 0.6);
border-top-color: transparent;
}





/* Section Navigation Styles */
.section-nav {
background: #f8f9fa;
border-bottom: 1px solid #e9ecef;
padding-top: 1rem;
margin-bottom: 2rem;
overflow: hidden;
}

.section-progress {
max-width: 1800px;
margin: 0 auto;
padding: 0 1rem;
overflow: visible;
}

.progress-bar {
background: #e9ecef;
height: 4px;
border-radius: 6px;
margin-bottom: 1.5rem;
overflow: hidden;
}

.progress-fill {
background: linear-gradient(90deg, #3498db, #2980b9);
height: 100%;
width: 12.5%; /* 1/8 sections */
transition: width 0.3s ease;
}

.section-indicators {
display: flex;
justify-content: flex-start;
align-items: center;
gap: 0.5rem;
flex-wrap: nowrap;
overflow-x: auto;
scrollbar-width: none; /* Firefox */
-ms-overflow-style: none; /* IE and Edge */
padding-bottom: 0.5rem;
padding-left: 0.5rem;
padding-right: 0.5rem;
white-space: nowrap;
scroll-behavior: smooth;
scroll-snap-type: x proximity;
-webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
width: 100%;
max-width: 100%;
box-sizing: border-box;
}

.section-indicators::-webkit-scrollbar {
display: none; /* Chrome, Safari, Opera */
}

.section-indicator {
display: flex;
flex-direction: column;
align-items: center;
gap: 0.5rem;
cursor: pointer;
padding: 1.0rem;
border-radius: 6px;
transition: all 0.2s ease;
min-width: 80px;
flex-shrink: 0;
scroll-snap-align: center;
}

.section-indicator:hover {
background: rgba(52, 152, 219, 0.1);
}

.section-indicator.active {
background: rgba(52, 152, 219, 0.15);
}

.section-indicator.completed {
background: rgba(52, 152, 219, 0.1);
}

.indicator-number {
width: 32px;
height: 32px;
border-radius: 50%;
background: #e9ecef;
color: #6c757d;
display: flex;
align-items: center;
justify-content: center;
font-weight: 600;
font-size: 14px;
transition: all 0.2s ease;
min-width: 32px;
min-height: 32px;
}

.section-indicator.active .indicator-number {
background: #3498db;
color: white;
}

.section-indicator.completed .indicator-number {
background: #28a745;
color: white;
}

.indicator-text {
font-size: 1.0rem;
font-weight: 500;
color: #6c757d;
text-align: center;
line-height: 1.2;
}

.section-indicator.active .indicator-text {
color: #3498db;
font-weight: 600;
}

.section-indicator.completed .indicator-text {
color: #28a745;
}

/* Form Section Styles */
.sections-container {
position: relative;
overflow: hidden;
width: 100%;
box-sizing: border-box;
}

.form-section {
animation: fadeIn 0.3s ease;
min-height: 200px;
width: 100%;
max-width: 100%;
position: relative;
box-sizing: border-box;
overflow: hidden;
}

.form-section.active {
display: block !important;
visibility: visible !important;
opacity: 1 !important;
}

@keyframes fadeIn {
from { opacity: 0; transform: translateY(10px); }
to { opacity: 1; transform: translateY(0); }
}

.section-header {
margin-bottom: 2rem;
text-align: center;
width: 100%;
box-sizing: border-box;
overflow: hidden;
}

.section-header h3 {
color: #2c3e50;
margin-bottom: 0.5rem;
font-size: 1.75rem;
word-wrap: break-word;
overflow-wrap: break-word;
}

.section-header p {
color: #6c757d;
font-size: 1.1rem;
max-width: 600px;
margin: 0 auto;
word-wrap: break-word;
overflow-wrap: break-word;
}

.section-content {
max-width: 800px;
width: 100%;
margin: 0 auto;
padding: 1rem 1rem;
box-sizing: border-box;
overflow: hidden;
}

.section-navigation {
display: flex;
justify-content: space-between;
align-items: center;
margin-top: 0rem;
padding: 1.5rem 0;
border-top: 1px solid #e9ecef;
}

.section-navigation .btn {
min-width: 120px;
padding: 0.75rem 1.5rem;
font-weight: 500;
}

.section-navigation #nextBtn {
display: inline-block;
}

/* Show submit button when it should be visible */
.section-navigation #submit.show {
display: inline-block !important;
}

/* ========================================
 RESPONSIVE DESIGN - ALL MEDIA QUERIES
 ======================================== */

/* Extra Large Screens (1400px and above) */
@media (min-width: 1400px) {
.form-layout {
  grid-template-columns: 1fr 450px;
  gap: 3.5rem;
}
}

/* Large Screens (1200px and above) */
@media (min-width: 1200px) {
.container {
  max-width: 65vw;
}

.hero {
  margin-left: auto;
  margin-right: auto;
  padding: 4rem 3rem;
  min-height: 340px;
}

.feature-row {
  gap: 2.5rem;
}

.feature-card {
  max-width: 320px;
  min-width: 160px;
  padding: 1.5rem 1.2rem;
}

.category-table {
  margin-left: auto;
  margin-right: auto;
}

.form-layout {
  grid-template-columns: 1fr 400px;
  gap: 3rem;
}

.preview-panel {
  padding: 1rem;
}

.preview-content {
  padding: 1.5rem;
}
}

/* Desktop and Large Tablets (992px and above) */
@media (min-width: 992px) {

.preview-toggle-btn {
  display: none;
}

.preview-overlay {
  display: none;
}

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

/* Medium Screens (768px to 991px) */
@media (min-width: 768px) and (max-width: 991px) {
.preview-panel {
  width: 450px;
  border-left: 1px solid #dee2e6;

}
}

/* Tablets and Small Desktops (900px and below) */
@media (max-width: 900px) {
.section-indicator {
  padding: 1.0rem;
}

.section-indicator:not(:first-child):not(:last-child) {
  margin-left: 5px;
  margin-right: 5px;
}

.section-content {
  padding-top: 2rem;
}

.container {
  max-width: 98vw;
}

.header-content {
  max-width: 100vw;
}

.hero {
  flex-direction: column;
  text-align: center;
  min-height: auto;
  padding: 2rem 1.5rem;
}

.hero-content,
.hero-image {
  max-width: 100%;
}

.feature-row {
  flex-direction: column;
  gap: 1rem;
}

.feature-card {
  max-width: 100%;
}

.offers-table {
  margin: 0 -0.5rem;
}

.offer-header {
  flex-direction: column;
}

.offer-title {
  border-right: none;
  border-bottom: 1px solid #e9ecef;
}

.offer-title:last-child {
  border-bottom: none;
}

.offer-row {
  flex-direction: column;
}

.offer-cell {
  border-right: none;
  border-bottom: 1px solid #f0f0f0;
}

.offer-cell:last-child {
  border-bottom: none;
}
}

/* Mobile and Small Tablets (768px and below) */
@media (max-width: 768px) {
.technology-filtered,
.technology-selected,
.category-filtered,
.category-selected {
  margin-top: 0.5rem;
  padding: 0.5rem;
  min-height: 2rem;
}

.technology-filtered::before,
.technology-selected::before,
.category-filtered::before,
.category-selected::before {
  font-size: 0.8rem;
  margin-bottom: 0.25rem;
}
.section-nav {
  padding: 0.75rem 0;
  margin-bottom: 1.5rem;
}

.section-progress {
  padding: 0 0.75rem;
}

.section-indicators {
  justify-content: flex-start;
  gap: 0.25rem;
  padding-bottom: 0.25rem;
  scroll-snap-type: x proximity;
  flex-wrap: nowrap;
  overflow-x: auto;
  scroll-behavior: smooth;
}

.section-indicator {
  min-width: 70px;
  scroll-snap-align: center;
}

.indicator-number {
  width: 28px;
  height: 28px;
  font-size: 12px;
  min-width: 28px;
  min-height: 28px;
}

.indicator-text {
  max-width: none;
  overflow: visible;
  text-overflow: clip;
  white-space: normal;
  text-align: center;
}

.section-header {
  margin-bottom: 1.5rem;
  padding: 0 0.5rem;
}

.section-header h3 {
  font-size: 1.5rem;
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
}

.section-header p {
  font-size: 1rem;
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
  max-width: 100%;
}

.section-navigation {
  flex-direction: column;
  gap: 1rem;
}

.section-navigation .btn {
  width: 100%;
  max-width: 300px;
}
}

/* Small Tablets and Large Phones (700px and below) */
@media (max-width: 700px) {
html, body {
  overflow-x: hidden;
}
.section-navigation {
  position: fixed !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  z-index: 1200 !important;
  width: 100vw !important;
  max-width: 100vw !important;
  box-sizing: border-box !important;
  height: 56px !important;
  padding: 0.5rem 0.5rem !important;
  margin: 0 !important;
  border-top: 1px solid #e9ecef !important;
  background: #fff !important;
  display: flex !important;
  flex-direction: row !important;
  justify-content: space-between !important;
  align-items: center !important;
  gap: 0.5rem !important;
  transition: none !important;
  overflow: hidden !important;

  backdrop-filter: blur(8px) !important;
}
.section-navigation .btn {
  width: calc(50% - 0.25rem) !important;
  min-width: 70px !important;
  max-width: 180px !important;
  font-size: 0.98rem !important;
  padding: 0.6em 0.2em !important;
  height: 44px !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
  border-radius: 6px;

  transition: all 0.2s ease !important;
}

.section-navigation .btn:hover {
  transform: translateY(-1px) !important;

}

.section-navigation #nextBtn {
  display: inline-block !important;
}

/* Hide section navigation when mobile menu is open */
body.menu-open .section-navigation {
  display: none !important;
}
.form-section {
  padding-bottom: 64px !important;
  margin-bottom: 0 !important;
  margin-top: 0 !important;
}
.footer {
  padding-bottom: 64px;
}
/* If the footer still appears above the nav at the very bottom, consider a JS helper to hide the nav when scrolled to the end. */

.container {
  max-width: 100vw;
  padding: 1.2rem 0.2rem;
}
.header {
  padding: 0rem 1rem;
  width: 100vw;
  box-sizing: border-box;
}
.header-content {
  flex-direction: row;
  justify-content: space-between;
  max-width: 100vw;
  min-height: 56px;
  align-items: center;
  position: relative;
  z-index: 1001;
  gap: 0.5rem;
}
.flex-left {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}
.flex-middle {
  display: none;
}
.flex-right {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex: 0 0 auto;
  margin-left: auto;
}
.brand {
  font-size: 1.1rem;
  padding: 0.5rem 0;
}

.platform-indicator {
  font-size: 0.5rem;
  padding: 0.15rem 0.3rem;
  top: 0.4rem;
  right: -1rem;
}
.nav-links {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 0;

  padding: 0 !important;
  display: none;
  overflow-y: auto;
  margin-top: 0;
  z-index: 1050;
}
.nav-links.open {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  border-top: 1px solid #eee;

  animation: slideDownNav 0.25s cubic-bezier(.4,0,.2,1);
  margin-top: 0;
  height: 100vh;
  max-width: 100vw;
  padding-top: 2rem;
}
.nav-links {
  width: 100%;
  padding: 1.2rem 2rem;
  border-bottom: 1px solid #f0f0f0;
  text-align: center;
  font-size: 1.1rem;
  background: #fff;
  gap: 1rem;
}
.nav-links .btn {
  margin: 0;
  width: 80%;
  font-size: 1rem;
  padding: 0.8rem 0;
  min-width: 120px;
}
.hamburger {
  display: flex;
  position: relative;
  right: auto;
  top: auto;
  z-index: 1101;
  background: #fff;
  border-radius: 6px;

  margin-left: auto;
}
.search-bar {
  display: none;
  margin-left: 0;
  margin-top: 1rem;
  max-width: 300px;
  border-bottom: none;
}
.nav-links.open .search-bar {
  display: flex;
  border-bottom: 1px solid #f0f0f0;
  margin-bottom: 1rem;
}
.footer {
  display: none !important;
}
}

/* Mobile Phones (600px and below) */
@media (max-width: 600px) {
.form-container {
  padding: 1rem 0.5rem;
}

.form-section {
  padding: 1rem;
  margin-bottom: 2rem;
}

.form-header h1 {
  font-size: 1.6rem;
}

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

#signup_alert.alert {
  margin: 1.2rem 0 0 0;
}

.hero {
  padding: 1.5rem 1rem;
  max-width: 100vw;
  box-sizing: border-box;
}

.hero-title {
  font-size: 1.6rem;
}

.hero-subtitle {
  font-size: 1rem;
}

.feature-card {
  padding: 1rem 0.8rem;
  max-width: 100vw;
  box-sizing: border-box;
}

.feature-section {
  margin-bottom: 1.5rem;
  max-width: 100vw;
  box-sizing: border-box;
}

.cta-section {
  margin-top: 1.5rem;
  max-width: 100vw;
  box-sizing: border-box;
}

.category-table {
  margin: 1.5rem auto 0 auto;
  max-width: 98vw;
  min-width: 320px;
  overflow-x: auto;
  border-radius: 6px;
  background: #fff;

  border-collapse: separate;
  border-spacing: 0;
}

.offer-cell {
  padding: 1rem;
}

.offer-title {
  padding: 1rem;
  font-size: 1.1rem;
}

.offer-icon {
  font-size: 1.5rem;
  margin-right: 0.8rem;
}

.step-icon {
  font-size: 1.2rem;
  margin-right: 0.8rem;
}
}

/* Small Mobile Phones (480px and below) */
@media (max-width: 480px) {
.section-header {
  margin-bottom: 1rem;
  padding: 0 0.25rem;
}

.section-header h3 {
  font-size: 1.3rem;
  line-height: 1.3;
}

.section-header p {
  font-size: 0.95rem;
  line-height: 1.4;
}

.section-nav {
  padding: 0.5rem 0;
  margin-bottom: 1rem;
}

.section-progress {
  padding: 0 0.5rem;
  overflow: visible;
}

.section-indicators {
  justify-content: flex-start;
  gap: 0.2rem;
  flex-wrap: nowrap;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x proximity;
}

.section-indicator {
  min-width: 60px;
  scroll-snap-align: center;
}

.indicator-number {
  width: 24px;
  height: 24px;
  font-size: 12px;
  min-width: 24px;
  min-height: 24px;
}

.indicator-text {
  max-width: none;
  overflow: visible;
  text-overflow: clip;
  white-space: normal;
  text-align: center;
}
}

/* Very Small Mobile Phones (360px and below) */
@media (max-width: 360px) {
.section-indicators {
  gap: 0.15rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x proximity;
}

.section-indicator {
  min-width: 50px;
  scroll-snap-align: center;
}

.indicator-number {
  width: 20px;
  height: 20px;
  font-size: 12px;
  min-width: 20px;
  min-height: 20px;
}

.indicator-text {
  max-width: none;
  overflow: visible;
  text-overflow: clip;
  white-space: normal;
  text-align: center;
}
}

/* Mobile Form Layout (991px and below) */
@media (max-width: 991px) {
.container {
  padding: 0.2rem;
}

.form-layout {
  grid-template-columns: 1fr;
}

.preview-panel {
  position: fixed;
  top: 0;
  right: -110vw;
  width: 100%;
  height: 100vh;
  z-index: 1080;
  transition: right 0.3s ease-in-out;
  overflow: hidden;
  border-left: none;

}

.preview-panel.show {
  left: 0;
}

.preview-toggle-btn {
  position: fixed;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  z-index: 1090;
  background: rgba(0, 129, 143, 0.7);
  color: white;
  border: none;
  border-radius: 6px;
  padding: 16px 12px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;

  transition: all 0.3s ease;
  min-width: 60px;
  text-align: center;
  backdrop-filter: blur(4px);
  height: 64px;
}

.preview-toggle-btn:hover {
  background: rgba(0, 109, 121, 0.95);
  padding-right: 16px;

}

.preview-overlay {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 1070;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.preview-overlay.show {
  opacity: 1;
  visibility: visible;
}
}

@keyframes slideDownNav {
from {
  opacity: 0;
  transform: translateY(-20px);
}
to {
  opacity: 1;
  transform: translateY(0);
}
}

@media (max-width: 700px) {
.mobile-footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 2rem;
  font-size: 0.98rem;
  align-items: center;
  width: 100%;
}
}
@media (min-width: 701px) {
.mobile-footer-links {
  display: none !important;
}
}

.mobile-only { display: none !important; }
@media (max-width: 700px) {
.mobile-only { display: block !important; }
}

/* Platform Page Styles */
.platform-section-header {
padding: 1.5rem 0;
}

.platform-header-content {
display: flex;
justify-content: space-between;
align-items: flex-start;
flex-wrap: wrap;
gap: 1rem;
}

.platform-header-text {
flex: 1;
align-self: flex-start;
}

.platform-header-actions {
flex-shrink: 0;
}

.platform-section-title {
font-size: 2.5rem;
font-weight: 700;
color: #3498db;
margin-bottom: 0.5rem;
letter-spacing: 0.01em;
text-align: left;
}

.platform-section-description {
font-size: 1.1rem;
color: #6c757d;
margin: 0;
text-align: left;
}

.platform-projects-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
gap: 1.5rem;
margin-bottom: 2rem;
}

.platform-project-card {
transition: transform 0.2s ease;
}

.platform-project-card:hover {
transform: translateY(-2px);
}

.platform-card {
border: none;
border-radius: 6px;


background: #fff;
overflow: hidden;
display: flex;
flex-direction: column;
min-height: 280px;
}

.platform-card:hover {

}

.platform-card-header {
padding: 1rem 1.25rem;
background: #f8f9fa;
border-bottom: 1px solid #e9ecef;
}

.platform-card-header-content {
display: flex;
justify-content: space-between;
align-items: flex-start;
flex-wrap: wrap;
gap: 1rem;
}

.platform-card-header-text {
flex: 1;
}

.platform-card-title {
font-size: 1.3rem;
font-weight: 600;
color: #3498db;
margin: 0 0 0.25rem 0;
}

.platform-card-subtitle {
font-size: 1rem;
color: #6c757d;
margin: 0;
font-weight: 400;
}

.platform-card-body {
padding: 0.75rem 1.25rem;
flex: 1;
display: flex;
flex-direction: column;
}

.platform-project-status-badge {
padding: 0.25rem 0.5rem;
border-radius: 6px;
font-size: 0.7rem;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.5px;
white-space: nowrap;
border: 1px solid;
flex-shrink: 0;
}

.platform-project-status-badge.ongoing {
background: rgba(40, 167, 69, 0.1);
color: #28a745;
border-color: #28a745;
}

.platform-project-status-badge.upcoming {
background: rgba(0, 123, 255, 0.1);
color: #007bff;
border-color: #007bff;
}

.platform-project-status-badge.completed {
background: rgba(108, 117, 125, 0.1);
color: #6c757d;
border-color: #6c757d;
}

.platform-preview-sections {
flex: 1;
display: flex;
flex-direction: column;
gap: 0.5rem;
}

.platform-preview-section {
padding-bottom: 0.5rem;
border-bottom: 1px solid #f1f3f4;
}

.platform-preview-section:last-child {
border-bottom: none;
padding-bottom: 0;
}

.platform-preview-headline {
font-size: 0.75rem;
font-weight: 600;
color: #6c757d;
margin: 0 0 0.5rem 0;
text-transform: uppercase;
letter-spacing: 0.5px;
}

.platform-preview-dates {
font-size: 0.9rem;
color: #6c757d;
margin-bottom: 0.5rem;
}

.platform-preview-type {
display: flex;
flex-wrap: wrap;
gap: 0.25rem;
}

.platform-category-label {
background: #f8f9fa;
color: #495057;
padding: 0.2rem 0.5rem;
border-radius: 6px;
font-size: 0.75rem;
font-weight: 500;
border: 1px solid #e9ecef;
transition: all 0.2s ease;
}

.platform-category-label:hover {
background: #e9ecef;
color: #212529;
}

.platform-card-footer {
background: #f8f9fa;
border-top: 1px solid #eee;
padding: 0.75rem 1.25rem;
border-radius: 6px;
display: flex;
justify-content: center;
gap: 0.75rem;
}

/* Platform Page Responsive Styles */
@media (max-width: 700px) {
.platform-header-content {
  flex-direction: column;
  align-items: stretch;
  text-align: center;
}

.platform-section-title {
  font-size: 2rem;
  text-align: center;
}

.platform-section-description {
  font-size: 1rem;
  text-align: center;
}

.platform-projects-grid {
  grid-template-columns: 1fr;
  gap: 1rem;
}

.platform-card {
  min-height: 250px;
}

.platform-card-body {
  padding: 0.75rem 1rem;
}
}

/* Blog Post Styles */
.blog-post {
max-width: 75vw;
margin: 0 auto;
padding: 2rem;
}

.blog-header {
text-align: center;
margin-bottom: 2rem;
background: #fff;
border-radius: 6px;

padding: 2rem;
}

.blog-header h1 {
font-size: 2.5rem;
font-weight: 700;
color: #222;
margin: 0;
line-height: 1.2;
}

.blog-content {
background: #fff;
border-radius: 6px;

padding: 2rem;
}

/* Simple CTA Section Styles */
.cta-section {
margin: 2rem 0 0 0;
text-align: center;
padding: 1.5rem;
font-weight: bold;
font-size: 1.1rem;
margin-bottom: 1rem;
color: #00818f;
background: #f8f9fa;
padding: 1rem;
border-radius: 6px;

border: 1px solid #e9ecef;
}

/* Blog Post Responsive Styles */
@media (min-width: 1200px) {
.blog-post {
  max-width: 65vw;
}
}

@media (max-width: 900px) {
.blog-post {
  max-width: 98vw;
  padding: 1.5rem;
}

.cta-section {
  margin: 1.5rem 0 0 0;
  padding: 1.25rem;
}
}

@media (max-width: 700px) {
.blog-post {
  max-width: 100vw;
  padding: 1rem;
}

.blog-header {
  margin-bottom: 1.5rem;
  padding: 1.5rem;
}

.blog-header h1 {
  font-size: 2rem;
}

.blog-content {
  padding: 1.5rem;
}

.cta-section {
  margin: 1rem 0 0 0;
  padding: 1rem;
}
}

@media (max-width: 480px) {
.blog-post {
  padding: 0.5rem;
}

.blog-header {
  margin-bottom: 1rem;
  padding: 1rem;
}

.blog-header h1 {
  font-size: 1.8rem;
}

.blog-content {
  padding: 1rem;
}

.cta-section {
  margin: 0.75rem 0 0 0;
  padding: 0.75rem;
}
}

/* Mobile Footer Submenu Styles */
.mobile-footer-parent {
margin-top: 1rem;
border-top: 1px solid #e9ecef;
padding-top: 1.5rem;
}

.mobile-footer-parent .nav-link {
color: #00818f !important;
font-weight: 600 !important;
font-size: 1.1rem !important;
text-decoration: underline !important;
margin-bottom: 1rem !important;
display: block !important;
}

.mobile-footer-sub {
display: none;
margin-top: 1rem;
padding-left: 1rem;
border-left: 2px solid #e9ecef;
}

.mobile-footer-sub.show {
display: block;
}

.mobile-footer-sub a {
display: block !important;
padding: 0.75rem 1rem !important;
margin: 0.5rem 0 !important;
color: #6c757d !important;
text-decoration: none !important;
background: #f8f9fa !important;
border-radius: 6px !important;
font-size: 0.95rem !important;
font-weight: 500 !important;
transition: all 0.2s ease !important;
border: 1px solid #e9ecef !important;
}

.mobile-footer-sub a:hover {
background: #e9ecef !important;
color: #495057 !important;
transform: translateX(4px) !important;

}

.mobile-footer-sub a.footer-social {
display: flex !important;
align-items: center !important;
justify-content: space-between !important;
background: #fff !important;
border: 1px solid #00818f !important;
color: #00818f !important;
}

.mobile-footer-sub a.footer-social:hover {
background: #00818f !important;
color: #fff !important;
}

.mobile-footer-sub a.footer-social img {
width: 20px !important;
height: 20px !important;
filter: brightness(0) saturate(100%) invert(48%) sepia(79%) saturate(2476%) hue-rotate(162deg) brightness(118%) contrast(119%) !important;
}

.mobile-footer-sub a.footer-social:hover img {
filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(0%) hue-rotate(93deg) brightness(103%) contrast(103%) !important;
}

/* Preview close button: only visible on small devices */
#previewClose {
display: flex;
align-items: center;
justify-content: center;
}

@media (min-width: 992px) {
#previewClose {
  display: none !important;
}
}

/* Project Project and Confirm Publish Styles - Merged from templates */

/* ===== PROJECT PROJECT STYLES (Priority 1) ===== */

/* Major Steps Cards Styles */
.major-steps-cards {
border-bottom: 1px solid #e9ecef;
padding: 1.5rem 0;
}

.steps-header {
text-align: center;
margin-bottom: 1.5rem;
}

.steps-header h3 {
font-size: 1.4rem;
font-weight: 600;
color: #2c3e50;
margin-bottom: 0.25rem;
}

.steps-header p {
font-size: 1rem;
color: #6c757d;
margin: 0;
}

.steps-grid {
max-width: 1800px;
display: flex !important;
flex-direction: row !important;
flex-wrap: nowrap !important;
gap: 1rem;
overflow-x: auto;
padding-bottom: 0.5rem;
scrollbar-width: none; /* Hide scrollbar for Firefox */
-ms-overflow-style: none; /* Hide scrollbar for IE/Edge */
}

.steps-grid::-webkit-scrollbar {
display: none; /* Hide scrollbar for Chrome/Safari */
}

.step-card {
background: white;
border: 2px solid #e9ecef;
border-radius: 6px;
padding: 1rem;
transition: all 0.3s ease;
cursor: pointer;
position: relative;
overflow: hidden;
min-width: 200px;
flex-shrink: 0 !important;
flex-grow: 0 !important;
flex-basis: auto !important;
}

.step-card::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
height: 4px;
background: #e9ecef;
transition: all 0.3s ease;
}

.step-card:nth-child(1) {
border-color: #3498db;
}

.step-card:nth-child(1)::before {
background: #3498db;
}

.step-card:nth-child(4) {
border-color: #2ecc71;
}

.step-card:nth-child(4)::before {
background: #2ecc71;
}

.step-card:nth-child(3) {
border-color: #27ae60;
}

.step-card:nth-child(3)::before {
background: #27ae60;
}

.step-card:nth-child(2) {
border-color: #16a085;
}

.step-card:nth-child(2)::before {
background: #16a085;
}

.step-card.active {
transform: translateY(-2px);
}

.step-card-header {
display: flex;
align-items: center;
gap: 1rem;
margin-bottom: 1rem;
}

.step-card-header h3 {
font-size: 1rem;
font-weight: 600;
color: #2c3e50;
margin: 0;
}

.step-icon {
width: 40px;
height: 40px;
border-radius: 50%;
background: #f8f9fa;
border: 2px solid #e9ecef;
display: flex;
align-items: center;
justify-content: center;
transition: all 0.3s ease;
}

.step-number {
font-size: 1rem;
font-weight: bold;
color: #6c757d;
transition: all 0.3s ease;
}

.step-card:nth-child(1) .step-icon {
background: #3498db;
border-color: #3498db;
}

.step-card:nth-child(1) .step-number {
color: white;
}

.step-card:nth-child(2) .step-icon {
background: #2ecc71;
border-color: #2ecc71;
}

.step-card:nth-child(2) .step-number {
color: white;
}

.step-card:nth-child(3) .step-icon {
background: #27ae60;
border-color: #27ae60;
}

.step-card:nth-child(3) .step-number {
color: white;
}

.step-card:nth-child(4) .step-icon {
background: #16a085;
border-color: #16a085;
}

.step-card:nth-child(4) .step-number {
color: white;
}

.status-badge {
padding: 0.25rem 0.75rem;
border-radius: 6px;
font-size: 0.75rem;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.5px;
}

.status-badge.current {
background: #e3f2fd;
color: #1976d2;
}

.status-badge.pending {
background: #f5f5f5;
color: #6c757d;
}

.status-badge.completed {
background: #e8f5e8;
color: #27ae60;
}

.step-card-content h3 {
font-size: 1rem;
font-weight: 600;
color: #2c3e50;
margin-bottom: 0.5rem;
}

.step-card-content p {
font-size: 0.85rem;
color: #6c757d;
margin-bottom: 0.75rem;
line-height: 1.3;
}

.substeps {
display: flex;
flex-direction: row;
gap: 0.5rem;
margin-bottom: 0.75rem;
overflow-x: auto;
padding-bottom: 0.25rem;
scrollbar-width: none; /* Hide scrollbar for Firefox */
-ms-overflow-style: none; /* Hide scrollbar for IE/Edge */
max-width: 400px; /* Constrain width to enable scrolling */
}

/* Large screens: wrap in 2 rows instead of scrolling */
@media (min-width: 1200px) {
.substeps {
  flex-wrap: wrap;
  overflow-x: visible;
  max-width: none;
  max-height: 4rem; /* Allow 2 rows maximum */
  align-content: flex-start;
}
}

.substeps::-webkit-scrollbar {
display: none; /* Hide scrollbar for Chrome/Safari */
}

.substep {
font-size: 0.75rem;
color: #495057;
font-weight: 500;
padding: 0.25rem 0.75rem;
background: #f8f9fa;
border-radius: 6px;
border-left: 3px solid #dee2e6;
white-space: nowrap;
flex-shrink: 0;
cursor: pointer;
transition: all 0.3s ease;
}

.step-progress {
display: flex;
align-items: center;
gap: 0.5rem;
}

.progress-bar {
flex: 1;
height: 6px;
background: #e9ecef;
border-radius: 6px;
overflow: hidden;
}

.progress-fill {
height: 100%;
background: linear-gradient(90deg, #3498db, #2980b9);
border-radius: 6px;
transition: width 0.5s ease;
}

.step-card:nth-child(1) .progress-fill {
background: #3498db;
}

.step-card:nth-child(2) .progress-fill {
background: #2ecc71;
}

.step-card:nth-child(3) .progress-fill {
background: #27ae60;
}

.step-card:nth-child(4) .progress-fill {
background: #16a085;
}

.progress-text {
font-size: 0.75rem;
font-weight: 600;
color: #6c757d;
min-width: 30px;
}

.step-card:hover {
transform: translateY(-1px);

}

/* Form Layout */
.form-layout {
display: grid;
grid-template-columns: 1fr 350px;
gap: 2rem;
max-width: 1400px;
}

main {
min-width: 0;
}

/* Form Sections */
.form-section {
background: white;
border-radius: 6px;
padding: 2rem;
margin-bottom: 2rem;
}

.form-section.active {
display: block;
}

.form-section.d-none {
display: none !important;
}

.section-header {
margin-bottom: 2rem;
}

.section-header h3 {
font-size: 1.25rem;
font-weight: 600;
color: #2c3e50;
margin-bottom: 0.5rem;
}

.section-header p {
color: #6c757d;
margin: 0;
line-height: 1.5;
font-size: 0.9rem;
}

/* Input Styles */
.input-wrap {
position: relative;
margin-bottom: 1.5rem;
}

.input-wrap input,
.input-wrap textarea,
.input-wrap select {
width: 100%;
padding: 0.5rem;
border: 2px solid #e9ecef;
border-radius: 6px;
font-size: 0.9rem;
transition: all 0.3s ease;
background: white;
}

.input-wrap input:focus,
.input-wrap textarea:focus,
.input-wrap select:focus {
outline: none;
border-color: #3498db;

}

.input-wrap label {
position: absolute;
top: 1rem;
left: 1rem;
color: #6c757d;
transition: all 0.3s ease;
pointer-events: none;
background: white;
padding: 0 0.5rem;
}

.input-wrap input:focus + label,
.input-wrap textarea:focus + label,
.input-wrap select:focus + label,
.input-wrap input:not(:placeholder-shown) + label,
.input-wrap textarea:not(:placeholder-shown) + label,
.input-wrap select:not([value=""]) + label {
top: -0.5rem;
left: 0.75rem;
font-size: 0.8rem;
color: #3498db;
font-weight: 500;
}

.asterisk {
color: #dc3545;
margin-right: 0.25rem;
}

.counter {
color: #6c757d;
font-size: 0.875rem;
margin-left: 0.5rem;
}

/* Checkbox and Radio Styles */
.type-options,
.platform-options,
.hosting-options {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 1rem;
margin-top: 1rem;
}

.type-option,
.platform-option,
.hosting-option {
display: flex;
align-items: center;
justify-content: center;
padding: 1rem;
border: 2px solid #e9ecef;
border-radius: 6px;
transition: all 0.3s ease;
background: white;
cursor: pointer;
}

.type-option:hover,
.platform-option:hover,
.hosting-option:hover {
border-color: #3498db;
background: #f8f9fa;
}

.type-option input:checked,
.platform-option input:checked,
.hosting-option input:checked {
border-color: #3498db;
background: #e3f2fd;
}

.type-option input:checked + .type-text,
.platform-option input:checked + .type-text,
.hosting-option input:checked + .type-text {
color: #3498db;
font-weight: 600;
}

/* Type text styling */
.type-text {
font-size: 0.9rem;
color: #495057;
font-weight: 500;
transition: all 0.3s ease;
}

/* Multi-select Styles */
.category-filtered,
.technology-filtered {
max-height: 200px;
overflow-y: auto;
border: 1px solid #e9ecef;
border-radius: 6px;
margin-top: 0.5rem;
background: white;
}

.category-selected,
.technology-selected {
display: flex;
flex-wrap: wrap;
gap: 0.5rem;
margin-top: 1rem;
min-height: 2.5rem;
padding: 0.5rem;
border: 1px solid #e9ecef;
border-radius: 6px;
background: #f8f9fa;
}

/* Selected items styling */
.category-selected .category-label,
.technology-selected .category-label {
background: #e3f2fd;
color: #1976d2;
padding: 0.25rem 0.75rem;
border-radius: 6px;
font-size: 0.8rem;
border: 1px solid #bbdefb;
}

.category-label {
display: inline-flex;
align-items: center;
gap: 0.5rem;
font-size: 0.9rem;
color: #495057;
transition: all 0.3s ease;
font-weight: 500;
}

.category-label:hover {
color: #3498db;
}

/* Section Navigation */
.section-navigation {
display: flex;
justify-content: space-between;
align-items: center;
padding: 1.5rem 0;
border-top: 1px solid #e9ecef;
margin-top: 0rem;
}

.section-navigation .btn {
min-width: 120px;
}

/* Preview Panel */
.preview-panel {
background: white;
border-radius: 6px;

border: 1px solid #e9ecef;
position: sticky;
top: 2rem;
max-height: calc(100vh - 4rem);
overflow-y: auto;
}

.preview-header {
display: flex;
justify-content: space-between;
align-items: center;
padding: 1.5rem;
border-bottom: 1px solid #e9ecef;
background: #f8f9fa;
border-radius: 6px;
position: sticky;
top: 0;
z-index: 10;
}

.preview-header h3 {
font-size: 1.1rem;
font-weight: 600;
color: #2c3e50;
margin: 0;
flex: 1;
}

.preview-close-btn {
background: none;
border: none;
cursor: pointer;
padding: 0.5rem;
border-radius: 6px;
transition: background-color 0.3s ease;
display: flex;
align-items: center;
justify-content: center;
min-width: 40px;
min-height: 40px;
position: relative;
}

.preview-close-btn:hover {
background: #e9ecef;
}

.preview-close-btn::before,
.preview-close-btn::after {
content: '';
position: absolute;
width: 20px;
height: 2px;
background: #6c757d;
transition: all 0.3s ease;
}

.preview-close-btn::before {
transform: rotate(45deg);
}

.preview-close-btn::after {
transform: rotate(-45deg);
}

.preview-content {
padding: 1.5rem;
}

.preview-title {
font-size: 1.25rem;
font-weight: 600;
color: #2c3e50;
margin-bottom: 1rem;
line-height: 1.3;
}

.preview-section {
margin-bottom: 1.5rem;
}

.preview-headline {
font-size: 0.9rem;
font-weight: 600;
color: #495057;
margin-bottom: 0.5rem;
}

.preview-dates {
font-size: 0.9rem;
color: #6c757d;
font-weight: 500;
}

.preview-type {
display: flex;
flex-wrap: wrap;
gap: 0.5rem;
}

/* Preview category labels */
.preview-type .category-label {
background: #e3f2fd;
color: #1976d2;
padding: 0.25rem 0.75rem;
border-radius: 6px;
font-size: 0.8rem;
border: 1px solid #bbdefb;
}

/* Mobile Preview Toggle */
.preview-toggle-btn {
position: fixed;
bottom: 2rem;
right: 0;
background: rgba(52, 152, 219, 0.6);
color: white;
border: none;
border-radius: 0;
padding: 1rem 1.5rem;
font-size: 1rem;
font-weight: 500;
cursor: pointer;

transition: all 0.3s ease;
z-index: 1000;
display: none;
}

.preview-toggle-btn:hover {
background: rgba(41, 128, 185, 0.7);
transform: translateY(-2px);

}

.preview-overlay {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: rgba(0,0,0,0.5);
z-index: 999;
opacity: 0;
visibility: hidden;
transition: all 0.3s ease;
}

.preview-overlay.show {
opacity: 1;
visibility: visible;
}

/* Form Help */
.form-help {
font-size: 0.875rem;
color: #6c757d;
margin-top: 0.5rem;
font-style: italic;
}

/* Alert Messages */
.alert {
margin: 1rem 0;
padding: 1rem;
border-radius: 6px;
border: 1px solid transparent;
}

.alert-danger {
background: #f8d7da;
border-color: #f5c6cb;
color: #721c24;
}

.alert-info {
background: #d1ecf1;
border-color: #bee5eb;
color: #0c5460;
}

/* ===== PROJECT CONFIRM PUBLISH STYLES (Priority 2) ===== */

/* Confirm Publish Styles */
.confirm-publish-container {
width: 100%;
margin: 0 auto;
padding: 1rem;
}

.confirm-content {
margin-top: 2rem;
}

.confirm-card {
background: white;
border-radius: 6px;
padding: 2rem;

border: 1px solid #e9ecef;
}

.confirm-header {
text-align: center;
margin-bottom: 2rem;
}

.confirm-header h1 {
font-size: 2rem;
font-weight: 700;
color: #2c3e50;
margin-bottom: 0.5rem;
}

.confirm-subtitle {
font-size: 1.1rem;
color: #6c757d;
margin: 0;
}

.confirm-message {
margin-bottom: 2rem;
}

.warning-box {
background: #fff3cd;
border: 1px solid #ffeaa7;
border-radius: 6px;
padding: 1.5rem;
margin-bottom: 2rem;
}

.warning-box h3 {
color: #856404;
margin-bottom: 0.5rem;
font-size: 1.1rem;
}

.warning-box p {
color: #856404;
margin: 0;
line-height: 1.5;
}

.project-summary {
background: #f8f9fa;
border-radius: 6px;
padding: 1.5rem;
}

.project-summary h3 {
color: #2c3e50;
margin-bottom: 1rem;
font-size: 1.1rem;
}

.summary-item {
margin-bottom: 0.75rem;
line-height: 1.4;
}

.summary-item strong {
color: #495057;
}

.confirm-actions {
display: flex;
gap: 1rem;
justify-content: center;
margin-top: 2rem;
}

.confirm-actions .btn {
min-width: 150px;
padding: 0.75rem 1.5rem;
}

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

/* Mobile Styles for Project Project */
@media (max-width: 991px) {
.major-steps-cards {
  padding: 0.5rem 0;
}

.form-layout {
  grid-template-columns: 1fr;
  gap: 1rem;
}

.preview-panel {
  position: fixed;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100vh;
  z-index: 1000;
  transition: left 0.3s ease;
  border-radius: 0;
  max-height: none;
}

.preview-panel.show {
  left: 0;
}

.preview-toggle-btn {
  display: block;
}

main.preview-open {
  transform: translateX(0);
  transition: transform 0.3s ease;
}
}

@media (max-width: 768px) {
.steps-grid {
  gap: 0.75rem;
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
}

.step-card {
  padding: 0.75rem;
  min-width: 180px;
  flex-shrink: 0 !important;
  flex-grow: 0 !important;
  flex-basis: auto !important;
}

.step-card-content h3 {
  font-size: 1rem;
}

.step-card-content p {
  font-size: 0.8rem;
}

.substeps {
  gap: 0.4rem;
  padding-bottom: 0.2rem;
}

.substep {
  font-size: 0.7rem;
  padding: 0.2rem 0.6rem;
}

.form-section {
  padding: 0.75rem;
  margin: 0 0.5rem 1rem 0.5rem;
}

.form-layout {
  padding: 0;
}

.section-navigation {
  flex-direction: column;
  gap: 1rem;
}

.section-navigation .btn {
  width: 100%;
  min-height: 44px;
  font-size: 0.75rem;
  padding: 0.75rem 1rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.type-options,
.platform-options,
.hosting-options {
  grid-template-columns: 1fr;
}

/* Confirm Publish Mobile Styles */
.confirm-publish-container {
  padding: 0.5rem;
}

.confirm-card {
  padding: 1.5rem;
}

.confirm-header h1 {
  font-size: 1.5rem;
}

.confirm-actions {
  flex-direction: column;
}

.confirm-actions .btn {
  width: 100%;
}
}

/* Signin Page Styles */
.signin-container {
margin: 2rem auto;
padding: 0 1rem;
}

.signin-card {
background: white;
border-radius: 6px;
padding: 2rem;

border: 1px solid #e9ecef;
}

.signin-header {
text-align: center;
margin-bottom: 2rem;
}

.signin-header h1 {
font-size: 2rem;
font-weight: 700;
color: #2c3e50;
margin-bottom: 0.5rem;
}

.signin-header p {
color: #6c757d;
margin: 0;
font-size: 1rem;
}

.signin-form {
margin-bottom: 1.5rem;
}

.signin-footer {
text-align: center;
margin-top: 1.5rem;
padding-top: 1.5rem;
border-top: 1px solid #e9ecef;
}

.signin-footer p {
margin: 0;
color: #6c757d;
}

/* Mobile responsive for signin */
@media (max-width: 480px) {
.signin-container {
  margin: 1rem auto;
  padding: 0 0.5rem;
}

.signin-card {
  padding: 1.5rem;
}

.signin-header h1 {
  font-size: 1.75rem;
}
}

/* ========================================
 USER SETTINGS STYLES
 ======================================== */

/* User Settings Container */
.user-settings-container {
max-width: 1200px;
margin: 0 auto;
padding: 2rem 1rem;
}

.settings-header {
text-align: center;
margin-bottom: 2rem;
}

.settings-title {
font-size: 2.5rem;
font-weight: 700;
color: #2c3e50;
margin-bottom: 0.5rem;
}

.settings-subtitle {
font-size: 1.1rem;
color: #7f8c8d;
margin: 0;
}

.settings-layout {
display: flex;
gap: 2rem;
align-items: flex-start;
}

.settings-sidebar {
flex-shrink: 0;
width: 250px;
background: white;
border-radius: 6px;
padding: 1.5rem;

}

.settings-tab {
display: block;
padding: 1rem 1.5rem;
margin-bottom: 0.5rem;
text-decoration: none;
color: #7f8c8d;
border-radius: 6px;
transition: all 0.3s ease;
font-weight: 500;
border: 2px solid transparent;
}

.settings-tab:hover {
background: rgba(52, 152, 219, 0.1);
color: #3498db;
text-decoration: none;
border-color: rgba(52, 152, 219, 0.3);
}

.settings-tab.active {
background: #3498db;
color: white;
border-color: #3498db;
}

.tab-label {
font-size: 1rem;
font-weight: 500;
}

.settings-content {
flex: 1;
background: white;
border-radius: 6px;
padding: 2rem;

}

.messages-container {
margin-bottom: 1.5rem;
}

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

.settings-section-header {
margin-bottom: 1.5rem;
}

/* Profile Picture Styles */
.profile-picture-section {
display: flex;
align-items: center;
margin-bottom: 2rem;
padding: 1.5rem;
border-radius: 6px;
}

.profile-picture-container {
margin-right: 1.5rem;
}

.profile-picture {
width: 80px;
height: 80px;
border-radius: 50%;
object-fit: cover;
border: 3px solid #3498db;
}

.profile-picture-placeholder {
width: 80px;
height: 80px;
border-radius: 50%;
background: #3498db;
display: flex;
align-items: center;
justify-content: center;
border: 3px solid #3498db;
}

.placeholder-text {
color: white;
font-size: 1.5rem;
font-weight: 600;
}

.profile-picture-actions {
display: flex;
flex-direction: row;
gap: 0.5rem;
}

/* Settings Form Styles */
.settings-form {
margin-top: 1rem;
}

.form-row {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 1rem;
margin-bottom: 1rem;
}

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

.form-group label {
display: block;
margin-bottom: 0.5rem;
font-weight: 500;
color: #2c3e50;
}

.form-control {
width: 100%;
padding: 0.75rem;
border: 2px solid #ecf0f1;
border-radius: 6px;
font-size: 1rem;
transition: border-color 0.3s ease;
}

.form-control:focus {
outline: none;
border-color: #3498db;

}

.error-message {
color: #e74c3c;
font-size: 0.875rem;
margin-top: 0.25rem;
}

.help-text {
color: #7f8c8d;
font-size: 0.875rem;
margin-top: 0.25rem;
}

/* Checkbox Styles */
.checkbox-group {
display: flex;
align-items: flex-start;
gap: 0.75rem;
}

.checkbox-label {
margin: 0;
font-weight: 500;
color: #2c3e50;
cursor: pointer;
}

/* Danger Zone Styles */
.danger-zone {
background: #fff5f5;
border: 2px solid #fed7d7;
border-radius: 6px;
padding: 1.5rem;
margin-top: 1rem;
}

.danger-zone-header {
margin-bottom: 1.5rem;
}

.danger-zone-title {
color: #e53e3e;
font-size: 1.25rem;
font-weight: 600;
margin-bottom: 0.5rem;
}

.danger-zone-description {
color: #c53030;
margin: 0;
line-height: 1.5;
}

.btn-outline-danger {
background: transparent;
color: #e74c3c;
border: 2px solid #e74c3c;
}

.btn-outline-danger:hover {
background: #e74c3c;
color: white;
text-decoration: none;
}

.btn-danger {
background: #e74c3c;
color: white;
}

.btn-danger:hover {
background: #c0392b;
color: white;
text-decoration: none;
}

.btn-danger:disabled {
background: #bdc3c7;
color: #7f8c8d;
cursor: not-allowed;
}

/* Alert Styles */
.alert-success {
background: #d4edda;
color: #155724;
border-color: #c3e6cb;
}

.alert-error {
background: #f8d7da;
color: #721c24;
border-color: #f5c6cb;
}

.alert-dismissible {
position: relative;
padding-right: 3rem;
}

.btn-close {
position: absolute;
top: 0;
right: 0;
padding: 1rem;
background: none;
border: none;
font-size: 1.5rem;
cursor: pointer;
color: inherit;
}

/* Crop Modal Styles */
.crop-modal {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.8);
z-index: 10000;
display: flex;
align-items: center;
justify-content: center;
}

.crop-modal-content {
background: white;
border-radius: 6px;
padding: 2rem;
max-width: 500px;
width: 90%;
max-height: 90vh;
overflow-y: auto;
}

.crop-modal-header {
text-align: center;
margin-bottom: 1.5rem;
}

.crop-modal-header h3 {
margin: 0 0 0.5rem 0;
color: #2c3e50;
font-size: 1.5rem;
}

.crop-modal-header p {
margin: 0;
color: #7f8c8d;
font-size: 0.9rem;
}

.crop-container {
margin-bottom: 1.5rem;
}

.crop-area {
position: relative;
width: 400px;
height: 400px;
margin: 0 auto;
border: 2px solid #ecf0f1;
border-radius: 6px;
overflow: hidden;
}

#cropCanvas {
display: block;
max-width: 100%;
height: auto;
}

.crop-overlay {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.5);
cursor: move;
}

.crop-selection {
position: absolute;
border: 2px solid #3498db;
background: transparent;
cursor: move;

}

.crop-controls {
display: flex;
justify-content: center;
gap: 1rem;
}

/* User Settings Mobile Responsive */
@media (max-width: 768px) {
.user-settings-container {
  padding: 1rem 0.5rem;
}

.settings-title {
  font-size: 2rem;
}

.settings-layout {
  flex-direction: column;
  gap: 1rem;
}

.settings-sidebar {
  width: 100%;
  order: 2;
}

.settings-content {
  order: 1;
  padding: 1rem;
}

.settings-tab {
  margin: 0.25rem 0;
  text-align: center;
}

.form-row {
  grid-template-columns: 1fr;
}

.profile-picture-section {
  flex-direction: column;
  text-align: center;
}

.profile-picture-container {
  margin-right: 0;
  margin-bottom: 1rem;
}

.profile-picture-actions {
  flex-direction: column;
  justify-content: center;
}

.crop-modal-content {
  padding: 1rem;
  width: 95%;
}

.crop-area {
  width: 300px;
  height: 300px;
}

.crop-controls {
  flex-direction: column;
}
}
