:root {
  --primary-color: #0035ad;
  --secondary-color: #fccf00;
  --accent-color: #00aaff;
  --text-color: #333;
  --bg-gradient: linear-gradient(135deg, #0035ad 0%, #001a57 100%);
  --glass-bg: rgba(255, 255, 255, 0.9);
  --glass-border: rgba(255, 255, 255, 0.2);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Inter", "Roboto", sans-serif;
  background: var(--bg-gradient);
  background-attachment: fixed;
  color: var(--text-color);
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.application-container {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  width: 100%;
  max-width: 900px;
  padding: 40px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Header Styles */
.header {
  text-align: center;
  margin-bottom: 30px;
}

.header img {
  max-width: 50px;
  width: 100%;
  height: auto;
  margin-bottom: 20px;
}

.header h1 {
  font-size: 32px;
  color: var(--primary-color);
  margin-bottom: 15px;
  font-weight: 800;
}

/* Scroll to Top Button */
#scrollToTop {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--primary-color);
  color: white;
  border: none;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 24px;
  z-index: 1000;
  transition: 0.3s;
  opacity: 0;
  visibility: hidden;
}

#scrollToTop.show {
  opacity: 1;
  visibility: visible;
}

#scrollToTop:hover {
  background: var(--accent-color);
  transform: scale(1.1);
}

/* Inline Validation Styles */
.invalid-field {
  border-color: #dc3545 !important;
  box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1) !important;
}

.error-message {
  color: #dc3545;
  font-size: 11px;
  margin-top: 5px;
  display: block;
}

/* Character Counter */
.char-counter {
  text-align: right;
  font-size: 11px;
  color: #888;
  margin-top: 4px;
}

.char-counter.near-limit {
  color: #f0ad4e;
}

.char-counter.at-limit {
  color: #dc3545;
}

h2 {
  color: var(--primary-color);
  font-size: 22px;
  margin-bottom: 25px;
  border-bottom: 2px solid var(--secondary-color);
  padding-bottom: 10px;
  display: inline-block;
}

.stepper {
  display: none;
}

.stepper::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 2px;
  background: #ddd;
  z-index: 1;
}

.step {
  width: 40px;
  height: 40px;
  background: #fff;
  border: 2px solid #ddd;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
  font-weight: bold;
  transition: 0.3s;
}

.step.active {
  background: var(--primary-color);
  color: #fff;
  border-color: var(--primary-color);
}

.step.completed {
  background: var(--secondary-color);
  color: var(--primary-color);
  border-color: var(--secondary-color);
}

.form-section {
  display: block;
  margin-bottom: 60px;
  padding-bottom: 40px;
  border-bottom: 1px dashed #eee;
}

.form-section:last-of-type {
  border-bottom: none;
  margin-bottom: 0;
}

.upload-container {
  background: #fff;
  border: 1px solid #eee;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.recommended-box {
  background: #fdf8e4;
  padding: 20px;
  border-radius: 10px;
  margin-top: 25px;
  border-left: 5px solid #f0ad4e;
}

.recommended-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.recommended-box li {
  margin-bottom: 8px;
  font-size: 13px;
}

.input-group {
  margin-bottom: 20px;
}

label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  font-size: 14px;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
select,
textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 16px;
  transition: 0.3s;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(0, 53, 173, 0.1);
}

.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 40px;
  padding-top: 25px;
  border-top: 1px solid #ddd;
  gap: 15px;
}

#nextBtn,
#submitBtn {
  margin-left: auto;
}

.btn {
  padding: 12px 25px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
}

.btn-primary {
  background: var(--primary-color);
  color: #fff;
}

.btn-secondary {
  background: #eee;
  color: #666;
}

.btn:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.file-upload {
  border: 2px dashed var(--primary-color);
  background: rgba(0, 53, 173, 0.02);
  padding: 40px;
  border-radius: 15px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.file-upload:hover {
  border-color: var(--accent-color);
  background: rgba(0, 53, 173, 0.05);
  transform: translateY(-2px);
}

@media (max-width: 600px) {
  .grid {
    grid-template-columns: 1fr;
  }
}
.radio-scale {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f8f9fa;
  padding: 15px 20px;
  border-radius: 10px;
  border: 1px solid #eee;
  margin-top: 10px;
  flex-wrap: wrap;
  gap: 10px;
}

.radio-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  min-width: 40px;
}

.radio-item input[type="radio"] {
  cursor: pointer;
  width: 20px;
  height: 20px;
  margin: 0;
}

.radio-item span {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary-color);
}

.scale-label {
  display: flex;
  justify-content: space-between;
  width: 100%;
  margin-top: 5px;
  font-size: 11px;
  color: #666;
  font-weight: 600;
  text-transform: uppercase;
}

@media (max-width: 600px) {
  .radio-scale {
    justify-content: center;
  }
}
