.page-header {
  margin-bottom: 24px;
  text-align: center;
}
.brand-logo {
  display: block;
  max-width: min(260px, 80%);
  width: auto;
  height: auto;
  margin: 0 auto 16px;
}
.page-header h1 {
  font-size: 24px;
  font-weight: 600;
  color: #4A4458;
  margin-bottom: 8px;
}
.page-header .subtitle {
  font-size: 14px;
  color: #7A7388;
}

#bug-form .field {
  margin-bottom: 18px;
}
#bug-form label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: #4A4458;
  margin-bottom: 6px;
}
#bug-form .req { color: #E25555; }
#bug-form .optional { color: #9A93A8; font-weight: 400; font-size: 12px; }
#bug-form input[type="text"],
#bug-form input[type="email"],
#bug-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #D8D2E5;
  border-radius: 12px;
  font-family: inherit;
  font-size: 15px;
  color: #4A4458;
  background: #FFFFFF;
  transition: border-color 0.15s;
}
#bug-form input:focus,
#bug-form textarea:focus {
  outline: none;
  border-color: #7B5FBF;
}
#bug-form textarea {
  resize: vertical;
  min-height: 120px;
}
#bug-form input[type="file"] {
  width: 100%;
  padding: 8px;
  border: 1px dashed #D8D2E5;
  border-radius: 12px;
  background: #FFFFFF;
  font-size: 13px;
}
#bug-form .hint {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  color: #9A93A8;
}

.checkbox-field label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.45;
}
.checkbox-field input[type="checkbox"] {
  margin-top: 2px;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  accent-color: #7B5FBF;
}

.btn-primary {
  width: 100%;
  padding: 14px;
  background: #7B5FBF;
  color: #FFFFFF;
  border: none;
  border-radius: 12px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background 0.15s, opacity 0.15s;
}
.btn-primary:hover:not(:disabled) {
  background: #6A4FAE;
}
.btn-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.btn-spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: #FFFFFF;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

.error-msg {
  margin-top: 14px;
  padding: 12px 14px;
  background: #FBEAEA;
  color: #C13C3C;
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.4;
}

.icon-success {
  width: 56px;
  height: 56px;
  border-radius: 28px;
  background: #E8F5EC;
  color: #2A9D5C;
  font-size: 28px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}
.success-hint {
  margin-top: 16px;
  padding: 12px 14px;
  background: #F4EFFF;
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.5;
  color: #4A4458;
  text-align: left;
  max-width: 480px;
}
.success-hint strong {
  color: #6A4FAE;
}
.ref-id {
  font-size: 11px;
  color: #9A93A8;
  font-family: monospace;
  margin-top: 8px;
}

.page-footer {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid #EEE9F5;
  text-align: center;
  font-size: 12px;
  color: #9A93A8;
}
.page-footer strong { color: #4A4458; }

.hidden { display: none !important; }
