@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;600&family=Inter:wght@400;500;600&display=swap');

/* 
  Styles for name header
  Author: Oksana S
  Last updated: 11.07.2025
  Purpose: CV presentation styling
*/
:root {
  --page-bg: #f8f6f7;
  --surface: #ffffff;
  --sidebar-bg: rgb(231 231 231 / 75%);
  --text: #161d2a;
  --muted: #555555;
  --dark-surface: #27232a;
  --color-text: #310e25;
  --color-burgundy: #79082f;
  --color-rose: #d40c60;
  --color-muted: #947b91;
  --color-surface: #fff9f8;
  --font-heading: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Inter', Arial, sans-serif;
  --magenta-cursor:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Cpath d='M4 2l7 25 5-9 9-5L4 2z' fill='%23ed3278' stroke='white' stroke-width='2'/%3E%3C/svg%3E")
      4 2,
    pointer;
}

body {
  box-sizing: border-box;
  border-radius: 25px;
  padding-left: 40px;
  padding-top: 20px;
  padding-right: 40px;
  padding-bottom: 20px;
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.4;
  cursor: var(--magenta-cursor);
  background:
    linear-gradient(rgb(255 255 255 / 72%), rgb(255 255 255 / 72%)),
    url('../img/Background/background.png') center / cover fixed no-repeat,
    var(--page-bg);
  overflow-x: hidden;
}

html {
  overflow-x: hidden;
}

ul,
ol {
  margin-top: 0;
  margin-bottom: 0;
}

.wrapper {
  background: var(--surface);
  display: flex;
  flex-direction: row-reverse;
  width: 1200px;
  max-width: 100%;
  margin: 0 auto;
  box-shadow: 0 14px 32px rgb(237 50 120 / 12%);
}

/* Maincontent */
.main-content {
  padding-left: 88px;
  padding-top: 80px;
  padding-right: 40px;
  padding-bottom: 60px;
  box-sizing: border-box;
  flex: 1 1 auto;
  min-width: 0;
}

/* Sitebar */
.sidebar {
  background: var(--sidebar-bg);
  padding-top: 40px;
  padding-bottom: 40px;
  padding-right: 40px;
  box-sizing: border-box;
  flex: 0 0 400px;
  width: 400px;
  max-width: 400px;
  overflow: hidden;
  font-family: inherit;
  font-size: 14px;
  line-height: 1.4;
  box-shadow: inset -1px 0 rgb(255 255 255 / 70%);
}

.sidebar h3 {
  font-size: 21px;
  line-height: 1.2;
  margin-bottom: 14px;
}

.sidebar p,
.sidebar li {
  margin-bottom: 7px;
}

.sidebar .professional-skills-list li,
.sidebar .language-skills-list .skills-list-item {
  margin-bottom: 7px;
}

.foto {
  display: block;
  width: 340px;
  height: 340px;
  object-fit: cover;
  object-position: center top;
  margin: 0 auto;
}

/* Contacts */

.contacts-title {
  color: #161d2a;
  font-size: 22px;
  font-weight: 700;
  line-height: normal;
  margin-top: 0px;
  margin-bottom: 8px;
  padding-top: 40px;
}

.sidebar-content {
  padding-left: 40px;
  padding-right: 40px;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.contacts-type {
  color: #161d2a;
  font-size: 15px;
  font-weight: 700;
  line-height: 24px;
  margin-right: 8px;
  vertical-align: baseline;
  display: inline-block;
}

.contacts-link {
  color: #8aa5ff;
  font-size: 14px;
  font-weight: 400;
  line-height: 24px;
  text-decoration-line: underline;
}

.contacts-item {
  margin-top: 0;
  margin-bottom: 4px;
  font-size: 16px;
  padding-right: 8px;
}

.contacts-container {
  margin-bottom: 40px;
  margin-bottom: 8px;
}
.timeline-content {
  margin-bottom: 24px; /* або 20px, якщо треба менше */
}

/* TECH Skills CONTAINER */

.skills-container {
  margin-bottom: 40px;
  margin-top: 40px;
}

.sidebar .skills-container {
  position: relative;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.sidebar .sidebar-summary,
.sidebar .skills-list {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  overflow-wrap: break-word;
}

.sidebar .skills-container > .skills-title {
  position: relative;
  padding-right: 32px;
  cursor: pointer;
  user-select: none;
  transition: color 0.2s ease;
}

.sidebar .skills-container > .skills-title::after {
  content: '\2212';
  position: absolute;
  right: 4px;
  top: 50%;
  color: #ed3278;
  font-size: 24px;
  font-weight: 400;
  line-height: 1;
  transform: translateY(-50%);
}

.sidebar .skills-container > .skills-title:hover {
  color: #ed3278;
}

.sidebar .skills-container.is-collapsed > .skills-title::after {
  content: '\002B';
}

.sidebar .skills-container.is-collapsed > :not(.skills-title) {
  display: none !important;
}

.skills-title {
  color: #161d2a;
  font-size: 22px;
  font-weight: 700;
  line-height: normal;
  margin-top: 0;
  margin-bottom: 8px;
}

.my-projects-title,
.skills-title,
.contacts-title,
.work-experience-title {
  font-family: inherit;
  font-size: 22px;
  font-weight: 700;
  line-height: 27px;
}

.my-projects-title .icon,
.skills-title .icon,
.contacts-title .icon,
.work-experience-title .icon {
  display: inline-flex;
  align-items: center;
  font-size: 22px;
  line-height: 1;
  vertical-align: -3px;
  margin-right: 6px;
}

.sidebar .skills-title {
  font-size: 20px;
  line-height: 24px;
}

.sidebar .skills-title .icon {
  font-size: 20px;
}

.skills-list {
  padding-left: 16px;
}

.skills-list-item {
  color: #161d2a;
  font-size: 14px;
  font-weight: 400;
  line-height: 24px;
}

.professional-skills-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.professional-skills-list li {
  color: #161d2a;
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 14px;
}

.professional-skills-list li:last-child {
  margin-bottom: 0;
}

.professional-skills-list strong {
  display: block;
  color: #b51652;
  margin-bottom: 2px;
}

.sidebar-summary {
  color: #161d2a;
  font-size: 14px;
  line-height: 1.55;
  margin: 0;
}

.language-skills-list .skills-list-item {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  align-items: center;
  column-gap: 8px;
  margin-bottom: 8px;
}

.language-skills-list .flag-icon {
  display: block;
  width: 24px;
  height: 18px;
  object-fit: cover;
}

/* Main content */

.my-proffesion {
  color: #000;
  font-size: 14px;
  font-weight: 700;
  line-height: 17px;
  margin-top: 0;
  margin-bottom: 8px;
}

.my-descr {
  color: #1a1818;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  padding-bottom: 25px;
}

.my-info {
  margin-bottom: 40px;
}

.my-name {
  color: #ed3278;
  font-size: 45px;
  font-weight: 700;
  line-height: 55px;
  margin: 20px 0 12px 0;
  text-align: center;
}

/* My projects */

.my-projects-title {
  color: #000;
  font-size: 22px;
  font-weight: 700;
  line-height: 27px;
  margin-top: 0;
  margin-bottom: 29px;
  padding-top: 3px;
}

.my-project-item {
  color: #000;
  font-size: 14px;
  font-weight: 700;
  line-height: 24px;
}

.my-projects-list {
  padding-left: 16px;
}

.my-projects-item-link {
  color: #8aa5ff;
  font-size: 14px;
  font-weight: 400;
  line-height: 24px;
  text-decoration-line: underline;
}

.my-project-item-tech {
  color: #595959;
  font-size: 14px;
  font-weight: 400;
  line-height: 24px;
}

.my-projects-container {
  margin-bottom: 40px;
}

/* Work Experience */

.work-experience-title {
  color: #000;
  font-size: 22px;
  font-weight: 700;
  line-height: 27px;
  margin-top: 0;
  margin-bottom: 8px;
}

.work-experience-company {
  color: #000;
  font-size: 16px;
  font-weight: 700;
  line-height: 20px;
  margin-top: 0;
  margin-bottom: 12px;
}

.company-name {
  color: #8aa5ff;
  font-size: 16px;
  font-weight: 700;
  line-height: 20px;
}

.work-experience-period {
  color: #555555;
  font-size: 15px;
  font-weight: 400;
  line-height: 15px;
  margin-bottom: 8px;
  font-style: italic;
}

.experience-highlights {
  margin: 12px 0 0;
  padding-left: 20px;
  list-style: disc;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
}

.experience-highlights li + li {
  margin-top: 6px;
}

.work-experience-period-separator {
  color: #000;
}

.work-experience-dueties-list {
  margin-left: 16px;
  margin-bottom: 12px;
  padding-left: 10px;
}

.work-experience-dueties-item {
  color: #595959;
  font-size: 14px;
  font-weight: 400;
  line-height: 28px;
  padding-top: 10px;
  font-style: normal;
}

.work-experience-dueties-item1 {
  color: #555555;
  font-size: 14px;
  font-weight: 400;
  line-height: 28px;
  padding-top: 10px;
  font-style: italic;
}

.work-experience-dueties {
  color: #333; /* темніший, базовий колір тексту */
  font-size: 15px;
  font-weight: 400;
  font-style: normal;
  line-height: 26px;
  padding-top: 8px;
}

.work-experience-container {
  margin-bottom: 12px;
}

/* Education */

.my-education-container {
  margin-top: 20px;
  margin-bottom: 20px;
}

.my-education-title {
  color: #000;
  font-size: 22px;
  font-weight: 700;
  line-height: normal;
  margin-bottom: 0;
}

.my-education-univer {
  color: #ed3278;
  font-size: 20px;
  line-height: normal;
  margin-top: 8px;
  margin-bottom: 0;
}

.my-education-management {
  color: #000;
  font-size: 14px;
  font-weight: 700;
  line-height: normal;
  margin-top: 8px;
  margin-bottom: 0;
}

.education-period {
  color: #555555;
  font-family: Montserrat;
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  margin-top: 8px;
}

.tooltip {
  position: relative;
  display: inline-block;
  cursor: pointer;
}

.skill-label-title {
  color: #454545;
  font-style: italic;
}

.lanyard-badge {
  position: absolute;
  top: 20px;
  right: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 10;
}

.lanyard-string {
  width: 2px;
  height: 50px;
  background-color: #ed3278;
  animation: bounce 2s infinite ease-in-out;
}

.badge-label {
  background-color: #ed3278;
  color: white;
  padding: 6px 12px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: bold;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transform: rotate(-5deg);
  margin-top: 5px;
  white-space: nowrap;
}
.open-to-work-banner {
  border-top: 1px solid rgb(255 255 255 / 75%);
  background-color: rgb(255 255 255 / 66%);
  backdrop-filter: blur(12px);
  color: #504451;
  text-align: center;
  padding: 7px 8px;
  font-weight: 500;
  font-size: 12px;
  line-height: 1.35;
  font-family: inherit;
  width: 100%;
  box-sizing: border-box;
  margin-top: 5px;

  /* Заокруглення тільки з правого боку */
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  border-top-right-radius: 12px;
  border-bottom-right-radius: 12px;
}

.tooltip .tooltiptext {
  visibility: hidden;
  width: 360px;
  max-width: calc(100vw - 32px);
  background-color: #000;
  color: #fff;
  text-align: left;
  border-radius: 5px;
  padding: 12px;
  position: absolute;
  z-index: 1;
  bottom: 125%; /* Піднімаємо тултіп над іконкою */
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  transition: opacity 0.3s ease;

  /* Додаємо уніфікований текстовий стиль */
  font-size: 14px;
  line-height: 1.6;
  font-family: Arial, sans-serif;
  white-space: normal;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.25);
}
.tooltip .tooltiptext::after {
  content: '';
  position: absolute;
  top: 100%; /* Стрілка внизу тултіпа */
  left: 50%;
  margin-left: -6px;
  border-width: 6px;
  border-style: solid;
  border-color: black transparent transparent transparent;
}

.tooltip:hover .tooltiptext {
  visibility: visible;
  opacity: 1;
}

.education-info-tooltip .tooltiptext {
  right: 0;
  left: auto;
  max-width: min(360px, calc(100vw - 32px));
  box-sizing: border-box;
  transform: none;
}

.education-info-tooltip .icon-info {
  color: #000;
}

.education-info-tooltip:hover .icon-info {
  color: #ed3278;
}

.contacts-info-tooltip .tooltiptext {
  top: calc(100% + 8px);
  bottom: auto;
  left: 0;
  transform: none;
  font-weight: 400;
}

.Expirience-possition {
  color: #ed3278;
}

.experience-country-info {
  display: inline-block;
  white-space: nowrap;
}

.experience-country-info .icon-info {
  margin-right: 0;
}

.experience-country-info .tooltiptext {
  white-space: normal;
}

a {
  color: rgb(16, 17, 17);
  text-decoration: none;
}

/* mouse over link */
a:hover {
  color: rgb(83, 79, 79);
}

a:visited {
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

a:active {
  text-decoration: underline;
}

a:hover {
  color: #ed3278;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

label {
  padding-right: 10px;
  font-size: 1rem;
}

progress[value] {
  /* Reset the default appearance */
  -webkit-appearance: none;
  appearance: none;
  width: 250px;
  height: 15px;
}

progress[value]::-webkit-progress-bar {
  background-color: #8b8b8f;
  border-radius: 2px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.25) inset;
}

progress[value]::-webkit-progress-value {
  background-image:
    -webkit-linear-gradient(
      -45deg,
      transparent 33%,
      rgba(0, 0, 0, 0.1) 33%,
      rgba(146, 8, 8, 0.1) 66%,
      transparent 66%
    ),
    -webkit-linear-gradient(
        top,
        rgba(119, 106, 106, 0.25),
        rgba(209, 12, 12, 0.25)
      ),
    -webkit-linear-gradient(left, rgb(196, 45, 115), rgb(187, 27, 147));

  border-radius: 2px;
  background-size:
    35px 20px,
    100% 100%,
    100% 100%;
}

.icon {
  display: inline-block;
  width: 1em;
  height: 1em;
  flex-shrink: 0;
  font-size: 24px;
  vertical-align: -0.15em;
  margin-right: 12px;
  overflow: visible;
}

.centered-hr {
  width: 80%; /* або 200px, як хочеш */
  margin-block: 20px;
  margin-inline: auto;
  border: none;
  border-top: 1px solid rgb(237 50 120 / 28%);
}

.section-with-lines {
  text-align: center;
  margin: 20px 0;
}

.text-between-lines {
  font-style: italic;
  font-size: 14px;
  color: #444;
  margin: 10px 0;
}

.accordion {
  background-color: rgb(231 231 231 / 75%);
  color: #130606;
  cursor: pointer;
  padding: 18px;
  width: 100%;
  border: none;
  text-align: left;
  outline: none;
  font-size: 15px;
  transition: 0.4s;
  position: relative; /* Додаємо для абсолютного позиціонування псевдоелементу */
}

.accordion::after {
  content: '\002B'; /* Юнікод для + */
  color: #777;
  font-weight: bold;
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%); /* Центрує по вертикалі */
}

.accordion-section {
  position: relative;
  overflow: visible;
  z-index: 1; /* Щоб тултіп був поверх */
}

.active::after {
  content: '\2212'; /* Юнікод для − */
}

.panel {
  padding: 0 18px;
  background-color: white;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease-out;
  padding-bottom: 10px;
}

.panel.panel-open {
  overflow: visible;
}

.wpapper {
  width: 1170px;
  margin: 0 auto;
  height: 100%;
  position: relative;
}
.footer-dev-note {
  display: inline;
  color: #fff;
  font-family: inherit;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.35;
}

.info-icon {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-right: 14px;
  border-radius: 50%;
  color: #7b456d;
  font-size: 24px;
  cursor: pointer;
  user-select: none;
}

.info-icon::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 14px);
  left: 50%;
  z-index: 60;
  width: max-content;
  max-width: 260px;
  padding: 18px 24px;
  border-radius: 16px;
  background: #fff9f8;
  box-shadow: 0 12px 28px rgb(49 14 37 / 16%);
  color: #310e25;
  font: 500 16px/1.3 var(--font-body);
  line-height: 1.3;
  white-space: pre-line;
  transform: translateX(-50%);
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
}

.info-icon:hover::after,
.info-icon:focus-visible::after {
  opacity: 1;
  visibility: visible;
}

.info-icon:hover {
  color: #ff4f91; /* трохи яскравіший рожевий при наведенні */
}

.logo-text {
  margin-left: 18pt;
}

.banderogus-container {
  background: #fff;
  padding: 60px 56px 60px 56px;
  align-self: center;
}

.banderogus-title {
  font-family: 'Montserrat';
  font-weight: 600px;
  font-size: 64px;
  line-height: 72px;
  color: #000000;
}

.banderogus-greeting {
  font-weight: 600px;
  font-size: 16px;
  line-height: 24px;
  margin-bottom: 16px;
}

.banderogus-start-text {
  color: #ff6b0a;
  font-weight: 600px;
  font-size: 30px;
}

.banderogus-description {
  font-size: 16px;
  font-weight: 600px;
  line-height: 24px;
  color: #000000;
  margin-top: 24px;
  margin-bottom: 48px;
}

.banderogus-launch {
  background: #ed3278;
  border-radius: 8px;
  padding: 12px 24px;
  min-width: 140px;
  box-sizing: border-box;
  font-weight: 600;
  font-size: 16px;
  line-height: 24px;
  color: #fff;
  cursor: pointer;
  white-space: nowrap;
  border: 0;
  box-shadow: 0 4px 10px rgb(0 0 0 / 20%);
}

.main-page-row {
  display: flex;
  justify-content: space-between;
  height: 100%;
}

.banderogus-image {
  align-self: flex-end;
}

.gus-facts {
  padding: 52px 0 72px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.gus-title {
  line-height: 100px;
  font-weight: 600;
  font-size: 48px;
  color: black;
  margin: 16px;
}

.gus-description {
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  text-align: center;
  color: black;
  width: 875px;
}

.gus-facts-container {
  width: 1400px;
  display: flex;
  justify-content: space-between;
}

.gus-fact-item {
  width: 30%;
}

.gus-fact-title {
  font-weight: 600;
  font-size: 24px;
  color: #000000;
  text-align: center;
  margin: 12px 0 32px 0;
}

.gus-fact-description {
  font-weight: 400;
  font-size: 16px;
  color: #000000;
  line-height: 24px;
  text-align: center;
}

.victory-title {
  font-weight: 600;
  font-size: 48px;
  line-height: 100px;
  margin: 16px 0;
  color: #000000;
}

.victory-description {
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: #000000;
  width: 875px;
  text-align: center;
}

.victory-bgd {
  width: 1170px;
  background: linear-gradient(270deg, #48b4cc 0%, rgba(98, 148, 158, 0) 94.19%);
  padding: 72px 0;
  margin-bottom: 72px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.modal-form {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  max-width: 700px;
  background: rgba(255, 255, 255, 0.98);
  border-radius: 12px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
  padding: 28px 28px 20px;
  box-sizing: border-box;
}

.modal-form-container {
  position: relative;
  width: min(700px, calc(100% - 32px));
  max-width: 700px;
  box-sizing: border-box;
}

.honeypot-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.modal-form img {
  display: block;
  width: 40px;
  height: auto;
  margin: 0 auto 8px;
}

.modal-form-title {
  font-weight: 600;
  font-size: 24px;
  line-height: 24px;
  color: #ed3278;
  margin: 32px 0 12px 0;
}

.modal-form-description {
  color: #000000;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  margin-bottom: 24px;
}

.modal-bgd {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  background: rgba(27, 29, 31, 0.68);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.3s ease-in-out;
  z-index: 50;
}

.modal-form-field {
  width: 100%;
  display: flex;
  flex-direction: column;
  margin-bottom: 16px;
}

.modal-field-name {
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  margin-bottom: 8px;
  color: #000000;
  text-align: left;
}

.modal-field-input,
.modal-field-message {
  border: 1px solid #d7d7d7;
  box-sizing: border-box;
  border-radius: 8px;
  min-height: 44px;
  font-weight: 400;
  font-size: 16px;
  color: #000000;
  padding: 10px 12px;
  width: 100%;
  background-color: #fff;
  cursor: text;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

a,
button,
select,
[role='button'] {
  cursor: var(--magenta-cursor);
}

.modal-field-input:focus,
.modal-field-message:focus {
  outline: none;
  border-color: #ed3278;
  box-shadow: 0 0 0 3px rgba(237, 50, 120, 0.12);
}

.modal-form-btn {
  background: #ed3278;
  border-radius: 8px;
  padding: 12px 24px;
  font-weight: 400px;
  font-size: 16px;
  line-height: 24px;
  color: #fff;
  cursor: pointer;
  border: 0;
  margin-top: 24px;
  min-width: 44px;
  min-height: 44px;
}

.close-btn {
  position: absolute;
  right: 8px;
  top: 8px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #000000;
  cursor: pointer;
  border: 0;
  background: rgba(0, 0, 0, 0.02);
  border-radius: 50%;
}

.modal-form-description {
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  margin-bottom: 8px;
  color: #56687a;
}

.modal-active {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
}

/* A closed dialog must not leave a faded copy of its form in the document. */
.modal-bgd:not(.modal-active) {
  display: none !important;
}

/* Keep the contact dialog in the visible viewport, regardless of page scroll. */
#form-modal.modal-active {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 16px;
  box-sizing: border-box;
  overflow: auto;
}

#form-modal.modal-active .modal-form-container {
  width: min(700px, calc(100vw - 32px));
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
}

#form-modal.modal-active .modal-form {
  width: 100%;
  max-width: none;
}

/* Always show the beginning of the form; the dialog itself scrolls if needed. */
#form-modal.modal-active {
  display: grid !important;
  align-items: start !important;
  justify-items: center !important;
  padding-top: 20px !important;
  z-index: 2000;
}

#form-modal.modal-active .modal-form-container {
  align-self: start;
  margin: 0;
}

/* Privacy Policy is a child dialog of the message form and must sit above it. */
#privacy-modal.modal-active {
  z-index: 2100;
}

.modal-field-message {
  border: 1px solid #d7d7d7;
  box-sizing: border-box;
  border-radius: 12px;
  min-height: 180px;
  resize: vertical;
  font-weight: 400;
  font-size: 16px;
  color: #000000;
  background-color: #fff;
  text-align: left;
}

@-webkit-keyframes animate-stripes {
  100% {
    background-position: -100px 0px;
  }
}

@keyframes animate-stripes {
  100% {
    background-position: -100px 0px;
  }
}

@media screen and (max-width: 960px) {
  body {
    padding: 20px 20px 20px 20px;
    background:
      radial-gradient(circle at 92% 4%, rgb(237 50 120 / 10%), transparent 24%),
      #f8f6f7;
  }

  .main-content {
    padding: 40px;
  }
}

@media screen and (max-width: 800px) {
  .sidebar {
    width: 300px;
    flex-basis: 300px;
  }
  .foto {
    width: 280px;
    height: 280px;
  }
  .sidebar-content {
    padding: 20px;
  }
}

@media screen and (max-width: 600px) {
  body {
    padding: 0;
  }
  .sidebar {
    width: 100%;
    max-width: 100%;
    flex-basis: 100%;
  }
  .foto {
    width: 200px;
    height: 200px;
  }
  .sidebar-content {
    padding: 20px;
  }
  .main-content {
    padding: 20px;
  }
}

@media screen and (max-width: 510px) {
  .wrapper {
    flex-direction: column;
  }
  .sidebar {
    width: 100%;
    max-width: 100%;
    flex-basis: 100%;
    font-size: 14px;
  }
  .foto {
    width: 75%;
    max-width: 280px;
    height: auto;
    margin: 0 auto;
  }

  .main-content {
    font-size: 20px;
  }
}

.StepProgress {
  position: relative;
  padding-left: 45px;
  padding-top: px;
  list-style: none;
}
.StepProgress::before {
  content: ''; /* створюємо псевдоелемент */
  position: absolute; /* абсолютне позиціонування */
  top: 0;
  bottom: 0; /* тягнеться від верху до низу */
  left: 16px; /* точне вирівнювання під кружками */
  width: 2px; /* ширина лінії */
  background-color: #ed3278; /* рожевий колір */
}

.StepProgress-item {
  position: relative;
  counter-increment: list;
  font-size: 15px;
  line-height: 1.5;
  padding-bottom: 24px;
}
.StepProgress-item:last-child {
  padding-bottom: 0;
}
.StepProgress-item::before {
  /*  display: inline-block;
            content: '';
            position: absolute;
            left: -73px;
            height: 300%;
            width: 10px;*/
}
.StepProgress-item::after {
  content: '';
  display: inline-block;
  position: absolute;
  top: 21px;
  left: -36px;
  width: 13px;
  height: 13px;
  border: 2px solid #ccc;
  border-radius: 50%;
  background-color: #fff;
}
.StepProgress-item.is-done::before {
}
.StepProgress-item.is-done::after {
  content: '';
  font-size: 13px;
  color: #fff;
  text-align: center;
  border: 2px solid #ed3278;
  background-color: #f6f6fa;
}

.StepProgress-item.current::after {
  content: counter(list);
  top: -9px;
  padding-top: 1px;
  width: 23px;
  height: 23px;
  left: -41px;
  font-size: 14px;
  text-align: center;
  color: #ed3278;
  border: 2px solid #ed3278;
  background-color: #ed3278;
}

.StepProgress strong {
  display: block;
}

.footer {
  padding: 0;
  line-height: 1;
  text-align: center;
  justify-content: center;
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1000;
  width: 100%;
  border-top: 1px solid rgb(121 8 47 / 8%);
  background-color: rgb(255 249 248 / 65%);
  backdrop-filter: blur(12px);
  color: #504451;
  text-align: center;
}

/* Reserve space so the fixed footer never covers the last content. */
body {
  padding-bottom: 60px;
}
.change {
  display: none;
}
.container:hover + .change {
  display: block;
  color: blue;
  font-size: 14px;
}

.icon-info {
  margin-right: 8px;
  color: #000;
}

.icon-info:hover {
  color: #ed3278;
}

.fa {
  padding-right: 8px;
}

.divWithBoarder {
  text-align: center;
  margin: 18px;
  border-left: 6px solid #ed3278;
  background: lightgray;
  box-shadow: 10px 10px;
  border-radius: 10px;
  padding-top: 21px;
  padding-bottom: 21px;
}

.divSelectUIlanguage {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  min-height: 48px;
  padding: 6px 28px;
  box-sizing: border-box;
  text-align: right;
}

.footer-credit {
  margin-right: auto;
  white-space: nowrap;
}

.footer-credit .footer-dev-note {
  display: inline !important;
  color: transparent !important;
  font-size: 0 !important;
}

.footer-credit .footer-dev-note[hidden] {
  display: none !important;
}

.logout-form {
  display: inline-flex;
  flex-shrink: 0;
  margin: 0;
}

.logout-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 3px;
  border: 1px solid currentColor;
  border-radius: 4px;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.logout-button:focus-visible {
  outline: 2px solid #ed3278;
  outline-offset: 3px;
}

@media (max-width: 540px) {
  .divSelectUIlanguage #langs {
    max-width: 85px;
  }

  .divSelectUIlanguage label,
  .divSelectUIlanguage .theme-toggle > [lang] {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }

  .divSelectUIlanguage .footer-dev-note {
    font-size: 10px;
    padding: 0;
    background: transparent;
  }

  .divSelectUIlanguage .theme-toggle {
    margin-left: 0;
  }
}

.divSelectUIlanguage label {
  padding: 0;
  font-size: 10px;
  line-height: 1;
  white-space: nowrap;
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: 8px;
  padding: 2px 6px;
  border: 1px solid currentColor;
  border-radius: 4px;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 10px;
}

.theme-toggle:hover {
  background: #ed3278;
  color: #fff;
}

.theme-toggle[aria-pressed='true'] {
  border-color: #ed3278;
  background: #ed3278;
  color: #fff;
}

.theme-toggle-icon {
  font-size: 14px;
}

/* Compact footer controls matching the shared visual system. */
.divSelectUIlanguage label { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); }
.divSelectUIlanguage #langs { min-width:104px; height:36px; padding:0 30px 0 34px; border:1px solid rgb(212 12 96 / 28%); border-radius:999px; appearance:none; background-color:rgb(255 249 248 / 76%); background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23c21460' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M3 12h18M12 3a14 14 0 0 1 0 18M12 3a14 14 0 0 0 0 18'/%3E%3C/svg%3E"),url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23c21460' stroke-width='2.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-position:11px center,right 11px center; background-repeat:no-repeat; color:#a51658; font:600 12px var(--font-body); cursor:pointer; }
.divSelectUIlanguage .theme-toggle { width:36px; height:36px; justify-content:center; margin-left:10px; padding:0; border:1px solid rgb(212 12 96 / 28%); border-radius:50%; background:rgb(255 249 248 / 76%); color:#c21460; }
.divSelectUIlanguage .theme-toggle > [lang] { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); }
.divSelectUIlanguage .theme-toggle-icon { font-size:20px; line-height:1; }

/* Compact footer controls matching the shared visual system. */
.divSelectUIlanguage label { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); }
.divSelectUIlanguage #langs { min-width:104px; height:36px; padding:0 30px 0 34px; border:1px solid rgb(212 12 96 / 28%); border-radius:999px; appearance:none; background-color:rgb(255 249 248 / 76%); background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23c21460' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M3 12h18M12 3a14 14 0 0 1 0 18M12 3a14 14 0 0 0 0 18'/%3E%3C/svg%3E"),url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23c21460' stroke-width='2.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-position:11px center,right 11px center; background-repeat:no-repeat; color:#a51658; font:600 12px var(--font-body); cursor:pointer; }
.divSelectUIlanguage .theme-toggle { width:36px; height:36px; justify-content:center; margin-left:10px; padding:0; border:1px solid rgb(212 12 96 / 28%); border-radius:50%; background:rgb(255 249 248 / 76%); color:#c21460; }
.divSelectUIlanguage .theme-toggle > [lang] { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); }
.divSelectUIlanguage .theme-toggle-icon { font-size:20px; line-height:1; }

.standalone-theme-toggle {
  float: right;
}

/* Footer revision hint: keep it above the bar and readable on narrow screens. */
.footer .footer-dev-note { background: transparent !important; }
.footer .info-icon { background: transparent !important; }
.footer .info-icon::after { left: 0; transform: none; }
.footer .info-icon:hover,
.footer .info-icon:focus-visible { background: rgb(212 12 96 / 12%) !important; }

html[data-theme='dark'] body {
  --page-bg: #17151a;
  --surface: #242127;
  --sidebar-bg: rgb(46 42 51 / 92%);
  --text: #f6f1f4;
  --muted: #c8bcc4;
  color: var(--text);
}

html[data-theme='dark'] .main-content,
html[data-theme='dark'] .panel,
html[data-theme='dark'] .accordion {
  background: var(--surface);
  color: var(--text);
}

html[data-theme='dark'] .contacts-title,
html[data-theme='dark'] .skills-title,
html[data-theme='dark'] .my-projects-title,
html[data-theme='dark'] .my-education-title,
html[data-theme='dark'] .my-education-management,
html[data-theme='dark'] .my-education-univer,
html[data-theme='dark'] .contacts-item,
html[data-theme='dark'] .sidebar-summary,
html[data-theme='dark'] .skills-list-item,
html[data-theme='dark'] .professional-skills-list li,
html[data-theme='dark'] .language-skills-list .skills-list-item {
  color: var(--text);
}

html[data-theme='dark'] .my-descr,
html[data-theme='dark'] .my-proffesion,
html[data-theme='dark'] .my-project-item-tech,
html[data-theme='dark'] .education-period,
html[data-theme='dark'] .work-experience-period,
html[data-theme='dark'] .work-experience-dueties,
html[data-theme='dark'] .work-experience-dueties-item,
html[data-theme='dark'] .work-experience-dueties-item1 {
  color: var(--muted);
}

html[data-theme='dark'] .professional-skills-list strong {
  color: #ff6b9f;
}

html[data-theme='dark'] .modal-form,
html[data-theme='dark'] .modal-field-input,
html[data-theme='dark'] .modal-field-message {
  background: #302b33;
  color: #fff;
}

html[data-theme='dark'] .wrapper,
html[data-theme='dark'] .main-content,
html[data-theme='dark'] .sidebar,
html[data-theme='dark'] .panel,
html[data-theme='dark'] .accordion,
html[data-theme='dark'] .banderogus-container,
html[data-theme='dark'] .divWithBoarder {
  background-color: var(--surface);
}

html[data-theme='dark'] .sidebar {
  background-color: var(--sidebar-bg);
}

html[data-theme='dark'] a,
html[data-theme='dark'] .my-project-item,
html[data-theme='dark'] .work-experience-company,
html[data-theme='dark'] .work-experience-title,
html[data-theme='dark'] .accordion,
html[data-theme='dark'] .modal-field-name {
  color: var(--text);
}

html[data-theme='dark'] .contacts-link,
html[data-theme='dark'] .my-projects-item-link,
html[data-theme='dark'] .company-name {
  color: #ff6b9f;
}

html[data-theme='dark'] a:hover {
  color: #ff8ab3;
}

html[data-theme='dark'] .centered-hr {
  border-top-color: rgb(237 50 120 / 45%);
}

html[data-theme='dark'] .modal-field-input,
html[data-theme='dark'] .modal-field-message {
  border-color: #625866;
}

html[data-theme='dark'] .modal-field-input::placeholder,
html[data-theme='dark'] .modal-field-message::placeholder {
  color: #c8bcc4;
}

html[data-theme='dark'] #langs {
  border: 1px solid #625866;
  background-color: #302b33 !important;
  color: #fff !important;
  color-scheme: dark;
}

html[data-theme='dark'] #langs option {
  background-color: #302b33;
  color: #fff;
}

#langs {
  height: 16px;
  padding: 0 2px;
  border: 0;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 10px;
  line-height: 1;
}

.languageswitcher {
  text-align: center;
  margin: 30px;
  border-left: 6px solid #ed3278;
  height: 70px;
  background: lightgray;
  box-shadow: 10px 10px;
  border-radius: 10px;
  width: 400px;
  padding-top: 21px;
  padding-left: 100px;
  padding-right: 0px;
}
.div {
  text-align: center;
  margin: 18px;
  border-left: 6px solid #ed3278;
  width: 630px;
  height: 70px;
  background: lightgray;
  box-shadow: 10px 10px 5px 12px lightblue;
  box-shadow:
    0 4px 8px 0 rgba(0, 0, 0, 0.2),
    0 6px 20px 0 rgba(0, 0, 0, 0.19);
  border-radius: 0px;
}

#rcorners1 {
  border-radius: 25px;
  background: #73ad21;
  padding: 20px;
  width: 200px;
  height: 150px;
}

#rcorners2 {
  border-radius: 25px;
  border: 2px solid #ed3278;
  padding: 20px;
  width: 200px;
  height: 150px;
}

#rcorners3 {
  border-radius: 25px;
  background: url(paper.gif);
  background-position: left top;
  background-repeat: repeat;
  padding: 20px;
  width: 200px;
  height: 150px;
}

button:hover {
  background-color: rgb(13, 14, 13);
  color: white;
  box-shadow:
    0 8px 16px 0 rgba(0, 0, 0, 0.2),
    0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

/* Page loader styles */
#loader {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 1;
  width: 100px;
  height: 100px;
  margin: -76px 0 0 -76px;
  border: 16px solid #f3f3f3;
  border-radius: 50%;
  border-top: 16px solid #ed3278;
  -webkit-animation: spin 1s linear infinite;
  animation: spin 2s linear infinite;
}

@-webkit-keyframes spin {
  0% {
    -webkit-transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
  }
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Animation property for send email button */
.shakeanimation {
  animation: wiggle 2s linear infinite;
}

/* Keyframes */
@keyframes wiggle {
  0%,
  7% {
    transform: rotateZ(0);
  }
  15% {
    transform: rotateZ(-15deg);
  }
  20% {
    transform: rotateZ(10deg);
  }
  25% {
    transform: rotateZ(-10deg);
  }
  30% {
    transform: rotateZ(6deg);
  }
  35% {
    transform: rotateZ(-4deg);
  }
  40%,
  100% {
    transform: rotateZ(0);
  }
}
.badge-base.LI-profile-badge {
  min-width: 50px; /* або 300px, якщо хочеш */
}

.wanttoconnect {
  padding-left: 40px;
  padding-top: 1px;
  padding-right: 40px;
  padding-bottom: 10px;
  text-align: center;
}

p.wanttoconnect {
  color: #4b344a !important;
  font-weight: 500;
  text-shadow: 0 1px 10px rgb(255 249 248 / 90%);
}

.message-count {
  margin: 10px 0 64px;
  color: #4b344a;
  font-size: 13px;
  text-align: center;
}

.message-count strong {
  color: #ed3278;
}

.policy-page,
.not-found-page {
  width: min(760px, calc(100% - 32px));
  margin: 40px auto;
  padding: 40px;
  box-sizing: border-box;
  background: var(--surface);
  box-shadow: 0 14px 32px rgb(237 50 120 / 12%);
}

.policy-page h1,
.not-found-page h1 {
  margin: 24px 0 16px;
  color: #ed3278;
}

.policy-page h2 {
  margin: 24px 0 8px;
  color: var(--text);
  font-size: 20px;
}

.policy-page p,
.not-found-page p {
  color: var(--muted);
  line-height: 1.7;
}

.policy-back,
.not-found-link {
  color: #ed3278;
  font-weight: 600;
}

.form-privacy-note {
  margin: 4px 0 0;
  color: #777;
  font-size: 12px;
  line-height: 1.4;
  text-align: center;
}

.form-privacy-note a {
  color: #ed3278;
}

.back-to-top {
  position: fixed;
  right: calc(40px + env(safe-area-inset-right, 0px));
  bottom: calc(64px + env(safe-area-inset-bottom, 0px));
  z-index: 20;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 9px 12px;
  border: 1px solid #ed3278;
  border-radius: 6px;
  background: var(--surface);
  color: #ed3278;
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition:
    opacity 0.2s ease,
    visibility 0.2s ease,
    transform 0.2s ease;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: #ed3278;
  color: #fff;
}

.privacy-modal-content {
  max-height: min(620px, calc(100vh - 32px));
  overflow-y: auto;
}

.privacy-modal-content p {
  color: #555;
  font-size: 14px;
  line-height: 1.6;
}

html[data-theme='dark'] .privacy-modal-content p {
  color: #c8bcc4;
}

.not-found-page {
  text-align: center;
}

.not-found-code {
  margin: 0;
  color: #ed3278 !important;
  font-size: 96px;
  font-weight: 700;
  line-height: 1;
}

.not-found-link {
  display: inline-block;
  margin-top: 24px;
  padding: 12px 18px;
  border-radius: 6px;
  background: #ed3278;
  color: #fff;
}

.standalone-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  margin-top: 32px;
  padding-top: 16px;
  border-top: 1px solid rgb(237 50 120 / 28%);
  font-size: 12px;
}

html[data-theme='dark'] .policy-page,
html[data-theme='dark'] .not-found-page {
  background: #242127;
}

.profile-badge {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: auto;
  text-align: center;
}
.profile-badge-wrapper {
  margin-left: 15px; /* або більше тестуєш в live preview */
}

.profile-badge-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 auto 20px;
}

.linkedin-custom-badge {
  display: grid;
  justify-items: center;
  gap: 18px;
  width: min(300px, calc(100% - 24px));
  margin: 0 auto;
  padding: 32px 22px 20px;
  box-sizing: border-box;
  border: 2px solid #ed3278;
  border-radius: 20px;
  background: #ffe3e6;
  color: #161d2a;
  text-align: center;
  box-shadow: 0 8px 28px rgb(237 50 120 / 14%);
}

.linkedin-custom-photo {
  width: min(180px, 100%);
  height: auto;
  aspect-ratio: 1;
  box-sizing: border-box;
  border: 4px solid #fff;
  outline: 1px solid #ed3278;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 15%;
}

.profile-availability {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0;
  color: #665258;
  font-size: 12px;
  line-height: 1.5;
}

.availability-dot {
  width: 11px;
  height: 11px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #62d84b;
  animation: availability-pulse 2s ease-in-out infinite;
}

@keyframes availability-pulse {
  0%, 100% {
    opacity: 1;
    box-shadow: 0 0 0 0 rgb(98 216 75 / 35%);
  }
  50% {
    opacity: 0.55;
    box-shadow: 0 0 0 6px rgb(98 216 75 / 0%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .availability-dot {
    animation: none;
  }
}

.linkedin-custom-action {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  box-sizing: border-box;
  min-height: 48px;
  padding: 10px 12px;
  border: 2px solid #ed3278;
  border-radius: 999px;
  color: #161d2a;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
}

.profile-action-icon {
  width: 23px;
  height: 23px;
  flex-shrink: 0;
}

.linkedin-custom-action .profile-action-icon {
  color: #ed3278;
}

.linkedin-custom-action:visited {
  color: #161d2a;
}

.linkedin-custom-action:hover {
  color: #161d2a;
  background: rgb(237 50 120 / 12%);
  text-decoration: none;
}

.cv-download-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  box-sizing: border-box;
  min-height: 44px;
  padding: 10px 12px;
  border: 2px solid #ed3278;
  border-radius: 999px;
  background: #ed3278;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
}

.cv-download-button:visited,
.cv-download-button:hover {
  color: #fff;
}

.cv-download-button:hover {
  background: #e04444;
  border-color: #e04444;
  text-decoration: none;
}

.linkedin-custom-badge .copy-linkedin-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 44px;
  margin: 0;
  padding: 4px 8px;
  border-color: transparent;
  background: transparent;
  color: #665258;
  font-size: 14px;
  font-weight: 500;
}

.linkedin-custom-badge .copy-linkedin-btn:hover {
  background: transparent;
  color: #161d2a;
  text-decoration: underline;
}

.linkedin-custom-action:focus-visible,
.linkedin-custom-badge .copy-linkedin-btn:focus-visible,
.cv-download-button:focus-visible {
  outline: 2px solid #ed3278;
  outline-offset: 4px;
}

.linkedin-custom-badge .copy-linkedin-status:empty {
  display: none;
}

.copy-linkedin-btn {
  display: block;
  margin: 12px auto 0;
  padding: 8px 12px;
  border: 1px solid #ed3278;
  border-radius: 6px;
  background: #fff;
  color: #ed3278;
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
}

.copy-linkedin-btn:hover {
  background: #ed3278;
  color: #fff;
}

.copy-linkedin-status {
  display: block;
  min-height: 18px;
  margin-top: 6px;
  color: #555;
  font-size: 12px;
  text-align: center;
}

.linkedin-profile-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid #26384a;
  border-radius: 8px;
  background: #26384a;
  color: #fff;
  font-weight: 700;
  line-height: 1;
  transition:
    background-color 0.2s ease,
    transform 0.2s ease;
}

.linkedin-profile-link:hover {
  background: #ed3278;
  color: #fff;
  transform: translateY(-2px);
}

.linkedin-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 3px;
  background: #fff;
  color: #26384a;
  font-size: 16px;
  font-weight: 700;
}

.badge-base.LI-profile-badge {
  width: fit-content;
  margin: 0 auto;
}

div.scroller {
  overflow-x: clip;
  overflow-y: visible;
}

.flag-button {
  cursor: pointer;
  border: none;
  background: none;
}
.flag-button img {
  width: 30px;
  height: 20px;
}

blink {
  display: inline;
  animation: blink 1s steps(1) infinite;
  -webkit-animation: blink 1s steps(1) infinite;
}
@keyframes blink {
  50% {
    opacity: 0;
  }
}
@-webkit-keyframes blink {
  50% {
    opacity: 0;
  }
}

/* Full-width layout for phones and tablets, including landscape tablets. */
@media screen and (max-width: 1366px) {
  body {
    padding: 0;
    border-radius: 0;
    background: #fff;
  }

  .wrapper {
    flex-direction: column;
    width: 100%;
  }

  .sidebar,
  .main-content {
    width: 100% !important;
    flex: 0 0 100%;
    padding: 20px;
    box-sizing: border-box;
  }

  .my-name {
    font-size: 32px;
    line-height: 40px;
  }

  .my-proffesion,
  .my-descr,
  .contacts-type,
  .contacts-link,
  .skills-list-item,
  .work-experience-company,
  .work-experience-dueties-item,
  .work-experience-dueties-item1,
  .work-experience-dueties,
  .education-period,
  .my-education-univer,
  .my-education-management,
  .my-project-item,
  .my-projects-item-link {
    font-size: 16px;
    line-height: 1.6;
  }

  .tooltip .tooltiptext {
    width: 90vw;
    font-size: 13px;
    padding: 10px;
    bottom: 110%;
  }

  .footer-dev-note {
    background-color: rgba(0, 0, 0, 0.75);
    font-size: 12px;
    padding: 0 6px;
    text-align: center;
  }

  img.foto,
  .foto {
    width: 100%;
    height: auto;
  }

  .timeline::before {
    left: 8px;
  }

  .StepProgress {
    padding-left: 30px;
  }

  .StepProgress-item::after {
    left: -20px;
  }

  .StepProgress-item.current::after {
    left: -25px;
  }

  .gus-description,
  .victory-description {
    width: 100%;
    font-size: 14px;
  }

  .languageswitcher {
    width: auto;
    padding-left: 20px;
  }

  .div {
    width: auto;
    margin: 12px;
    height: auto;
  }

  .modal-form {
    width: 90%;
    max-width: 400px;
  }

  .modal-form-container {
    width: 90%;
    max-width: 400px;
    padding: 64px 20px 28px;
  }

  #form-modal {
    padding: 8px;
    box-sizing: border-box;
  }

  aside.sidebar {
    max-width: none;
    padding: 20px 0;
  }

  .sidebar .linkedin-custom-badge {
    width: calc(100% - 16px);
  }

  .sidebar .sidebar-content {
    padding: 0 16px;
  }

  #form-modal .modal-form-container {
    width: 100%;
    max-width: none;
    padding: 0;
    max-height: calc(100dvh - 16px);
    overflow-y: auto;
    border-radius: 12px;
  }

  #form-modal .modal-form {
    width: 100%;
    max-width: none;
    padding: 52px 16px 20px;
  }

  .modal-field-input,
  .modal-field-message {
    width: 100%;
  }

  .gus-facts-container {
    flex-direction: column;
    width: 100%;
    gap: 16px;
  }

  .gus-fact-item {
    width: 100%;
  }
}
@media screen and (max-width: 1366px) {
  .wrapper {
    flex-direction: column;
    width: 100%;
  }

  .sidebar {
    width: 100%;
    padding: 20px;
    box-sizing: border-box;
  }

  .main-content {
    padding: 20px;
  }

  .foto {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }

  .my-name {
    font-size: 36px;
    line-height: 44px;
  }

  .my-descr {
    font-size: 15px;
    line-height: 22px;
  }

  .languageswitcher {
    width: 100%;
    padding-left: 20px;
    padding-right: 20px;
  }

  .gus-description,
  .victory-description {
    width: 100%;
    padding: 0 20px;
  }

  .gus-facts-container {
    flex-direction: column;
    align-items: center;
  }

  .gus-fact-item {
    width: 80%;
    margin-bottom: 20px;
  }
}

/* Print-ready CV layout */
@page {
  size: A4 portrait;
  margin: 10mm;
}

@media print {
  html,
  body {
    width: auto;
    margin: 0;
    padding: 0;
    overflow: visible;
    background: #fff !important;
    color: #000;
    font-size: 10pt;
    line-height: 1.35;
    cursor: auto;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  .wrapper {
    display: grid;
    grid-template-columns: minmax(0, 34%) minmax(0, 66%);
    width: 100%;
    max-width: none;
    margin: 0;
    background: #fff;
    box-shadow: none;
  }

  .main-content {
    grid-column: 2;
    grid-row: 1;
    width: auto !important;
    min-width: 0;
    padding: 0 0 0 8mm;
  }

  .sidebar {
    grid-column: 1;
    grid-row: 1;
    width: auto !important;
    max-width: none;
    min-width: 0;
    padding: 0 6mm 0 0;
    overflow: visible;
    background: transparent !important;
    box-shadow: none;
  }

  .sidebar-content {
    padding: 0;
  }

  .profile-badge-wrapper {
    margin: 0 0 5mm;
  }

  .linkedin-custom-badge {
    max-width: 100%;
    box-shadow: none;
  }

  .linkedin-custom-photo,
  .foto {
    width: 42mm;
    height: 42mm;
  }

  .my-name {
    margin: 0 0 3mm;
    font-size: 25pt;
    line-height: 1.1;
  }

  .my-descr {
    padding-bottom: 0;
    font-size: 10pt;
    line-height: 1.45;
  }

  .my-projects-title,
  .skills-title,
  .contacts-title,
  .work-experience-title,
  .my-education-title {
    font-size: 13pt;
    line-height: 1.25;
  }

  .sidebar h3,
  .sidebar .skills-title {
    font-size: 11pt;
    line-height: 1.25;
  }

  .sidebar p,
  .sidebar li,
  .sidebar-summary,
  .professional-skills-list li,
  .skills-list-item,
  .contacts-item {
    font-size: 8.5pt;
    line-height: 1.35;
  }

  .skills-container,
  .my-education-container,
  .StepProgress-item,
  .work-experience-container {
    break-inside: avoid;
    page-break-inside: avoid;
  }

  .accordion {
    display: none !important;
  }

  .panel {
    display: block !important;
    max-height: none !important;
    overflow: visible !important;
    padding: 0 !important;
    background: transparent !important;
  }

  .tooltip .tooltiptext,
  .info-icon::after {
    display: none !important;
  }

  blink {
    animation: none !important;
    -webkit-animation: none !important;
  }

  #loader,
  .languageswitcher,
  .divSelectUIlanguage,
  .theme-toggle,
  .copy-linkedin-btn,
  .copy-linkedin-status,
  .cv-download-button,
  .banderogus-launch,
  .message-count,
  .modal-bgd,
  .footer,
  section {
    display: none !important;
  }
}
