/* Global reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Bricolage Grotesque" !important;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  min-height: 100vh;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo img {
  width: 120px;
  margin-top: 30px;
  margin-bottom: 20px;
}

.logo-container {
  position: absolute;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border-radius: 50%;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.logo {
  width: 85px;
  height: 85px;
  object-fit: contain;
}

.loginput {
  margin-top: 50px;
}

.login-title {
  text-align: center;
  color: #6c757d;
  font-size: 16px;
  font-weight: 300;
  margin-top: 30px;
  margin-bottom: 2rem;
}

.login-container {
  width: 90%;
  max-width: 550px;
  display: flex;
  justify-content: center;
  position: relative;
}

.glass-effect {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 30px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  padding: 30px;
  width: 100%;
  text-align: center;
  animation: fadeIn 1s ease-in-out;
  position: relative;
}

h1 {
  font-size: 2rem;
  color: #212529 !important;
}

p {
  font-size: 1.2rem;
  color: #6c757d;
  margin-bottom: 20px;
}

h3 {
  font-size: 16px;
  color: #6c757d;
  margin-top: -5px;
  font-weight: 300;
}

.input-group {
  margin-bottom: 1.5rem;
  position: relative;
}

.input-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  color: #495057;
  font-weight: 500;
  text-align: start;
  transition: all 0.3s ease;
}

.input-group input {
  width: 100%;
  padding: 16px 20px;
  font-size: 0.95rem;
  background: rgba(255, 255, 255, 0.8);
  border: 2px solid rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  color: #212529;
  outline: none;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.input-group input:focus {
  border-color: #495057;
  box-shadow: 0 0 0 3px rgba(73, 80, 87, 0.2);
  background: #ffffff;
}

.input-group input::placeholder {
  color: #6c757d;
  opacity: 0.7;
}

.input-with-icon {
  position: relative;
  width: 100%;
}

.input-icon {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #6c757d;
  font-size: 1rem;
  transition: all 0.3s ease;
  z-index: 2;
}

.input-with-icon input {
  padding-left: 45px !important;
  padding-right: 45px !important;
}

.password-toggle {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #6c757d;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 2;
}

.password-toggle:hover {
  color: #212529;
}

.input-with-icon input:focus~.input-icon,
.input-with-icon input:focus~.password-toggle {
  color: #212529;
}

.remember-forgot-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 22px 0;
  width: 100%;
}

.remember-me {
  display: flex;
  align-items: center;
}

.remember-me input[type="checkbox"] {
  -webkit-appearance: none;
  appearance: none;
  margin: 0; 
  margin-right: 8px;
  width: 18px !important;
  height: 18px !important;
  border: 1px solid #495057;
  border-radius: 4px;
  background-color: white;
  cursor: pointer;
  display: grid;
  place-content: center;
  padding: 0;
}

.remember-me input[type="checkbox"]:checked {
  background-color: #495057;
  border-color: #495057;
}

.remember-me input[type="checkbox"]::before {
  content: "";
  width: 10px;
  height: 10px;
  transform: scale(0);
  background-color: white;
  transform-origin: center;
  clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
  transition: 120ms transform ease-in-out;
}

.remember-me input[type="checkbox"]:checked::before {
  transform: scale(1);
}

.remember-me label {
  font-size: 14px;
  color: #495057;
  cursor: pointer;
  margin-bottom: 0;
}

.forgot-link {
  font-size: 0.9rem;
  color: #495057;
  text-decoration: none;
  transition: all 0.3s ease;
}

.forgot-link:hover {
  text-decoration: underline;
  color: #212529;
}

.text-danger {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.8rem;
  color: #dc3545;
  font-weight: 500;
  text-align: left;
}

#togglePassword {
  color: #6c757d;
  transition: all 0.3s ease;
}

#togglePassword:hover {
  color: #212529;
}

label {
  font-size: 1rem;
  color: #495057;
  margin-bottom: 10px;
  display: block;
}

.submit-button {
  width: 100%;
  padding: 0.85rem 1.25rem;
  font-size: 16px;
  font-weight: 500;
  background: #495057;
  border: 2px solid #343a40;
  border-radius: 12px;
  color: white;
  outline: none;
  transition: all 0.3s ease;
  box-shadow: 0 2px 15px rgba(73, 80, 87, 0.3);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.submit-button:hover {
  background: #343a40;
  border-color: #212529;
  box-shadow: 0 0 0 3px rgba(73, 80, 87, 0.4);
  transform: translateY(-1px);
}

.submit-button:active {
  background: #212529;
  transform: translateY(0);
}

.submit-button:focus {
  box-shadow: 0 0 0 3px rgba(73, 80, 87, 0.5);
}

.button-icon {
  font-size: 1rem;
  transition: all 0.3s ease;
}

.btn-block {
  width: 100%;
}

input {
  width: 100%;
  padding: 12px;
  font-size: 1rem;
  border: 3px solid rgba(108, 117, 125, 0.3);
  border-radius: 20px;
  background: #ffffff;
  color: #212529;
  outline: none;
  transition: border-color 0.3s ease;
}

.input-group input,
.input-group select {
  color: #212529 !important;
}

.input-group input:focus {
  color: #212529 !important;
  background: #ffffff !important;
}

input:focus {
  border-color: #495057;
}

.btn {
  background: linear-gradient(135deg, #495057, #343a40);
  color: #ffffff;
  border: none;
  padding: 12px 20px;
  font-size: 1rem;
  border-radius: 10px;
  cursor: pointer;
  width: 100%;
  margin-top: 10px;
  transition: transform 0.3s ease, background 0.3s ease;
}

.btn:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #343a40, #212529);
}

.signup {
  display: block;
  margin-top: 25px;
  text-decoration: none;
  text-align: center;
}

.extras {
  margin-top: 20px;
  text-align: center;
}

.extras p {
  margin-top: 10px;
  color: #495057;
  font-size: 0.9rem;
}

.signup-link {
  display: inline-block;
  background: #ffffff;
  color: #495057;
  border: 2px solid #ced4da;
  padding: 12px 20px;
  font-size: 1rem;
  border-radius: 10px;
  cursor: pointer;
  text-decoration: none;
  width: 100%;
  margin-top: 0;
  transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}

.signup-link:hover {
  transform: translateY(-2px);
  background: #f8f9fa;
  border-color: #495057;
}

.signup-link:focus {
  outline: none;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.modal {
  display: none;
  position: fixed;
  z-index: 1050;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(33, 37, 41, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.modal-content {
  background: #ffffff;
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.4);
  padding: 40px 30px;
  width: 100%;
  max-width: 600px;
  text-align: center;
  position: relative;
}

.modal-icon {
  width: 64px;
  height: 64px;
  background: #f1f3f5;
  color: #495057;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 28px;
}

.modal-content h2 {
  color: #212529;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.modal-description {
  color: #6c757d;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 30px;
}

.contact-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 25px;
}

.contact-card {
  display: flex;
  align-items: center;
  background: #ffffff;
  border: 1px solid #ddd;
  border-radius: 16px;
  padding: 16px;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
  text-align: left;
}

.contact-card:hover {
  border-color: #adb5bd;
  background: #f8f9fa;
  transform: translateY(-2px);
}

.icon-wrapper {
  width: 40px;
  height: 40px;
  background: #e9ecef;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #495057;
  margin-right: 15px;
  font-size: 18px;
}

.contact-info {
  flex: 1;
}

.contact-info .label {
  display: block;
  font-size: 0.75rem;
  color: #868e96;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}

.contact-info .value {
  display: block;
  font-size: 1rem;
  color: #343a40;
  font-weight: 500;
}

.arrow-icon {
  color: #adb5bd;
  font-size: 14px;
}

.support-text {
  font-size: 0.85rem;
  color: #555555;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.modal-close-button {
  background: #f1f3f5;
  color: #212529;
  border: 1px solid #ddd;
  padding: 12px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  width: 100%;
  border-radius: 12px;
  transition: background 0.2s;
}

@keyframes slideUpFade {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.close-btn {
  display: none; 
}

.register-container {
  width: 90%;
  max-width: 550px;
  max-height: 80vh;
  display: flex;
  justify-content: center;
}

.glass-effect-register {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 30px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  padding: 30px 20px 30px 30px;
  width: 100%;
  text-align: center;
  animation: fadeIn 1s ease-in-out;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.form-header {
  flex-shrink: 0;
  margin-bottom: 20px;
}

.form-content {
  flex: 1;
  overflow-y: auto;
  padding-right: 10px;
}

.button-group {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
  margin-right: 7px;
  flex-shrink: 0;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  padding-top: 20px;
}

.form-content::-webkit-scrollbar {
  width: 6px;
}

.form-content::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.05);
  border-radius: 10px;
}

.form-content::-webkit-scrollbar-thumb {
  background: rgba(73, 80, 87, 0.5);
  border-radius: 10px;
}

.form-content::-webkit-scrollbar-thumb:hover {
  background: rgba(73, 80, 87, 0.7);
}

.name-section {
  display: flex;
  gap: 15px;
}

.half-width {
  flex: 1;
}

select {
  width: 100%;
  padding: 16px 20px;
  font-size: 0.95rem;
  background: rgba(255, 255, 255, 0.8);
  border: 2px solid rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  color: #212529;
  outline: none;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%236c757d' width='18px' height='18px'%3e%3cpath d='M7 10l5 5 5-5z'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 15px center;
  background-size: 18px;
}

select:focus {
  border-color: #495057;
  box-shadow: 0 0 0 3px rgba(73, 80, 87, 0.2);
  background: rgba(255, 255, 255, 0.9);
}

select option {
  background: #ffffff;
  color: #212529;
}

@media (max-width: 600px) {
  .name-section {
    flex-direction: column;
    gap: 0;
    margin-right: 7px;
  }
  .half-width {
    width: 100%;
  }
}

.form-step {
  display: none;
  animation: fadeIn 0.5s ease;
}

.form-step.active {
  display: block;
}

.progress-indicator {
  display: flex;
  justify-content: center;
  margin-bottom: 15px;
  flex-shrink: 0;
}

.progress-step {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: rgba(73, 80, 87, 0.2);
  color: #212529;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 10px;
  position: relative;
  font-weight: bold;
}

.progress-step.active {
  background-color: #495057;
  color: #ffffff;
}

.progress-step.completed {
  background-color: #343a40;
  color: #ffffff;
}

.progress-step:not(:last-child):after {
  content: '';
  position: absolute;
  width: 20px;
  height: 2px;
  background-color: rgba(73, 80, 87, 0.2);
  right: -20px;
}

.progress-step.completed:after {
  background-color: #343a40;
}

.next-button,
.back-button {
  width: 48%;
}

.back-button {
  background-color: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(0, 0, 0, 0.2);
  color: #495057;
}

.back-button:hover {
  background-color: rgba(0, 0, 0, 0.1);
}

.input-with-icon select {
  padding-left: 45px !important;
  background-position: right 15px center !important;
}

.input-group-register input,
.input-group-register select {
  color: #212529 !important;
}

.input-group-register input:focus {
  color: #212529 !important;
  background: #ffffff !important;
}

.input-group-register input::placeholder {
  color: #6c757d !important;
  opacity: 0.7 !important;
}

.input-group-register {
  margin-bottom: 1.5rem;
  position: relative;
  margin-right: 7px;
}

.input-group-register label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  color: #495057;
  font-weight: 500;
  text-align: start;
  transition: all 0.3s ease;
}

.input-group-register input {
  width: 100%;
  padding: 16px 20px;
  font-size: 0.95rem;
  background: rgba(255, 255, 255, 0.8);
  border: 2px solid rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  color: #212529;
  outline: none;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.input-group-register input:focus {
  border-color: #495057;
  box-shadow: 0 0 0 3px rgba(73, 80, 87, 0.2);
  background: #ffffff;
}

.input-group-register input::placeholder {
  color: #6c757d;
  opacity: 0.7;
}

.image-upload-container {
  padding: 20px;
  border-radius: 15px;
  background: rgba(248, 249, 250, 0.8);
  border: 2px dashed rgba(73, 80, 87, 0.3);
  transition: all 0.3s ease;
}

.image-upload-container:hover {
  border-color: #495057;
  background: rgba(248, 249, 250, 1);
}

.upload-label {
  display: block;
  font-size: 1rem;
  color: #495057;
  margin-bottom: 15px;
  text-align: center;
  font-weight: 500;
}

.optional-badge {
  display: inline-block;
  background: rgba(73, 80, 87, 0.1);
  color: #6c757d;
  font-size: 0.7rem;
  padding: 3px 8px;
  border-radius: 20px;
  margin-left: 8px;
  vertical-align: middle;
}

.upload-area {
  position: relative;
  width: 180px;
  height: 180px;
  margin: 0 auto;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.8);
  border: 2px dashed rgba(0, 0, 0, 0.2);
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
}

.upload-area:hover {
  border-color: #495057;
  transform: scale(1.02);
}

.upload-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 3rem;
  color: rgba(73, 80, 87, 0.5);
  transition: all 0.3s ease;
  z-index: 1;
}

.upload-area:hover .upload-icon {
  color: #495057;
}

.upload-text {
  position: absolute;
  bottom: 35px;
  left: 0;
  right: 0;
  text-align: center;
  color: rgba(73, 80, 87, 0.7);
  font-size: 0.8rem;
}

.upload-preview {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: none;
}

.upload-area.has-image .upload-icon,
.upload-area.has-image .upload-text {
  display: none;
}

.upload-area.has-image .upload-preview {
  display: block;
}

.upload-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 15px;
}

.upload-btn {
  padding: 8px 15px;
  background: rgba(73, 80, 87, 0.1);
  color: #495057;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.upload-btn:hover {
  background: rgba(73, 80, 87, 0.2);
  transform: translateY(-2px);
}

.upload-btn.remove {
  background: rgba(220, 53, 69, 0.1);
  color: #dc3545;
}

.upload-btn.remove:hover {
  background: rgba(220, 53, 69, 0.2);
}

#imageInput {
  display: none;
}

.choices {
  margin-bottom: 0;
  position: relative;
}

.choices__inner {
  background: rgba(255, 255, 255, 0.8) !important;
  border: 2px solid rgba(0, 0, 0, 0.1) !important;
  border-radius: 12px !important;
  padding: 24.5px 20px !important;
  min-height: auto !important;
  font-size: 0.95rem !important;
  color: #212529 !important;
  transition: all 0.3s ease !important;
}

.choices__list--multiple .choices__item {
  background-color: #495057 !important;
  border: 1px solid #343a40 !important;
  border-radius: 8px !important;
  padding: 4px 10px !important;
  font-size: 0.85rem !important;
  font-weight: 500 !important;
  margin-right: 8px !important;
  margin-bottom: 8px !important;
  color: #ffffff !important;
}

.choices__list--multiple .choices__item .choices__button {
  border-left: 1px solid #343a40 !important;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white' width='12px' height='12px'%3e%3cpath d='M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z'/%3e%3c/svg%3e") !important;
  background-size: 12px !important;
  padding: 0 0 0 8px !important;
  opacity: 0.8 !important;
  transition: opacity 0.3s ease !important;
}

.choices__list--multiple .choices__item .choices__button:hover {
  opacity: 1 !important;
}

.choices__input {
  background: transparent !important;
  color: #212529 !important;
  font-size: 0.95rem !important;
  margin-bottom: 0 !important;
  padding: 0 !important;
  width: 100% !important;
}

.choices__input::placeholder {
  color: #6c757d !important;
  opacity: 0.7 !important;
}

.choices[data-type*="select-one"] .choices__inner {
  padding-top: 12px !important;
  padding-bottom: 12px !important;
}

.choices__input.choices__input--cloned {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
  width: 100% !important;
  height: 100% !important;
}

.choices__list--dropdown {
  background: rgba(255, 255, 255, 0.95) !important;
  border: 1px solid rgba(0, 0, 0, 0.1) !important;
  border-radius: 12px !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  z-index: 9999 !important;
  margin-top: 5px !important;
}

.choices__list--dropdown .choices__item {
  color: #212529 !important;
  padding: 12px 15px !important;
  font-size: 0.95rem !important;
}

.choices__list--dropdown .choices__item--selectable.is-highlighted {
  background-color: rgba(73, 80, 87, 0.1) !important;
  color: #495057 !important;
}

.choices__list--dropdown .choices__item--selectable:hover {
  background-color: rgba(73, 80, 87, 0.05) !important;
}

.choices[data-type*="select-multiple"] .choices__button,
.choices[data-type*="text"] .choices__button {
  border-left: 1px solid #343a40 !important;
  margin-left: 8px !important;
  padding-left: 16px !important;
}

.choices:focus .choices__inner,
.choices__inner:hover {
  border-color: rgba(73, 80, 87, 0.5) !important;
}

.choices__inner:focus-within {
  border-color: #495057 !important;
  box-shadow: 0 0 0 3px rgba(73, 80, 87, 0.2) !important;
}

.help-text {
  font-size: 0.8rem;
  color: #6c757d;
  margin-top: 5px;
  text-align: left;
}

.input-with-icon .choices {
  width: 100%;
}

.input-with-icon .choices__inner {
  padding-left: 45px !important;
}

.choices__list--dropdown {
  z-index: 9999 !important;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

.pulse {
  animation: pulse 2s infinite;
}

@media (max-width: 768px) {
  .btn {
    font-size: 0.9rem;
  }
  input {
    font-size: 0.9rem;
    padding: 10px;
  }
  .forgot-link {
    font-size: 0.8rem;
  }
  .signup-link {
    font-size: 0.9rem;
  }
}

@media (max-width: 375px) {
  .remember-forgot-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .forgot-link {
    align-self: flex-end;
  }
}

@media (max-width: 600px) {
  .upload-area {
    width: 150px;
    height: 150px;
  }
  .upload-icon {
    font-size: 2.5rem;
  }
}