* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: public sans, sans-serif !important;


}

body {
  font-family: 'Source Sans Pro', Arial, sans-serif;
  background-color: #f4f4f4;
  color: #000;
  line-height: 1.6;
}

.uscis-logo {
  height: 13px;
  width: 23px;
  margin-bottom: 5px;
}

.util-link.last {
    margin-left: 12px;
    margin-right: 0;
    color: #069;
    display: flex;
    align-items: center;
    }

.container {
  max-width: 65rem;
  margin: 0px auto;
  /* padding: 20px; */
}

/* BANDA SUPERIOR */
.top-banner {
  background-color: #F9F9F9;
  font-family: Source Sans Pro Web, Helvetica Neue, Helvetica, Roboto, Arial, sans-serif;
  font-size: .50rem;
  line-height: 1.1;
}

.top-banner-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  color: #333;
}

.top-banner .left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.verify-link {
  margin-left: 10px;
  color: #005ea2;
  text-decoration: none;
}

.verify-link:hover {
  text-decoration: underline;
}

.top-banner .right a {
  color: #005ea2;
  margin-left: 10px;
  text-decoration: none;
}

.top-banner .right a:hover {
  text-decoration: underline;
}

/* HEADER */
.uscis-header {
  position: relative;
  background-color: white;
  border-bottom: 1px solid #ddd;
  padding: 10px 0 0px;
  box-shadow: 0 3px 6px #00000029;
}

.uscis-title {
  font-size: 20px;
  color: #00365c;
  line-height: 1.2;
  margin-bottom: 10px;
}

/* MENÚ PRINCIPAL */
.nav-menu {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  padding: 0;
  margin: 0;
}

.nav-menu li {
  margin: 0;
  position: relative;
}

.nav-menu a {
  display: block;
  padding: 12px 14px;
  text-decoration: none;
  color: #005ea2;
  font-weight: bold;
  font-size: 16px;
}

/* MENÚ DESPLEGABLE */
.dropdown.full-width {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background-color: #003366;
  padding: 30px 0;
  display: none;
  z-index: 1000;
  border-top: 1px solid #ccc;
}

.dropdown.full-width.active {
  display: block;
}

.dropdown-inner {
  background-color: #003366;
  color: white;
  width: 100%;
}

.dropdown-inner .container {
  display: flex;
  flex-direction: column;
}

.uscis-n {
  font-size: 26px;
  font-weight: bold;
  margin-bottom: 20px;
  border-bottom: 1px solid #ccc;
  padding-bottom: 8px;
  color: white;
}

.dropdown-columns {
  display: flex;
  flex-wrap: nowrap;
  gap: 40px;
  align-items: flex-start; /* Alinea todas las columnas arriba */
}

.dropdown-column {
  flex: 1;
  min-width: 180px;
  display: flex;
  flex-direction: column;
  gap: 8px; /* espaciado uniforme entre h4 y enlaces */
}

.dropdown-column h3 {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 6px;
  color: white;
}

.dropdown-column a {
  color: white;
  text-decoration: none;
  font-size: 14px;
  line-height: 1.5;
  padding: 0px 0px 0px 10px;
}

.dropdown-column a:hover {
  text-decoration: underline;
}

/* CONTENIDO PRINCIPAL */
.main-content h1 {
  margin: 30px 0 10px;
  font-size: 28px;
  color: #000;
  
}

.main-content {
background-color: #fff;
    padding-top: 10px;
    padding-bottom: 20px;    
    margin-left: auto;
    margin-right: auto;
    max-width: 64rem;
    padding-left: 1rem;
    padding-right: 1rem;
  
}

.grid-container{
  padding-left: 2rem;
  padding-right: 2rem;

}

.status-box {
  border: 2px solid #dfe1e2;
    border-radius: 1%;
    padding: 20px;
}

.status-box h2 {
  font-size: 22px;
  margin-bottom: 10px;
}

.status-box p {
  margin: 10px 0;
}

.status-box em {
  display: block;
  font-size: 16px;
  line-height: normal;
}

.status-box strong {
  font-weight: bold;
}

.status-box label {
  display: block;
  margin-top: 15px;
  margin-bottom: 5px;
}

.status-box input[type="text"] {
  width: 52%;
  padding: 10px;
  font-size: 16px;
  border: 1px solid #000000;
}

.btn-check {
  margin-top: 15px;
  padding: 10px 25px;
  font-size: 16px;
  background-color: #c9c9c9;
  border: none;
  color: #454545;
  border-radius: 4px;
  cursor: pointer;
}

.btn-check:hover {
  background-color: #bbb;
}

.login-links {
  margin-top: 20px;
  font-size: 14px;
}

.login-links a {
  color: #005288;
  text-decoration: none;
}

.login-links a:hover {
  text-decoration: underline;
}

/* FOOTER */
.site-footer {
  margin-top: 40px;
  background-color: #f1f1f1;
  text-align: center;
  padding: 15px;
  font-size: 14px;
  color: #555;
}


.menu-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: bold;
  color: #005288;
  font-size: 16px;
  text-decoration: none;
  line-height: 1;
  padding: 12px 14px;
}

.menu-toggle .chevron {
  display: inline-block;
  width: 6px;
  height: 6px;
  border: solid currentColor;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  margin-bottom: 3px; /* Ajusta verticalmente si hace falta */
}

.dropdown {
  display: none;
}
.dropdown.active {
  display: block;
}


.form-group {
  max-width: 450px;
}

label {
  display: block;
  font-size: 16px;
  margin-bottom: 8px;
}

.input-wrapper {
  margin-bottom: 15px;
}

input[type="text"] {
  width: 100%;
  font-size: 18px;
  padding: 10px 12px;
  border: 1px solid #666;
  border-radius: 2px;
  box-sizing: border-box;
  transition: box-shadow 0.2s, border-color 0.2s;
}

input[type="text"]:focus {
  outline: none;
  border-color: #0066cc;
  box-shadow: 0 0 0 3px rgba(0,102,204,0.2);
}


button {
  padding: 12px 24px;
  font-size: 16px;
  color: #fff;
  background-color: #005ea2;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

button:disabled {
  background-color: #c8c8c8;
  cursor: not-allowed;
}

.error-container {
  display: none;
  border-left: 4px solid #a40000;
  padding-left: 12px;
  margin-bottom: 10px;
}

.error-message {
  color: #a40000;
  font-weight: bold;
  margin: 0;
}

.has-error input {
  border-color: #a40000;
  box-shadow: none; /* evita que sobresalga con sombras */
  width: 100%; /* asegura que no cambie su ancho */
  box-sizing: border-box; /* mantiene dimensiones internas consistentes */
}

.footer-links {
  display: flex;
  justify-content: space-between;
  padding: 1rem 0 0.25rem;
  font-size: 0.875rem;
  color: #005ea2;
}

.footer-links a {
  color: #005ea2;
  text-decoration: none;
  font-weight: 500;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-divider {
  border: none;
  border-top: 3px solid #d6d7d9;
  margin-top: 0.5rem;
}

.tools-title {
  font-size: 1.5rem;
  font-weight: bold;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: #000;
}

.card {
  display: flex;
  border: 1px solid #ddd;
  border-radius: 6px;
  overflow: hidden;
  background-color: #fff;
  max-width: 1000px;
  margin: 1rem auto;
}

.card-img {
  width: 250px;
  height: auto;
  object-fit: cover;
  display: block;
  margin: 0;
  padding: 0;
}

.card-content {
  padding: 1.5rem;
  flex: 1;
}

.card-content h3 {
  margin-top: 0;
  font-size: 1.25rem;
}

.card-content p {
  margin: 0.75rem 0;
  line-height: 1.5;
}

.card-content a {
  color: #005ea2;
  text-decoration: none;
}

.card-content a:hover {
  text-decoration: underline;
}

.btn {
  margin-top: 1rem;
  background-color: #005ea2;
  color: white;
  padding: .75rem 1.25rem;
  font-size: 1rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.btn:hover {
  background-color: #004b91;
}

.loqs-container {
  display: flex;
  gap: 20px;
  justify-content: center;
  padding: 30px 0;
}

.loq {
  width: 300px;
  background-color: white;
  border: 1px solid #ddd;
  box-shadow: 0 0 3px rgba(0,0,0,0.1);
  border-radius: 5px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.loq img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.loq-content {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.loq-content h3 {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 10px;
}

.loq-content p {
  font-size: 14px;
  margin-bottom: 20px;
  color: #333;
}

.btn-blue {
  display: inline-block;
  padding: .75rem 1.25rem;
  background-color: #005ea2;
  color: white;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 500;
  text-align: center;
  width: 65%;
}


.go-up {
  margin-left: auto;
  margin-right: auto;
  max-width: 64rem;
  padding-left: 1rem;
  padding-right: 1rem;
  padding: 15px 39px;
}

.go-up a {
  color: #005ea2;
  text-decoration: underline;
  font-size: 18px;
}

.footer-nav {
  background: #f2f2f2;
  border-top: 1px solid #dcdcdc;
  padding: 10px 0;
}

.footer-nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 50px;
  padding: 0;
  margin: 0;
}

.footer-nav li a {
  color: black;
  font-weight: bold;
  text-decoration: none;
  font-size: 17px;
}

.footer-top {
background: #e4e4e4;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 296px;
    flex-wrap: wrap;
}

.footer-logo img {
  max-width: 300px;
    width: 291px;
}

.footer-social {
  text-align: right;
}

.social-icons {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

.social-icons a {
  display: inline-block;
  background: #ccc;
  border-radius: 2px;
}

.social-icons img {
    height: 2.5rem;
    width: 3rem;
}

.contact-us {
  color: #005ea2;
  font-size: 25px;
}


.footer-bottom {
  background-color: #005288;
  color: white;
  padding: 35px 346px;
  font-family: Arial, sans-serif;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.footer-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}

.footer-header img {
  height: 50px;
}

.footer-header strong {
  font-size: 18px;
}

.footer-header span {
  font-size: 14px;
}

.footer2-links {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

.footer2-links .column {
  display: flex;
  flex-direction: column;
}

.footer2-links a {
  color: #c0c2c4;
  text-decoration: underline;
  font-size: 16px;
}

.footer2-right {
  margin-top: -10px;
  text-align: center;
}

.ntas-box {
  background-color: #0077b8;
  width: 170px;
  height: 190px;
}

.ntas-box img {
  width: 170px;
  height: 121px;
}

.ntas-title {
  font-size: 12px;
  text-align: center;
  margin: 0;
}

.ntas-bulletin {
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  margin: 10px 0;
}

.ntas-link {
  display: block;
  font-size: 11px;
  color: white;
  text-decoration: underline;
  text-align: center;
}


.spinner {
  border: 4px solid #f3f3f3;
  border-top: 4px solid #3498db;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: spin 0.6s linear 0s infinite;
  margin: auto;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}