/* Bootstrap CSS (minimal version) */
:root {
  --bs-blue: #0d6efd;
  --bs-indigo: #6610f2;
  --bs-purple: #6f42c1;
  --bs-pink: #d63384;
  --bs-red: #dc3545;
  --bs-orange: #fd7e14;
  --bs-yellow: #ffc107;
  --bs-green: #198754;
  --bs-teal: #20c997;
  --bs-cyan: #0dcaf0;
  --bs-black: #000;
  --bs-white: #fff;
  --bs-gray: #6c757d;
  --bs-gray-dark: #343a40;
  --bs-gray-100: #f8f9fa;
  --bs-gray-200: #e9ecef;
  --bs-gray-300: #dee2e6;
  --bs-gray-400: #ced4da;
  --bs-gray-500: #adb5bd;
  --bs-gray-600: #6c757d;
  --bs-gray-700: #495057;
  --bs-gray-800: #343a40;
  --bs-gray-900: #212529;
  --bs-primary: #0d6efd;
  --bs-secondary: #6c757d;
  --bs-success: #198754;
  --bs-info: #0dcaf0;
  --bs-warning: #ffc107;
  --bs-danger: #dc3545;
  --bs-light: #f8f9fa;
  --bs-dark: #212529;
}

/* Grid system */
.container {
  width: 100%;
  padding-right: 0.75rem;
  padding-left: 0.75rem;
  margin-right: auto;
  margin-left: auto;
}

@media (min-width: 576px) {
  .container {
    max-width: 540px;
  }
}
@media (min-width: 768px) {
  .container {
    max-width: 720px;
  }
}
@media (min-width: 992px) {
  .container {
    max-width: 960px;
  }
}
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
}
@media (min-width: 1400px) {
  .container {
    max-width: 1320px;
  }
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin-right: -0.75rem;
  margin-left: -0.75rem;
}

/* Columns */
.col, .col-md-2, .col-md-4, .col-md-6, .col-md-12 {
  position: relative;
  width: 100%;
  padding-right: 0.75rem;
  padding-left: 0.75rem;
}

@media (min-width: 768px) {
  .col-md-2 {
    flex: 0 0 auto;
    width: 16.666667%;
  }
  .col-md-4 {
    flex: 0 0 auto;
    width: 33.333333%;
  }
  .col-md-6 {
    flex: 0 0 auto;
    width: 50%;
  }
  .col-md-12 {
    flex: 0 0 auto;
    width: 100%;
  }
}

/* Utilities */
.d-none { display: none !important; }
.d-flex { display: flex !important; }
.d-block { display: block !important; }
.d-grid { display: grid !important; }
.justify-content-center { justify-content: center !important; }
.justify-content-between { justify-content: space-between !important; }
.justify-content-end { justify-content: flex-end !important; }
.align-items-center { align-items: center !important; }
.text-center { text-align: center !important; }
.mb-3 { margin-bottom: 1rem !important; }
.mt-3 { margin-top: 1rem !important; }
.mt-4 { margin-top: 1.5rem !important; }
.mt-5 { margin-top: 3rem !important; }
.me-auto { margin-right: auto !important; }
.ms-auto { margin-left: auto !important; }
.py-3 { padding-top: 1rem !important; padding-bottom: 1rem !important; }
.bg-light { background-color: var(--bs-light) !important; }
.text-muted { color: var(--bs-gray-600) !important; }

/* Navbar */
.navbar {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 1rem;
}

.navbar-expand-lg {
  flex-wrap: nowrap;
  justify-content: flex-start;
}

.navbar-dark {
  color: rgba(255, 255, 255, 0.9);
}

.navbar-brand {
  padding-top: 0.3125rem;
  padding-bottom: 0.3125rem;
  margin-right: 1rem;
  font-size: 1.25rem;
  text-decoration: none;
  white-space: nowrap;
  color: inherit;
}

.navbar-nav {
  display: flex;
  flex-direction: column;
  padding-left: 0;
  margin-bottom: 0;
  list-style: none;
}

.nav-link {
  display: block;
  padding: 0.5rem 1rem;
  text-decoration: none;
  color: inherit;
  transition: color 0.15s ease-in-out;
}

.navbar-dark .nav-link {
  color: rgba(255, 255, 255, 0.75);
}

.navbar-dark .nav-link:hover, 
.navbar-dark .nav-link.active {
  color: #fff;
}

/* Buttons */
.btn {
  display: inline-block;
  font-weight: 400;
  line-height: 1.5;
  color: #212529;
  text-align: center;
  text-decoration: none;
  vertical-align: middle;
  cursor: pointer;
  user-select: none;
  background-color: transparent;
  border: 1px solid transparent;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  border-radius: 0.25rem;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out;
}

.btn-outline-light {
  color: #f8f9fa;
  border-color: #f8f9fa;
}

.btn-outline-light:hover {
  color: #000;
  background-color: #f8f9fa;
}

.btn-primary {
  color: #fff;
  background-color: #0d6efd;
  border-color: #0d6efd;
}

.btn-primary:hover {
  color: #fff;
  background-color: #0b5ed7;
  border-color: #0a58ca;
}

.btn-success {
  color: #fff;
  background-color: #198754;
  border-color: #198754;
}

.btn-success:hover {
  color: #fff;
  background-color: #157347;
  border-color: #146c43;
}

.btn-outline-secondary {
  color: #6c757d;
  border-color: #6c757d;
}

.btn-outline-secondary:hover {
  color: #fff;
  background-color: #6c757d;
  border-color: #6c757d;
}

/* Badge */
.badge {
  display: inline-block;
  padding: 0.35em 0.65em;
  font-size: 0.75em;
  font-weight: 700;
  line-height: 1;
  color: #fff;
  text-align: center;
  white-space: nowrap;
  vertical-align: baseline;
  border-radius: 0.25rem;
}

.bg-primary { background-color: var(--bs-primary) !important; }
.bg-secondary { background-color: var(--bs-secondary) !important; }
.bg-success { background-color: var(--bs-success) !important; }
.bg-danger { background-color: var(--bs-danger) !important; }
.bg-info { background-color: var(--bs-info) !important; }

/* Forms */
.form-control {
  display: block;
  width: 100%;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #212529;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #ced4da;
  appearance: none;
  border-radius: 0.25rem;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-control:focus {
  color: #212529;
  background-color: #fff;
  border-color: #86b7fe;
  outline: 0;
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.form-label {
  margin-bottom: 0.5rem;
}

/* Card */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  word-wrap: break-word;
  background-color: #fff;
  background-clip: border-box;
  border: 1px solid rgba(0, 0, 0, 0.125);
  border-radius: 0.25rem;
}

.card-header {
  padding: 0.5rem 1rem;
  margin-bottom: 0;
  background-color: rgba(0, 0, 0, 0.03);
  border-bottom: 1px solid rgba(0, 0, 0, 0.125);
}

.card-body {
  flex: 1 1 auto;
  padding: 1rem 1rem;
}

/* Progress bar */
.progress {
  display: flex;
  height: 1rem;
  overflow: hidden;
  font-size: 0.75rem;
  background-color: #e9ecef;
  border-radius: 0.25rem;
}

.progress-bar {
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  color: #fff;
  text-align: center;
  white-space: nowrap;
  background-color: #0d6efd;
  transition: width 0.6s ease;
}

.progress-bar-striped {
  background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
  background-size: 1rem 1rem;
}

.progress-bar-animated {
  animation: progress-bar-stripes 1s linear infinite;
}

@keyframes progress-bar-stripes {
  0% { background-position-x: 1rem; }
}

/* Tables */
.table {
  width: 100%;
  margin-bottom: 1rem;
  color: #212529;
  vertical-align: top;
  border-color: #dee2e6;
}

.table > :not(caption) > * > * {
  padding: 0.5rem 0.5rem;
  border-bottom-width: 1px;
}

.table-striped > tbody > tr:nth-of-type(odd) > * {
  background-color: rgba(0, 0, 0, 0.05);
}

.table-hover > tbody > tr:hover > * {
  background-color: rgba(0, 0, 0, 0.075);
}

.table-responsive {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* Spinner */
.spinner-border {
  display: inline-block;
  width: 2rem;
  height: 2rem;
  vertical-align: -0.125em;
  border: 0.25em solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: spinner-border .75s linear infinite;
}

@keyframes spinner-border {
  to { transform: rotate(360deg); }
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* Now include our custom CSS */
:root {
    --primary-color: #4a6fa5;
    --primary-dark: #3a5a8c;
    --secondary-color: #6b8cae;
    --accent-color: #ff6b6b;
    --text-color: #333;
    --light-gray: #f5f5f5;
    --medium-gray: #e0e0e0;
    --dark-gray: #888;
    --success-color: #4caf50;
    --error-color: #f44336;
    --warning-color: #ff9800;
    --info-color: #2196f3;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
    line-height: 1.6;
    color: #212529;
    background-color: #f8f9fa;
    padding-bottom: 2rem;
}

header {
    background-color: var(--primary-color);
    color: white;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.auth-status {
    display: flex;
    align-items: center;
    gap: 1rem;
}

footer {
    text-align: center;
    padding: 1rem;
    margin-top: 2rem;
    color: var(--dark-gray);
}

main {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

h1 {
    margin: 0;
}

h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.card {
    background-color: white;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    padding: 2rem;
    margin-bottom: 1.5rem;
}

.card-header {
    background-color: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

input[type="text"],
input[type="password"],
input[type="number"],
select,
textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--medium-gray);
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(74, 111, 165, 0.2);
}

.btn {
    cursor: pointer;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    transition: background-color 0.3s, transform 0.1s;
}

.btn:active {
    transform: translateY(1px);
}

.btn-primary {
    background-color: #4A6FDC;
    border-color: #4A6FDC;
    color: white;
}

.btn-primary:hover, .btn-primary:focus {
    background-color: #3d5cba;
    border-color: #3d5cba;
}

.secondary {
    background-color: var(--secondary-color);
    color: white;
}

.secondary:hover {
    background-color: #5b7c9e;
}

.message {
    padding: 1rem;
    margin-top: 1rem;
    border-radius: 4px;
    display: none;
}

.message.success {
    display: block;
    background-color: rgba(76, 175, 80, 0.1);
    border: 1px solid var(--success-color);
    color: var(--success-color);
}

.message.error {
    display: block;
    background-color: rgba(244, 67, 54, 0.1);
    border: 1px solid var(--error-color);
    color: var(--error-color);
}

.message.info {
    display: block;
    background-color: rgba(33, 150, 243, 0.1);
    border: 1px solid var(--info-color);
    color: var(--info-color);
}

.message.warning {
    display: block;
    background-color: rgba(255, 152, 0, 0.1);
    border: 1px solid var(--warning-color);
    color: var(--warning-color);
}

.hidden {
    display: none !important;
}

/* Tabs */
.tabs-container {
    margin-top: 2rem;
}

.tabs {
    display: flex;
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--medium-gray);
}

.tab-btn {
    padding: 0.75rem 1.5rem;
    background-color: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    cursor: pointer;
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: -2px;
}

.tab-btn:hover {
    color: var(--primary-color);
}

.tab-btn.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* Input with buttons */
.input-with-buttons {
    display: flex;
    gap: 0.5rem;
}

.input-with-buttons input {
    flex-grow: 1;
}

/* Radio group */
.radio-group {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.radio-group input[type="radio"] {
    margin-right: 0.5rem;
}

/* Results */
.results-container {
    margin-top: 1.5rem;
}

.results-count {
    margin-bottom: 1rem;
    font-weight: 600;
}

.results-list {
    max-height: 400px;
    overflow-y: auto;
    border: 1px solid var(--medium-gray);
    border-radius: 4px;
}

.result-item {
    padding: 1rem;
    border-bottom: 1px solid var(--medium-gray);
}

.result-item:last-child {
    border-bottom: none;
}

.result-item h3 {
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.result-item p {
    margin: 0.25rem 0;
}

.lead-item {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}

.lead-item .lead-id {
    font-size: 0.9rem;
    color: var(--dark-gray);
}

.campaign-item {
    padding: 1rem;
    border-bottom: 1px solid var(--medium-gray);
}

.campaign-item:last-child {
    border-bottom: none;
}

.campaign-item h3 {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.campaign-item .campaign-id {
    font-size: 0.9rem;
    font-weight: normal;
    color: var(--dark-gray);
}

.lead-count {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    background-color: var(--primary-color);
    color: white;
    border-radius: 10px;
    font-size: 0.8rem;
}

/* New button styles */
.btn-lg {
    padding: 0.75rem 1.5rem;
    font-size: 1.1rem;
}

.btn-block {
    display: block;
    width: 100%;
}

.new-button {
    border-radius: 30px;
    font-weight: 600;
}

.shiny {
    position: relative;
    overflow: hidden;
}

.shiny:after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(to bottom right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.1) 100%);
    transform: rotate(30deg);
    transition: all 0.3s;
}

.shiny:hover:after {
    transform: rotate(30deg) translate(10%, 10%);
}

.text-white {
    color: white;
}

.form-control.round {
    border-radius: 30px;
    padding: 0.75rem 1.2rem;
    border: 1px solid var(--medium-gray);
    transition: all 0.3s ease;
}

.form-control.round:focus {
    box-shadow: 0 0 0 2px rgba(74, 111, 165, 0.3);
    border-color: var(--primary-color);
}

/* Table customization */
.table th {
    font-weight: 600;
    border-top: none;
    background-color: #f8f9fa;
}

/* Badge styling for statuses */
.badge {
    font-weight: 500;
    padding: 0.4em 0.6em;
}

/* Form styling */
.form-control {
    padding: 0.5rem 0.75rem;
}

.form-control:focus {
    box-shadow: 0 0 0 0.25rem rgba(74, 111, 220, 0.25);
    border-color: #4A6FDC;
}

/* Utility classes */
.mt-4 {
    margin-top: 2rem !important;
}

/* Make sure Bootstrap is properly initialized */
@media (min-width: 992px) {
    .navbar-expand-lg .navbar-nav .nav-link {
        padding-right: 1rem;
        padding-left: 1rem;
    }
}

/* Fix for links in the navbar */
.nav-link {
    color: rgba(255,255,255,.75);
    transition: color 0.15s ease-in-out;
}

.nav-link:hover, .nav-link.active {
    color: #fff;
}

/* Fix for the search form layout */
#unified-search-form .form-label {
    margin-bottom: 0.5rem;
}

/* Improved form styling */
label {
    font-weight: 500;
}

/* Fix for the progress bar */
.progress {
    height: 8px;
    border-radius: 4px;
}

/* Fix campaign details layout */
#campaign-search-params {
    word-break: break-word;
}

/* Navbar customization */
.navbar {
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.navbar-brand {
    font-weight: 600;
}

/* Additional responsive navbar styles */
.navbar-toggler {
  padding: 0.25rem 0.75rem;
  font-size: 1.25rem;
  line-height: 1;
  background-color: transparent;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.25rem;
  transition: box-shadow 0.15s ease-in-out;
  color: rgba(255, 255, 255, 0.55);
}

.navbar-toggler:hover {
  color: rgba(255, 255, 255, 0.75);
}

.navbar-toggler-icon {
  display: inline-block;
  width: 1.5em;
  height: 1.5em;
  vertical-align: middle;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100%;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.collapse:not(.show) {
  display: none;
}

.navbar-collapse {
  flex-basis: 100%;
  flex-grow: 1;
  align-items: center;
}

@media (max-width: 991.98px) {
  .navbar-expand-lg .navbar-nav {
    flex-direction: column;
    width: 100%;
  }
  
  .navbar-collapse {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--primary-color);
    padding: 1rem;
    border-radius: 0 0 0.25rem 0.25rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    z-index: 1000;
  }

  .navbar-collapse.show {
    display: block;
  }
}

@media (min-width: 992px) {
  .navbar-expand-lg {
    flex-wrap: nowrap;
    justify-content: flex-start;
  }
  .navbar-expand-lg .navbar-nav {
    flex-direction: row;
  }
  .navbar-expand-lg .navbar-collapse {
    display: flex !important;
    flex-basis: auto;
  }
  .navbar-expand-lg .navbar-toggler {
    display: none;
  }
}

/* Alert component */
.alert {
  position: relative;
  padding: 1rem 1rem;
  margin-bottom: 1rem;
  border: 1px solid transparent;
  border-radius: 0.25rem;
}

.alert-danger {
  color: #842029;
  background-color: #f8d7da;
  border-color: #f5c2c7;
}

.alert-dismissible {
  padding-right: 3rem;
}

.alert-dismissible .btn-close {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 2;
  padding: 1.25rem 1rem;
}

.btn-close {
  box-sizing: content-box;
  width: 1em;
  height: 1em;
  padding: 0.25em 0.25em;
  color: #000;
  background: transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/%3e%3c/svg%3e") center/1em auto no-repeat;
  border: 0;
  border-radius: 0.25rem;
  opacity: 0.5;
  cursor: pointer;
}

.btn-close:hover {
  color: #000;
  text-decoration: none;
  opacity: 0.75;
}

/* Tab Navigation */
.nav-tabs {
  border-bottom: 1px solid #dee2e6;
}

.nav-tabs .nav-link {
  margin-bottom: -1px;
  background: none;
  border: 1px solid transparent;
  border-top-left-radius: 0.25rem;
  border-top-right-radius: 0.25rem;
  color: #495057;
  padding: 0.5rem 1rem;
}

.nav-tabs .nav-link:hover {
  border-color: #e9ecef #e9ecef #dee2e6;
  isolation: isolate;
}

.nav-tabs .nav-link.active {
  color: #495057;
  background-color: #fff;
  border-color: #dee2e6 #dee2e6 #fff;
}

/* Tab Content - Essential for showing/hiding tab panes */
.tab-content > .tab-pane {
  display: none;
}

.tab-content > .tab-pane.active {
  display: block;
}

.tab-content > .tab-pane.show.active {
  display: block;
}

/* Fade animation for tabs */
.tab-pane.fade {
  transition: opacity 0.15s linear;
  opacity: 0;
}

.tab-pane.fade.show {
  opacity: 1;
}

.card-header-tabs {
  margin-right: -0.625rem;
  margin-bottom: -0.75rem;
  margin-left: -0.625rem;
  border-bottom: 0;
}

/* Form improvements */
.form-text {
  margin-top: 0.25rem;
  font-size: 0.875em;
  color: #6c757d;
}

.form-label {
  margin-bottom: 0.5rem;
  font-weight: 500;
}

/* Button improvements */
.btn .spinner-border-sm {
  width: 1rem;
  height: 1rem;
}

.btn:disabled {
  opacity: 0.65;
  pointer-events: none;
}

/* Security: Hide elements when not authenticated */
.navbar-text {
  color: rgba(255, 255, 255, 0.75) !important;
  margin-right: 0.5rem;
}

/* Login screen styling */
.min-vh-100 {
  min-height: 100vh !important;
}

.rounded-3 {
  border-radius: 0.5rem !important;
}

.fw-bold {
  font-weight: 700 !important;
}

.fw-semibold {
  font-weight: 600 !important;
}

.form-control-lg {
  min-height: calc(1.5em + 1rem + 2px);
  padding: 0.5rem 1rem;
  font-size: 1.25rem;
  border-radius: 0.5rem;
}

.btn-lg {
  padding: 0.5rem 1rem;
  font-size: 1.25rem;
  border-radius: 0.5rem;
}

/* Enhanced card styling for login */
.card.shadow-lg {
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175) !important;
}

/* Enhanced form styling */
.form-control:focus {
  border-color: #4A6FDC;
  box-shadow: 0 0 0 0.25rem rgba(74, 111, 220, 0.25);
}

/* Enhanced button styling */
.btn {
  font-weight: 500;
  letter-spacing: 0.025em;
  transition: all 0.2s ease-in-out;
}

.btn-primary {
  background: linear-gradient(45deg, #4A6FDC, #667eea);
  border: none;
  box-shadow: 0 4px 15px 0 rgba(74, 111, 220, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(45deg, #3d5cba, #5a6fd8);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px 0 rgba(74, 111, 220, 0.4);
}

.btn-success {
  background: linear-gradient(45deg, #198754, #20c997);
  border: none;
  box-shadow: 0 4px 15px 0 rgba(25, 135, 84, 0.3);
}

.btn-success:hover {
  background: linear-gradient(45deg, #157347, #1aa085);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px 0 rgba(25, 135, 84, 0.4);
}

/* Nav pills styling for login tabs */
.nav-pills .nav-link {
  border-radius: 0.5rem;
  font-weight: 500;
  color: #6c757d;
  background-color: #f8f9fa;
  border: 1px solid #e9ecef;
  transition: all 0.2s ease-in-out;
}

.nav-pills .nav-link:hover {
  color: #495057;
  background-color: #e9ecef;
}

.nav-pills .nav-link.active {
  color: #fff;
  background-color: #4A6FDC;
  border-color: #4A6FDC;
  box-shadow: 0 2px 10px rgba(74, 111, 220, 0.3);
}

.nav-fill .nav-item {
  flex: 1 1 auto;
  text-align: center;
}

/* Form text styling */
.form-text {
  margin-top: 0.25rem;
  font-size: 0.875em;
  color: #6c757d;
}

/* Border top styling */
.border-top {
  border-top: 1px solid #dee2e6 !important;
}

/* Responsive adjustments for login */
@media (max-width: 768px) {
  .card-body {
    padding: 2rem !important;
  }
  
  .form-control-lg {
    font-size: 1.1rem;
  }
  
  .btn-lg {
    font-size: 1.1rem;
  }
}

@media (max-width: 576px) {
  .card-body {
    padding: 1.5rem !important;
  }
  
  .col-md-6 {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

/* Animation for smooth transitions */
.fade-in {
  animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Security: Prevent highlighting of sensitive elements */
.no-select {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* Enhanced disabled state */
.disabled {
  opacity: 0.5 !important;
  pointer-events: none !important;
  cursor: not-allowed !important;
}

/* Loading spinner enhancements */
.spinner-border-lg {
  width: 3rem;
  height: 3rem;
}

/* Utility classes */
.opacity-75 {
  opacity: 0.75 !important;
}

.fw-normal {
  font-weight: 400 !important;
} 