/* Profile Page Specific Styles */

.profile-page-content {
  background: #f5f5f5;
  min-height: calc(100vh - 80px);
  padding: 40px 0;
}

.profile-container {
  max-width: 500px;
  margin: 0 auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
}

.profile-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 30px;
  padding: 20px 0;
  border-bottom: 2px solid #e8e8e8;
}

.back-btn {
  background: #107850;
  color: white;
  text-decoration: none;
  padding: 10px 15px;
  border-radius: 25px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.back-btn:hover {
  background: #0d5f3e;
  transform: translateY(-2px);
}

.profile-header h2 {
  font-size: 24px;
  color: #333;
  margin: 0;
}

.profile-content {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.profile-form {
  background: white;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 400px;
}

.profile-form h3 {
  font-size: 24px;
  color: #333;
  margin-bottom: 10px;
  text-align: center;
}

.form-description {
  color: #666;
  text-align: center;
  margin-bottom: 30px;
  font-size: 16px;
}

.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #333;
}

.form-group input {
  width: 100%;
  padding: 15px;
  border: 2px solid #e8e8e8;
  border-radius: 12px;
  font-size: 16px;
  transition: border-color 0.3s ease;
  box-sizing: border-box;
}

.form-group input:focus {
  outline: none;
  border-color: #107850;
}

.submit-btn {
  width: 100%;
  background: #107850;
  color: white;
  border: none;
  padding: 15px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.3s ease;
}

.submit-btn:hover {
  background: #0d5f3e;
  transform: translateY(-2px);
}

.code-result {
  text-align: center;
  padding: 20px;
  border-radius: 12px;
  border: 2px solid;
}

.result-content.success {
  background: #e8f5e8;
  border-color: #107850;
  color: #107850;
}

.result-content.error {
  background: #ffeaea;
  border-color: #d32f2f;
  color: #d32f2f;
}

.result-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  font-weight: 600;
  font-size: 18px;
}

.result-content i {
  font-size: 24px;
}

.result-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.result-title {
  font-weight: 700;
  font-size: 20px;
}

.result-message {
  font-weight: 500;
  font-size: 16px;
}

.loading-spinner {
  text-align: center;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  color: #107850;
}

.loading-spinner i {
  font-size: 32px;
  color: #107850;
}

.loading-spinner span {
  font-size: 16px;
  font-weight: 500;
}

/* Profile Page Responsive Design */
@media (max-width: 768px) {
  .profile-container {
    padding: 15px;
  }

  .profile-form {
    padding: 30px 20px;
  }

  .profile-form h3 {
    font-size: 20px;
  }

  .form-description {
    font-size: 14px;
  }

  .profile-header h2 {
    font-size: 20px;
  }
}

@media (max-width: 480px) {
  .profile-page-content {
    padding: 20px 0;
  }

  .profile-container {
    padding: 10px;
  }

  .profile-form {
    padding: 25px 15px;
  }

  .profile-form h3 {
    font-size: 18px;
  }

  .form-description {
    font-size: 13px;
  }

  .profile-header h2 {
    font-size: 18px;
  }

  .form-group input {
    padding: 12px;
    font-size: 14px;
  }

  .submit-btn {
    padding: 12px;
    font-size: 14px;
  }
}
