/* === Estrella TechHub Custom Styles === */

body {
  font-family: 'Poppins', sans-serif;
  background-color: #f8f9fa;
  color: #333;
  margin: 0;
  padding: 0;

  padding-top: 70px;
    overflow-x: hidden; /* keep horizontal scroll disabled */
  overflow-y: auto;   /* allow vertical scroll */
}

/* Navbar */
.navbar {
  transition: all 0.3s ease;
  height: 80px; /* shorter than default */
  display: flex;
  align-items: center;
  padding: 0 1rem;
}

.logo-avatar {
  height: 60px;
  width: 60px;
  object-fit: cover;
  border: 3px solid #0d6efd;
  border-radius: 50%;
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.navbar-brand {
  font-size: 1.25rem;
  font-weight: 600;
  color: #0d6efd !important;
  display: flex;
  align-items: center;
}

.nav-link {
  color: #555 !important;
  margin-right: 10px;
  transition: color 0.3s ease;
  position: relative;
  display: flex;
  align-items: center;
}

.nav-link:hover {
  color: #0d6efd !important;
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0%;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: #0d6efd;
  transition: width 0.3s;
}

.nav-link:hover::after {
  width: 100%;
}

.navbar-collapse {
  position: absolute; /* overlay instead of push down */
  top: 80px; /* same as navbar height */
  left: 0;
  width: 100%;
  background-color: white; /* match navbar */
  z-index: 999;
  padding: 10px 15px;
  border-top: 1px solid #ddd; /* optional */
}

@media (min-width: 992px) {
  .navbar-collapse {
    position: static;
    width: auto;
    background-color: transparent;
    padding: 0;
    border: none;
  }
}


/* Buttons */
.btn-primary {
  background-color: #0d6efd;
  border: none;
  border-radius: 50px;
  transition: all 0.3s ease;
}

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

/* Background helpers */
.bg-light-gray {
  background-color: #212529 !important;
  color: white !important;
}

.bg-light-cyan {
  background-color: #0DCAF0 !important;
}

.bg-light-green {
  background-color: #198754 !important;
}

/* Footer */
.footer {
  font-size: 0.9rem;
}

/* Select2 */
.select2-container--bootstrap-5 .select2-selection {
  border-radius: .375rem;
  border: 1px solid #ced4da;
  min-height: 38px;
}

/* Cards & Forms */
.card {
  border-radius: 0.75rem;
  transition: all 0.25s ease-in-out;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(0,0,0,0.07);
}

.card-header {
  font-size: 0.95rem;
  padding: 0.5rem 1rem;
}

.form-control, select, textarea {
  font-size: 0.9rem;
  padding: 0.45rem 0.75rem;
  border-radius: 0.375rem;
}

label {
  font-size: 0.85rem;
  font-weight: 500;
  color: #495057;
}

.btn {
  border-radius: 0.5rem;
  font-weight: 500;
}

/* Profile Details */
.bg-light-subtle {
  background-color: #f8f9fa;
}

.section-heading {
  font-weight: 600;
  text-transform: uppercase;
  color: #0d6efd;
  margin-bottom: 0.4rem;
}

.profile-card {
  background: #fff;
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1.2rem;
  box-shadow: 0 0 10px rgba(0,0,0,0.06);
  border-left: 4px solid #0d6efd;
}

.profile-card:hover {
  transform: translateY(-3px);
  transition: all 0.25s ease;
}

.badge {
  border-radius: 1rem;
  font-weight: 500;
}

.certificate-card {
  border: 1px solid #dee2e6;
  border-radius: 10px;
  background: #fff;
  width: 160px;
}

.certificate-card:hover {
  transform: scale(1.04);
  transition: all 0.2s ease-in-out;
}

/* Signup/Login Card */
.signup-section {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 15px;
}

.signup-card {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  max-width: 440px;
  width: 100%;
  padding: 1.8rem 2rem;
}

.signup-card img {
  height: 80px;
  width: 80px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid #0d6efd;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  background-color: #fff;
  margin-bottom: 1rem;
}

.signup-card h3 {
  font-weight: 600;
  color: #0d6efd;
  margin-bottom: 0.25rem;
}

.signup-card p {
  font-size: 0.9rem;
  color: #6c757d;
  margin-bottom: 1.5rem;
}

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

.form-label {
  font-weight: 500;
  color: #495057;
  display: block;
  margin-bottom: 0.35rem;
}

.form-control {
  border-radius: 10px;
  border: 1px solid #ced4da;
  padding: 10px 14px;
  font-size: 0.95rem;
  width: 100%;
  transition: all 0.3s ease;
}

.form-control:focus {
  border-color: #0d6efd;
  box-shadow: 0 0 0 0.2rem rgba(13,110,253,0.15);
}

.btn-primary {
  border-radius: 10px;
  font-weight: 600;
  padding: 10px;
}



/* This ensures all text fields using the form-label class have a defined size */
.form-label {
    font-size: 0.9rem; /* Or whatever standard size your Skills label is */
    font-weight: 600; /* Semibold */
}

/* This targets the headers of your compact table and forces the same style */
.table-sm thead th {
    font-size: 0.9rem; /* MUST be the same value as form-label */
    font-weight: 600 !important; /* Overrides default TH boldness */

}

.upwork-card {
    border: 1px solid #e6e6e6 !important;
}

.upwork-card:hover {
    background-color: #fafafa;
    transition: 0.2s;
}

/* Match Select2 height and input height */
.select2-container--default .select2-selection--single {
    height: 38px !important;
    padding: 6px 12px !important;
    box-sizing: border-box;
}

.manual-input-wrapper input {
    height: 38px !important;
    padding: 6px 12px !important;
    box-sizing: border-box;
}

/* Optional: ensure back link and manual link align nicely */
.company-field-container a.type-manually,
.company-field-container a.back-to-dropdown {
    display: inline-block;
    margin-top: 0.25rem;
    font-size: 0.875rem;
}


.hero {
    background: linear-gradient(135deg, #081b33, #0d233f);
    color: white;
    padding: 120px 0;
    text-align: center;
}
.feature-box {
    padding: 30px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    height: 100%;
}
footer {
    background: #0d1e32;
    color: white;
    padding: 40px 0;
    margin-top: 50px;
}

.navbar-toggler {
    border: none !important;
    outline: none !important;
}

.navbar-toggler:focus {
    box-shadow: none !important;
}

.navbar-toggler-icon {
    filter: brightness(0) saturate(100%) invert(28%) sepia(94%)
            saturate(2900%) hue-rotate(204deg) brightness(96%) contrast(95%);
    /* Makes it beautiful blue like your theme */
}


/* Smooth Popup Background */
.idle-modal {
    position: fixed;
    z-index: 9999;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity .4s ease, visibility .4s ease;
}

/* Fade-In/Out */
.idle-modal.show {
    opacity: 1;
    visibility: visible;
}

/* Popup Card */
.idle-content {
    background: #ffffff;
    padding: 30px;
    width: 380px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    animation: scaleIn .35s ease;
}

/* Scale animation */
@keyframes scaleIn {
    from { transform: scale(0.85); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.stay-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    background: #2a72de;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    transition: background .3s ease;
}

.stay-btn:hover {
    background: #1d5ab7;
}


@keyframes blink {
    0%, 50%, 100% { opacity: 1; }
    25%, 75% { opacity: 0; }
}

.blink-red {
    color: red !important;          /* make it red */
    font-weight: bold;
    animation: blink 7s linear infinite; /* blink infinitely */
}