@import url("https://fonts.googleapis.com/css2?family=Josefin+Sans:ital,wght@0,100..700;1,100..700&family=Titillium+Web:ital,wght@0,200;0,300;0,400;0,600;0,700;0,900;1,200;1,300;1,400;1,600;1,700&display=swap");
.josefin-sans-bold {
  font-family: "Josefin Sans", system-ui;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
}

.josefin-sans-semi-bold {
  font-family: "Josefin Sans", system-ui;
  font-optical-sizing: auto;
  font-weight: 600;
  font-style: normal;
}

.josefin-sans-regular {
  font-family: "Josefin Sans", system-ui;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

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

body {
  width: 100dvw;
  min-height: 100dvh;
  background: radial-gradient(#222, #000);
  display: grid;
  place-items: center;
  padding-block: 24px;
}
body .login-form {
  width: 90%;
  max-width: 400px;
  background: #ffffff;
  padding: 40px 32px;
  border-radius: 24px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}
body .login-form .glow-logo {
  display: block;
  height: 28px;
  margin: 0 auto 8px;
}
body .login-form .form-title {
  font-size: 48px;
  text-transform: uppercase;
  width: 100%;
  text-align: center;
  margin-bottom: 24px;
  color: #000;
  line-height: 1;
}
body .login-form .form-description {
  font-size: 15px;
  line-height: 1.5;
  color: #000;
  margin-bottom: 16px;
}
body .login-form .custom-input {
  width: 100%;
  position: relative;
  color: #000;
}
body .login-form .custom-input label {
  display: block;
  font-size: 20px;
  color: #000;
  margin-bottom: 4px;
}
body .login-form .custom-input input[type=text] {
  background: transparent;
  border: none;
  border-bottom: 2px solid #000;
  outline: none;
  appearance: none;
  width: 100%;
  font-family: inherit;
  font-size: 18px;
  padding-block: 6px;
  color: inherit;
  transition: 0.2s ease border-color;
}
body .login-form .custom-input:not(:last-of-type) {
  margin-bottom: 24px;
}
body .login-form .file-input-wrap {
  position: relative;
  margin-bottom: 8px;
}
body .login-form .upload-label {
  display: block;
  width: 100%;
  text-align: center;
  background-color: #ff70ff;
  color: #fff;
  border: none;
  border-radius: 0;
  padding: 14px;
  font-size: 18px;
  cursor: pointer;
}
body .login-form .record-wrap {
  margin-bottom: 8px;
}
body .login-form .record-prompt {
  font-size: 14px;
  line-height: 1.5;
  color: #000;
  margin-bottom: 8px;
}
body .login-form .record-label {
  display: block;
  width: 100%;
  text-align: center;
  background-color: #ff70ff;
  color: #fff;
  border: none;
  border-radius: 0;
  padding: 14px;
  font-size: 18px;
  cursor: pointer;
}
body .login-form .record-label.recording {
  background-color: #000;
}
body .login-form .record-wrap audio {
  width: 100%;
  margin-top: 8px;
}
body .login-form button[type=submit] {
  margin-top: 0;
  font-size: 18px;
  width: 100%;
  padding: 14px;
  color: #fff;
  border: none;
  border-radius: 0;
  cursor: pointer;
  background-color: #000;
  transition: 0.2s ease background-color, 0.2s ease color;
}
body .login-form button[type=submit]:hover:not(:disabled) {
  background-color: #ff70ff;
  color: #000;
}
body .login-form .privacy-row {
  margin-top: 20px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
body .login-form .privacy-row input[type=checkbox] {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 2px;
}
body .login-form .privacy-row label {
  font-size: 13px;
  color: #000;
}

.file-input::-webkit-file-upload-button {
    visibility: hidden;
}

.file-input::before {
    content: '';
    display: inline-block;
}

.file-input {
    color: transparent;  /* Hides the "No file chosen" text */
    width: 100%;        /* Make input take full width */
}

/* Add this to completely hide the file name */
.file-input::-webkit-file-upload-text {
    display: none;
}

/* For Firefox */
.file-input {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
}

/* Optional: Add custom styling for the input */
.file-input:hover {
    cursor: pointer;
}

body {
    margin: 0;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
    overflow-y: auto;
  }
  
  .background {
    position: fixed;
    top: -5%;
    left: -5%;
    width: 110%;
    height: 110%;
    z-index: -1;
    background: url('bg.jpg') center center;
    background-size: cover;
    animation: sphericalExpand 15s ease-in-out infinite;
    transform-origin: center center;
    border-radius: 0%;  /* Starting with no radius */
  }
  
  @keyframes sphericalExpand {
    0%, 100% {
      transform: scale(1);
      border-radius: 0%;
    }
    50% {
      transform: scale(1.1);
      border-radius: 40%;  /* Creates a subtle spherical effect at peak */
    }
  }

button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.success-message {
    display: none;
    text-align: center;
    font-size: 24px;
    color: #ff70ff;
    padding: 40px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: fadeIn 0.5s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.custom-input input {
    font-size: 16px;
}