/* HEY CSS INCLUDED */
/*
Theme Name: servicehero
Author: Tege
Description: This is a badass custom made theme for e-commerce. 
Version: 1.0
License: Tege license
Text Domain: servicehero
Primär CTA-knapp: background-color: #3A6EA5;

Hover på knappar: background-color: #5B8DB8;

Ljusblå bakgrundssektion: background-color: #B3D4E0;

Djupare blå bakgrund för footer eller banners: background-color: #2C5B6E;
*/
.password-guidance {
    display: block;
    font-size: 0.85em;
    margin-top: 4px;
    color: #666;
    transition: color 0.3s;
}

.password-guidance .checkmark {
    margin-left: 5px;
}
.upload-button {
  display: inline-block;
  background-color: #ddd;
  padding: 6px 12px;
  cursor: pointer;
  border-radius: 4px;
  font-weight: bold;
}

#file-selected-text {
  margin-left: 10px;
  font-style: italic;
}
.nav-row {
	display: flex;
	justify-content: space-between;
	padding: 0px 20px;
	max-width: 1100px;
	margin: auto;
}
.logo-holder {
	display: flex;
	align-items: center;
	max-width: 125px
}
.logo-holder img {
	width: 100%;
	height: auto;
}
.logo-holder a {
	font-size: 20px;
	color: black;
	font-weight: 800;
	text-decoration: none;	
}
.nav-column .nav-buttons-holder-desktop {
	
}
.nav-buttons-holder-desktop {
	display: flex;
}
.nav-buttons-holder-desktop ul, .nav-buttons-holder-mobile ul {
	list-style: none;
	padding: 0px;
	margin: 0px;
}
.nav-row .nav-buttons-holder-desktop li {
	display: inline-block;	
	padding: 0px;
}
.nav-column .nav-buttons-holder-desktop li {
	display: block;	
	padding: 0px;
}
.nav-row .nav-buttons-holder-desktop li > a {
	display: block;
	padding: 30px 10px;
	color: black;
	text-decoration: none;
}
.nav-column .nav-buttons-holder-desktop li > a {
	padding: 20px 10px;
}

.new-message {
	margin-left: 10px;
}
.nav-hamburger-holder {
  display: none;
  align-items: center;
  margin-left: 20px;
  padding: 20px;
}
.nav-buttons-holder-mobile {
	display: none;
	position: fixed;
	top: 58px;
	left: 0;
	right: 0;
	width: 100%;
	height: calc(100% - 30px);
	background: #fff;
	z-index: 9999;
	overflow-y: auto;
}
.nav-buttons-holder-mobile li  {
	display: block;
} 
.nav-buttons-holder-mobile li > a {
	display: block;
	padding: 15px 20px;
	color: black;
	text-decoration: none;
}
.dashboard-sidebar .nav-buttons-holder-mobile li > a {
	color: white;
}
.dashboard-sidebar .nav-buttons-holder-mobile {
	background-color: #2C5B6E;	
}
.nav-hamburger-button {
  width: 24px;
  height: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
}

.nav-row .nav-hamburger-button div {
  height: 3px;
  background-color: black;
  border-radius: 2px;
}
.nav-column .nav-hamburger-button div {
  height: 3px;
  background-color: white;
  border-radius: 2px;
}


/* NAV END */
li {
	padding-bottom: 5px;
}
.warning-banner {
	padding: 10px;
	display: block;
	background: #ff9696;
	color: white;
	text-align: center;
}
.warning-banner span {
	max-width: 1000px;
	display: inline-block;
}
h2 {
	font-size: 26px;
}
hr {
	color: #f6f6f6;
}
body {
/* 	font-family: -apple-system,BlinkMacSystemFont,sans-serif; */
	font-family: "Raleway", sans-serif;
	font-optical-sizing: auto;
	font-weight: 400;
    font-optical-sizing: auto;
    font-style: normal;
    letter-spacing: 0.5px;
    line-height: 1.7rem;
    margin: auto;
    padding: 0;
    height: 100%;
    font-size: 16px;

   	position: relative;
}
*, input {
    box-sizing: border-box;
    letter-spacing: 0.6px;
    line-height: 1.2;
}
p, span {
	line-height: 1.5;
}
h1 {
    font-size: 2.3rem;
    font-weight: 500;
    margin-top: 0px;
    margin-bottom: 10px;
}
.section-holder {
	max-width: 1100px;
	margin: auto;
	padding: 0px 20px;
}
/* STARTPAGE */
.start-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    background: white;
    position: relative;
    border-bottom: 1px solid #eee;
	background-color: #f5f5f5;
}
.starta-hero-section-holder {
	flex-basis: 1100px;
    margin: auto;
    padding: 100px 20px 100px 20px;
}

/* Text-sektionen */
.start-hero .text-container {
    width: 50%;
    z-index: 2;
}

.start-hero h1 {
    font-size: 2.4rem;
    font-weight: 500;
    color: #212529;
    margin-bottom: 1rem;
}

.start-hero p {
    font-size: 1.2rem;
    color: #495057;
    margin-bottom: 1.5rem;
}
/* Skapa den sneda diagonal övergången */
.start-hero::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 48%;
    height: 100%;
    background: url('https://www.finansifokus.se/wp-content/uploads/2025/05/bakgrund.jpg') center/cover no-repeat;
    clip-path: polygon(20% 0, 100% 0, 100% 100%, 0% 100%);
}
/* Search Form */
/* 	FP - infosection */
.info-section {
    background-color: #ffffff;
    padding: 60px 0px;
}
.standard-section {
    padding: 60px 0px;	
}
.step-number {
  color: #2C5B6E;
  font-size: 28px;
  font-weight: bold;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}
.info-grid {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.info-item {
    display: flex;
    gap: 20px;
    background-color: #ffffff;
    border-radius: 12px;

}

.icon-wrapper {
    background-color: #f0f8ff;
    border-radius: 50%;
    width: 70px;
    height: 70px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-wrapper img {
    width: 35px;
    height: 35px;
}

.info-text h3 {
    font-size: 18px;
    color: #1d4b3a;
    margin: 0 0 8px 0;
}

.info-text p {
    font-size: 1rem;
    color: #495057;
    margin: 0;
    line-height: 1.5;
}


/* Search Bar Container */
.starta-hero-section-holder .search-bar {
    position: relative;
    width: 100%;
    max-width: 600px;
    margin: 40px auto;
}
.dashboard-search-bar-section .search-bar {
    position: relative;	
    margin-bottom: 20px;
}
.dashboard-search-bar-section .popular-categories {
	margin-bottom: 20px;
}

/* Input with Icon */
.search-input-wrapper {
    position: relative;
    width: 100%;
}
.suggestion-item.selected {
    background-color: #e8f5e9; /* light blue highlight */
}

.search-input {
    width: 100%;
    padding: 14px 48px 14px 50px !important; /* space for icon on left and optional button on right */
    font-size: 1.1rem;
    border: 1px solid #ccc;
    border-radius: 30px;
    background: #fff;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.05);
    outline: none;
}

.search-input:focus {
    border-color: #2C5B6E;
}

/* Search Icon */
.search-icon {
    position: absolute;
    top: 50%;
    left: 16px;
    transform: translateY(-50%);
    font-size: 1.2rem;
    color: #666;
    pointer-events: none; /* Clicks pass through */
}

/* Suggestions Dropdown */
.search-suggestions {
    position: absolute;
    display: none;
    top: 100%;
    left: 0;
    right: 0;
    margin-top: 8px;
    background: white;
    border: 1px solid #ccc;
    border-radius: 12px;
    box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    z-index: 100;
    max-height: 300px;
    overflow-y: auto;
}

.suggestion-item {
    padding: 14px 20px;
    font-size: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background 0.2s;
    border-bottom: 1px solid #eee;
}

.suggestion-item:last-child {
    border-bottom: none;
}

.suggestion-item:hover {
    background-color: #e8f5e9; /* Light green hover similar to your image */
}

/* Right arrow on each item */
.suggestion-item::after {
    content: '→';
    font-size: 1.2rem;
    color: #666;
}
.popular-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.category-button {
    background: #B3D4E0;
    border: none;
    border-radius: 12px;
    padding: 12px 20px;
    font-size: 1rem;
    color: #2C5B6E;
    cursor: pointer;
    transition: background-color 0.3s;
}

.category-button:hover {
    background: #99c5d4;
}



/* Hide labels for screen readers only */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    border: 0;
    clip: rect(0, 0, 0, 0);
    overflow: hidden;
}

/* ⚡ Divider */
.divider {
    font-size: 1.2rem;
    color: #CED4DA;
    padding: 0 12px;
    display: flex;
    align-items: center;
}
/* END Hero */
.flex {
	display: flex;
}
.center {
	text-align: center;
}
.space-between {
	justify-content: space-between;
}
.vertical-align {
	align-items: center;
}
.flex-wrap {
	flex-wrap: wrap;
}
.product-page-wrapper, .page-wrapper {
	background-color: white;
}
.display-none {
	display: none;
}
.disabled {
	cursor: not-allowed;
}
/*FOOTER START*/
.site-footer {
  background-color: #1a1a1a;
  color: #eee;
  padding: 3rem 1rem;
  font-family: 'Segoe UI', sans-serif;
}

.footer-columns {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;

  max-width: 900px;
  text-align: left;
  margin: auto auto 20px auto;
}

.footer-nav .heading {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  display: block;
  margin-top: 0px;
  color: #fff;
}

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

.footer-menu li {
  margin-bottom: 0.5rem;
}

.footer-menu li a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-menu li a:hover {
  color: #fff;
}

.footer-bottom {
  text-align: center;
  font-size: 0.875rem;
  border-top: 1px solid #333;
  padding-top: 1rem;
  color: #aaa;
}

.footer-bottom a {
  color: #aaa;
  text-decoration: none;
}

.footer-bottom a:hover {
  color: #fff;
}

.button-normal {
	color: white;
    padding: 10px 20px;
    font-weight: 700;
    cursor: pointer;
    background-color: #2C5B6E;
    text-decoration: none;
    border-radius: 5px;
    border: 1px solid #2C5B6E;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    font-size: 1rem;
    line-height: 1.2;
}
.button-normal i,
.button-normal svg {
  width: 1.2em;
  height: 1.2em;
  stroke-width: 2;
  vertical-align: middle;
  flex-shrink: 0;
}
.button-green {
	background-color: #5b8337;
}
.button-red {
	background-color: #b53535;
}
.button-disabled {
	cursor: not-allowed;
}
.button-inline-big {
	background: #3A6EA5;
    padding: 15px 26px;
    border-radius: 15px;
    font-size: 17px;
    font-weight: 500;
    color: white;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
}

.apply-button-big {
    color: white;
    display: block;
    padding: 20px;
    font-weight: 700;
    cursor: pointer;
    background-color: #2C5B6E;
    text-decoration: none;
}
/* END FOOTER */
/* Section LOGGEDIN */

.dashboard-wrapper {
  display: flex;
  min-height: 100vh;
  background-color: #f6fbfd;
}

.dashboard-sidebar {
  width: 250px;
  background-color: #2C5B6E;
  color: #fff;
  padding: 2rem 1rem;
  flex-shrink: 0;
}
.dashboard-sidebar ul {
  list-style: none;
  padding: 0;
}
.dashboard-sidebar a {
  font-weight: 500;
  color: #fff;
  text-decoration: none;
  display: flex;
  align-items: center;
  font-size: 1rem;
  line-height: 1.2;
}

.dashboard-sidebar i,
.dashboard-sidebar svg {
  width: 1.2em;
  height: 1.2em;
  stroke-width: 2;
  vertical-align: middle;
  flex-shrink: 0;
  margin-right: 10px;
}

.dashboard-main {
  flex-grow: 1;
  padding: 20px;
}
.dashboard-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap; /* Optional: allows wrapping on small screens */
	padding: 0px 0px 20px 0px;
}
.dashboard-nav-line-buttons {
	padding-bottom: 20px;
	display: flex;
	gap: 10px;
}
.dashboard-header-left {
	max-width: 70%;
}

.dashboard-header-right {
	text-align: right;
}

.dashboard-header-right .button-normal {
	display: inline-block;
	padding: 10px 20px;
	background-color: #2C5B6E;
	color: #fff;
	text-decoration: none;
	border-radius: 4px;
	transition: background-color 0.3s ease;
}

.dashboard-header-right .button-normal:hover {
	background-color: #005f8d;
}

.dashboard-header h1 {
  margin: 0;
  font-size: 2rem;
  color: #2C5B6E;
}

.dashboard-holder {
  margin-top: 2rem;
}
.dashboard-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.dashboard-box-item-holder {
  width: 200px;
  height: 200px;
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto; /* Prevent growing to 100% if only one item */
  text-align: center;
}

.dashboard-box-item-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.item-title {
  font-size: 1rem;
  color: #555;
  margin-bottom: 10px;
}

.item-number {
  font-size: 2.5rem;
  font-weight: bold;
  color: #222;
}
.dashboard-item-holder {
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  width: 100%;
  margin-bottom: 20px;
  position: relative;
}
.dashboard-item-holder.border-normal {
	border: 2px solid gray; 
}
.dashboard-item-holder.border-orange {
	border: 2px solid orange; 
}
.dashboard-item-holder.border-green {
	border: 2px solid green; 
}
.order-card-close-order-button-holder {
	position: absolute;
	top: 1.5rem;
	right: 1.5rem;
}
.dashboard-item-holder h2, .header-order-offer h2 {
  font-size: 1.25rem;
  margin: 0px 0px 15px 0px;
}
.header-order-offer h2 {
  font-size: 1.25rem;
  margin: 0px 0px 0px 0px;
}
.dashboard-item-holder .order-card-subtitle {
	display: block;

}
.order-card-information-holder {
	margin-bottom: 15px;
	border-bottom: 1px solid #dbdbdb;
	padding-bottom: 15px;
}
.order-card-information-holder h2 {
	margin-bottom: 5px;
}
.order-card-max-offers {

	color: #5b8337;
}
.order-card-max-offers .small-heading {
	font-size: 19px;
	display: block;
	font-weight: 700;
	margin-top: 10px;
}

.dashboard-item-holder p {
  margin: 0.25rem 0;
}
.form-tel-feild-holder {
	display: flex;
    gap: 10px;
}
.form-tel-feild-holder .countrycode-input {
	width: 200px;
}
.form-tel-feild-holder .countrycode-input .chosen-drop {
	width: 300px;
}

.form-tel-feild-holder .countrycode-input .chosen-container-single .chosen-single div {
	top: 10px;
}
.form-tel-feild-holder .phone-input {
	flex: 2;	
}
.btn-save-settings {
  background-color: #133c55;
  color: white;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.btn-save-settings:hover {
  background-color: #0e2d3e;
}
.order-status-timeline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1.5rem;
  padding: 1rem;
  background: #f9fbfc;
  border-radius: 10px;
  overflow-x: auto;
  gap: 10px;
}

.timeline-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  width: 120px;
  text-align: center;
}
.pointer {
	cursor: pointer;
}
.timeline-step .circle {
  position: relative;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  margin-bottom: 0.5rem;
  border: 2px solid #ccc;
  background-color: #eee;
  display: flex;
  align-items: center;
  justify-content: center;
}

.timeline-step.active .circle {
  background-color: #70a8bb;
  border-color: #70a8bb;
}

.timeline-step.done .circle {
  background-color: #70a8bb;
  border-color: #70a8bb;
}

.timeline-step .checkmark {
  color: white;
  font-size: 14px;
  font-weight: bold;
  line-height: 1;
}
.timeline-line {
  flex-grow: 1;
  height: 2px;
  background-color: #ccc;
  margin: 0 5px;
}

.timeline-step .step-label {
  font-size: 0.9rem;
  color: #333;
  font-weight: 500;
}

/* ARTICLE BOXES */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.pagination a,
.pagination span {
    display: inline-block;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #fff;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s ease;
}

.pagination a:hover {
    background: #f5f5f5;
    border-color: #999;
    color: #000;
}

.pagination .current {
    background: #0073aa;
    border-color: #0073aa;
    color: #fff;
    font-weight: bold;
    cursor: default;
}

.pagination .disabled {
    opacity: 0.5;
    cursor: not-allowed;
}



.articles-section {
    padding-top: 30px;
    background-color: #ffffff;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.article-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.article-card a {
	color: black;
	text-decoration: none;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

.article-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.article-content {
    padding: 20px;
}

.article-type {
    display: block;
    font-size: 0.9rem;
    font-style: italic;
    color: #8a8a5c; /* Ljus olive ton för "Guide" texten */
    margin-bottom: 10px;
}

.article-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #234D4D; /* Din mörkgröna färg */
    margin: 0;
    line-height: 1.4;
}
/* ARTICLE BOXES */
/* REGISTRATION */
.registration-form {
    background: #fff;
    padding: 20px;
	border-radius: 5px;
    margin: auto;
    max-width: 500px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.registration-form h2 {
    margin-bottom: 20px;
    text-align: center;
}
.input-holder {
    margin-bottom: 20px;
}


.apply-button {
    padding: 10px 20px;
    background-color: #0073aa;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}
.saved-box {
	z-index: 9999;
	display: none;
	text-align: center;
	background: #68b368; 
	color: white;
	padding: 10px;
	
}
/* Style the Select2 dropdowns to match text inputs */
.select2-container {
	width: 100% !important;
	height: auto !important;
}
.select2-container--default .select2-selection--single .select2-selection__arrow {
	top: 25px !important;
}
.select2-container--default .select2-selection--single {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc !important;
    border-radius: 5px !important;
    font-size: 1.1rem;
/*     background-color: #f7f7f7 !important; */
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    height: auto !important;
}
.select2-container--default .select2-selection--multiple {
	width: 100%;
    padding-left: 10px;
    padding-top: 10px;
    border: 1px solid #ccc;
    border-radius: 5px !important;
    font-size: 1.1rem;
/*     background-color: #f7f7f7 !important; */
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    height: auto !important;
}
.select2-selection__choice {
	margin-top: 3px !important;
}


/* Style the text inside the Select2 dropdown */
.select2-container--default .select2-selection__rendered {
    font-size: 1.1rem;
    padding: 0px !important;
    color: #333;
}

/* Style the dropdown arrow */
.select2-container--default .select2-selection__arrow {
    height: 100%;
    top: 50%;
    transform: translateY(-50%);
}

/* Style the multi-select choices */
.select2-container--default .select2-selection--multiple .select2-selection__choice {
    background-color: #e0e0e0;
    color: #333;
    border-radius: 3px;
    padding: 5px 10px;
    font-size: 1rem;
    margin: 2px;
}

/* Remove default focus outline and add custom focus styling */
.select2-container--default .select2-selection:focus {
    outline: none;
    border-color: #0073aa !important;
    box-shadow: 0 0 5px rgba(0, 115, 170, 0.5);
}

.registration-form button {
	font-size: 1.2rem;
	color: white;
    display: block;
    padding: 20px;
    font-weight: 700;
    cursor: pointer;
    background-color: #2C5B6E;
    text-decoration: none;
    width: 100%;
    border: none;
    border-radius: 4px;
}
.registration-form button:disabled {
    background: #ccc;
}
.error-message {
    color: red;
    font-size: 0.9em;
    margin-top: 10px;
}
.password-checklist {
    margin-top: 10px;
    padding: 10px;
    background: #f0f0f0;
    border-radius: 4px;
}
.password-checklist li {
    list-style: none;
    color: gray;
}
.password-checklist li.valid {
    color: green;
    font-weight: bold;
}
/* END REGISTRATION */
/* LOADER */
.overlay-loader {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Grayish background with transparency */
    z-index: 9999; /* Make sure the overlay is on top */
}
.loader-holder {
	 display: block;
    color: white;
    font-size: 30px;
    padding: 50px;
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10000;
    background: rgba(98, 98, 98, 0.9);
    max-width: 500px;
    width: 90%; /* Add this */
    border-radius: 25px;
    border: 1px solid;
    box-sizing: border-box; 
}
.loader-inner {}
.full-loader {
	margin: 18px auto auto auto;
	border-left: 5px solid white;
	border-right: 5px solid white;
	border-bottom: 5px solid white;
	border-radius: 50%;
	width: 60px;
	height: 60px;
	animation: spin 2s linear infinite;
    border-top: 5px solid #9C0DAA;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
/* FP ROTATING TEXT SECTION */
.rotating-text-section {
    background-color: #f0f8ff;
    text-align: center;
    padding: 60px 0px;
}

.rotating-text-section h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #234D4D;
    margin: 0;
}

.rotating-text-section .italic-word {
    font-style: italic;
    color: #3A6EA5; 
    transition: opacity 0.5s ease;
}
.rotating-text-section2 {
    background-color: #f5f5f5;
    text-align: center;
    padding: 80px 20px;
}

.rotating-text-section2 h2 {
    font-size: 2rem;
    font-weight: 700;
    color: black;
    margin: 0;
    margin-bottom: 20px;
}

.rotating-text-section2 .italic-word {
    font-style: italic;
    color: #3A6EA5;
    transition: opacity 0.5s ease;
}
.certificate-box {
  border: 1px solid #ccc;
  padding: 1rem;
  margin-bottom: 1rem;
  border-radius: 6px;
  position: relative;
}
.delete-certificate {
  background-color: #dc3545;
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  cursor: pointer;
  margin-top: 0.5rem;
}

/* FP ROTATING TEXT SECTION */
/* POPUP */
/* Modal background */
.service-modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow-y: auto;
    background: rgba(0, 0, 0, 0.5); /* Soft black background */
    transition: opacity 0.3s ease;
}

/* Modal content box */
.service-modal .modal-content {
    background: #ffffff;
    margin: 5% auto;
    padding: 30px;
    border-radius: 16px;
    width: 90%;
    max-width: 700px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    position: relative;
    animation: fadeInUp 0.4s ease;
}

/* Close button */
.radio-option {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border: 2px solid #397ad6;
  border-radius: 6px;
  padding: 0.75rem 1rem;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-bottom: 0.5rem;
  user-select: none;
  line-height: 1.4; /* Ensure consistent text alignment */
}

.radio-option input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  width: 24px;
  height: 24px;
  border: 2px solid #397ad6;
  border-radius: 50%;
  display: inline-block;
  background: white;
  position: relative;
  transition: border-color 0.2s ease;
  cursor: pointer;
  flex-shrink: 0;
  margin-top: 0; /* Fix alignment in some browsers */
  margin-bottom: 0; /* Ensure no vertical shift */
}

.radio-option input[type="radio"]:checked::before {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 14px;
  height: 14px;
  background: #397ad6;
  border-radius: 50%;
  transition: background 0.2s ease;
}

.radio-option input[type="radio"]:checked + .radio-label {
  font-weight: 600;
}

.radio-option input[type="radio"]:checked ~ .radio-label {
  font-weight: 600;
}

.radio-option:has(input[type="radio"]:checked) {
  background-color: #e4edfb;
  border-color: #397ad6;
}
.radio-big-top-margin {
	margin-top: 40px;
}

.star-rating {
  display: flex;
  gap: 0.5rem;
  font-size: 2rem;
  color: #ccc;
  cursor: pointer;
  user-select: none;
  margin-bottom: 1rem;
}

.star-rating .star {
  transition: color 0.2s ease;
}

.star-rating .star.active {
  color: #FFD700; /* gold */
}



.service-modal .close {
    color: #999;
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.service-modal .close:hover {
    color: #333;
}

/* Headings inside modal */
.service-modal h2 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #1d4b3a;
    border-bottom: 2px solid #e1f3e4;
    padding-bottom: 8px;
}

/* Jobs list */
.popular-jobs, .all-jobs {
    margin-bottom: 30px;
}

.popular-jobs p, .all-jobs p {
    margin: 10px 0;
}

.popular-jobs a, .all-jobs a {
    color: #2C5B6E;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
}

.popular-jobs a:hover, .all-jobs a:hover {
    text-decoration: underline;
}

/* Animation */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}
.spinner {
    border: 6px solid #f3f3f3;
    border-top: 6px solid #2C5B6E;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin: 40px auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* END POPUP */
/* SINGLE PAGE */
.breadcrumb {
    font-size: 14px;
    margin-bottom: 10px;
	max-width: 1100px;
	margin: auto;
	padding: 10px;
}

.breadcrumb a {
    color: #0073aa;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.featured-image {
    width: 100%;
    height: 500px;
    overflow: hidden; /* Ensures images don’t overflow */
    display: flex;
    justify-content: center;
    align-items: center;
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures the image covers the entire container without distortion */
}

.post-category {
    font-size: 16px;
    font-weight: bold;
    color: #555;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.post-content h1 {
    font-size: 28px;
    color: #333;
    margin-bottom: 15px;
}

.content {
    font-size: 18px;
    line-height: 1.6;
    color: #444;
}

.post-footer {
    font-size: 14px;
    color: #777;
    margin-top: 30px;
    border-top: 1px solid #ddd;
    padding-top: 10px;
}
/* Författarbox */
.author-box {
    display: flex;
    align-items: center;
    margin-top: 30px;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 8px;
}

.author-box img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 15px;
}

.author-info h3 {
    margin: 0;
    font-size: 18px;
}

.author-info p {
    margin: 5px 0 0;
    font-size: 14px;
}

/* Relaterade artiklar */
.related-posts {
    margin-top: 40px;
}

.related-grid {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.related-item {
    width: 23%;
    background: #f9f9f9;
    padding: 10px;
    border-radius: 8px;
    text-align: center;
}

.related-item img {
    width: 100%;
    border-radius: 8px;
}

.related-item h4 {
    font-size: 16px;
    margin-top: 10px;
}
/* REVIEWS */
.testimonial-section {
    padding: 60px 0px;
    background: #B3D4E0;
    text-align: center;
    overflow: hidden;
}
.testimonial-section h2 {
	color: #234D4D;
}
.testimonial-container {
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
    padding-top: 20px;
    padding-bottom: 20px;
}

.testimonial-track {
    display: flex;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94); /* mjukare slide */
}

.testimonial-card {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    padding: 30px 20px;
    margin: 0 10px;
    width: calc((100% / 3) - 20px); /* <– KORREKT nu! */
    flex-shrink: 0;
    box-sizing: border-box;
}


.stars {
    margin-bottom: 10px;
}

.star {
    width: 20px;
    height: 20px;
    fill: #4CAF50;
    margin: 0 2px;
}

.testimonial-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: #234D4D;
    margin-bottom: 10px;
}

.testimonial-text {
    font-size: 1rem;

    line-height: 1.4;
}

.testimonial-dots {
    margin-top: 30px;
}

.testimonial-dots span {
    display: inline-block;
    width: 10px;
    height: 10px;
    background: #ccc;
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
    transition: background 0.3s;
}

.testimonial-dots span.active {
    background: #234D4D;
}


/* REVIEWS */
/* SINGLE BLOLLOPSFOTOGRAF */
.profile-container {

    margin: auto;
    background: white;
    padding: 10px;
    -webkit-box-shadow: 0 6px 20px rgba(0, 0, 0, .1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, .1);
}
.information-block {
	margin-bottom: 20px;
}
.information-block label {
	margin-bottom: 10px;
	display: block;
	font-weight: bold;
}
.profile-container-inner {
	padding: 20px;
    border: 1px solid #8f8f8f;
    display: flex;
}
.profile-container-inner-nf {
	padding: 20px;
    border: 1px solid #8f8f8f;	
}
.bl-hero {
    height: 200px; /* Fixed height for uniformity */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.bl-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures image fills the container without distortion */
}
/* Vänster sektion (Profilbild) */
.profile-left {
    flex: 0;
    display: flex;
    align-items: top;
}

.profile-img {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #ddd;
}

/* Mitten sektion (Beskrivning) */
.profile-middle {
    flex: 2;
    padding: 10px 20px;
}
.profile-middle p {
	padding: 0px;
	margin: 0px 0px 0px 0px;
}

.profile-middle h1 {
    font-size: 24px;
    margin: 0;
}

.location {
    color: #777;
    font-size: 14px;
    margin-bottom: 10px;
}

.bio {
    font-size: 16px;
    color: #444;
    line-height: 1.5;
    margin-bottom: 10px;
}

.info {
    font-size: 14px;
    color: #555;
    margin-bottom: 10px;
}

.specialty {
    background: #000;
    color: #fff;
    display: inline-block;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 14px;
}

.pricing {
    margin-top: 10px;
}

/* Höger sektion (Kontakt) */
.profile-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.contact-btn, .whatsapp-btn {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    font-size: 14px;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    text-align: center;
    text-decoration: none;
}

.contact-btn {
    background: #007bff;
    color: white;
}

.whatsapp-btn {
    background: #25d366;
    color: white;
}

.website-link {
    text-decoration: none;
    color: #007bff;
    font-size: 14px;
    display: block;
    text-align: center;
    margin-top: 10px;
}
/* Archive brollopsfotografer search form */
.search-form {
    margin-bottom: 20px;
}

.search-form select {
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ddd;
    border-radius: 5px;
    cursor: pointer;
}
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    font-family: Arial, sans-serif;
}

/* Pagination Links */
.page-numbers {
    padding: 8px 16px;
    margin: 0 4px;
    background-color: #f1f1f1;
    border: 1px solid #ddd;
    border-radius: 5px;
    text-decoration: none;
    color: #333;
    font-size: 14px;
    transition: background-color 0.3s, border-color 0.3s;
}

/* Current Page */
.page-numbers.current {
    background-color: #2C5B6E;
    color: white;
    border-color: #2C5B6E;
}

/* Hover State for Links */
.page-numbers:hover:not(.current) {
    background-color: #2C5B6E;
    color: white;
    border-color: #2C5B6E;
}

/* Next Button */
.page-numbers.next {
    padding: 8px 16px;
    margin: 0 4px;
    background-color: #2C5B6E;
    color: white;
    font-weight: bold;
    border-radius: 5px;
    text-decoration: none;
    border: 1px solid #2C5B6E;
    transition: background-color 0.3s, border-color 0.3s;
}

/* Next Button Hover */
.page-numbers.next:hover {
    background-color: #007bb5;
    border-color: #007bb5;
}
#rank-math-toc {
    background: #4098d7;
    background: linear-gradient(45deg, #724BB7 0%, #4098D7 100%);
    background-size: cover;
    color: #fff;
    padding: 1rem;
    margin: 0 -1rem 2rem;
    padding: 20px;
    border-radius: 20px;
}
#rank-math-toc a { 
	text-decoration: none;
	color: white;
}

/* CUSTOM FAQ */
.faq-section {
  background: #f0f8ff; /* light blue background */
  padding: 60px 0px;
  text-align: center;
}

.faq-title {
  font-size: 2rem;
  font-weight: bold;
  color: #234D4D;
  margin-bottom: 40px;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
}

.faq-item {
  background: #ffffff;
  border-radius: 12px;
  margin-bottom: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  padding: 20px 24px;
  font-size: 17px;
  font-weight: 600;
  color: #234D4D;
}
.faq-question h3 {
	margin: 1px;
}

.faq-toggle {
  font-size: 1.5rem;
  color: #3A6EA5;
  transition: transform 0.2s ease;
}

.faq-answer {
  padding: 0 24px 20px;
  font-size: 1rem;
  color: black;
  line-height: 1.5;

}
.faq-answer p {
  margin: 0px;	
}
.faq-item.active .faq-toggle {
  transform: rotate(180deg);
  color: #234D4D;
}
/* SINGLE SERVICES */
/* Base Section */
.service-hero {
    background-color: #f0f8ff; /* light blue background */
    padding: 40px 20px;
    position: relative;
}

.breadcrumb {
    font-size: 0.9rem;
    color: #3A6EA5;
    margin-bottom: 20px;
}

.breadcrumb a {
    color: #3A6EA5;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* Hero Content */
.service-hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.service-hero-content h1 {
    font-size: 2rem;
    font-weight: 700;
    color: #2C5B6E;
}

.subtitle {
    font-size: 1.1rem;
    font-style: italic;
    color: #3A6EA5;
    margin-bottom: 30px;
}

/* Progress Timeline */
.form-progress {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    margin-bottom: 40px;
}

/* Step wrapper */
.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
    flex: 1;
}

/* Circle (step icon) */
.step-circle {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #ccc;
    border: 3px solid white;
    z-index: 2;
    transition: background 0.3s ease;
	display: flex;
	align-items: center;
	justify-content: center;
}

/* First step default active */
.progress-step.active .step-circle {
    background: #3A6EA5;
}
.progress-step.done .step-circle {
  background-color: #3A6EA5;
  border-color: #3A6EA5;
}
.progress-step .checkmark {
  color: white;
  font-size: 14px;
  font-weight: bold;
  line-height: 1;
}

/* Label under dot */
.step-label {
    margin-top: 8px;
    font-size: 0.9rem;
    color: #234D4D;
}

.form-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}

.form-btn {
    background: #3A6EA5;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease;
}

.form-btn:hover {
    background: #234D4D;
}


/* Line between steps */
.progress-line {
    flex: 1;
    height: 4px;
    background: #ccc;
    z-index: 0;
    margin: 0 -4px; /* slight negative margin for seamless connection */
    position: relative;
    top: -12px; /* center with dot */
}

/* When previous step is active, make line blue */
.progress-step.done + .progress-line {
    background: #3A6EA5;
}


.progressbar-wrapper {
  position: relative;
  margin: 40px auto;
  max-width: 700px;
  padding: 0 20px;
}

.progressbar-line {
  position: relative;
  height: 6px;
  background: #e0e0e0;
  border-radius: 3px;
  overflow: hidden;
}

.progressbar-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: #3A6EA5; /* blå */
  transition: width 0.4s ease;
  border-radius: 3px;
}
.input-error {
    border: 2px solid #ff4d4d;
}

.form-error {
    background: #ff4d4d;
    color: white;
    padding: 10px;
    margin-bottom: 20px;
    border-radius: 6px;
    font-weight: bold;
    text-align: center;
}
/* === Formulärwrapper === */
.service-form-box {
  background: #f8fafd;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 0 10px rgba(0, 50, 100, 0.1);
  max-width: 800px;
  margin: auto;
}

/* === Gridlayout för inputs === */
.form-step {
	display: block;
	margin-bottom: 10px;
	text-align: left;
}

/* Full width för textarea eller breda element */


/* === Inputs, labels === */
.form-step, .input-holder, .q-label, .q-title {
  display: block;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: #1e3a5f;
  text-align: left;
  margin-bottom: 10px;
}
#file-preview-list {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.file-preview-item {
  position: relative;
  display: inline-block;
  background: #f4f4f4;
  padding: 5px;
  border-radius: 5px;
}
.file-preview-item button {
  position: absolute;
  top: -5px;
  right: -5px;
  background: red;
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 12px;
  cursor: pointer;
  font-weight: 900;
}
#file-preview-list {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.file-preview-item {
  position: relative;
  padding: 5px;
  background: #f9f9f9;
  border: 1px solid #ccc;
  border-radius: 5px;
}
.file-preview-item button {
  position: absolute;
  top: -5px;
  right: -5px;
  background: red;
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 12px;
  cursor: pointer;
}

.q-label {
	display: block;
  font-weight: 500;
  margin-bottom: 0.4rem;
  color: #1e3a5f;
  text-align: left;
  margin-bottom: 10px;	
  font-size: 14px;
  font-style: italic;
  color: dimgray;
}

input[type="text"],
input[type="number"],
input[type="email"],
input[type="tel"],
input[type="file"],
input[type='password'],
select,
textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid #d6e3f2;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.2s ease;
  background: #ffffff;
}

select {
  -webkit-appearance: none; /* Remove native styles in Safari */
  -moz-appearance: none;    /* Remove native styles in Firefox */
  appearance: none;         /* Remove default arrow and styling */
  background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 5'%3E%3Cpath fill='%23666' d='M2 0L0 2h4z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 0.65rem auto;
  font-family: inherit;
}
input:focus,
select:focus,
textarea:focus {
  border-color: #397ad6;
  outline: none;
}

.chosen-container-multi .chosen-choices {
  border: 2px solid #d6e3f2;
  border-radius: 8px;
  padding: 6px 10px;
  background: #fff;
  min-height: 46px;
  box-shadow: none;
}

.chosen-container-active .chosen-choices {
  border-color: #397ad6 !important;
}
.chosen-container-single .chosen-single {
  border: 2px solid #d6e3f2;
  border-radius: 8px;
  height: 46px;
  padding: 10px;
  background: #fff;
}
.chosen-invalid {
  border-color: #e74c3c !important;	
}
input.invalid,
select.invalid,
textarea.invalid {
  border-color: #e74c3c !important;
  background-image: url('data:image/svg+xml;utf8,<svg fill="red" viewBox="0 0 24 24" width="18" height="18" xmlns="http://www.w3.org/2000/svg"><path d="M12 2a10 10 0 1 1 0 20 10 10 0 0 1 0-20zm.75 5.5h-1.5v6h1.5v-6zm0 7.5h-1.5v1.5h1.5V15z"/></svg>');
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 18px 18px;
}

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

/* === Checkboxar === */
  .checkbox-wrapper-46 input[type="checkbox"] {
    display: none;
    visibility: hidden;
  }

  .checkbox-wrapper-46 .cbx {
    margin: auto;
    -webkit-user-select: none;
    user-select: none;
    cursor: pointer;
  }
  .checkbox-wrapper-46 .cbx span {
    display: inline-block;
    vertical-align: middle;
    transform: translate3d(0, 0, 0);
  }
  .checkbox-wrapper-46 .cbx span:first-child {
    position: relative;
    width: 30px;
    height: 30px;
    border-radius: 8px;
    transform: scale(1);
    vertical-align: middle;
    border: 2px solid #9098A9;
    transition: all 0.2s ease;
  }
  .checkbox-wrapper-46 .cbx span:first-child.invalid-checkbox {
	  border-color: red;
	}
  .checkbox-wrapper-46 .cbx span:first-child svg {
    position: absolute;
    top: 5px;
    left: 3px;
    fill: none;
    stroke: #FFFFFF;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 16px;
    stroke-dashoffset: 16px;
    transition: all 0.3s ease;
    transition-delay: 0.1s;
    transform: translate3d(0, 0, 0);
  }
  .checkbox-wrapper-46 .cbx span:first-child:before {
    content: "";
    width: 100%;
    height: 100%;
    background: #397ad6;
    display: block;
    transform: scale(0);
    opacity: 1;
    border-radius: 50%;
  }
  .checkbox-wrapper-46 .cbx span:last-child {
    padding-left: 8px;
    font-weight: 500;
  }
  .checkbox-wrapper-46 .cbx:hover span:first-child {
    border-color: #506EEC;
  }

  .checkbox-wrapper-46 .inp-cbx:checked + .cbx span:first-child {
    background: #397ad6;
    border-color: #397ad6;
    animation: wave-46 0.4s ease;
  }
  .checkbox-wrapper-46 .inp-cbx:checked + .cbx span:first-child svg {
    stroke-dashoffset: 0;
  }
  .checkbox-wrapper-46 .inp-cbx:checked + .cbx span:first-child:before {
    transform: scale(3.5);
    opacity: 0;
    transition: all 0.6s ease;
  }

  @keyframes wave-46 {
    50% {
      transform: scale(0.9);
    }
  }



/* === Info / villkor === */
.info-text,
.terms-text {
  font-size: 0.9rem;
  color: #445d7c;
  margin-top: 1rem;
}

.terms-text a {
  color: #397ad6;
  text-decoration: underline;
}

/* === Knapp === */
button#nextBtn,
button#prevBtn,
button[type="submit"] {
  background: #2C5B6E;
  color: #fff;
  border: none;
  padding: 0.9rem 1.8rem;
  border-radius: 6px;
  font-weight: bold;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s ease;
}

button.secondary {
  background: #f0f4f8;
  color: #397ad6;
}
/* COMPANY REGISTRATION */
.partner-register {
  background-color: #2C5B6E;
  color: #ffffff;
  text-align: center;
  padding: 4rem 1rem;
}

.company-register-container {
  max-width: 500px;
  margin: 0 auto;
}
.company-register-container .company-reg-checkbox {
	margin: 20px 0px;

}

.company-reg-step-box {
  background: #f8fafd;
  color: #0a2e33;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(0,0,0,0.05);
  margin-top: 2rem;
  text-align: left;
}
.company-register-login-info {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: #ffffff;
  text-align: left;
}

.company-register-login-info a {
  color: #ffffff;
  text-decoration: underline;
}

.review-box {
  max-width: 500px;
  margin: 3rem auto 0;
  background-color: #1b4145;
  color: #fff;
  padding: 1.5rem;
  border-radius: 8px;
}

.review-box blockquote {
  font-style: italic;
  margin: 0;
}

.review-box footer {
  margin-top: 1rem;
  font-weight: bold;
}

#global-popup.popup-hidden { display: none; }

#global-popup {
  position: fixed; inset: 0;
  z-index: 10000;
}

.popup-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}

.popup-content {
  position: relative;
  max-width: 400px;
  margin: 100px auto;
  background: #fff;
  padding: 20px 25px;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(0,0,0,0.2);
}

.popup-title {
  margin-top: 0;
}

.popup-actions {
  margin-top: 20px;
  text-align: right;
}

.popup-actions button {
  margin-left: 10px;
}
.popup-close-button {
  position: absolute;
  top: 10px;
  right: 12px;
  font-size: 22px;
  background: none;
  border: none;
  color: #666;
  cursor: pointer;
  transition: color 0.2s ease;
}

.popup-close-button:hover {
  color: #000;
}


/* OLD POPUP */
body.no-scroll {
  overflow: hidden;
}
.offer-popup-overlay, .global-popup {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.5);
  z-index: 10000;
  overflow: auto;
}
.offer-popup-content {
	margin: 20px auto auto auto;
	position: relative;
	background: white;
	padding: 20px;
	border-radius: 10px;
	max-width: 800px;
	width: 90%;
	overflow-y: auto;
}
.offer-popup-inner .button-row button {
	margin-top: 10px;
}
.offer-popup-content input,
.offer-popup-content textarea {
  width: 100%;
}
.offers-active {
	color: green;
}
.offers-inactive {
	color: red; 
}
.close-offer-popup {
	position: absolute;
	top: 0px;
	right: 10px;
	cursor:pointer;
	font-size: 30px;
	font-weight: 800;
}


/* COMPANY VALIDATION */
.validate-holder {
    position: relative;
}

.validation-icon {
    position: absolute;
    right: 10px;
    top: 38px;
    width: 20px;
    height: 20px;
    background-size: contain;
    display: none;
}

.validation-icon.loading {
    background-image: url('/wp-content/themes/YOUR-THEME/assets/img/loading.gif'); /* spinner */
    display: inline-block;
}

.validation-icon.success {
    background-image: url('/wp-content/themes/YOUR-THEME/assets/img/checkmark.svg'); /* green check */
    display: inline-block;
}

.validation-icon.error {
    background-image: url('/wp-content/themes/YOUR-THEME/assets/img/xmark.svg'); /* red X */
    display: inline-block;
}

.validation-error {
    color: red;
    font-size: 0.9em;
    display: none;
    margin-top: 5px;
}

/* COMPANY VALIDATION */
/* MODAL UPLOAD LOGO */
/* Modal overlay */
#logoUploadModal {
  position: fixed;
  z-index: 9999;
  left: 0; top: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0,0,0,0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

/* Modal content */
.logo-modal-content {
  background: #fff;
  border-radius: 12px;
  padding: 30px;
  max-width: 600px;
  width: 100%;
  position: relative;
  box-shadow: 0 20px 50px rgba(0,0,0,0.2);
  text-align: center;
}

/* Close button */
#close-logo-modal {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 26px;
  cursor: pointer;
  color: #999;
}
#close-logo-modal:hover {
  color: #000;
}

/* Upload button */
#selectImageBtn {
  display: inline-block;
  padding: 10px 20px;
  background: #2C5B6E;
  font-weight: 700;
  color: white;
  border: none;
  border-radius: 8px;
  margin-bottom: 20px;
  cursor: pointer;
  font-size: 14px;
}


/* Crop preview image */
#cropper-preview {
  display: block;
  margin: 20px auto;
  border-radius: 10px;
  border: 1px solid #ddd;
  max-width: 100%;
  height: auto;
}

/* Zoom slider */
#zoom-slider {
  width: 100%;
  margin: 15px 0;
}

/* Save button */
#cropAndUploadBtn {
  padding: 10px 25px;
  background: #348b48;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 15px;
  margin-top: 20px;
}
.logoupload-list {
	text-align: left;
}

/* Preview container */
#company-logo-preview {
  margin-bottom: 15px;
}
#uploaded-logo {
  border-radius: 8px;
  max-width: 200px;
}

.order-info-table {
	margin-bottom: 20px;
}
.order-info-table h3 {
	margin-top: 0px;
}
.top-table {
	display: flex;
	flex-wrap: wrap;
	-webkit-box-align: start;
    align-items: flex-start;
}
.top-table div {
    -webkit-box-flex: 1;
    flex-grow: 1;
    flex-shrink: 1;
    flex-basis: auto;
}
.top-table span {
	display: block;
}
.top-table .gray-heading {
	color: gray;
}
.order-info-table .answer {
	font-weight: 700;
}
.order-info-table ul {
	margin: 0px;padding: 0px;
}
.order-info-table ul li {
	display: flex;
	flex-wrap: wrap;
}
.order-info-table ul li:nth-child(odd) {
  background-color: #f0f8ff;
}

.order-info-table ul li:nth-child(even) {
}
.order-info-table ul li {
	display: flex;
	flex-wrap: wrap;
	padding: 10px;
}
.order-info-table ul li .question-holder {
	width: 50%;
	display: inline-block;
}
.order-info-table ul li .answer-holder {
	width: 50%;
	display: inline-block;
	font-weight: 700;
}
.quill-editor {
  min-height: 100px;
  height: auto;
  max-height: 150px;
  overflow-y: auto;
}

/* NAV FOR ORDEROFFERCHAT */
.header-order-offer {
    padding: 15px 20px;
    background-color: #fff;
    border-bottom: 1px solid #eee;
    margin-bottom: 20px;
}
.header-order-button-holder {
	margin-top: 15px;
}
.header-order-offer .left {
    font-size: 14px;
    line-height: 1.5;
}

.header-order-offer .right {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.button-inactive {
    color: #333;
    padding: 10px 20px;
    font-weight: 700;
    cursor: pointer;
    background: #f5f5f5;
    text-decoration: none;
    border: 1px solid black;
    border-radius: 5px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    font-size: 1rem;
    line-height: 1.2;
}
.button-inactive.active {
	background: #2C5B6E;
	color: white;
}
/* COMPANY REGISTRATION END */
/* OFFER REVIEW */

.review-card {
  background-color: #fff;
  border-radius: 1rem;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  padding: 1.5rem;
  margin-bottom: 15px;
  flex: 1;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.review-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

.review-stars {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.review-meta {
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
  color: #555;
}

.review-meta strong {
  display: block;
  font-size: 1rem;
  color: #222;
}

.review-meta small {
  color: #888;
}

.review-content p {
  margin: 0;
  font-size: 1rem;
  color: #333;
  line-height: 1.5;
}

@media screen and (max-width: 768px) {
    .pagination a,
    .pagination span {
        padding: 6px 10px;
        font-size: 13px;
    }
	.search-input-container, .search-bar {
		flex-direction: column;
	}
	.search-input-container .divider, .start-hero::after {
		display: none;
	}
	.start-hero .text-container {
		width: 100%;
	}
	.starta-hero-section-holder {
		padding: 60px 20px 100px 20px;
	}
	.testimonial-card {
	    width: calc((100% / 2) - 20px);	
	}
	.dashboard-wrapper {
		flex-direction: column;
	}
	.nav-buttons-holder-desktop {
		display: none;
	}
	.nav-hamburger-holder {
		display: block;
	}
	.dashboard-sidebar {
		width: 100%;
		padding: 0px;
	}
	.dashboard-sidebar .nav-holder {
		display: flex;
		justify-content: flex-end;
	}
	.dashboard-header h1 {
		font-size: 1.4rem;	
	}
	.nav-column .nav-buttons-holder-desktop li > a {
		padding: 10px;
	}
	.dashboard-nav-line-buttons {
		display: flex;
		flex-direction: column;

	}
	.button-normal {
		margin-bottom: 10px;		
	}
	.header-order-button-holder {
		display: flex;
		flex-direction: column;
		gap: 10px;
	}
	.order-info-table ul li .question-holder, .order-info-table ul li .answer-holder {
		width: 100%;
			
	}
	.order-status-timeline {
	  display: flex;
	  flex-direction: column;
	  align-items: center;
	  justify-content: space-between;
	  margin-top: 1.5rem;
	  padding: 1rem;
	  background: #f9fbfc;
	  border-radius: 10px;
	  overflow-x: auto;
	  gap: 10px;
	} 
	.timeline-step.inactive {
		display: none;
	}
	.dashboard-item-holder a {
		display: block;
	}
}