/* Vermilion Identity Server Styling */
/* Base reset and global styles inspired by Vermilion main app */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: Urbanist, sans-serif;
  background-color: #f5f5f5;
  min-height: 100vh;
}

/* Background texture with overlay */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("/white-texture-BG1-RS.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.2;
  z-index: -1;
}

/* Page wrapper with semi-transparent overlay */
body {
  position: relative;
  z-index: 1;
  background-color: rgba(255, 255, 255, 0.25);
}

/* Page wrapper to ensure footer positioning */
.page-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
  background-color: rgba(255, 255, 255, 0.25);
}

/* Navigation styling to match Vermilion */
.nav-page {
  background-color: #211d69;
  padding-top: 10px;
  width: 100%;
}

.custom-nav-bar {
  background-color: transparent !important;
  border: none;
  padding: 0;
}

.nav-page .navbar {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto 10px auto;
  padding: 0 20px;
  display: flex !important;
  justify-content: space-between;
  align-items: center !important;
  height: 60px;
  min-height: 60px;
}

.navbar-brand {
  color: white !important;
  display: flex !important;
  align-items: center !important;
  margin-bottom: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}
.navbar-brand img {
  height: 35px;
}

/* Navbar logo styling with image and text */
.navbar-logo {
  display: flex !important;
  align-items: center !important;
  text-decoration: none;
  margin-bottom: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}
.navbar-logo img {
  height: 72px;
  margin-right: 3px;
  padding-top: 5px;
}

/* Logo text styling to match Vermilion app */
.logo-text {
  color: white;
  text-decoration: none;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.navbar-nav .nav-link {
  color: white !important;
  font-weight: 500;
  border: 1px solid transparent;
  border-radius: 20px;
  padding: 8px 16px !important;
  margin: 0 4px;
}
.navbar-nav .nav-link:hover {
  border-color: rgba(130, 150, 180, 0.5);
  background-color: rgba(255, 255, 255, 0.1);
}

.dropdown-menu {
  background-color: white;
  border: none;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.dropdown-menu .dropdown-item {
  color: #475569;
  font-weight: 500;
}
.dropdown-menu .dropdown-item:hover {
  background-color: #107569;
  color: white;
}

/* Container styling similar to Vermilion */
.body-container {
  width: 100%;
  max-width: 1200px;
  margin: 50px auto 40px;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

/* Footer styling to match Vermilion app */
.footer-container {
  text-align: center;
  padding: 20px 0;
  margin-top: auto;
}
.footer-container img {
  height: 80px;
}

.footer-text {
  font-size: 0.875rem;
  color: #6b7280;
  margin-bottom: 0px;
}

/* Card styling to match Vermilion */
.card {
  border-radius: 8px;
  border: 1px solid rgb(229, 231, 235);
  background: #ffffff;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  width: 100%;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}
.card .card-header {
  background: none;
  border: none;
  padding: 0 0 1rem 0;
  margin-bottom: 1rem;
  border-bottom: 1px solid #e5e7eb;
}
.card .card-header h2 {
  margin: 0;
  color: #211d69;
  font-size: 1.5rem;
  font-weight: 600;
}
.card .card-body {
  padding: 0;
}

/* Login page specific styling */
.login-page {
  /* Center the login form */
}
.login-page .lead {
  text-align: center;
  margin-bottom: 2rem;
}
.login-page .lead h1 {
  color: #211d69;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.login-page .lead p {
  color: #6b7280;
  font-size: 1.1rem;
}
.login-page .row.justify-content-center {
  display: flex;
  justify-content: center;
}

/* Form styling to match Vermilion */
.form-group {
  margin-bottom: 1.5rem;
}
.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: #374151;
}

.form-control {
  border: 1px solid #d1d5db;
  border-radius: 6px;
  padding: 0.75rem;
  font-size: 1rem;
  transition: border-color 0.2s ease;
}
.form-control:focus {
  border-color: #211d69;
  box-shadow: 0 0 0 3px rgba(33, 29, 105, 0.1);
  outline: none;
}

/* Button styling to match Vermilion PrimeNG theme */
.btn {
  border-radius: 6px;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  margin-right: 0.5rem;
  transition: all 0.2s ease;
}
.btn.btn-primary {
  background-color: #107569; /* Vermilion tealAccent.500 */
  border-color: #107569;
  color: white;
}
.btn.btn-primary:hover {
  background-color: #0e695f; /* Vermilion tealAccent.600 */
  border-color: #0e695f;
}
.btn.btn-primary:active, .btn.btn-primary:focus {
  background-color: #0c5c52; /* Vermilion tealAccent.700 */
  border-color: #0c5c52;
  box-shadow: 0 0 0 0.2rem rgba(16, 117, 105, 0.25);
}
.btn.btn-secondary {
  background-color: transparent;
  border-color: #107569; /* Vermilion tealAccent.500 outlined style */
  color: #107569;
}
.btn.btn-secondary:hover {
  background-color: #eeeef5; /* Vermilion vermillion.50 */
  border-color: #107569;
  color: #107569;
}
.btn.btn-secondary:active, .btn.btn-secondary:focus {
  background-color: #eeeef5;
  border-color: #107569;
  color: #107569;
  box-shadow: 0 0 0 0.2rem rgba(16, 117, 105, 0.25);
}

/* Checkbox styling */
.form-check {
  margin: 1rem 0;
}
.form-check .form-check-input {
  margin-top: 0.25rem;
}
.form-check .form-check-label {
  margin-left: 0.5rem;
  font-weight: normal;
}

/* Logged out page styling */
.logged-out-page {
  text-align: center;
}
.logged-out-page h1 {
  color: #211d69;
  font-weight: 700;
  margin-bottom: 1.5rem;
}
.logged-out-page h1 small {
  display: block;
  color: #6b7280;
  font-size: 1.2rem;
  font-weight: 400;
  margin-top: 0.5rem;
}
.logged-out-page a {
  color: #211d69;
  font-weight: 600;
  text-decoration: none;
}
.logged-out-page a:hover {
  text-decoration: underline;
}
.logged-out-page iframe {
  display: none;
  width: 0;
  height: 0;
}

/* Welcome page styling */
.welcome-page {
  text-align: center;
}
.welcome-page .logo {
  width: 64px;
  margin-bottom: 1rem;
}
.welcome-page li {
  list-style: none;
  padding: 8px;
  margin: 4px 0;
}

/* Grants page styling */
.grants-page .card {
  margin-top: 20px;
  border-bottom: 1px solid #e5e7eb;
}
.grants-page .card .card-title {
  font-size: 120%;
  font-weight: bold;
  color: #211d69;
}
.grants-page .card .card-title img {
  width: 100px;
  height: 100px;
  border-radius: 8px;
}
.grants-page .card label {
  font-weight: 600;
  color: #374151;
}

/* Alert styling */
.alert {
  border-radius: 8px;
  border: none;
}
.alert.alert-warning {
  background-color: #fef3c7;
  color: #92400e;
  border-left: 4px solid #f59e0b;
}

/* External provider styling */
.list-inline .list-inline-item {
  margin-bottom: 0.5rem;
}
.list-inline .list-inline-item .btn {
  width: 100%;
  min-width: 200px;
}

/* Responsive adjustments */
@media (max-width: 1016px) {
  .nav-page .navbar {
    flex-wrap: nowrap !important;
    align-items: center !important;
  }
  .navbar-brand,
  .navbar-logo {
    align-items: center !important;
    align-self: center !important;
  }
}
@media (max-width: 768px) {
  .body-container {
    margin: 20px auto;
    padding: 0 15px;
  }
  .card {
    margin-bottom: 1rem;
  }
  .btn {
    width: 100%;
    margin-bottom: 0.5rem;
    margin-right: 0;
  }
}

/*# sourceMappingURL=site.css.map */
