.app-wrapper .main-panel {
  float: none;
  width: 100%;
}

.app-wrapper .main-panel > .content {
  min-height: calc(100% - 168px);
}

.app-wrapper .navbar {
  padding: 3.2rem 4.5rem;
}

.navbar-logo {
  width: 128px;
}

.navbar-logo svg {
  width: 100%;
}

.input-group-prepend {
  margin-right: -1px;
}

.input-group-text {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  padding: 0.375rem 0.75rem;
  margin-bottom: 0;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #495057;
  text-align: center;
  white-space: nowrap;
  background-color: #e9ecef;
  border: 1px solid #ced4da;
  border-radius: 0.25rem 0 0 0.25rem;
}

.btn:hover {
  cursor: pointer;
}

.btn-link:hover {
  cursor: pointer;
}

.pix-container {
  width: 300px;
}

#id_btn_copy:hover {
  cursor: pointer;
}

.footer-info {
  float: left;
  color: #777777;
  padding: 10px 15px;
  margin: 3px;
  line-height: 20px;
  font-size: 14px;
}

.whatsapp-button {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 1000;
  border-radius: 50%;
  width: 75px;
  height: 75px;
  background-color: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.whatsapp-button img {
  width: 70px;
  height: 70px;
}

.whatsapp-button:hover {
  transform: scale(1.1);
  transition: transform 0.2s;
}

.modal.show .modal-dialog {
  -webkit-transform: translate(0, 0);
  -o-transform: translate(0, 0);
  transform: translate(0, 0);
}

.card-user {
  text-align: center;
}

.card-user .author {
  margin-bottom: 20px;
}

.card-user .avatar {
  width: 80px;
  height: 80px;
  margin: 0 auto 15px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #f4f4f4;
}

.card-user .avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-user .title {
  margin-bottom: 5px;
  font-weight: 600;
  color: #333;
}

.card-user .description {
  color: #666;
  margin-bottom: 0;
}

.info-item {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  padding: 8px 0;
}

.info-item i {
  margin-right: 10px;
  color: #8b6755;
  width: 16px;
}

.info-card {
  display: flex;
  align-items: center;
  padding: 20px;
  margin-bottom: 20px;
  background: #f8f9fc;
  border-radius: 8px;
  border-left: 4px solid #8b6755;
  transition: all 0.3s ease;
}

.info-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.info-icon {
  margin-right: 15px;
  width: 40px;
  height: 40px;
  background: #8b6755;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.info-content h6 {
  margin: 0 0 5px 0;
  font-weight: 600;
  color: #333;
}

.info-content p {
  margin: 0;
  color: #666;
}

.button-container {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.btn-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.badge {
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
}

.badge-info {
  background-color: #17a2b8;
  color: white;
}

.badge-success {
  background-color: #28a745;
  color: white;
}

.badge-danger {
  background-color: #dc3545;
  color: white;
}

.instagram-link {
  color: #8b6755;
  text-decoration: none;
  transition: color 0.3s ease;
}

.instagram-link:hover {
  color: #e91e63;
  text-decoration: none;
}

.whatsapp-link {
  color: #8b6755;
  text-decoration: none;
  transition: color 0.3s ease;
}

.whatsapp-link:hover {
  color: #25d366;
  text-decoration: none;
}

.course-avatar {
  width: 80px;
  height: 80px;
  margin: 0 auto 15px;
  border-radius: 50%;
  background: linear-gradient(135deg, #8b6755 0%, #a67c5a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 3.5rem;
  box-shadow: 0 4px 12px rgba(139, 103, 85, 0.3);
}

.course-avatar:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(139, 103, 85, 0.4);
  transition: all 0.3s ease;
}

.course-name-link {
  color: #8b6755;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.course-name-link:hover {
  color: #a67c5a;
  text-decoration: none;
}

.student-name-link {
  color: #8b6755;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.student-name-link:hover {
  color: #a67c5a;
  text-decoration: none;
}

.enrollment-status-badge {
  font-size: 0.875rem;
  padding: 0.375rem 0.75rem;
}

.enrollment-actions {
  white-space: nowrap;
}

.enrollment-search {
  max-width: 400px;
}

.enrollment-detail-section {
  margin-bottom: 2rem;
}

.enrollment-detail-section h5 {
  color: #8b6755;
  border-bottom: 2px solid #e9ecef;
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
}

.enrollment-filters {
  background-color: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 0.375rem;
  height: fit-content;
}

.enrollment-filters .card-header {
  background-color: #e9ecef;
  border-bottom: 1px solid #dee2e6;
  padding: 0.75rem 1rem;
}

.enrollment-filters .card-header .btn-link {
  color: #6c757d;
  text-decoration: none;
  padding: 0;
}

.enrollment-filters .card-header .btn-link:hover {
  color: #495057;
}

.enrollment-filters .card-body {
  padding: 1rem;
}

.enrollment-filters .form-group {
  margin-bottom: 1rem;
}

.enrollment-filters label {
  font-weight: 500;
  color: #495057;
  margin-bottom: 0.25rem;
  font-size: 0.875rem;
}

.enrollment-filters .form-control {
  font-size: 0.875rem;
}

.enrollment-filters .btn {
  margin-bottom: 0.5rem;
}

.enrollment-filters .btn:last-child {
  margin-bottom: 0;
}

/* Custom date picker styling */
#datePickerBtn {
  border-left: 0;
}

#datePickerBtn:hover {
  background-color: #e9ecef;
  border-color: #ced4da;
}

/* Flatpickr customization for Brazilian Portuguese */
.flatpickr-calendar {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.flatpickr-calendar.arrowTop:before,
.flatpickr-calendar.arrowTop:after {
  border-bottom-color: #f0f0f0;
}

.flatpickr-day.selected {
  background: #007bff;
  border-color: #007bff;
}

.flatpickr-day.selected:hover {
  background: #0056b3;
  border-color: #0056b3;
}

@media (max-width: 991px) {
  .navbar {
    padding: 1rem 1.5rem;
  }
  .container-fluid {
    padding-left: 0px;
    padding-right: 0px;
  }

  .whatsapp-button {
    width: 65px;
    height: 65px;
  }

  .whatsapp-button img {
    width: 60px;
    height: 60px;
  }
}
