/* Bootstrap CSS from CDN */
@import url('https://cdn.jsdelivr.net/npm/bootstrap@4.6.0/dist/css/bootstrap.min.css');

/* Custom styles */
.navbar-laravel {
  background-color: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
}

.navbar-brand , .nav-link, .my-form, .login-form
{
  font-family: 'Raleway', sans-serif;
  box-sizing: border-box;
  border-radius: 5px;
}

.main-header
{
  background-image: url(https://www.transparenttextures.com/patterns/cartographer.png);
}

.content , .my-form input
{
  font-family: 'Josefin Sans', sans-serif;
}

.card-img-top
{
  width: 100%;
  border-top-left-radius: calc(0.25rem - 1px);
  border-top-right-radius: calc(0.25rem - 1px);
  height: 180px;
  object-fit: cover;
}

.card-footer-button
{
  position: absolute;
  bottom: 0;
  width: 100%;
  background: white;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
  border-top: 1px solid rgba(0,0,0,.125);
  border-bottom-left-radius: calc(0.25rem - 1px);
  border-bottom-right-radius: calc(0.25rem - 1px);
}

/* Form validation error styles */
.is-invalid {
  border-color: #dc3545 !important;
  box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25) !important;
}

.is-invalid:focus {
  border-color: #dc3545 !important;
  box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25) !important;
}

.text-danger {
  color: #dc3545 !important;
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

/* Error field highlighting */
.form-group.has-error .form-control {
  border-color: #dc3545;
  box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

.form-group.has-error label {
  color: #dc3545;
  font-weight: bold;
}

/* Alert styles for validation errors */
.alert-danger {
  color: #721c24;
  background-color: #f8d7da;
  border-color: #f5c6cb;
  padding: 0.75rem 1.25rem;
  margin-bottom: 1rem;
  border: 1px solid transparent;
  border-radius: 0.25rem;
}

/* Field group error styling */
.form-check-inline .is-invalid {
  border: 1px solid #dc3545;
  border-radius: 0.25rem;
  padding: 0.375rem 0.75rem;
} 