/* Global Styles - Pieri Tech */

/* Base */
html, body {
  height: 100%;
}

body {
  background-color: #f8f9fa;
  margin: 0;
  padding: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Navigation */

.navbar {
  min-height: 52px !important;
  height: 52px !important;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0,0,0,0.03);
  border-bottom: 1px solid #f0f0f0;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.navbar-brand {
  font-weight: 600;
  color: #0d6efd !important;
  font-size: 1.25rem;
  padding-top: 0;
  padding-bottom: 0;
  line-height: 52px;
}

/* Reduz o espaçamento lateral da navbar */
.navbar .container {
  max-width: 1200px !important;
  padding-left: 1rem !important;
  padding-right: 1rem !important;
  margin: 0 auto !important;
  min-height: 52px !important;
  height: 52px !important;
  align-items: center;
}

.navbar-nav .nav-link, .navbar .dropdown-toggle {
  padding-top: 0;
  padding-bottom: 0;
  line-height: 52px;
  font-size: 1rem;
}

.navbar .dropdown-menu {
  margin-top: 4px;
}

/* Cards */
.card {
  border: none;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.08);
}

.card-body {
  padding: 2rem;
}

.card-title {
  font-size: 1.5rem;
  text-align: center;
  font-weight: 700;
  margin-bottom: 1rem;
}

.card-text {
  text-align: center;
  color: #6c757d;
}

/* Forms */
.form-control {
  border-radius: 8px;
  border: 1px solid #dee2e6;
  padding: 0.75rem;
}

.form-control:focus {
  border-color: #0d6efd;
  box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

/* Buttons */
.btn-primary, .btn-outline-primary {
  border-radius: 8px;
  padding: 0.75rem 2rem;
  font-weight: 500;
  font-size: 1.1rem;
  transition: box-shadow 0.2s;
}

.btn-primary:focus, .btn-outline-primary:focus {
  box-shadow: 0 0 0 0.2rem rgba(13,110,253,.25);
}

/* Input Groups */
.input-group-text {
  border-radius: 8px 0 0 8px;
}

/* Back Button Styling */
.back-button {
  border-radius: 16px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.07);
  z-index: 2;
  font-weight: 500;
  border: 1px solid #e0e0e0;
}

.back-button i {
  font-size: 1.1rem;
}

/* Text */
.text-center a {
  text-decoration: none;
}

/* Melhorias gerais para centralização */
.container, .container-fluid {
  margin-left: auto;
  margin-right: auto;
}

/* Responsividade geral */
@media (max-width: 768px) {
  .container {
    max-width: 100%;
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

@media (min-width: 768px) {
  .container {
    max-width: 750px;
  }
}

@media (min-width: 992px) {
  .container {
    max-width: 970px;
  }
}

@media (min-width: 1200px) {
  .container {
    max-width: 1170px;
  }
}
