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

body {
  background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
  min-height: 100vh;
  margin: 0;
  font-family: "Montserrat", sans-serif;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  width: 100%;
}

.site-container {
  width: 100%;
  max-width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

    .loging_btn_reg button {
  display: inline-flex;       
  align-items: center;        
  justify-content: center;    
  padding: 0.8rem 1.8rem;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  font-size: 1.05rem;
  transition: background 0.2s, color 0.2s;
  min-height: 48px;
  box-sizing: border-box;
  flex-shrink: 0;
  letter-spacing: 0.5px;
  text-decoration:none;
  background: #e53935;
  color: #fff;
}

.site-main {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem 1rem;
  width: 100%;
  max-width: 100%;
}

.register-form {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(25, 118, 210, 0.15);
  padding: 3rem 2.5rem;
  max-width: 1000px;
  width: 100%;
  position: relative;
  margin: 0 auto;
}

.register-form::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(135deg, #1976d2 0%, #42a5f5 100%);
  border-radius: 20px 20px 0 0;
}

.form-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.form-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #1976d2 0%, #42a5f5 100%);
  border-radius: 50%;
  margin: 0 auto 1.5rem auto;
  box-shadow: 0 8px 25px rgba(25, 118, 210, 0.3);
}

.form-avatar svg {
  width: 40px;
  height: 40px;
  fill: #fff;
}

.form-header h2 {
  color: #1976d2;
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.form-header p {
  color: #666;
  font-size: 1rem;
  margin: 0;
}

.form-sections {
  display: grid;
  gap: 2.5rem;
}

.form-section {
  background: #f8fbff;
  border-radius: 16px;
  padding: 2rem;
  border: 1px solid #e3f2fd;
  transition: all 0.3s ease;
}

.form-section:hover {
  box-shadow: 0 4px 20px rgba(25, 118, 210, 0.08);
  transform: translateY(-2px);
}

.section-title {
  color: #1976d2;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.section-title svg {
  width: 24px;
  height: 24px;
  fill: #1976d2;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

/* Mobile-first grid adjustments */
@media (max-width: 768px) {
  .form-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-group.three-columns {
  grid-column: span 1;
}

.register-form label {
  font-size: 0.95rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 0.5rem;
  display: block;
}

.register-form input,
.register-form select {
  width: 100%;
  font-size: 1rem;
  padding: 0.9rem 1rem;
  border: 2px solid #e3f2fd;
  border-radius: 8px;
  background: #fff;
  color: #333;
  transition: all 0.3s ease;
  box-sizing: border-box;
  min-height: 48px;
  /* Better touch target for mobile */
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

/* Password visibility toggle styles */
.password-input-container {
  position: relative;
  display: flex;
  align-items: center;
}

.password-input-container input[type="password"],
.password-input-container input[type="text"] {
  padding-right: 3rem;
}

.password-toggle-btn {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.25rem;
  border-radius: 4px;
  color: #666;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
}

.password-toggle-btn:hover {
  background-color: #f5f5f5;
  color: #1976d2;
}

.password-toggle-btn:focus {
  outline: 2px solid #1976d2;
  outline-offset: 2px;
}

.password-toggle-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* Custom select styling for mobile */
.register-form select {
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231976d2' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 16px;
  padding-right: 2.5rem;
}

.register-form input:focus,
.register-form select:focus {
  border-color: #1976d2;
  box-shadow: 0 0 0 3px rgba(25, 118, 210, 0.1);
  outline: none;
  transform: scale(1.02);
}

/* Form error styling */
.form-error {
  color: #e53935;
  font-size: 0.85rem;
  margin-top: 0.3rem;
  display: block;
  text-align: left;
  font-weight: 500;
}

/* Input error state */
.register-form input.error,
.register-form select.error {
  border-color: #e53935;
  background-color: #fff5f5;
}

.register-form input::placeholder {
  color: #999;
}

.optional-label {
  color: #666;
  font-size: 0.85rem;
  font-weight: 400;
}

/* File Upload Styles */
.file-upload-container {
  position: relative;
  width: 100%;
}

.file-upload-container input[type="file"] {
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
  z-index: 2;
}

.file-upload-display {
  border: 2px dashed #e3f2fd;
  border-radius: 8px;
  padding: 2rem;
  text-align: center;
  background: #f8fbff;
  transition: all 0.3s ease;
  cursor: pointer;
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.file-upload-display:hover {
  border-color: #1976d2;
  background: #e3f2fd;
  transform: translateY(-2px);
}

.file-upload-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.upload-icon {
  width: 48px;
  height: 48px;
  fill: #1976d2;
  margin-bottom: 0.5rem;
}

.file-upload-placeholder p {
  color: #1976d2;
  font-weight: 600;
  margin: 0;
  font-size: 1rem;
}

.file-requirements {
  color: #666;
  font-size: 0.85rem;
  margin: 0;
}

.image-preview {
  position: relative;
  border: 2px solid #e3f2fd;
  border-radius: 8px;
  padding: 1rem;
  background: #f8fbff;
  text-align: center;
}

.image-preview img {
  max-width: 100%;
  max-height: 200px;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.remove-image {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  background: #e53935;
  color: white;
  border: none;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  cursor: pointer;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.remove-image:hover {
  background: #c62828;
  transform: scale(1.1);
}

.file-upload-container.dragover {
  border-color: #1976d2;
  background: #e3f2fd;
}

.file-upload-container.dragover .file-upload-placeholder p {
  color: #1976d2;
}

.form-actions {
  display: grid;
  justify-content: center;
  align-items: center;
}

/* Mobile responsive styles for file upload */
@media (max-width: 768px) {
  .file-upload-display {
    padding: 1.5rem;
    min-height: 100px;
  }

  .upload-icon {
    width: 40px;
    height: 40px;
  }

  .file-upload-placeholder p {
    font-size: 0.9rem;
  }

  .file-requirements {
    font-size: 0.8rem;
  }

  .image-preview img {
    max-height: 150px;
  }
}

@media (max-width: 480px) {
  .file-upload-display {
    padding: 1rem;
    min-height: 80px;
  }

  .upload-icon {
    width: 32px;
    height: 32px;
  }

  .file-upload-placeholder p {
    font-size: 0.85rem;
  }

  .file-requirements {
    font-size: 0.75rem;
  }

  .image-preview img {
    max-height: 120px;
  }

  .remove-image {
    width: 25px;
    height: 25px;
    font-size: 1rem;
  }
}

.form-actions {
  text-align: center;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid #e3f2fd;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

/* Desktop: Terms and Button in one row */
.form-actions-row {
  display: grid;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.terms-label {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  text-align: left;
  font-size: 0.95rem;
  color: #555;
  line-height: 1.4;
  flex: 1;
  min-width: 0;
  padding: 1rem;
  background: #f8fbff;
  border: 1px solid #e3f2fd;
  border-radius: 8px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.terms-label:hover {
  background: #f0f7ff;
  border-color: #bbdefb;
}

.submit-button-container {
  flex-shrink: 0;
}

/* Terms error styling */
#termsError {
  color: #e53935;
  font-size: 0.85rem;
  margin-top: 0.5rem;
  display: none;
  text-align: left;
  font-weight: 500;
}

/* Terms label error state */
.terms-label.error {
  border-color: #e53935;
  background: #fff5f5;
}

.terms-label.error .custom-checkbox {
  border-color: #e53935;
}

.terms-checkbox-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.terms-checkbox-container input[type="checkbox"] {
  position: absolute;
  opacity: 0.01;
  /* Very low opacity but still clickable */
  cursor: pointer;
  height: 20px;
  width: 20px;
  z-index: 3;
  margin: 0;
  padding: 0;
}

.custom-checkbox {
  position: relative;
  display: inline-block;
  width: 20px;
  height: 20px;
  background: #fff;
  border: 2px solid #ddd;
  border-radius: 4px;
  transition: all 0.3s ease;
  cursor: pointer;
  flex-shrink: 0;
}

.custom-checkbox:hover {
  border-color: #1976d2;
  background: #f8fbff;
}

.terms-checkbox-container input[type="checkbox"]:checked + .custom-checkbox {
  background: #1976d2;
  border-color: #1976d2;
}

.terms-checkbox-container
  input[type="checkbox"]:checked
  + .custom-checkbox::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 2px;
  width: 4px;
  height: 8px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.terms-checkbox-container input[type="checkbox"]:focus + .custom-checkbox {
  outline: 2px solid #1976d2;
  outline-offset: 2px;
}

.terms-text {
  flex: 1;
  min-width: 0;
  font-weight: 500;
  margin-left: 0.5rem;
}

.terms-label a {
  color: #1976d2;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s ease;
  position: relative;
}

.terms-label a:hover {
  color: #1565c0;
  text-decoration: underline;
}

.terms-label a:focus {
  outline: 2px solid #1976d2;
  outline-offset: 2px;
  border-radius: 2px;
}

.footer .footer-logo {
  height: 80px;
  width: auto;
  display: block;
  margin: 0 auto 0.75rem auto;
  border: 0;
  border-radius: 0;
  outline: none;
  background: transparent;
  object-fit: contain;
}

.register-form .btn-primary {
  background: linear-gradient(135deg, #1976d2 0%, #42a5f5 100%);
  color: #fff;
  border: none;
  padding: 1rem 3rem;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(25, 118, 210, 0.3);
  min-width: 200px;
}

.register-form .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(25, 118, 210, 0.4);
}

.login-link {
  margin-top: 1.5rem;
  color: #666;
  font-size: 0.95rem;
}

.login-link a {
  color: #1976d2;
  text-decoration: none;
  font-weight: 600;
}

.login-link a:hover {
  text-decoration: underline;
}

/* Mobile-first responsive design - PERFECTED */
@media (max-width: 900px) {
  .site-main {
    justify-content: center;
    display: flex;
    align-items: center;
  }

  .form-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .register-form {
    margin-left: 5rem;
    justify-content: center;
    align-items: center;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(25, 118, 210, 0.12);
  }

  .form-section {
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
  }

  .form-header h2 {
    font-size: 1.8rem;
    margin-bottom: 0.6rem;
  }

  .form-header p {
    font-size: 0.95rem;
    line-height: 1.4;
  }

  .form-avatar {
    width: 60px;
    height: 60px;
    margin-bottom: 1.5rem;
  }

  .form-avatar svg {
    width: 32px;
    height: 32px;
  }

  .section-title {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    gap: 0.6rem;
  }

  .section-title svg {
    width: 22px;
    height: 22px;
  }

  .form-actions {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e3f2fd;
  }

  /* Mobile: Stack terms and button vertically */
  .form-actions-row {
    flex-direction: column;
    align-items: stretch;
    gap: 1.5rem;
  }

  .terms-label {
    font-size: 0.9rem;
    gap: 0.8rem;
    margin-bottom: 0;
    text-align: left;
    line-height: 1.5;
    padding: 0.8rem;
    background: #f8fbff;
    border: 1px solid #e3f2fd;
    border-radius: 6px;
    flex: none;
  }

  .submit-button-container {
    width: 100%;
  }

  .custom-checkbox {
    width: 18px;
    height: 18px;
  }

  .terms-checkbox-container
    input[type="checkbox"]:checked
    + .custom-checkbox::after {
    left: 5px;
    top: 1px;
    width: 5px;
    height: 8px;
  }

  .register-form .btn-primary {
    width: 0.5rem;
    height: 2rem;
  }

  .login-link {
    margin-top: 1.5rem;
    font-size: 0.9rem;
    padding: 0 0.5rem;
  }
}

@media (max-width: 768px) {
  body {
    overflow-x: hidden;
    width: 100%;
  }

  .site-container {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  .site-main {
    padding: 1.5rem 1rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .register-form {
    padding: 2rem 1.5rem;
    border-radius: 16px;
    box-shadow: 0 6px 25px rgba(25, 118, 210, 0.1);
    width: 100%;
    max-width: 100%;
    margin: 0;
    box-sizing: border-box;
  }

  .form-section {
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
  }

  .form-header h2 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
  }

  .form-header p {
    font-size: 0.95rem;
  }

  .form-avatar {
    width: 55px;
    height: 55px;
    margin-bottom: 1.2rem;
  }

  .form-avatar svg {
    width: 28px;
    height: 28px;
  }

  .section-title {
    font-size: 1.2rem;
    margin-bottom: 1.2rem;
    gap: 0.5rem;
  }

  .section-title svg {
    width: 20px;
    height: 20px;
  }

  .form-grid {
    gap: 1.2rem;
  }

  .register-form label {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #333;
    text-align: left;
    display: block;
  }

  .register-form input,
  .register-form select {
    font-size: 0.9rem;
    padding: 0.9rem 0.9rem;
    border-radius: 6px;
    border: 1.5px solid #e3f2fd;
    min-height: 48px;
    width: 100%;
    box-sizing: border-box;
  }

  .password-input-container input[type="password"],
  .password-input-container input[type="text"] {
    padding-right: 2.5rem;
  }

  .password-toggle-btn {
    right: 0.6rem;
    width: 1.8rem;
    height: 1.8rem;
  }

  .password-toggle-btn svg {
    width: 16px;
    height: 16px;
  }

  .register-form input:focus,
  .register-form select:focus {
    border-color: #1976d2;
    box-shadow: 0 0 0 2px rgba(25, 118, 210, 0.1);
    outline: none;
  }

  .optional-label {
    font-size: 0.8rem;
    color: #777;
    font-weight: 400;
  }

  .form-actions {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e3f2fd;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }

  /* Mobile: Stack terms and button vertically */
  .form-actions-row {
    flex-direction: column;
    align-items: stretch;
    gap: 1.2rem;
  }

  .terms-label {
    font-size: 0.85rem;
    gap: 0.7rem;
    margin-bottom: 0;
    line-height: 1.4;
    padding: 0.7rem;
    text-align: left;
    align-items: flex-start;
    background: #f8fbff;
    border: 1px solid #e3f2fd;
    border-radius: 6px;
    flex: none;
  }

  .submit-button-container {
    width: 100%;
  }

  .custom-checkbox {
    width: 16px;
    height: 16px;
  }

  .terms-checkbox-container
    input[type="checkbox"]:checked
    + .custom-checkbox::after {
    left: 4px;
    top: 1px;
    width: 4px;
    height: 7px;
  }

  .terms-text {
    flex: 1;
    line-height: 1.4;
  }

  .terms-label a {
    color: #1976d2;
    font-weight: 600;
    text-decoration: underline;
  }

  .register-form .btn-primary {
    width: 100%;
    max-width: 100%;
    min-width: auto;
    padding: 1rem 1.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 6px;
    box-shadow: 0 3px 12px rgba(25, 118, 210, 0.25);
    margin: 0 auto;
    display: block;
  }

  .register-form .btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 5px 18px rgba(25, 118, 210, 0.35);
  }

  .login-link {
    margin-top: 1.2rem;
    font-size: 0.85rem;
    padding: 0 0.5rem;
    text-align: center;
  }

  .login-link a {
    color: #1976d2;
    font-weight: 600;
    text-decoration: underline;
  }
}

@media (max-width: 600px) {
  .site-main {
    padding: 0.8rem 0.5rem;
    padding-top: 1.2rem;
  }

  .register-form {
    padding: 1.2rem 1rem;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(25, 118, 210, 0.08);
  }

  .form-section {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
  }

  .form-header {
    margin-bottom: 1.8rem;
  }

  .form-header h2 {
    font-size: 1.4rem;
    margin-bottom: 0.4rem;
  }

  .form-header p {
    font-size: 0.85rem;
    line-height: 1.3;
  }

  .form-avatar {
    width: 50px;
    height: 50px;
    margin-bottom: 1rem;
  }

  .form-avatar svg {
    width: 24px;
    height: 24px;
  }

  .section-title {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    gap: 0.4rem;
  }

  .section-title svg {
    width: 18px;
    height: 18px;
  }

  .form-grid {
    gap: 1rem;
  }

  .register-form label {
    font-size: 0.85rem;
    margin-bottom: 0.4rem;
    font-weight: 600;
    color: #333;
    text-align: left;
    display: block;
  }

  .register-form input,
  .register-form select {
    font-size: 0.85rem;
    padding: 0.8rem 0.8rem;
    border-radius: 6px;
    border: 1.5px solid #e3f2fd;
    min-height: 44px;
  }

  .password-input-container input[type="password"],
  .password-input-container input[type="text"] {
    padding-right: 2.2rem;
  }

  .password-toggle-btn {
    right: 0.5rem;
    width: 1.6rem;
    height: 1.6rem;
  }

  .password-toggle-btn svg {
    width: 14px;
    height: 14px;
  }

  .optional-label {
    font-size: 0.75rem;
    color: #777;
  }

  .form-actions {
    margin-top: 1.2rem;
    padding-top: 1.2rem;
    border-top: 1px solid #e3f2fd;
    padding-left: 0.3rem;
    padding-right: 0.3rem;
  }

  /* Mobile: Stack terms and button vertically */
  .form-actions-row {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }

  .terms-label {
    font-size: 0.8rem;
    gap: 0.6rem;
    margin-bottom: 0;
    line-height: 1.3;
    padding: 0.6rem;
    text-align: left;
    align-items: flex-start;
    background: #f8fbff;
    border: 1px solid #e3f2fd;
    border-radius: 5px;
    flex: none;
  }

  .submit-button-container {
    width: 100%;
  }

  .custom-checkbox {
    width: 15px;
    height: 15px;
  }

  .terms-checkbox-container
    input[type="checkbox"]:checked
    + .custom-checkbox::after {
    left: 4px;
    top: 1px;
    width: 4px;
    height: 6px;
  }

  .register-form .btn-primary {
    padding: 0.9rem 1.2rem;
    font-size: 0.9rem;
    border-radius: 6px;
    min-height: 48px;
  }

  .login-link {
    margin-top: 1rem;
    font-size: 0.8rem;
    padding: 0 0.3rem;
  }
}

@media (max-width: 480px) {
  body {
    overflow-x: hidden;
    width: 100%;
  }

  .site-container {
    width: 100%;
    max-width: 100%;
  }

  .site-main {
    padding: 1rem 0.75rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .register-form {
    padding: 1.5rem 1rem;
    border-radius: 14px;
    box-shadow: 0 4px 20px rgba(25, 118, 210, 0.1);
    width: 100%;
    max-width: 100%;
    margin: 0;
    box-sizing: border-box;
  }

  .form-section {
    padding: 1.25rem;
    border-radius: 10px;
    margin-bottom: 1.25rem;
  }

  .form-header {
    margin-bottom: 1.75rem;
  }

  .form-header h2 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
  }

  .form-header p {
    font-size: 0.9rem;
    line-height: 1.4;
  }

  .form-avatar {
    width: 45px;
    height: 45px;
    margin-bottom: 0.8rem;
  }

  .form-avatar svg {
    width: 22px;
    height: 22px;
  }

  .section-title {
    font-size: 1rem;
    margin-bottom: 0.8rem;
    gap: 0.3rem;
  }

  .section-title svg {
    width: 16px;
    height: 16px;
  }

  .form-grid {
    gap: 0.8rem;
  }

  .register-form label {
    font-size: 0.8rem;
    margin-bottom: 0.3rem;
    font-weight: 600;
    color: #333;
    text-align: left;
    display: block;
  }

  .register-form input,
  .register-form select {
    font-size: 0.8rem;
    padding: 0.7rem 0.7rem;
    border-radius: 5px;
    min-height: 42px;
    border: 1px solid #e3f2fd;
  }

  .password-input-container input[type="password"],
  .password-input-container input[type="text"] {
    padding-right: 2rem;
  }

  .password-toggle-btn {
    right: 0.4rem;
    width: 1.4rem;
    height: 1.4rem;
  }

  .password-toggle-btn svg {
    width: 12px;
    height: 12px;
  }

  .form-actions {
    margin-top: 1rem;
    padding-top: 1rem;
    padding-left: 0.2rem;
    padding-right: 0.2rem;
  }

  /* Mobile: Stack terms and button vertically */
  .form-actions-row {
    flex-direction: column;
    align-items: stretch;
    gap: 0.8rem;
  }

  .terms-label {
    font-size: 0.75rem;
    gap: 0.5rem;
    margin-bottom: 0;
    line-height: 1.3;
    padding: 0.5rem;
    text-align: left;
    align-items: flex-start;
    background: #f8fbff;
    border: 1px solid #e3f2fd;
    border-radius: 4px;
    flex: none;
  }

  .submit-button-container {
    width: 100%;
  }

  .custom-checkbox {
    width: 14px;
    height: 14px;
  }

  .terms-checkbox-container
    input[type="checkbox"]:checked
    + .custom-checkbox::after {
    left: 3px;
    top: 0px;
    width: 3px;
    height: 5px;
  }

  .register-form .btn-primary {
    padding: 0.8rem 1rem;
    font-size: 0.85rem;
    border-radius: 5px;
    min-height: 44px;
    font-weight: 600;
  }

  .login-link {
    font-size: 0.75rem;
    padding: 0 0.2rem;
    margin-top: 0.8rem;
  }
}

.country-dropdown {
  width: 200px;
  position: relative;
  margin-bottom: 10px;
}

#dialCode option {
  padding-left: 25px;
}

#dialCode option::before {
  content: "";
  background-size: cover;
  width: 20px;
  height: 15px;
  display: inline-block;
  margin-right: 8px;
}
