/*
Theme Name: Partner
Author: Your Dawisteam
Description: Custom Partner theme 
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: parner
*/

body {
  padding: 0;
  margin: 0;
}

/* Responsive container */

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  box-sizing: border-box;
}

/* Main content area padding */

.site-main {
  padding: 40px 0;
}

/* Style for the post title */

.entry-title {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #333;
}

/* Style for the entry content */

.entry-content {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #555;
}

/* Responsive typography adjustments */

@media (max-width: 768px) {
  .entry-title {
    font-size: 1.5rem;
  }
  .entry-content {
    font-size: 1rem;
  }
  .container {
    padding: 15px;
  }
}

@media (max-width: 480px) {
  .entry-title {
    font-size: 1.2rem;
  }
  .entry-content {
    font-size: 0.9rem;
  }
  .container {
    padding: 10px;
  }
}

/* Basic styling for the review form */

.acf-form {
  margin: 20px 0;
}

.acf-form .acf-field {
  margin-bottom: 20px;
}

.acf-form input[type="submit"] {
  background-color: #0073aa;
  color: #fff;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
}

.acf-form input[type="submit"]:hover {
  background-color: #005177;
}

/* HOME PAGE REVIEWS BLOCK */

.reviews-section {
  padding: 20px;
  text-align: center;
  display: flex;
  justify-content: space-between;
  max-width: 80%;
  margin: 0 auto;
}

.reviews-section .review-card {
  margin-right: 20px;
}

.reviews-section .review-card:last-child {
  margin-right: unset;
}

.reviews-section h2 {
  color: #1e3a8a;
  /* Dark blue color */
  margin-bottom: 20px;
}

.reviews-container {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.review-card {
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  padding: 20px;
  width: 380px;
  position: relative;
}

.review-header {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  justify-content: space-between;
}

.review-header img {
  width: 50px;
  height: 50px !important;
  border-radius: 50% !important;
  margin-right: 10px;
}

.stars {
  display: flex;
  align-items: center;
}

.stars span {
  color: #4caf50;
  /* Star color */
  font-size: 22px;
  /* margin-right: 10px; */
}

.stars span.rating {
  font-size: 16px;
  color: #03133d;
  font-weight: 600;
  font-family: "DM Sans", sans-serif;
  margin: 0 auto;
}

.stars span:nth-child(5) {
  margin-right: 15px;
}

.review-body {
  text-align: left;
}

.review-body p {
  margin-bottom: 10px;
  font-weight: 400;
  font-size: 14px;
  color: #03133d;
}

.review-body p strong {
  font-weight: 700;
}

.review-body ul {
  list-style: none;
  padding-left: 0;
}

.review-body li {
  display: flex;
  justify-content: space-between;
  margin-bottom: 5px;
  color: #68718b;
  font-size: 14px;
  font-weight: 400;
}

.review-body li span {
  font-weight: bold;
}

.review-block .actions-container {
  justify-content: center;
}

.review_submit button {
  margin: 30px auto;
  display: block;
}

.review-success-message {
  max-width: 600px;
  text-align: center;
  margin: 0 auto;
}

/* Responsive Design - @media queries */

@media screen and (max-width: 1025px) {
  .elementor-element-b835767,
  .elementor-element-20f7e47,
  .elementor-element-41f808b,
  .elementor-element-0c5e152 {
    display: none !important;
  }
  .elementor-element-c703bbb,
  .elementor-element-9ef8936 {
    justify-content: end !important;
  }
  .elementor-element-942607c {
    align-self: end !important;
  }
  .elementor-element-2140ff9 {
    justify-content: space-between !important;
  }
}

@media screen and (min-width: 991px) {
  .review_submit {
    max-width: 80%;
    margin: 0 auto;
    padding: 0 20px;
  }
}

@media (max-width: 1035px) and (min-width: 950px) {
  .stars span {
    font-size: 18px;
  }
}

@media (max-width: 950px) and (min-width: 880px) {
  .stars span.rating,
  .stars span {
    font-size: 14px;
  }
}

@media (max-width: 880px) {
  .reviews-container {
    flex-direction: column;
    align-items: center;
  }
  .review-card {
    width: 100%;
    max-width: 400px;
  }
}

@media (max-width: 480px) {
  .review-header img {
    width: 40px;
    height: 40px;
  }
  .stars span {
    font-size: 1.2em;
  }
  .rating {
    font-size: 1em;
  }
  .review-card {
    padding: 15px;
  }
}

/* HOME PAGE REVIEWS BLOCK END */

/*  SINGLE COMPANY REVIEW BLOCK  */

.review-block {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  padding: 20px;
  width: 100%;
  max-width: 725px;
  margin: 0 auto;
}

.review-block h3 {
  margin: 0;
  font-size: 1.5em;
}

.rating-stars {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.rating-stars span {
  margin-left: 8px;
  font-size: 1.2em;
  font-weight: bold;
}

.stars-container {
  display: flex;
}

.stars-container i {
  color: #00cc66;
  margin-right: 4px;
}

.reviews-count {
  color: #666;
  margin-bottom: 20px;
}

.rating-bar-container {
  margin-bottom: 10px;
}

.rating-bar {
  display: flex;
  align-items: center;
}

.rating-bar span {
  margin-right: 10px;
}

.rating-fill {
  background-color: #007bff;
  height: 8px;
  border-radius: 4px;
}

.bar {
  background-color: #e0e0e0;
  width: 100%;
  height: 8px;
  border-radius: 4px;
  margin-right: 8px;
  position: relative;
}

.rating-percentage {
  color: #666;
}

/* Flexbox container for the button and dropdown */

.actions-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
}

/* Update button width to 50% */

.write-review-btn,
.submit_review_btn {
  color: #fff;
  border: none;
  border-radius: 20px;
  padding: 10px 20px;
  font-size: 1em;
  cursor: pointer;
  width: 40%;
  height: 54px;
  /* padding: 16px 24px 16px 24px; */
  border-radius: 10px;
  background: linear-gradient(112.8deg, #6a36ff -15.76%, #ac5fe6 102.86%);
}

.submit_review_btn {
  margin-top: 20px;
}

/* Sort dropdown in the same row as the button */

.sort-dropdown {
  width: 40%;
  display: flex;
  justify-content: flex-end;
  height: 54px;
}

.sort-dropdown select {
  padding: 6px 12px;
  border-radius: 4px;
  border: 1px solid #ccc;
  width: 100%;
  border-radius: 10px;
  /* Make the dropdown take full width of its container */
}

@media (max-width: 768px) {
  .review-block {
    max-width: 100%;
    padding: 15px;
  }
  .write-review-btn {
    font-size: 0.9em;
  }
  .rating-stars span {
    font-size: 1em;
  }
}

/*ACF FORMOS LAUKAI*/

/* Bendra forma */

/* Užtikrinkite, kad forma būtų centruota ir graži */

/* Užtikrinkite, kad forma būtų centruota ir graži */

#acf-form {
  max-width: 725px;
  margin: 0 auto;
  background-color: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/* Klausimų stilius */

.acf-label {
  font-weight: bold;
  font-size: 1.2em;
  margin-bottom: 10px;
  display: block;
}

/* Žvaigždutės horizontalioje linijoje */

.acf-radio-list {
  /* display: flex !important; */
  gap: 5px;
  /* list-style: none; */
  padding: 0;
  margin: 0;
}

.acf-radio-list li {
  display: inline-block;
}

/* Žvaigždės stilius */

.star-rating label {
  font-size: 2em;
  color: #ccc;
  cursor: pointer;
  transition: color 0.2s ease-in-out;
}

/* Hover efektas */

.star-rating label:hover,
.star-rating label:hover ~ label {
  color: #ffcd3c;
  /* Geltona spalva, kai užvedama pelė */
}

/* Pažymėtų žvaigždžių spalva */

.acf-radio-list input[type="radio"]:checked ~ label i,
.acf-radio-list input[type="radio"]:checked ~ label:hover ~ label i,
.acf-radio-list input[type="radio"]:checked ~ label ~ label i {
  color: #ffcd3c;
  /* Visi iki pažymėtos žvaigždutės tampa geltoni */
}

/* Pažymėtų žvaigždžių spalvos pasikeitimas paspaudus */

.star-rating input[type="radio"]:checked ~ label i {
  color: #faec1b;
}

/* Kai nėra pasirinkta, rodome pilką spalvą */

/* .star-rating input[type="radio"] {
    display: none;
} */

/* Užtikrinkime, kad forma atrodytų gražiai */

.acf-form-fields {
  display: grid;
  grid-gap: 20px;
}

.acf-field {
  margin-bottom: 20px;
}

.acf-form-submit {
  display: flex;
  justify-content: center;
}

.acf-button {
  background-color: #0d234b;
  color: #fff;
  border: none;
  padding: 10px 20px;
  font-size: 1.2em;
  cursor: pointer;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

.acf-button:hover {
  background-color: #1b3f73;
}

/* Pakeiskime radijo mygtukus į žvaigždutes */

.acf-radio-list label {
  display: inline-block;
  cursor: pointer;
}

/* .acf-radio-list input[type="radio"] {
    display: none;
} */

/* Žvaigždutės ikonų stilizavimas */

.acf-radio-list label i {
  font-size: 2em;
  color: #ccc;
  margin-right: 5px;
}

/* Pažymėtų žvaigždžių spalvos */

.acf-radio-list input[type="radio"]:checked + i,
.acf-radio-list input[type="radio"]:checked + i ~ label i {
  color: #faec1b;
  /* Geltona žvaigždutės spalva */
}

/* Kai žvaigždutė pasirenkama ir užvedama pelė */

.acf-radio-list label:hover i,
.acf-radio-list label:hover ~ label i {
  color: #fffdba;
  /* Švelniai geltona hover spalva */
}

.elementor-element-b0c7210 {
  display: none !important;
  /* užtikriname, kad šis stilius būtų prioritetinis */
}

.elementor-element-b0c7210.visible {
  display: block !important;
  /* užtikriname, kad kai bus matomas, šis stilius veiks */
}

.rating-bar span:first-child {
  width: 15%;
}

.rating-bar span,
.rating-bar .bar {
  margin-bottom: 20px;
}

/*  SINGLE COMPANY REVIEW BLOCK END  */

/*Signup login*/

h1 {
  font-size: 40px !important;
}

#customer_login .col-1,
.u-column2.col-2 {
  width: 100%;
}

.submit_registration {
  width: 100% !important;
  padding: 10px 50px !important;
  text-transform: capitalize !important;
  font-weight: 600 !important;
  border-radius: 6px !important;
  height: unset !important;
  line-height: unset !important;
  font-family: "Open Sans", sans-serif !important;
  font-size: 16px !important;
}

.woocommerce-LostPassword.lost_password a {
  color: #040d82;
  font-family: "Open Sans", sans-serif;
  font-size: 13px;
  text-decoration: underline;
}

.woocommerce-LostPassword.lost_password a:hover {
  color: #4e5295;
}

.checkout.woocommerce-checkout {
  display: block;
}

.login_container {
  max-width: 500px;
  margin: auto;
  padding: 20px;
  border: 1px solid #eaeaea;
  border-radius: 6px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.woocommerce-form-login__submit {
  min-width: 377px;
  font-family: arial !important;
}

.eltdf-content
  .eltdf-content-inner
  > .eltdf-container
  > .eltdf-container-inner {
  padding: 40px 0;
}

.login_signup input:not([type="checkbox"]) {
  font-size: 16px;
  border-radius: 6px;
  position: relative;
  width: 100%;
  margin: 0 0 14px;
  padding: 12px 20px;
  font-family: inherit;
  line-height: 18px;
  font-weight: inherit;
  color: #7c7c7c;
  background-color: transparent;
  border: 1px solid #ebe9e9;
  outline: 0;
  -webkit-appearance: none;
  box-sizing: border-box;
  height: 54px !important;
}

.login_signup .new_account a:hover {
  border: 2px solid linear-gradient(335deg, #0097fe 0%, #14358a 95%);
}

.submit_registration {
  height: 54px !important;
  background: linear-gradient(112.8deg, #6a36ff -15.76%, #ac5fe6 102.86%);
  color: #fff !important;
  transition: color 0.5s, transform 0.5s;
}

.submit_registration:hover {
  background: linear-gradient(112.8deg, #571aff -15.76%, #a241ed 102.86%);
  color: #fff !important;
  transform: scale(1.02);
}

#user_role {
  font-size: 14px;
  border-radius: 6px;
  position: relative;
  width: 100%;
  margin: 0 0 14px;
  padding: 12px 20px;
  font-family: inherit;
  line-height: 18px;
  font-weight: inherit;
  color: #7c7c7c;
  background-color: transparent;
  border: 1px solid #ebe9e9;
  outline: 0;
  -webkit-appearance: none;
  box-sizing: border-box;
  height: 54px !important;
}

#quick_email {
  font-size: 16px;
  border-radius: 6px;
  position: relative;
  width: 100%;
  margin: 0 0 14px;
  padding: 12px 20px;
  font-family: inherit;
  line-height: 18px;
  font-weight: inherit;
  color: #7c7c7c;
  background-color: transparent;
  border: 1px solid #ebe9e9;
  outline: 0;
  -webkit-appearance: none;
  box-sizing: border-box;
  height: 54px !important;
}

#quick_role {
  font-size: 14px;
  border-radius: 6px;
  position: relative;
  width: 100%;
  margin: 0 0 14px;
  padding: 12px 20px;
  font-family: inherit;
  line-height: 18px;
  font-weight: inherit;
  color: #7c7c7c;
  background-color: transparent;
  border: 1px solid #ebe9e9;
  outline: 0;
  -webkit-appearance: none;
  box-sizing: border-box;
  height: 54px !important;
}

/*Signup login end*/

.reviews_title {
  color: #14358a;
  font-family: "Roboto", Sans-serif;
  font-size: 48px;
  font-weight: 700;
  text-align: center;
}

.post_date {
  text-align: left;
  font-size: 12px;
  font-weight: 600;
  color: #5c5c5c;
  position: absolute;
  bottom: 10px;
}

.company-rating-box {
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  background: #f8faff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.rating-container {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: bold;
}

.rating-stars {
  display: flex;
  margin-right: 5px;
}

.star-icon {
  color: #00c853;
  font-size: 20px;
  margin: 0 2px;
}

.star-icon.inactive {
  color: #ccc;
}

.review-count {
  margin: 5px 0;
  font-size: 14px;
  color: #666;
}

.subscribe-button {
  border: 2px solid #7e57c2;
  background: none;
  color: #7e57c2;
  font-weight: bold;
  padding: 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.3s;
}

.subscribe-button:hover {
  background: #7e57c2;
  color: white;
}

.question-block p {
  font-weight: 600;
  font-size: 18px;
}

.signup_container {
  display: flex;
  justify-content: center;
}

.signup_container h2 {
  color: #14358a;
  font-family: "DM Sans", Sans-serif;
  font-size: 48px;
  font-weight: 700;
  line-height: 50px;
  margin: 0;
}

.signup_more_info {
  margin: 30px 0;
}

.signup_more_info p {
  text-align: center;
  color: #68718b;
  font-family: "DM Sans", Sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 24px;
}

.signup_button {
  display: flex;
  justify-content: space-between;
  max-width: 60%;
  margin: 0 auto;
}

.register_now {
  background-color: transparent;
  font-family: "DM Sans", Sans-serif;
  font-weight: 500;
  background-image: linear-gradient(180deg, #6a36ff 0%, #ac5fe6 100%);
  border-radius: 7px 7px 7px 7px;
  padding: 20px 20px 20px 20px;
  color: #fff;
  text-decoration: none;
}

.login_in {
  background-color: #9450ef00;
  font-family: "DM Sans", Sans-serif;
  font-weight: 500;
  fill: #9450ef;
  color: #9450ef;
  border-style: solid;
  border-width: 2px 2px 2px 2px;
  border-radius: 7px 7px 7px 7px;
  padding: 20px 20px 20px 20px;
  text-decoration: none;
}

.subscribe-button {
  margin: 0 auto;
}

.page-id-1198 .reviews-section {
  max-width: unset;
  justify-content: flex-start;
}

.page-id-1198 .review-card a,
.change-plan-button,
.edit_user_form {
  margin-top: 10px;
  display: inline-block;
  padding: 6px 12px;
  background: #0073aa;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.3s;
  text-decoration: none;
}

.page-id-1198 .review-card:hover a,
.change-plan-button:hover,
.edit_user_form:hover {
  background: #005e8a;
}

.page-id-1198 .post_date {
  position: relative;
  bottom: unset;
}

.page-id-1198 input:not([type="checkbox"]) {
  font-size: 16px;
  border-radius: 6px;
  position: relative;
  width: 100%;
  margin: 0 0 14px;
  padding: 12px 20px;
  font-family: inherit;
  line-height: 18px;
  font-weight: inherit;
  color: #7c7c7c;
  background-color: transparent;
  border: 1px solid #ebe9e9;
  outline: 0;
  -webkit-appearance: none;
  box-sizing: border-box;
  height: 54px !important;
}

.page-id-1198 .edit_profile {
  max-width: 500px;
}

.auth-button {
  display: inline-block;
  line-height: 1;
  font-size: 15px;
  padding: 12px 24px;
  border-radius: 9px;
  color: #fff;
  fill: #fff;
  text-align: center;
  transition: all 0.3s;
  font-family: "DM Sans", Sans-serif;
  font-weight: 500;
}

/* .login-button {
    background-color: #69727d;
} */

.login-button:hover {
  color: #ac5fe6;
  border: 1px solid #ac5fe6;
}

.register-button {
  background-color: transparent;
  border: 1px solid #69727d;
}

.register-button:hover {
  color: #ac5fe6;
  border-color: #ac5fe6;
}

.auth-user-dropdown {
  position: relative;
  display: inline-block;
  font-family: "DM Sans", Sans-serif;
}

.auth-user-icon {
  /* width: 36px;
    height: 36px; */
  /* background-color: #AC5FE6; */
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  cursor: pointer;
  font-size: 16px;
  transition: background 0.3s ease;
}

.auth-user-dropdown:hover .auth-user-icon {
  background-color: #b8b8b800;
}

.auth-user-menu {
  position: absolute;
  top: 125%;
  right: 0;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  padding: 10px;
  min-width: 160px;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
  position: absolute;
  pointer-events: none;
  margin-top: 10px;
}

.auth-user-menu a {
  display: block;
  padding: 8px 12px;
  color: #333;
  text-decoration: none;
  font-size: 14px;
  border-radius: 4px;
}

.auth-user-menu a:hover {
  background-color: #f2f2f2;
  color: #ac5fe6;
}

.bg_transparent {
  width: 80px;
  text-align: right;
  height: 45px;
  position: relative;
}

.bg_transparent::before {
  content: "";
  position: absolute;
  top: -20px;
  bottom: -20px;
  left: -20px;
  right: -20px;
  z-index: 0;
}

.auth-user-menu {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.4s ease, visibility 0.4s ease;
  position: absolute;
  right: 0;
  top: 100%;
  /* jei nori žemiau */
  background: white;
  /* arba koks fonas */
  padding: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.bg_transparent:hover .auth-user-menu,
.auth-user-menu:hover {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.auth-user-dropdown {
  text-align: center;
}

#vat-message {
  margin: 50px auto;
  padding: 20px 50px;
  border-radius: 14px;
  max-width: 550px;
  width: 100%;
  text-align: center;
  font-weight: 600;
  position: absolute;
  /* background: rgba(214, 16, 16, 0.5); */
  left: 50%;
  transform: translateX(-50%);
  top: 70px;
}

#check-vat-button {
  position: absolute;
  right: 6px;
  top: 5px;
  background-color: transparent;
  font-family: "DM Sans", Sans-serif;
  font-weight: 500;
  background-image: linear-gradient(180deg, #6a36ff 0%, #ac5fe6 100%);
  border-radius: 4px;
  padding: 7px 15px;
  color: #fff;
  border: none;
  cursor: pointer;
  transition: background-image 0.4s ease, transform 0.2s ease;
}

#check-vat-button:active {
  transform: scale(0.97);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

#check-vat-button:hover {
  background-image: linear-gradient(180deg, #ac5fe6 0%, #6a36ff 100%);
}

#check-vat-button:disabled {
  opacity: 0.5;
  pointer-events: none;
  cursor: not-allowed;
}

.star {
  font-size: 20px;
  color: #ccc;
  position: relative;
  display: inline-block;
  width: 1em;
  text-align: center;
}

.star.full {
  color: #28a745;
}

.star.half {
  background: linear-gradient(90deg, #28a745 50%, #ccc 50%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.star.empty {
  color: #ccc;
}

.company-search-result {
  padding: 10px 12px;
  border-bottom: 1px solid #eee;
}

.vat-and-name {
  font-weight: bold;
  margin-bottom: 4px;
}

.rating-and-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 4px;
}

.company-rating-stars {
  font-size: 18px;
  color: #28a745;
  display: flex;
  gap: 4px;
}

.star {
  color: #ccc;
  font-size: 20px;
}

.star.full {
  color: #28a745;
}

.star.half {
  background: linear-gradient(90deg, #28a745 50%, #ccc 50%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.star.empty {
  color: #ccc;
}

.search-button {
  background-color: #eef6ff;
  border: 2px solid #a77cff;
  color: #a77cff;
  padding: 6px 16px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}

.search-button:hover {
  background-color: #a77cff;
  color: #fff;
}

.single_notification {
  font-size: 14px;
  color: #565454;
  transition: opacity 0.5s ease;
  opacity: 1;
  font-weight: 600;
}

.single_notification.out {
  opacity: 0;
}

@media (max-width: 768px) {
  .page-id-1198 .review-card {
    text-align: left;
    padding-left: 0;
  }
  .page-id-1198 .reviews-section {
    display: block;
  }
}

.dropdown-items {
  display: block !important;
  width: 100%;
}

.reviews-section {
  margin: 40px 0;
}

.review-card {
  background: #fff;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  height: 100%;
}

.review-header,
.review-body {
  margin-bottom: 10px;
}

.stars {
  font-size: 1.2em;
  margin-bottom: 5px;
}

.post_date {
  font-size: 0.85em;
  color: #666;
}

.reviews-section {
  display: block;
  /* overflow: hidden; */
  margin: 40px auto;
  max-width: unset;
}

.swiper-slide {
  display: flex !important;
  justify-content: center;
}

.elementor-element-ce581b6 {
  position: relative;
}

.page-template-template-dashboard .reviews-section {
  display: flex !important;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-start;
  margin: 40px auto;
  max-width: 100%;
}

.page-template-template-dashboard .review-card {
  width: 360px;
  flex: 0 0 360px;
  margin-right: 20px;
}

.page-template-template-dashboard .review-card h4 {
  min-height: 42px;
}

.elementor-element-f105f24,
.elementor-element-ecfd3bb,
.elementor-element-9c459ca {
  display: none !important;
}

.single-company .elementor-element-f105f24,
.single-company .elementor-element-ecfd3bb,
.single-company .elementor-element-9c459ca {
  display: flex !important;
}

.review-role-toggle .role-btn {
  transition: all 0.15s ease;
}

.review-role-toggle .role-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
}

.review-role-toggle {
  text-align: center;
}

h2.reviews_title {
  justify-content: center;
}


.elementor-element-7bd487c {
  display:none !important;
}

.single-company .elementor-element-7bd487c {
  display: flex !important;
}


@media screen and (min-width:991px){
  .dashboard-sidebar {
      position: sticky;
      top: 80px;           /* tiek pikselių nuo viršaus, prisiderink pagal savo header'į */
      align-self: flex-start;
      height: fit-content; /* kad neužimtų viso ekrano, jei nereikia */
      z-index: 10;         /* jei kažkas persidengtų */
  }
}

.page-id-19 .rating-and-button .company-rating-stars{display:none !important}


.rating-and-button {
    display: grid;
    justify-content: unset;
}







/* Tooltip wrapper */
.rating-help {
  display: inline-flex;
  align-items: center;
  position: relative;
  margin-left: 8px;
}

/* Icon - neutral */
.rating-help__icon {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;

  font-size: 12px;
  font-weight: 700;
  line-height: 1;

  cursor: pointer;
  background: #eef2f7;
  border: 1px solid rgba(3, 19, 61, 0.18);
  color: #03133d;

  padding: 0;
}

.rating-help__icon:hover {
  background: #e4ebf5;
}

.rating-help__icon:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(3, 19, 61, 0.15);
}

/* Tooltip bubble */
/* Tooltip wrapper */
.rating-help {
  display: inline-flex;
  align-items: center;
  position: relative;
  margin-left: 8px;
}

/* Icon - neutral */
.rating-help__icon {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;

  font-size: 12px;
  font-weight: 700;
  line-height: 1;

  cursor: pointer;
  background: #eef2f7;
  border: 1px solid rgba(3, 19, 61, 0.18);
  color: #03133d;

  padding: 0;
}

.rating-help__icon:hover {
  background: #e4ebf5;
}

.rating-help__icon:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(3, 19, 61, 0.15);
}

/* Tooltip bubble */
.rating-tooltip {
  display: none;
  position: absolute;

  /* show above by default */
  /* bottom: calc(100% + 10px); */
  top: unset !important;
  bottom: 160% !important;
  left: -200% !important;
  transform: translateX(-50%);

  z-index: 99999;
  width: max-content;
  max-width: 280px;

  padding: 10px 12px;
  border-radius: 10px;

  /* standard tooltip look */
  background: #f3f4f6 !important;
  border: 1px solid rgba(0,0,0,0.12);
  color: #111827;

  font-size: 12px;
  line-height: 1.35;

  box-shadow: 0 12px 22px rgba(0,0,0,0.18);
  white-space: normal;
  text-align: left;
}

/* CRITICAL: override .stars span styling inside tooltip */
.rating-tooltip,
.rating-tooltip * {
  color: #111827 !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  font-family: "DM Sans", sans-serif !important;
  line-height: 1.35 !important;
}

/* Make lines nice (your tooltip has <span>...<br><span>... etc) */
.rating-tooltip span {
  display: block;
  margin: 0 0 6px 0;
}

.rating-tooltip span:last-child {
  margin-bottom: 0;
}

/* Arrow */
.rating-tooltip::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 66%;
  transform: translateX(-50%);
  border: 7px solid transparent;
  border-top-color: #f3f4f6;
}

.rating-tooltip::before {
  content: "";
  position: absolute;
  top: 100%;
  left: 66%;
  transform: translateX(-50%);
  border: 8px solid transparent;
  border-top-color: rgba(0,0,0,0.12);
  margin-top: 1px; /* border outline behind arrow */
}

/* Show on hover/focus */
.rating-help:hover .rating-tooltip,
.rating-help:focus-within .rating-tooltip {
  display: block;
}

@media screen and (max-width:991px){
  .rating-tooltip {
    left: -100px !important;
  }
  .rating-tooltip::before {left: 90%;}
  .rating-tooltip::after {left: 90%;}
}


/* Dashboard Subscription pricing – scoped so it won't affect Elementor elsewhere */
.dashboard-subscription-pricing {
  max-width: 1100px;
}

.dashboard-subscription-pricing .e-con-inner {
  display: flex;
  gap: 24px;
  justify-content: center;
  align-items: stretch;
  flex-wrap: wrap;
}

/* Each price table widget column */
.dashboard-subscription-pricing .elementor-widget-price-table {
  flex: 1 1 420px;
  max-width: 520px;
}

.dashboard-subscription-pricing .elementor-widget-price-table .elementor-widget-container {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 12px 26px rgba(0,0,0,0.12);
}

/* Price area */
.dashboard-subscription-pricing .elementor-price-table {
  text-align: center;
  position: relative;
}

.dashboard-subscription-pricing .elementor-price-table__price {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 6px;

  padding: 42px 18px 18px;
  background: #fff;

  font-family: "DM Sans", sans-serif;
  font-size: 48px;
  font-weight: 700;
  color: #000;
}

.dashboard-subscription-pricing .elementor-price-table__currency {
  font-size: 0.76em;
  line-height: 1;
  align-self: center;
  color: #000;
}

.dashboard-subscription-pricing .elementor-price-table__integer-part {
  line-height: 0.9;
  color: #000;
}

.dashboard-subscription-pricing .elementor-price-table__after-price {
  display: flex;
  flex-direction: column;
  align-self: stretch;
  justify-content: flex-start;
  text-align: left;
}

.dashboard-subscription-pricing .elementor-price-table__fractional-part {
  font-size: 0.3em;
  line-height: 1;
  color: #000;
}

.dashboard-subscription-pricing .elementor-price-table__period {
  width: 100%;
  margin-top: 4px;

  font-family: "DM Sans", sans-serif;
  font-size: 11px;
  font-weight: 400;
  color: #000;
}

/* Features list */
.dashboard-subscription-pricing .elementor-price-table__features-list {
  list-style: none;
  margin: 0;
  padding: 0;
  background: #fff;
  text-align: left;
  color: #000;
}

.dashboard-subscription-pricing .elementor-price-table__features-list li {
  font-family: "DM Sans", sans-serif;
  font-size: 14px;
  line-height: 1.25;
  padding: 14px 22px;
  margin: 0;
}

.dashboard-subscription-pricing .elementor-price-table__features-list li:not(:first-child) {
  border-top: 1px solid rgba(0,0,0,0.08);
}

.dashboard-subscription-pricing .elementor-price-table__feature-inner {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.dashboard-subscription-pricing .elementor-price-table__features-list svg {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  fill: #016BFF;
}

/* Footer + button */
.dashboard-subscription-pricing .elementor-price-table__footer {
  background: #fff;
  padding: 26px 0 34px;
}

.dashboard-subscription-pricing .elementor-price-table__button.elementor-button {
  display: inline-block;
  text-decoration: none;

  font-family: "DM Sans", sans-serif;
  font-size: 16px;
  font-weight: 600;

  color: #fff;
  padding: 15px 42px;
  border-radius: 13px;

  background-image: linear-gradient(180deg, #6A36FF 0%, #AC5FE6 100%);
  box-shadow: 0 10px 18px rgba(106,54,255,0.22);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.dashboard-subscription-pricing .elementor-price-table__button.elementor-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 26px rgba(106,54,255,0.26);
}

/* Ribbon (Popular) */
.dashboard-subscription-pricing .elementor-price-table__ribbon {
  position: absolute;
  top: 0;
  right: 0;
  width: 140px;
  height: 140px;
  overflow: hidden;
  pointer-events: none;
}

.dashboard-subscription-pricing .elementor-price-table__ribbon-inner {
  position: absolute;
  top: 26px;
  right: -42px;
  width: 200px;

  transform: rotate(45deg);

  background: #49C46A;
  color: #fff;

  font-family: "DM Sans", sans-serif;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  text-align: center;
  line-height: 32px;
}

/* Small screens */
@media (max-width: 900px) {
  .dashboard-subscription-pricing .e-con-inner {
    flex-direction: column;
    align-items: center;
  }
  .dashboard-subscription-pricing .elementor-widget-price-table {
    max-width: 640px;
  }
}


/* === DASHBOARD SUBSCRIPTION PRICING LAYOUT FIX === */

.dashboard-subscription-pricing .e-con-inner {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 24px;
}

/* Desktop – 2 columns */
@media (min-width: 900px) {
  .dashboard-subscription-pricing .elementor-widget-price-table {
    width: calc(50% - 12px) !important;
    max-width: calc(50% - 12px) !important;
    flex: 0 0 calc(50% - 12px) !important;
  }
}

/* Mobile – stacked */
@media (max-width: 899px) {
  .dashboard-subscription-pricing .elementor-widget-price-table {
    width: 100% !important;
    max-width: 100% !important;
  }
}

/* Force 2-column layout for the dashboard pricing block (robust vs Elementor widths) */
.dashboard-subscription-pricing .elementor-element-25099d0 > .e-con-inner {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 24px !important;
  align-items: stretch;
}

/* Make widgets behave as grid items */
.dashboard-subscription-pricing .elementor-element-25099d0 > .e-con-inner > .elementor-widget-price-table {
  width: auto !important;
  max-width: none !important;
  min-width: 0; /* prevents overflow in grid */
}

/* Mobile: stack */
@media (max-width: 899px) {
  .dashboard-subscription-pricing .elementor-element-25099d0 > .e-con-inner {
    grid-template-columns: 1fr !important;
  }
}
