@font-face {
  font-family: "IRANYekan";
  src: url("IRANYekan-Regular.woff") format("woff");
  font-weight: normal;
  font-display: swap;
}

@font-face {
  font-family: "IRANYekan";
  src: url("assets/fonts/IRANYekan-Bold.woff2") format("woff2");
  font-weight: normal;
  font-display: swap;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
ol,
li,
figure,
figcaption,
blockquote,
dl,
dd {
  margin: 0;
  padding: 0;
}

body {
  font-family: IRANYekan;
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  min-height: 100vh;
  background: #f5f5f5;
}

img {
  max-width: 100%;
  height: auto;
}

ul,
ol {
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;
}

input,
button,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
}

button,
input {
  overflow: visible;
}

button {
  border: none;
  background: none;
  padding: 0;
  cursor: pointer;
}

:focus {
  outline: none;
}

.clearfix::after {
  content: "";
  display: table;
  clear: both;
}

.potansiel-landing {
  max-width: 450px;
  margin: 0 auto;
  position: relative;
  background: white;
  min-height: 100vh;
  height: 100vh;
  overflow: hidden;
}

html {
  scroll-behavior: smooth;
}

main {
  padding: 0;
  text-align: right;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
}

main section.timeline .title {
  display: flex;
  align-items: center;
}

main section.timeline .title h2 {
  font-size: 20px;
}

main section.timeline .title .svg-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background-color: #f72356;
  border-radius: 100%;
  margin-left: 10px;
}

main section.timeline .activity-feed {
  position: relative;
  padding: 0 18px 30px 15px;
  list-style: none;
}

main section.timeline .activity-feed:after {
  content: "";
  display: block;
  position: absolute;
  right: 14px;
  width: 10px;
  height: 20px;
  background: #fff;
  margin-top: -5px;
}

main section.timeline .activity-feed .feed-item {
  position: relative;
  padding-top: 12px;
  padding-bottom: 5px;
  padding-right: 30px;
  border-right: 2px solid #f72356;
}

main section.timeline .activity-feed .feed-item:after {
  content: "";
  display: block;
  position: absolute;
  top: 55%;
  right: -6px;
  width: 10px;
  height: 10px;
  border-radius: 20px;
  background: #f72356;
}

main section.timeline .activity-feed .feed-item:first-child {
  padding-top: 20px;
}

main section.timeline .activity-feed .feed-item:last-child {
  padding-bottom: 0;
}

main section.timeline .activity-feed .feed-item:last-child:after {
  top: 60%;
}

main section.timeline .activity-feed .feed-item .date {
  display: block;
  position: relative;
  top: -5px;
  color: #8c96a3;
  text-transform: uppercase;
  font-size: 13px;
}

main section.timeline .activity-feed .text {
  position: relative;
  top: -3px;
}

main section.register {
  background-color: #f6f6f6;
  border-radius: 0;
  padding: 0;
  margin: 0;
  width: 100%;
  max-width: 450px;
  display: flex;
  flex-direction: column;
  height: 100vh;
  overflow-y: auto;
}

main section.register .form-header {
  width: 100%;
}

main section.register .form-header .image-container {
  width: 100%;
}

main section.register .form-header .image-container img {
  width: 100%;
  height: auto;
  display: block;
}

main section.register .form-header .form-description {
  padding: 20px 15px 0 15px;
}

main section.register .form-header .form-description .form-title {
  color: black;
  font-size: 17px;
  text-align: center;
  font-weight: bold;
  margin-bottom: 14px;
}

main section.register .form-header .form-description .form-text {
  display: block;
  height: auto;
  width: auto;
  color: black;
  font-weight: 100;
  font-size: 16px;
  padding: 5px;
  text-align: justify;
  margin-bottom: 0;
}

main section.register .title-container {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px 15px 20px 15px;
}

main section.register .title-container .title {
  font-weight: bold;
  font-size: 24px;
}

main section.register .title-container svg:first-child {
  margin-bottom: 20px;
  margin-left: 5px;
}

main section.register .title-container svg:last-child {
  margin-bottom: 20px;
  margin-right: 5px;
}

main section.register form {
  padding: 0 15px 25px 15px;
  flex-shrink: 0;
}

main section.register form .input-group {
  position: relative;
  margin-bottom: 25px;
}

main section.register form .input-group label {
  position: absolute;
  top: -15px;
  right: 20px;
  background-color: #f6f6f6;
  padding: 0 5px;
}

main section.register form .input-group .input-prefix {
  position: absolute;
  left: 12px;
  bottom: 10px;
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  justify-content: center;
}

main section.register form .input-group .input-prefix img {
  margin-right: 10px;
  padding-right: 10px;
  border-right: 1px solid;
}

main section.register form .input-group input {
  width: 100%;
  height: 48px;
  border-radius: 10px;
  border: 1px solid #d5d5d5;
  background-color: #f6f6f6;
  padding: 12px;
}

/* You can optionally adjust the phone input padding if needed */
main section.register form .input-group input#mobile {
  padding-left: 100px;
}

main section.register form #submit {
  width: 100%;
  height: 48px;
  background-color: #f72356;
  border: none;
  border-radius: 10px;
  font-weight: bold;
  font-size: 16px;
  color: #fff;
  cursor: pointer;
}

/* Optional styling for disabled submit button */
main section.register form #submit:disabled {
  background-color: #d5d5d5;
  cursor: not-allowed;
}

/* Success Message Styles */
main section.register .success-message {
  text-align: center;
  padding: 40px 20px;
  animation: fadeIn 0.5s ease-in-out;
}

main section.register .success-message .success-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
  animation: scaleIn 0.6s ease-in-out;
}

main section.register .success-message h3 {
  font-size: 20px;
  color: #4caf50;
  font-weight: bold;
  margin-bottom: 15px;
}

main section.register .success-message p {
  font-size: 16px;
  color: #333;
  line-height: 1.8;
}

@keyframes scaleIn {
  0% {
    transform: scale(0);
    opacity: 0;
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

small.feedback {
  display: flex;
  justify-content: center;
  margin-top: -15px;
  margin-bottom: 10px;
  font-size: 14px;
  color: #f72356;
}

/* Keyframe definitions */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

/* Utility classes to trigger the animations */
.fade-in {
  animation: fadeIn 0.25s forwards;
}

.fade-out {
  animation: fadeOut 1s forwards;
}

@keyframes heartbeat {
  0% {
    transform: scale(1);
  }
  25% {
    transform: scale(1.1);
  }
  50% {
    transform: scale(1);
  }
  75% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

/* Sticky Button Styles */
.sticky-button-container {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  margin: 0 auto;
  width: 100%;
  max-width: 450px;
  padding: 15px 20px;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
  box-sizing: border-box;
}

.sticky-button-container.show {
  opacity: 1;
  visibility: visible;
}

.sticky-submit {
  width: 100%;
  height: 48px;
  background-color: #f72356;
  border: none;
  border-radius: 10px;
  font-weight: bold;
  font-size: 16px;
  color: #fff;
  cursor: pointer;
  font-family: IRANYekan;
}

.sticky-submit:disabled {
  background-color: #d5d5d5;
  cursor: not-allowed;
}

