body, .container, .company-form, .company-brand-section {
  direction: ltr;
  font-family:"Sora","Segoe UI",system-ui,Arial,sans-serif;
  letter-spacing: 0;
}
h1,h2,h3,.btn,.hero-title { letter-spacing:-0.012em; }
.company-form label,
.company-form input,
.company-form .hint {
  text-align: left;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', 'Arial', sans-serif;
  color: #203050;
      background-color: #ffffff;
    background-image: url(top-background.jpg);
    background-repeat: no-repeat;
    background-size: 100% 54%;
}
@media (max-width:640px){ body { background-size: auto 100vh; } }
.container {
  min-height: 100vh;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  justify-content: center;
  max-width: 1500px;
  margin: 0 auto;
  gap: 50px;
}
.company-form-section {
  flex: 1 1 40%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 3%;
}
.docs-wrap ul {
  padding: 0 20px !important;	
}
.docs-wrap .dashboard-widget-wrap {
  padding: 0 20px;	
}
.docs-wrap .dashboard-widget{
      border: 1px solid #224571 !important;	
}
.docs-wrap .third-section {
  padding: 0 20px !important;	
}
.view-documentation {
  flex: 1 1 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.view-documentation {
  background: linear-gradient(135deg, #eaf1fa 0%, #f7f7fc 100%);
  border-right: 1.5px solid #e0e3ec;
  border-left: 1.5px solid #e0e3ec;
  box-shadow: 0 4px 28px #19286a1f;
}
.view-documentation iframe {
  width: 90%;
  height: 90%;  
  border: none; 
  border-radius: 10px; 
  background: #ecf2fb;
}
.docs-li {
  cursor: pointer;
  display: block;                /* sau flex/grid dacă ai layout pe orizontală */
  transition: 
    background 0.18s,
    transform 0.16s cubic-bezier(.27,.78,.36,1.36),
    box-shadow 0.17s;
  will-change: transform;
  border-radius: 14px;           /* opțional, să fie mai plăcut vizual */
  padding: 16px 18px;            /* exemplu, ajustează după cum ai nevoie */
  margin-bottom: 12px;           /* spațiu între elemente */
  background: #fff;              /* sau alt fundal neutru */
}

li.docs-li:hover, li.docs-li:focus {
  transform: scale(1.045);        /* TOT LI-ul crește! */
  background: #f3f7ff;
  box-shadow: 0 4px 22px -7px #4072e13b;
  z-index: 2;
  position: relative;
}
.docs-li-active {
  background: #224571 !important;
  color: #ffffff !important;	
}
.company-form {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 16px #406ad510;
  padding: 36px 32px 26px 32px;
  width: 100%;
  max-width: 410px;
  display: flex;
  flex-direction: column;
  gap: 17px;
}
.docs-wrap .top-three-wrap {
  padding: 0 15% 20px 15% !important;	
}
.company-form h2 {
  margin-bottom: 6px;
  font-size: 1.65em;
  font-weight: 700;
  color: #203050;
  letter-spacing: .01em;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 20px;
}
.form-group label {
  font-size: 1.05em;
  font-weight: 500;
  margin-bottom: 2px;
}
.form-group input {
  padding: 13px 11px;
  border-radius: 8px;
  border-top: none;
  border-right: none;
  border-bottom: 1.4px solid #d7dff0;
  border-left: none;
  background: #ffffff;
  font-size: 1em;
  font-family: inherit;
  transition: border-color .19s;
}
.form-group input:focus {
  outline: none;
  border-color: #4072e1;
}
.form-group .hint {
  font-size: 0.9em;
  color: #b8982c;
  margin-top: 2px;
}
button[type="submit"] {
  margin-top: 18px;
  padding: 14px 0;
  border-radius: 9px;
  border: none;
  background: linear-gradient(93deg,#224571 0%,#4072e1 90%);
  color: #fff;
  font-weight: 700;
  font-size: 1.07em;
  letter-spacing: .03em;
  transition: background .15s;
  cursor: pointer;
  box-shadow: 0 2px 8px #20305012;
}
button[type="submit"]:hover {
  background: linear-gradient(90deg, #3469a7 10%, #497ee1 100%);
}
.form-msg {
  margin-top: 9px;
  font-size: 1em;
  min-height: 22px;
  color: #a23b1a;
}
.company-brand-section {	
  flex: 1 1 75%;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100vh;
  overflow-y: auto;
}
.company-brand-section {
  scrollbar-width: none;         /* Firefox */
  -ms-overflow-style: none;      /* IE 10+ */
}
.company-brand-section::-webkit-scrollbar {
  display: none;                 /* Chrome, Safari, Opera */
}
.dashboard-widget {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  margin-bottom: 20px;
  border-radius: 5px;
  box-shadow: 0 4px 10px #19286a1f;
  background: #ffffff;
}
.first-section {
  position: relative;	
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  padding: 5vh 0 0 0;
}
.second-section {
  position: relative;	
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  color: #333333;
}
.third-section {
  position: relative;	
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  padding-bottom: 3vh;
}
.brand-logo {
  position: absolute;
  top: 30px;
  left: 100px;
  width: 200px;
  height: auto;
}
.br-mobile{ display:none; }
@media (max-width:640px){ .br-mobile{ display:inline; } }
.first-section .top-title h1 {
  color: #ffffff;	
  font-weight: 800;
  font-size: clamp(32px, 4.0vw, 66px);
  line-height: 1.06;
  letter-spacing: -0.012em;
  margin: 50px 0 8px 0;
  text-wrap: balance;
  text-align: center;
  text-shadow: 0 1px 2px rgba(0,0,0,.25); /* vizibilitate pe fundal foto */
}
@media (max-width:640px){ .first-section .top-title h1 { margin: 21vh 0 0 0; } }
.first-section h1 {
  color: #ffffff;	
  font-weight: 800;
  font-size: clamp(32px, 4.0vw, 66px);
  line-height: 1.06;
  letter-spacing: -0.012em;
  width: 100%;
  margin: 0 0 8px 0;
  text-wrap: balance;
  text-align: left;
  text-shadow: 0 1px 2px rgba(0,0,0,.25); /* vizibilitate pe fundal foto */
}
@media (max-width:640px){ .first-section h1 { margin: 0; } }
.first-section h2 {	
  color: #394866;
}
.first-section h4{
  color: #ffffff;	
  font-weight: 300;
  font-size: clamp(18px, 1.6vw, 26px);  /* mai mare decât 16–20px */
  line-height: 1.45;
  letter-spacing: -0.006em;
  margin: 30px auto 100px;
  max-width: 980px;
  text-wrap: pretty;
  text-align: center;
}
@media (max-width:640px){ .first-section h4 { margin: 10vh auto 30vh; } }
.second-section h1 {
  font-size: 4.25em;
  margin-bottom: 10px;
  padding-right: 120px;
}
.second-section h2 {	
  font-size: 3.15em;
  margin-top: 0;
  text-align: right;
  padding-right: 120px;
}
.third-section h1 {
  font-size: 4.25em;
  margin-bottom: 10px;
  padding-right: 120px;
}
.third-section h2 {	
  font-size: 3.15em;
  margin-top: 0;
  text-align: right;
  padding-right: 120px;
}
.first-section ul {	
  padding: 0;
  position: relative;
  z-index: 1;
  margin-top: 50px;
}
.first-section ul:before {
    content: "";
    position: absolute;
    left: 45px;
    top: -30px;
    bottom: 0;
    width: 34px;
    background: linear-gradient(180deg, #79b8fb 0%, #6294ca 100%);
    border-radius: 2px;
    z-index: -1;
}
.first-section ul li {	
  margin-bottom: 50px;
  text-align: justify;
  color: #566583;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 70px 10%;
  border-radius: 5px;
  box-shadow: 0 4px 10px #19286a1f;
  background: linear-gradient(165deg, rgb(229 241 255 / 100%) 500px, rgb(251 253 255 / 100%) 500px);
  border: 1px solid #79b8fb;
}
.first-section ul li h1 span {	
  font-size: 34px;
  font-weight: bold;
}
.first-section ul li h2 {
    text-align: center;
    margin-top: 40px;
    font-size: clamp(22px, 2.5vw, 42px);
    line-height: 1.3;
    font-weight: 300;
}
.first-section ul li h3 {	
  line-height: 1.16;
  font-size: clamp(21px, 1.2vw, 28px);
  font-weight: 500;
  margin-top: 0;
  margin-bottom: 20px;
  width: 100%;
  text-align: left;
}
.first-section ul li h4 {
    font-weight: 300;
    margin-top: 10px;
    margin-bottom: 50px;
    width: 100%;
    color: #566583;
    text-align: center;
    padding: 0;
    line-height: 1.16;
    font-size: clamp(21px, 1.2vw + 0.25rem, 28px);
}
.first-section ul li h5 {
    margin-top: 0;
    margin-bottom: 0;
    font-weight: 300;
    font-size: clamp(18px, 1.3vw, 22px);
    line-height: 1.55;
    text-align: left;
}
.camera-compare {
  display: flex;
  align-items: center;
  margin-top: 40px;
}
.first-section ul li .camera-compare h4 {
  line-height: 1.16;
  font-size: clamp(21px, 1.2vw, 28px);
  font-weight: 500;
  margin-top: 50px;
  margin-bottom: 10px;
  width: 100%;
  text-align: left;
}
.camera-compare img {
  width: 60px;
  height: 60px;
  border: 10px solid #33333324;
  border-radius: 100px;
  margin-right: 20px;
}
.first-section .flux, .first-section .flux-spot{	
  display: flex;
  align-items: center;
  margin-top: 20px;
}
.first-section .flux strong {
	font-size: 20px;
    font-weight: 500;
    margin: 0 20px;
    border: 2px solid #0170fd;
    border-radius: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #0170fd;
    width: 34px;
    height: 34px;
	line-height: 0;
}
.first-section .flux-spot strong {
    width: 40px;
    height: 40px;
    padding-bottom: 0;
    font-size: 50px;
    margin-top: -7px;
    margin-bottom: 0;
    margin-left: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.first-section ul li strong {
    font-weight: 500;
    margin-top: 50px;
    margin-bottom: 10px;
    width: 100%;
    font-size: clamp(18px, 1.4vw + 0.25rem, 30px);
    line-height: 1.16;
	text-align: left;
}
.first-section ul li span {
  font-weight: 300;
  font-size: clamp(16px, 1.3vw, 22px);
  line-height: 1.55;
  text-align: left;
}
.first-section ul li ul li {
    margin-bottom: 20px;
    text-align: left;
    color: #566583;
    align-items: inherit;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    background: none;
    border: none;
    font-size: clamp(18px, 1.3vw, 21px);
    line-height: 1.55;
    font-weight: 300;
    direction: ltr;
}
.first-section ul li ul:before {
    content: "";
    position: absolute;
    left: 45px;
    top: -30px;
    bottom: 0;
    width: 34px;
    background: none;
    border-radius: 2px;
    z-index: -1;
}
.first-section ul li ul li strong {
    font-weight: 500;
    margin-top: 0;
    margin-bottom: 10px;
    width: 100%;
    font-size: clamp(18px, 1.3vw, 22px);
}
.first-section .info-contact ul li{	
  display: flex;
  flex-direction: row;
  margin-bottom: 20px;
  text-align: justify;
  font-size: 22px;
  color: #566583;
  align-items: inherit;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
  background: none;
  border: none;
}
.first-section .info-contact ul li b {	
  margin-right: 10px;
}
.first-section .info-contact h4 {	
  margin-top: 30px;
  width: auto;
  padding: 0 10%;
  font-size: 36px;
}
.company-brand-section .top-three-wrap {
  gap: 30px;
  padding: 20px 15%;	
}
.company-brand-section .top-three {
  font-size: 1.5em; 	
}
.company-brand-section .top-three img {
  width: 80px; 
  height: 80px; 	
}
.brand-slogan {
  font-size: 1.19em;
  margin-top: 10px;
  font-weight: 500;
  text-align: center;
  opacity: .88;
}
.timeline-container {
  width: 98%;
  margin: 0 auto;
  position: relative;
  padding: 0;
}
.timeline-container:before {
  content: "";
  position: absolute;
  right: 45px;
  top: 100px;
  bottom: -50px;
  width: 24px;
  background: linear-gradient(180deg, #224571 0%, #a7c4e7 100%);
  border-radius: 2px;
  z-index: 0;
}
.timeline-step {
  position: relative;
  z-index: 1;
  width: 100%;
  margin-top: 50px;
}
.timeline-icon {
  color: #224571;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 38px;
  font-weight: bold;
  margin-right: 0;
  z-index: 2;
}
.timeline-icon img {
  width: 120px;      /* sau 76px dacă preferi mai mare */
  height: 120px;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 2px 6px #22457122);
}
.timeline-content {
  display: flex;	
  flex-direction: column;
  align-items: flex-start;
  text-align: right;
  position: relative;
}
.video-content iframe {
  width: 100%; 
  height: 243px;
}
.timeline-title {
    color: #224571;
    font-weight: 500;
    margin-bottom: 10px;
    margin-top: 30px;
    letter-spacing: -1px;
    text-align: center;
    width: 100%;
    font-size: clamp(28px, 2vw + 0.4rem, 36px);
    line-height: 1.18;
}
.third-section .timeline-title {
  font-size: 1.5em;
  color: #224571;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -1px;
  width: 70%;
}
.timeline-content ul {
  margin: 0;
  padding-right: 0;
  list-style: none;
}
.timeline-content li {
  margin-bottom: 11px;
  font-size: 1.7em;
  color: #566583;
  line-height: 1.7;
}
.third-section .timeline-content li {
    margin-bottom: 11px;
    font-size: 1.15em;
    color: #566583;
    line-height: 1.7;
}
.timeline-content li:last-child {
  margin-bottom: 0;
}
.top-icons-wrap {
  display: flex; 
  width: 100%; 
  justify-content: space-evenly; 
  gap: 30px; 
  margin-bottom: 30px;"
}
.top-icons-content { 
  display: flex; 
  flex-direction: column; 
  align-items: center; 
  gap: 10px; 
  padding: 30px; 
  border: 1px solid #79b8fb;
  border-radius: 15px;
  width: 250px;
  background: rgb(255 255 255 / 100%);
  box-shadow: 0 0 15px rgba(0, 0, 0, .05);
}
.top-icons-content span { 
  font-size: 1.5em;
  font-weight: 200;
  color: #566583;
  text-align: center;
}
.first-section ul li.qs-wrap {
    background: rgb(236 236 236);
    padding: 30px 10%;
    margin-top: -30px;
    border-radius: 10px;
    display: block;
}
.first-section ul li .qs-title {
  margin:0 0 12px;	
  font-size:clamp(20px, 2.2vw, 28px);
  margin-bottom: 20px;
  display: block;  
}
.first-section ul li .qs-items{
  display:grid;
  gap:10px;
  width: max-content;
}
.first-section ul li .qs-item{
  display:flex; align-items:center; gap:10px;
  padding: 10px 150px 10px 12px;
  border:1px solid var(--color-border);
  border-radius:12px;
  background:#fbfdff;
  font-size:clamp(14px, 1.2vw, 17px);
}
.first-section ul li .qs-text{ flex:1; }

.first-section ul li .qs-icon{
  width:18px; height:18px; flex:0 0 18px; margin-top:0; line-height:0;
  border-radius:50%;
  background:
  radial-gradient(circle at 50% 50%, #fff 60%, #fff0 61%),
  conic-gradient(from 0deg, var(--accent), var(--accent));
  mask: radial-gradient(circle at 50% 50%, #0000 56%, #000 57%) content-box;
  -webkit-mask: radial-gradient(circle at 50% 50%, #0000 56%, #000 57%) content-box;
  padding:3px;
  position:relative;
}
.first-section ul li .qs-icon::after{
  content:"";
  position:absolute; inset:0;
  background: #333333;
  transform:rotate(-45deg);
}
.progress-shoot-wrap{
  display:flex;
}

.progress-shoot-photos{
  display:flex;
  gap:16px;
}

.progress-shoot-wrap img{
  border:1px solid rgb(121 184 251 / 50%); 
  border-radius: 10px;
  width:32%;
  height:auto;
}


/* Responsive */
@media (max-width: 768px) {
	body {
    background-size: auto 90vh;
	}
  .timeline-container:before {
    right: 27px;
  }
  .timeline-step {
    margin-bottom: 75px;
	margin-top: 10px;
  }
  .timeline-icon img {
    width: 90px;
    height: 90px;
  }
  .timeline-content {
    padding-top: 0;
  }
  .timeline-title {
    font-size: 30px;
    margin-bottom: 20px;
  }
  .video-content iframe {
    width: 100%; 
    height: 145px;
  }
  .top-icons-wrap {
	width: auto;
    flex-direction: column;
  }
  .top-icons-content { 
    padding: 20px; 
    width: 200px;
  }
  .first-section ul li {	
    padding: 20px 7%;
    margin-bottom: 30px;
    background: linear-gradient(165deg, rgb(229 241 255 / 100%) 300px, rgb(251 253 255 / 100%) 300px);
  }
 .first-section ul li h1 span {	
    font-size: 20px;
  }
  .first-section ul li h3 {	
    font-size: 20px;
    font-weight: 500;
    margin-top: 30px;
  }
  .first-section ul li h4 {
    font-size: 20px;
    line-height: 30px;
    margin-bottom: 30px;
  }
  .first-section ul li h5 {
    font-size: 18px;
  } 
  .first-section .flux strong {
    min-width: 40px;
	font-size: 20px;
  }	
  .first-section ul li ul li strong {
    font-size: 20px;
	font-weight: 700;
  }  
  .first-section ul li ul li {
    font-size: 18px;
  }	
  .camera-compare {
    flex-direction: column;
  }	
  .camera-compare img {
    width: 50px;
    height: 50px;
    margin-left: 0;
    margin-bottom: 10px;
  }  
  .first-section .info-contact h4 {
    margin-top: 0;
    padding: 0;
    font-size: 28px;
  }  
  .first-section .info-contact ul li {
    font-size: 18px;
  }  
  .labeled-section {
    gap: 0 !important;
  }
  .first-section ul li.qs-wrap {
    margin-top: -10px;
  }
  .first-section ul li .qs-items {
    width: auto;
  }
  .first-section ul li .qs-item {
    padding: 10px 12px;
  }
  .section-label {
    position: absolute !important;
    top: 20px !important;
	font-size: 14px;
  }
  .section-label::before {

    bottom: calc(-1 * var(--arrow) - 1px);
	top: 100% !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    border-left: var(--arrow) solid transparent;
    border-right: var(--arrow) solid transparent !important;
    border-top: var(--arrow) solid var(--bd) !important; /* contur */
    z-index: -1;
  }
.section-label::after {
    bottom: calc(-1 * (var(--arrow) - 2px));
    top: 100% !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    border-left: calc(var(--arrow) - 2px) solid transparent;
    border-right: calc(var(--arrow) - 2px) solid transparent !important;
    border-top: calc(var(--arrow) - 2px) solid var(--bg) !important; /* umplere */
  }
  .first-section ul li h2 {
    text-align: left;
    margin-bottom: 40px;
    border-left: 10px solid #1559a5;
    padding: 5px 0 5px 15px;
  }
  .first-section ul li strong {
    margin-top: 30px;
  }

}

.success-msg { 	
  display: flex;
  justify-content: center;
  align-items: center;
  width: max-content;
  box-shadow: 0 1px 7px #2030500e;
}
.success-msg img {
  height: 80vh;
}

.modal-success {
  display: flex; /* flex la afișare */
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  z-index: 10000;
  background: rgba(0,0,0,0.55);
  justify-content: center;
  align-items: center;
}

.modal-success-close {
    position: absolute;
    top: 0;
    left: 0;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    color: #333333;
    font-size: 2.1em;
    line-height: 34px;
    text-align: center;
    cursor: pointer;
    border: none;
    transition: background .18s;
}
.modal-success-close:hover {
  background: #ffffff;
}
@media (max-width:768px) {
  
  .modal-success-close { width: 28px; height: 28px; font-size: 1.2em; top: 0; left: 8px; }
}

.open-form-btn {
  display: none;
  position: fixed;
  bottom: 11px; 
  right: 16px; 
  left: auto;
  width: auto;
  min-width: 56vw;
  max-width: 92vw;
  height: 44px;
  backdrop-filter: blur(7px);
  background: linear-gradient(90deg, #007bff 5%, #224571 100%);
  border: 1px solid #1abc6361;
  color: #fff;
  border: none;
  font-size: 0.9em;
  font-weight: 600;
  padding: 0 10px 0 20px;
  z-index: 10011;
  cursor: pointer;
  border-radius: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: box-shadow 0.19s, transform 0.17s;
  z-index: 10;
}
.open-form-btn:hover {
  box-shadow: 0 10px 28px #1abc6388;
  transform: translateY(-2px) scale(1.03);
  background: linear-gradient(90deg, #21c871 65%, #179d54 100%);
}
.form-btn-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.11);
  width: 36px; height: 36px;
  border-radius: 50%;
  margin-right: 3px;
}
.form-btn-text {
  font-size: 1.04em;
  font-weight: 600;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

@media (max-width: 600px) {
  .open-form-btn {
    display: flex;
  }
}
/* Nu se afișează pe desktop */
@media (min-width: 601px) {
  .open-form-btn { display: none !important; }
}

@media (max-width: 800px) {
  .open-form-btn { display: flex; }
  .docs-wrap .open-form-btn { display: none; }
}

/* Modal formular */
.modal-form {
  display: none; /* sau flex când e deschis */
  position: fixed; z-index: 10010;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.55);
  justify-content: center; align-items: center;
}
.modal-form-content {
  background: #fff;
  border-radius: 14px;
  padding: 26px 16px 16px 16px;
  width: 80%; max-width: 420px;
  box-shadow: 0 4px 32px #2224;
  position: relative;
  text-align: center;
  direction: rtl;
  max-height: 75vh;
  overflow-y: auto;
}
.modal-form-close {
  position: absolute;
  left: 10px; top: 10px;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: #1abc63;
  color: #fff;
  font-size: 1.6em;
  line-height: 32px;
  text-align: center;
  cursor: pointer;
  border: none;
  z-index: 2;
}
@media (min-width:801px) {
  .modal-form, .open-form-btn { display: none !important; }
  .company-form-section { display: flex !important; }
}



@media (max-width: 900px) {
  .container { flex-direction: column-reverse; box-shadow: none; }
  .desktop-form { display: none; }
  .company-form-section, .company-brand-section {
    border: none;
    border-radius: 0;
    min-height: unset;
    padding: 0;
  }
  .company-form-section { padding: 30px;}
  .company-form h2 {
	  font-size: 1.35em;
  }
  .company-form h4 {
    font-size: 0.9em;
  }	
}
@media (max-width: 768px) {
  .modal-form {
    padding: 0 20px;
  }	
  .modal-form-content {
    max-height: 80vh;
  }
  .company-form {
    padding: 19px 5vw 14px 5vw;
    box-shadow: 0 1px 6px #19286a1d;
    max-width: 100vw;
    border-radius: 8px;
    width: auto;
  }
  .first-section {
    padding: 5vh 20px 0 20px;
    height: auto;
  }
  .docs-wrap .first-section {
    padding-right: 0;
	padding-left: 0;
  }
  .docs-wrap .first-section h1 {
    margin-top: 0px;
    padding: 0 50px;
    font-size: 1.65em;
  }
  .second-section {
    padding: 5vh 20px 7vh 20px;
    height: auto;
  }
  .second-section h1 {
	  padding-right: 60px;
	}
	.second-section h2 {	
	  padding-right: 60px;
	}
  .third-section {
    padding: 0 20px;
  }	
  .brand-logo { width: 180px; margin-bottom: 70px; }
  .docs-wrap .company-brand-section h2 { text-align: center;}
  .company-brand-section ul {
    padding: 0;
  }
  .dashboard-widget {
    border-radius: 5px;
  }
    .company-brand-section .top-three-wrap {
	  width: auto; 
	  gap: 20px; 	
	  padding: 0 10% 20px 10%;
	}
	.docs-wrap .company-brand-section .top-three-wrap {
	  flex-direction: column;
	  align-items: center;
	}
    .company-brand-section .top-three {
	  font-size: 1.1em; 	
	}
	.docs-wrap .company-brand-section .top-three {
	  font-size: 1.3em; 	
	}
	.company-brand-section .top-three img {
	  width:50px; 
	  height: 50px; 
	  margin-left: 0;	
	}
	.docs-wrap .company-brand-section .top-three img {
	  width:70px; 
	  height: 70px; 
	}
  .brand-slogan { font-size: 1em; }
  .view-documentation {
    padding-bottom: 50px;
    margin-top: -30px;
  }
  .view-documentation iframe {
    height: 75vh;
  }
  .second-section h2 {	
    padding-right: 50px;
  }
  .third-section h2 {	
    padding-right: 50px;
  }
  .third-section .timeline-title {
    font-size: 1.3em;
    font-weight: 600;
  }
  
}

.form-section {
  display: initial;
  animation: fadein .0s;
}
.form-section.active {
  display: block;
}
@keyframes fadein {
  from { opacity: 0; transform: translateY(20px);}
  to { opacity: 1; transform: translateY(0);}
}

.recipient-row {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
  flex-wrap: wrap;
  margin-top: 30px;
}
.recipient-row input {
  flex: 1 1 125px;
  min-width: 90px;
  padding: 13px 11px;
  border-radius: 8px;
  border: 1.4px solid #d7dff0;
  background: #f7faff;
  font-size: 1em;
  font-family: inherit;
  transition: border-color .19s;
}
.recipient-row select {
  flex: 1 1 125px;
  min-width: 90px;
  padding: 13px 11px;
  border-radius: 8px;
  border: 1.4px solid #d7dff0;
  background: #f7faff;
  font-size: 1em;
  font-family: inherit;
  transition: border-color .19s;
}
.recipient-row button.remove-btn {
  background: #e51a1a1a;
  border: none;
  color: #b11;
  border-radius:6px;
  padding: 0 10px;
  font-size:0.98em;
  cursor: pointer;
  transition:.1s;
}
.recipient-row button.remove-btn:hover { background: #ffdddd; }

@media (max-width:768px) {
  .recipient-row { gap:4px; }
  .recipient-row input { min-width: 0; }
  .recipient-row button.remove-btn { align-self: flex-end; margin-top: 2px;}
}
#addRecipientBtn {
  margin-top: 8px;
  margin-bottom: 12px;
  border: none;
  background: #e0e7f1;
  color: #224571;
  border-radius: 8px;
  padding: 8px 16px;
  font-size: 1em;
  cursor: pointer;
  font-weight: 500;
  transition: background .15s;
}
#addRecipientBtn:hover {
  background: #c9d8ef;
}
.success-msg img {
  width: 100%;	
  height: auto;
}
.main-btn, .secondary-btn {
  font-size:1.09em; border-radius:8px; border:none; padding: 10px 20px; cursor:pointer;
}
.main-btn { background:#224571; color:#fff; font-weight:600; }
.main-btn:hover { background:#007bff;}
.secondary-btn { 
  background:#f1f5fb; 
  color:#224571; 
  margin-top: 18px;
  padding: 14px 50px; 
}
.secondary-btn:hover { background:#d3e4fd;}


/* === Modern Form Refresh === */
:root{
  --pb-primary:#224571;
  --pb-accent:#4f8bff;
  --pb-border:#dfe7ff;
  --pb-card:#ffffff;
  --pb-card-grad:linear-gradient(180deg,#fff 60%,#f6f9ff 100%);
  --pb-shadow:0 10px 30px #0b1b3a1a;
  --pb-ring:0 0 0 4px #4f8bff22;
  --pb-radius:14px;
}

/* Cardul formularului */
.company-form{
  background: var(--pb-card-grad);
  border:1px solid #e8eefb;
  border-radius: var(--pb-radius);
  box-shadow: var(--pb-shadow);
  padding: 30px 50px 20px 50px;
  gap: 14px;
}

/* Titluri compacte */
.company-form h2{ letter-spacing:.2px; font-size:1.55em; font-weight:600;}
.company-form h4{ color:#5b6a86; font-size:1.02em; font-weight:300; margin-top:5px; }

/* Grup cu label flotant (nu cere schimbarea ordinii în HTML) */
.form-group.floating{
  position:relative;
  margin-bottom: 18px;
}
.form-group.floating label{
  position:absolute;
  left:12px; top:14px;           /* RTL */
  color:#7a89a6;
  background:transparent;
  padding:0 6px;
  pointer-events:none;
  transform-origin:right top;
  transition: top .18s ease, transform .18s ease, color .18s ease, background .18s ease;
  z-index: 1;
}
.form-group.floating input{
  padding: 18px 12px 12px;        /* spațiu sus pt. etichetă */
}

/* Stil input-uri */
.form-group input{
  border-bottom:1.4px solid #7b9af8;
  background:#FFFFFF;
  border-radius:2px;
  transition: border-color .18s, box-shadow .18s, background .18s, transform .04s;
}
.form-group input:hover{ background:#fff; }
.form-group input:active{ transform:scale(.999); }
.form-group input:focus{
  outline:0;
  border-color: var(--pb-accent);
  box-shadow: var(--pb-ring);
  background:#fff;
}
.form-group .hint{ color:#b08a2c; font-size:.9em; }

/* Starea flotantă: focus sau cu valoare (gestionată din JS prin .has-value) */
.form-group.floating:focus-within label,
.form-group.floating.has-value label{
  top:-8px;
  background:#fff;
  color:var(--pb-primary);
  transform:scale(.88);
}

/* Buton principal */
button[type="submit"].main-btn{
  display:block; width:100%;
  padding:14px 0;
  border-radius:12px; border:0;
  background:linear-gradient(93deg, var(--pb-primary) 0%, #3f73e5 92%);
  color:#fff; font-weight:700; font-size:1.06em; letter-spacing:.02em;
  box-shadow:0 4px 16px #1a2a561f;
  transition: transform .07s ease, box-shadow .18s ease, opacity .18s ease;
}
button[type="submit"].main-btn:hover{ box-shadow:0 10px 26px #1a2a5630; }
button[type="submit"].main-btn:active{ transform: translateY(1px) scale(.998); }
button[type="submit"].main-btn:focus-visible{ outline:0; box-shadow: var(--pb-ring); }

/* Mesaj form */
.form-msg{ color:#b03b1a; min-height:22px; }

/* Mobile mici: spacing mai strâns */
@media (max-width:768px){
  .company-form{ padding:22px 18px 18px; border-radius:10px; }
}

/* layoutul rămâne neschimbat: coloană „tehnică” de 1px în dreapta */
.labeled-section{
  display: grid;
  grid-template-columns: 1fr min(1px, 24vw);
  gap: 24px;
  align-items: start;
  position: relative;
  overflow: visible;
}

/* Eticheta sticky în mijlocul viewport-ului */
.section-label{
  --bg: #ff9a00;         /* culoare fundal bulă */
  --bd: #ff9a00;         /* culoare contur bulă */
  --arrow: 12px;         /* mărimea triunghiului (pointer) */

  position: sticky;
  top: 50vh;                     /* „lipită” pe verticală la mijloc */
  transform: translateY(-50%);
  justify-self: end;             /* la marginea din dreapta a coloanei tehnice */
  align-self: start;
  z-index: 999;
  pointer-events: none;

  /* stil bulă */
  background: #ff9a00;
  color: #834a00;
  border: 1px solid #ff9a00;
  border-radius: 12px;
  padding: 14px 16px;
  font-weight: 700;
  text-align: center;
  box-shadow: 0 6px 24px #00225522;
  max-width: 220px;
}

/* Săgeata cu contur (stratul de „border”) */
.section-label::before{
  content: "";
  position: absolute;
  left: calc(-1 * var(--arrow) - 1px);  /* iese înspre stânga, lipit de bulă */
  top: 50%;
  transform: translateY(-50%);
  width: 0; height: 0;
  border-top: var(--arrow) solid transparent;
  border-bottom: var(--arrow) solid transparent;
  border-right: var(--arrow) solid var(--bd);   /* contur */
  z-index: -1; /* rămâne sub bulă */
}

/* Săgeata „plină” (stratul de fundal) – puțin mai mică, ca să se vadă conturul */
.section-label::after{
  content: "";
  position: absolute;
  left: calc(-1 * (var(--arrow) - 2px)); /* ușor mai „înăuntru”, ca să lase border-ul la vedere */
  top: 50%;
  transform: translateY(-50%);
  width: 0; height: 0;
  border-top: calc(var(--arrow) - 2px) solid transparent;
  border-bottom: calc(var(--arrow) - 2px) solid transparent;
  border-right: calc(var(--arrow) - 2px) solid var(--bg); /* umplere */
}

/* base button can stay as-is; we add loading visuals */
.main-btn {
  position: relative;
}

/* show spinner + keep text readable */
.main-btn.is-loading {
  opacity: 0.9;
  pointer-events: none;
  /* add space so spinner doesn't overlap text */
  padding-inline-start: 2.2em; /* works in LTR/RTL */
}

/* spinner bubble (pure CSS) */
.main-btn.is-loading::before {
  content: "";
  position: absolute;
  top: 50%;
  inset-inline-start: 0.9em;     /* left in LTR, right in RTL */
  width: 1em;
  height: 1em;
  margin-top: -0.5em;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: btn-spin .8s linear infinite;
}

@keyframes btn-spin { 
  to { transform: rotate(360deg); } 
}







