/* Fontes */
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&display=swap");

/* Reset e Estilos Gerais */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
.text-success {
    color: #28a745; /* Verde Bootstrap */
    font-weight: bold;
}

.text-danger {
    color: #dc3545; /* Vermelho Bootstrap */
    font-weight: bold;
}
body {
  font-family: "Montserrat", sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f8f9fa;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

a {
  text-decoration: none;
  color: #0099cc;
  transition: color 0.3s ease;
}

a:hover {
  color: #006699;
}

img {
  max-width: 100%;
  height: auto;
}

/* Header */
header {
  background-color: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 15px;
}

.logo img {
  height: 60px;
}

nav ul {
  display: flex;
  list-style: none;
}

nav ul li {
  margin-left: 25px;
}

nav ul li a {
  color: #333;
  font-weight: 500;
  padding: 5px 0;
  position: relative;
}

nav ul li a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  background-color: #0099cc;
  bottom: 0;
  left: 0;
  transition: width 0.3s ease;
}

nav ul li a:hover::after,
nav ul li.active a::after {
  width: 100%;
}

nav ul li.active a {
  color: #0099cc;
}

.menu-toggle {
  display: none;
  font-size: 24px;
  cursor: pointer;
}

/* Login Section */
.login-section {
  padding: 60px 0;
  min-height: calc(100vh - 200px);
  display: flex;
  align-items: center;
}

.login-container {
  display: flex;
  background-color: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.login-image {
  flex: 1;
  background-color: #0099cc;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.login-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.login-form {
  flex: 1;
  padding: 40px;
}

.login-form h2 {
  color: #0099cc;
  margin-bottom: 10px;
  font-size: 28px;
}

.login-form p {
  color: #666;
  margin-bottom: 30px;
}

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

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: #333;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 16px;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #0099cc;
  outline: none;
}

.password-toggle {
  position: absolute;
  right: 15px;
  top: 42px;
  cursor: pointer;
  color: #666;
}

.remember-forgot {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.remember {
  display: flex;
  align-items: center;
}

.remember input {
  margin-right: 8px;
  width: auto;
}

.btn-login {
  background-color: #0099cc;
  color: #fff;
  border: none;
  padding: 12px 20px;
  border-radius: 5px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  width: 100%;
  transition: background-color 0.3s ease;
}

.btn-login:hover {
  background-color: #006699;
}

.login-footer {
  margin-top: 30px;
  text-align: center;
  color: #666;
}

/* Footer */
footer {
  background-color: #222;
  color: #fff;
  padding: 8px 0px 0px 0px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-logo img {
  height: 60px;
}

.footer-info p {
  margin-bottom: 5px;
}

.footer-social a {
  color: #fff;
  margin-left: 15px;
  font-size: 20px;
  transition: color 0.3s ease;
}

.footer-social a:hover {
  color: #0099cc;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
  background-color: #fff;
  margin: 10% auto;
  padding: 30px;
  border-radius: 10px;
  width: 90%;
  max-width: 500px;
  position: relative;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.close {
  position: absolute;
  right: 20px;
  top: 15px;
  font-size: 28px;
  font-weight: bold;
  color: #666;
  cursor: pointer;
}

.close:hover {
  color: #0099cc;
}

/* Responsividade */
@media (max-width: 992px) {
  .login-container {
    flex-direction: column;
  }

  .login-image {
    height: 200px;
  }
}

@media (max-width: 768px) {
  nav ul {
    display: none;
    position: absolute;
    top: 90px;
    left: 0;
    width: 100%;
    background-color: #fff;
    flex-direction: column;
    padding: 20px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
  }

  nav ul.active {
    display: flex;
  }

  nav ul li {
    margin: 10px 0;
  }

  .menu-toggle {
    display: block;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  .footer-logo,
  .footer-info,
  .footer-social {
    margin-bottom: 20px;
  }

  .footer-social a {
    margin: 0 10px;
  }
}

@media (max-width: 576px) {
  .login-form {
    padding: 30px 20px;
  }

  .remember-forgot {
    flex-direction: column;
    align-items: flex-start;
  }

  .forgot {
    margin-top: 10px;
  }
}
