/* BASIC */

html {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  min-height: 100vh;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  height: 100vh;
  margin: 0;
  padding: 0;
}

a {
  color: #667eea;
  display:inline-block;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

a:hover {
  color: #764ba2;
}

h2 {
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  display:inline-block;
  margin: 40px 8px 10px 8px; 
  color: #94a3b8;
}



/* STRUCTURE */

.wrapper {
  display: flex;
  align-items: center;
  flex-direction: column; 
  justify-content: center;
  width: 100%;
  min-height: 100%;
  padding: 20px;
}
#formContent {
  -webkit-border-radius: 16px;
  border-radius: 16px;
  background: #ffffff;
  padding: 0px;
  width: 90%;
  max-width: 480px;
  position: relative;
  -webkit-box-shadow: 0 20px 60px rgba(0,0,0,0.2), 0 0 0 1px rgba(255,255,255,0.1);
  box-shadow: 0 20px 60px rgba(0,0,0,0.2), 0 0 0 1px rgba(255,255,255,0.1);
  text-align: center;
  backdrop-filter: blur(10px);
}

.logo-container {
  padding: 20px 0 30px 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

#formFooter {
  background-color: #f8fafc;
  border-top: 1px solid #e2e8f0;
  padding: 20px;
  text-align: center;
  -webkit-border-radius: 0 0 16px 16px;
  border-radius: 0 0 16px 16px;
  margin: 0;
  color: #64748b;
  font-size: 14px;
}

.recaptcha-container-footer {
  margin: 0;
  display: flex;
  justify-content: center;
  min-height: 78px;
}

#message_box {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #475569;
  font-weight: 500;
}

/* Keep alive trigger button */
.keepalive-trigger-btn {
  background: white;
  border: 2px solid #d84a1b;
  color: #d84a1b;
  padding: 6px 20px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(216, 74, 27, 0.15);
}

.keepalive-trigger-btn:hover {
  transform: translateY(-2px);
  background: #d84a1b;
  color: white;
  box-shadow: 0 4px 12px rgba(216, 74, 27, 0.4);
}

.keepalive-divider {
  width: 50%;
  margin: 15px auto;
  border: 0;
  border-top: 1px solid #e2e8f0;
}

.keepalive-notice {
  margin: 8px 0 0 0;
  font-size: 12px;
  color: #94a3b8;
  font-style: italic;
}

/* Sliding player footer */
.player-footer {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  margin: 0;
  border-radius: 0 0 16px 16px;
}

.player-footer.visible {
  max-height: 200px;
  padding: 20px;
}

.player-footer-content {
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.3s ease 0.1s;
}

.player-footer.visible .player-footer-content {
  opacity: 1;
  transform: translateY(0);
}

.player-description {
  color: #ffffff;
  font-size: 15px;
  font-weight: 500;
  margin: 0 0 12px 0;
  text-align: center;
}

.player-footer .player-container {
  display: block;
  opacity: 1;
  transform: none;
  margin-top: 0;
}



/* TABS */

h2.inactive {
  color: #cccccc;
}

/* FORM TYPOGRAPHY*/

input[type=button], input[type=submit], input[type=reset]  {
  background-color: #56baed;
  border: none;
  color: white;
  padding: 15px 80px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  text-transform: uppercase;
  font-size: 13px;
  -webkit-box-shadow: 0 10px 30px 0 rgba(95,186,233,0.4);
  box-shadow: 0 10px 30px 0 rgba(95,186,233,0.4);
  -webkit-border-radius: 5px 5px 5px 5px;
  border-radius: 5px 5px 5px 5px;
  margin: 5px 20px 40px 20px;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

input[type=button]:disabled, input[type=submit]:disabled, input[type=reset]:disabled  {
  background-color: #e3e3e3;
}

input[type=button]:hover:enabled, input[type=submit]:hover:enabled, input[type=reset]:hover:enabled  {
  background-color: #39ace7;
}

input[type=button]:active:enabled, input[type=submit]:active:enabled, input[type=reset]:active:enabled  {
  -moz-transform: scale(0.95);
  -webkit-transform: scale(0.95);
  -o-transform: scale(0.95);
  -ms-transform: scale(0.95);
  transform: scale(0.95);
}

input[type=text] {
  background-color: #f6f6f6;
  border: none;
  color: #0d0d0d;
  padding: 15px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 5px;
  width: 85%;
  border: 2px solid #f6f6f6;
  -webkit-transition: all 0.5s ease-in-out;
  -moz-transition: all 0.5s ease-in-out;
  -ms-transition: all 0.5s ease-in-out;
  -o-transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out;
  -webkit-border-radius: 5px 5px 5px 5px;
  border-radius: 5px 5px 5px 5px;
}

input[type=text]:focus {
  background-color: #fff;
  border-bottom: 2px solid #5fbae9;
}

input[type=text]::placeholder {
  color: #cccccc;
}

/* Keep Alive Section */
.keepalive-section {
  margin: 25px 0;
  padding: 20px;
  background: #f8fafc;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
}

.keepalive-label {
  display: flex;
  align-items: center;
  cursor: pointer;
  user-select: none;
  position: relative;
  padding-left: 0;
  margin-bottom: 0;
}

.keepalive-checkbox {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.checkmark {
  position: relative;
  height: 22px;
  width: 22px;
  background-color: #fff;
  border: 2px solid #cbd5e1;
  border-radius: 6px;
  transition: all 0.3s ease;
  flex-shrink: 0;
  margin-right: 12px;
}

.keepalive-checkbox:checked ~ .checkmark {
  background: linear-gradient(135deg, #d84a1b 0%, #b8390e 100%);
  border-color: #d84a1b;
}

.checkmark:after {
  content: "";
  position: absolute;
  display: none;
  left: 7px;
  top: 3px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.keepalive-checkbox:checked ~ .checkmark:after {
  display: block;
}

.label-text {
  color: #475569;
  font-size: 14px;
  font-weight: 500;
}

.player-container {
  margin-top: 12px;
  display: none;
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.3s ease;
}

.player-container.visible {
  opacity: 1;
  transform: translateY(0);
}

.player-container audio {
  width: 100%;
  max-width: 350px;
  height: 40px;
  border-radius: 8px;
  outline: none;
}

/* reCAPTCHA container */
.recaptcha-container {
  margin: 20px 0;
  display: flex;
  justify-content: center;
  min-height: 78px;
  transition: all 0.3s ease;
}

#message_box {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: center;
}-radius: 5px 5px 5px 5px;
  border-radius: 5px 5px 5px 5px;
}

input[type=text]:focus {
  background-color: #fff;
  border-bottom: 2px solid #5fbae9;
}

input[type=text]:placeholder {
  color: #cccccc;
}



/* ANIMATIONS */

/* Simple CSS3 Fade-in-down Animation */
.fadeInDown {
  -webkit-animation-name: fadeInDown;
  animation-name: fadeInDown;
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}

@-webkit-keyframes fadeInDown {
  0% {
    opacity: 0;
    -webkit-transform: translate3d(0, -100%, 0);
    transform: translate3d(0, -100%, 0);
  }
  100% {
    opacity: 1;
    -webkit-transform: none;
    transform: none;
  }
}

@keyframes fadeInDown {
  0% {
    opacity: 0;
    -webkit-transform: translate3d(0, -100%, 0);
    transform: translate3d(0, -100%, 0);
  }
  100% {
    opacity: 1;
    -webkit-transform: none;
    transform: none;
  }
}

/* Simple CSS3 Fade-in Animation */
@-webkit-keyframes fadeIn { from { opacity:0; } to { opacity:1; } }
@-moz-keyframes fadeIn { from { opacity:0; } to { opacity:1; } }
@keyframes fadeIn { from { opacity:0; } to { opacity:1; } }

.fadeIn {
  opacity:0;
  -webkit-animation:fadeIn ease-in 1;
  -moz-animation:fadeIn ease-in 1;
  animation:fadeIn ease-in 1;

  -webkit-animation-fill-mode:forwards;
  -moz-animation-fill-mode:forwards;
  animation-fill-mode:forwards;

  -webkit-animation-duration:1s;
  -moz-animation-duration:1s;
  animation-duration:1s;
}

.fadeIn.first {
  -webkit-animation-delay: 0.4s;
  -moz-animation-delay: 0.4s;
  animation-delay: 0.4s;
}

.fadeIn.second {
  -webkit-animation-delay: 0.6s;
  -moz-animation-delay: 0.6s;
  animation-delay: 0.6s;
}

.fadeIn.third {
  -webkit-animation-delay: 0.8s;
  -moz-animation-delay: 0.8s;
  animation-delay: 0.8s;
}

.fadeIn.fourth {
  -webkit-animation-delay: 1s;
  -moz-animation-delay: 1s;
  animation-delay: 1s;
}

/* Simple CSS3 Fade-in Animation */
.underlineHover:after {
  display: block;
  left: 0;
  bottom: -10px;
  width: 0;
  height: 2px;
  background-color: #56baed;
  content: "";
  transition: width 0.2s;
}

.underlineHover:hover {
  color: #0d0d0d;
}

.underlineHover:hover:after{
  width: 100%;
}



/* OTHERS */

*:focus {
    outline: none;
} 

#icon {
  width:60%;
}

