/***************************************************/
:root{
  --principal-gradiente: linear-gradient(116deg, #00534b -0.95%, #0c4e47 100%);}

body {
  font-family: "Poppins", Arial, sans-serif;
  line-height: 1.8;
  font-weight: normal;
  background: #fff;
  color: gray;
  background: var(--principal-gradiente); /* Use the gradient variable */

}


a {
  -webkit-transition: 0.3s all ease;
  -o-transition: 0.3s all ease;
  transition: 0.3s all ease;
  color: #2f89fc;
}
a:hover,
a:focus {
  text-decoration: none !important;
  outline: none !important;
  -webkit-box-shadow: none;
  box-shadow: none;
  color: #00534b;
}

.form-control:focus {
  border-color: #00534b;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px #00534b;
}

input {
  transition: all 0.3s ease; /* Smooth transition for input changes */
  border: 1px solid gray; /* Default border color */
  color: gray; /* Default text color */
  padding: 0.5rem;
  outline: none; /* Remove default outline */
}

/* Input Hover and Focus Styling */
input:hover,
input:focus {
  border-color: #00534b; /* Match the button's border color */
  box-shadow: 0 0 5px rgba(0, 83, 75, 0.5); /* Subtle shadow to match button style */
  outline: none; /* Remove default browser outline */
}

.form-control::placeholder {
  color: #00534b;
  opacity: 1; /* Firefox */
}


.btn-custom {
  background-color: #00534b;
  color: white;
  border: 2px solid #00534b;
  transition: all 0.3s ease;
}

.btn-custom:hover {
  color:white;
  background-color: #00897b;
  border-color: #00534b;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transform: translateY(-2px); 
}

.btn-secondary {
  background-color: white;
  color: black;
  border: solid 1px;
  padding: 5px 20px;
  border-radius: 5px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.btn-secondary:hover {
  background-color: #00473f;
  color: white;
}

.btn-secondary:focus {
  box-shadow: none !important;
  outline: none;
}

.btn-secondary:active {
  background-color: #00473f;
  color: white;
  box-shadow: none !important;
  outline: none;
}

.btn-secondary:not(:active):not(:hover) {
  background-color: white;
  color: black;
}

#nav1 {
  background-color: #094944 !important;
  height: 70px;
}

#navbar-brand {
  margin-left: -80px;
}

#logo {
  width: 150px;
  margin-left: 100px;
  margin-top: -15px;
  margin-bottom: -15px;
}

.card-title {
  font-family: "Poppins", Arial, sans-serif !important;
  font-size:4vh;
  color: black;
}

.card-instrucoes {
background: white !important;
backdrop-filter: blur(20px);
}


.arrow-left {
  max-width: 30.3472%;
  position: fixed;
  bottom: -5px;
  left: -5px;
  flex-shrink: 0;
  z-index: -1;
}

.arrow-right {
  max-width: 39.4%;
  position: fixed;
  top: 0;
  right: -10px;
  flex-shrink: 0;
  z-index: -1;
}

/* Base styles for larger screens */
#zoom-card {
  width: 600px;
  min-width:600px;
  height: 780px;
  min-height: 780px;
}

#card-validacao-title{
  font-size: 30px !important; 
}
#cpf{
  font-size: 15 !important;
}
input, button,i,p {
  font-size: 15px !important; 
}


@media (max-width: 768px) {
  #zoom-card {
    transform: scale(0.9); 
  }
}

@media (max-width: 576px) {
  #zoom-card {
    transform: scale(0.65); 
  }
}

@media (max-width: 400px) {
  #zoom-card {
    transform: scale(0.5); 
  }
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7); 
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}


.overlay-alert {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 1050; 
  display: none;
}

.instruction-message {
  max-width: 250px;
  margin-bottom: 10px; 
}

.video-container {
  position: relative;
  width: 300px;
  height: 400px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #fff; 
  border-radius: 50% / 60%; 
  overflow: hidden; 
  border: 5px solid #fff;
  margin-bottom: 20px;
}

.close-button {
  background-color: white; 
  color: black;
  border: 2px solid black;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 20px;
  cursor: pointer; 
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1001;
}

.alert-dialog {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  margin: 0;
}

.alert-content {
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  max-width: 400px;
  margin: 0 auto;
  text-align: center;
  background-color: white;
}

.alert-header {
  margin-bottom: 20px;
}

.alert-icon {
  max-width: 100px;
  margin-bottom: 20px;
}

.alert-title {
  font-size: 24px;
  font-weight: bold;
  color: black;
  margin-bottom: 10px;
}

.alert-subtitle {
  font-size: 16px;
  color: black;
  margin-bottom: 30px;
}


.alert-footer {
  margin-top: 20px;
}

.alert-footer .alert-btn:hover {
  background-color: #003831;
  cursor: pointer;
}

@media (max-width: 768px) {
  .alert-content {
      max-width: 90%;
  }
}