/* Core palette based on WatchGuard brand guidelines */
:root {
  --wg-red: #E81410;
  --wg-red-dark: #B32317;
  --wg-dark-blue: #002663;
  --wg-blue: #035996;
  --wg-dark-gray: #333333;
  --wg-gray: #808080;
  --wg-light-gray: #F5F5F5;
  --wg-white: #FFFFFF;
  --wg-green: #2A8F48;
}

body {
  margin: 0;
  font-family: 'Roboto', sans-serif;
  background-color: var(--wg-light-gray);
  color: var(--wg-dark-gray);
  line-height: 1.5;
}

/* Top navigation bar */
.nav-bar {
  background-color: var(--wg-white);
  border-bottom: 1px solid #E0E0E0;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-bar .logo {
  height: 32px;
}

/* Hero section */
.hero {
  background-color: var(--wg-red);
  color: var(--wg-white);
  padding: 48px 24px;
  text-align: center;
}
.hero h1 {
  margin: 0;
  font-size: 32px;
  font-weight: 700;
}
.hero p {
  margin: 12px auto 0;
  max-width: 640px;
}

/* Main content */
.main-content {
  max-width: 960px;
  margin: 0 auto;
  padding: 40px 24px;
}

.card {
  background-color: var(--wg-white);
  border: 1px solid var(--wg-red);
  border-radius: 8px;
  padding: 32px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, .06);
  margin-bottom: 24px;
}

.section-title {
  margin: 0 0 24px;
  font-size: 24px;
  font-weight: 700;
  color: var(--wg-dark-blue);
}

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

label {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--wg-dark-gray);
}

input[type="text"],
input[type="email"],
input[type="tel"],
select {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 14px;
  font-family: inherit;
  box-sizing: border-box;
}

input[type="file"] {
  width: 100%;
  padding: 8px;
  font-size: 14px;
  box-sizing: border-box;
}

.logo-preview {
  margin-top: 10px;
  max-width: 200px;
  max-height: 80px;
  display: none;
  border: 1px solid #ddd;
  padding: 4px;
  border-radius: 4px;
}

/* Assessment Table */
.assessment-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 16px;
}
.assessment-table th {
  background: var(--wg-red);
  color: white;
  padding: 12px;
  text-align: left;
  font-weight: 600;
  font-size: 14px;
}
.assessment-table td {
  padding: 12px;
  border-bottom: 1px solid #e0e0e0;
  font-size: 14px;
}
.assessment-table tr:nth-child(even) {
  background: #f9f9f9;
}
.assessment-table select {
  width: 120px;
  padding: 6px;
}

/* Buttons */
.btn-container {
  display: flex;
  justify-content: space-between;
  margin-top: 32px;
  gap: 16px;
}
.btn {
  padding: 12px 32px;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color .3s;
  text-align: center;
  color: var(--wg-white);
}
.btn-primary {
  background-color: var(--wg-red);
}
.btn-primary:hover {
  background-color: var(--wg-red-dark);
}
.btn-secondary {
  background-color: var(--wg-gray);
}
.btn-secondary:hover {
  background-color: var(--wg-dark-gray);
}
.btn:disabled {
  background-color: #ccc;
  cursor: not-allowed;
}

/* Step Progress */
.step {
  display: none;
}
.step.active {
  display: block;
}
.progress-bar {
  display: flex;
  justify-content: space-between;
  margin-bottom: 32px;
  position: relative;
}
.progress-bar::before {
  content: '';
  position: absolute;
  top: 20px;
  left: 0;
  right: 0;
  height: 2px;
  background: #e0e0e0;
  z-index: 0;
}
.progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 1;
  flex: 1;
}
.progress-step-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #e0e0e0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #999;
  margin-bottom: 8px;
}
.progress-step.completed .progress-step-circle {
  background: var(--wg-green);
  color: white;
}
.progress-step.active .progress-step-circle {
  background: var(--wg-red);
  color: white;
}
.progress-step-label {
  font-size: 12px;
  text-align: center;
  color: var(--wg-gray);
}
.progress-step.active .progress-step-label {
  color: var(--wg-dark-blue);
  font-weight: 600;
}

/* Results Display */
.results-summary {
  background: var(--wg-light-gray);
  border-left: 4px solid var(--wg-blue);
  padding: 24px;
  border-radius: 4px;
  margin-bottom: 24px;
}
.results-summary h3 {
  margin: 0 0 16px;
  color: var(--wg-dark-blue);
}
.score-display {
  font-size: 48px;
  font-weight: 700;
  color: var(--wg-red);
  text-align: center;
  margin: 24px 0;
}
.domain-status {
  display: flex;
  gap: 16px;
  margin-top: 16px;
  flex-wrap: wrap;
}
.domain-badge {
  padding: 8px 16px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 14px;
}
.domain-badge.pass {
  background: #d4edda;
  color: #155724;
}
.domain-badge.fail {
  background: #f8d7da;
  color: #721c24;
}

/* Info Boxes */
.info-box {
  background: #fff5f5;
  padding: 16px;
  margin: 16px 0;
  border-radius: 4px;
  font-size: 14px;
  line-height: 1.6;
}
.assessment-intro {
  margin-bottom: 20px;
  line-height: 1.6;
}
.assessment-intro ul {
  margin: 12px 0;
  padding-left: 24px;
}
.assessment-intro li {
  margin-bottom: 8px;
}
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
/* style.css (Adicionar ao final) */

.success-actions {
  display: flex;
  align-items: center;
  gap: 16px; /* Espaço entre o texto e o botão */
}

.success-text {
  font-size: 16px;
  font-weight: 600;
  color: var(--wg-green); /* Usa a cor verde da sua paleta */
}

/* Garante que o link de download se pareça exatamente com um botão */
.success-actions .btn-primary {
  text-decoration: none;
}