/* Reset e Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Trebuchet MS", Arial, Helvetica, "Open Sans", sans-serif;
  background-color: #f5f5f5;
  color: #333;
  line-height: 1.6;
}

/* Cores dos Correios */
:root {
  --correios-blue: #003087;
  --correios-yellow: #ffe600;
  --correios-blue-light: #277ab8;
  --gray-light: #f8f9fa;
  --gray-medium: #6c757d;
  --gray-dark: #343a40;
}

/* Header */
.header {
  background: white;
  border-bottom: 2px solid var(--correios-yellow);
}

.accessibility-bar {
  background: #f8f9fa;
  padding: 8px 16px;
  font-size: 14px;
  color: var(--correios-blue);
  border-bottom: 1px solid #dee2e6;
}

.accessibility-bar i {
  margin-left: 8px;
}

.main-nav {
  background: #f8f9fa;
  padding: 12px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid var(--correios-yellow);
}

.nav-left {
  display: flex;
  align-items: center;
}

.menu-toggle {
  margin-right: 16px;
  cursor: pointer;
}

.menu-line {
  width: 24px;
  height: 2px;
  background: var(--correios-blue);
  margin-bottom: 4px;
}

.menu-line:last-child {
  margin-bottom: 0;
}

.logo {
  height: 28px;
  width: auto;
}

.login-link {
  color: var(--correios-blue);
  text-decoration: none;
  border-left: 1px solid #6c757d;
  padding-left: 16px;
  display: flex;
  align-items: center;
}

/* Main Content */
.main-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 16px;
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  font-size: 14px;
  color: var(--correios-blue);
  margin-bottom: 24px;
}

.breadcrumb i {
  margin: 0 8px;
}

/* Page Title */
.page-title {
  font-size: 32px;
  font-weight: bold;
  color: var(--correios-blue);
  margin-bottom: 32px;
}

/* Form Section */
.form-section {
  background: var(--gray-light);
  border-radius: 8px;
  padding: 24px;
  margin-bottom: 32px;
}

.form-title {
  text-align: center;
  font-weight: bold;
  margin-bottom: 24px;
  color: var(--correios-blue);
  display: flex;
  align-items: center;
  justify-content: center;
}

.warning-icon {
  color: #dc3545;
  margin-right: 8px;
}

.cpf-form {
  max-width: 500px;
  margin: 0 auto;
}

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

.form-label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: #495057;
  margin-bottom: 8px;
}

.form-input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #ced4da;
  border-radius: 4px;
  font-size: 16px;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-input:focus {
  outline: none;
  border-color: var(--correios-blue);
  box-shadow: 0 0 0 2px rgba(0, 48, 135, 0.2);
}

.form-submit {
  display: flex;
  justify-content: center;
}

.submit-btn {
  background: var(--correios-blue);
  color: white;
  padding: 12px 32px;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.15s ease-in-out;
  display: flex;
  align-items: center;
}

.submit-btn:hover {
  background: #002266;
}

.submit-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.loading-spinner {
  display: flex;
  align-items: center;
}

.spinner {
  width: 16px;
  height: 16px;
  border: 2px solid transparent;
  border-top: 2px solid white;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-right: 8px;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Banner */
.banner-section {
  margin-bottom: 32px;
}

.banner-img {
  width: 100%;
  border-radius: 8px;
}

/* Footer */
.footer {
  background: var(--correios-yellow);
  color: var(--correios-blue);
  padding: 32px 0;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 32px;
}

.footer-column h3 {
  font-weight: bold;
  margin-bottom: 16px;
}

.footer-column ul {
  list-style: none;
}

.footer-column li {
  margin-bottom: 8px;
  font-size: 14px;
  display: flex;
  align-items: center;
}

.footer-column i {
  margin-right: 8px;
  width: 16px;
}

.footer-bottom {
  text-align: center;
  margin-top: 32px;
  padding-top: 16px;
  border-top: 1px solid rgba(0, 48, 135, 0.2);
}

/* Responsive */
@media (max-width: 768px) {
  .main-content {
    padding: 16px;
  }

  .page-title {
    font-size: 24px;
  }

  .nav-right {
    display: none;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* Utilities */
.text-center {
  text-align: center;
}

.mb-4 {
  margin-bottom: 16px;
}

.mb-6 {
  margin-bottom: 24px;
}

.hidden {
  display: none;
}
