* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: #ECF0F4;
  min-height: 100vh;
}

.container {
  display: flex;
  min-height: 100vh;
}


.left-side {
  flex: 1;
  background: url('https://images.unsplash.com/photo-1713689824343-77d2f99e19b8?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=M3w3Nzg4Nzd8MHwxfHNlYXJjaHwxfHxmaXJlZmlnaHRlciUyMHByb2Zlc3Npb25hbCUyMHRyYWluaW5nfGVufDF8fHx8MTc3Mzc4NTY2OXww&ixlib=rb-4.1.0&q=80&w=1080') center/cover;
  position: relative;
  display: none;
}

@media (min-width: 1024px) {
  .left-side {
    display: flex;
  }
}

.overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(51, 81, 99, 0.95) 0%, rgba(51, 81, 99, 0.85) 100%);
}

.left-content {
  position: relative;
  z-index: 10;
  padding: 48px;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
}

.logo-section {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
}

.logo-img {
  width: 64px;
  height: 64px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
}

.logo-text h1 {
  font-size: 28px;
  font-weight: 700;
}

.logo-text p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
}

.features {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.feature {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-icon svg {
  width: 24px;
  height: 24px;
  stroke: white;
  fill: none;
  stroke-width: 2;
}

.feature-text h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 4px;
}

.feature-text p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
}

.copyright {
  margin-top: 32px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
}


.right-side {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
}

.form-container {
  width: 100%;
  max-width: 448px;
}

.mobile-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 32px;
}

@media (min-width: 1024px) {
  .mobile-logo {
    display: none;
  }
}

.mobile-logo-img {
  width: 80px;
  height: 80px;
  background: #335163;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  color: white;
  margin-bottom: 12px;
}

.mobile-logo h1 {
  font-size: 24px;
  font-weight: 700;
  color: #335163;
  margin-bottom: 4px;
}

.mobile-logo p {
  font-size: 14px;
  color: #666666;
}

.card {
  background: white;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
  padding: 32px;
}

.card-header {
  text-align: center;
  margin-bottom: 32px;
}

.card-header h2 {
  font-size: 24px;
  font-weight: 700;
  color: #333333;
  margin-bottom: 8px;
}

.card-header p {
  font-size: 14px;
  color: #666666;
}

.error-message {
  background: #FFEBEE;
  border: 1px solid #F14D41;
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 24px;
  display: none;
  align-items: center;
  gap: 12px;
}

.error-message.show {
  display: flex;
}

.error-message svg {
  flex-shrink: 0;
}

.error-message p {
  font-size: 14px;
  font-weight: 700;
  color: #C62828;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #333333;
  margin-bottom: 8px;
}

.input-wrapper {
  position: relative;
}

.input-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #666666;
}

.form-group input {
  width: 100%;
  padding: 12px 16px 12px 48px;
  border: 2px solid #ECF0F4;
  border-radius: 8px;
  font-size: 16px;
  color: #333333;
  transition: border-color 0.2s;
  font-family: inherit;
}

.form-group input:focus {
  outline: none;
  border-color: #335163;
}

.toggle-password {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: #666666;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.toggle-password:hover {
  opacity: 0.7;
}

.form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 14px;
  color: #666666;
}

.checkbox-label input {
  width: 16px;
  height: 16px;
  cursor: pointer;
  accent-color: #335163;
}

.forgot-link {
  font-size: 14px;
  font-weight: 700;
  color: #335163;
  text-decoration: none;
}

.forgot-link:hover {
  text-decoration: underline;
}

.submit-btn {
  width: 100%;
  padding: 12px;
  background: #335163;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}

.submit-btn:hover {
  box-shadow: 0 4px 16px rgba(51, 81, 99, 0.3);
}

.submit-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.card-footer {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid #ECF0F4;
  text-align: center;
}

.card-footer p {
  font-size: 12px;
  color: #666666;
}

.fontes-logo {
  margin-top: 32px;
  text-align: center;
  opacity: 0.6;
}

.fontes-logo p {
  font-size: 12px;
  color: #666666;
}


.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}

.modal-overlay.show {
  display: flex;
}

.modal-content {
  background: white;
  border-radius: 12px;
  padding: 5px;
  max-width: 400px;
  width: 90%;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.modal-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.modal-header svg {
  flex-shrink: 0;
}

.modal-header h3 {
  font-size: 18px;
  font-weight: 700;
  color: #333333;
}

.modal-body p {
  font-size: 14px;
  color: #666666;
  margin-bottom: 20px;
}

.modal-footer {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}

.modal-btn {
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
}

.modal-btn-cancel {
  background: #ECF0F4;
  color: #666666;
}

.modal-btn-cancel:hover {
  background: #dde1e5;
}

.modal-btn-confirm {
  background: #335163;
  color: white;
}

.modal-btn-confirm:hover {
  box-shadow: 0 2px 8px rgba(51, 81, 99, 0.3);
}

.fontes-logo {
  margin-top: 32px;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0.5; 
  transition: opacity 0.3s ease; 
  cursor: pointer;
}

.fontes-logo:hover {
  opacity: 1; 
}

.logo-rodape {
  max-width: 140px; 
  height: auto;
  object-fit: contain;
}