html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
  padding-top: 120px;
}

.footer {
    height: 2px; /* Footer'ın yüksekliği sabit kalır */
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

.navbar-light .navbar-nav .nav-link,
.navbar-light .navbar-brand {
    color: #000 !important; /* force black text */
}

.title-fancy::after {
    content: "";
    display: block;
    width: 25%;
    height: 10px;
    background: linear-gradient(90deg, #0d6efd, #20c997);
    border-radius: 2px;
    margin-top: 6px;
}

.gradient-fancy-text {
    background: linear-gradient(90deg, #0d6efd, #20c997);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text; /* for modern browsers */
    font-size: 3rem; /* Metni büyütün */
    font-weight: 800; /* Metni çok kalın yapın */
    color: transparent;
}

.gradient-spring-text {
    background: linear-gradient(90deg, #37b7c2, #c7e80a); /* Açık Turkuaz -> Limon Yeşili */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    font-size: 2rem; /* Metni büyütün */
    font-weight: 800; /* Metni çok kalın yapın */
    display: inline-block;
}

.gradient-spring-subtle-text {
    background: linear-gradient(90deg, #37b7c2, #35dff1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    font-size: 2rem; /* Metni büyütün */
    font-weight: 800; /* Metni çok kalın yapın */
    display: inline-block;
}

/* ---- Modern vertical detail row pattern (ShipmentPlan Details) ---- */
.detail-item {
    display: block;
    border: 0;
    background: rgba(255, 255, 255, 0.05);
    padding: .65rem .75rem .7rem;
}

.list-group-item.detail-item {
    border: 0;
    border-radius: 25px;
    margin-bottom: 4px;
}

.detail-item + .detail-item {
    border-top: 1px solid rgba(0 ,0 , 0, .05);
}

.card.bg-success .detail-item + .detail-item,
.card.bg-secondary .detail-item + .detail-item {
    border-top-color: rgba(255,255,255,.0);
}

.detail-label {
    font-size: .725rem;
    font-weight: 600;
    letter-spacing: .06em;
    color: #6c757d;
    margin: 0 0 .15rem;
    display: block;
    opacity: .9;
}

.detail-value {
    font-size: .925rem;
    line-height: 1.25rem;
    font-weight: 500;
    color: #212529;
    word-break: break-word;
}

    .detail-value .badge {
        font-size: .80rem;
        letter-spacing: .05em;
    }

.card.bg-success .detail-label,
.card.bg-secondary .detail-label {
    color: rgba(255,255,255,.7);
}

.card.bg-success .detail-value,
.card.bg-secondary .detail-value {
    color: #fff;
}

.card.bg-dark-subtle .detail-label {
    color: #5c636a;
}

.list-group-item.bg-light .detail-label {
    color: #818b92;
}

.long-text-box {
    background: #f8f9fa;
    opacity: .90;
    font-size: .85rem;
    line-height: 1.15rem;
    max-height: 180px;
    overflow-y: auto;
    border: 2px solid #e5e7ea;
}

    .long-text-box::-webkit-scrollbar {
        width: 6px;
    }

    .long-text-box::-webkit-scrollbar-track {
        background: #f1f3f5;
    }

    .long-text-box::-webkit-scrollbar-thumb {
        background: #c5c9cc;
        border-radius: 3px;
    }

@media (min-width: 1400px) {
    .detail-value {
        font-size: .95rem;
    }
}
/* ---- End modern detail row pattern ---- */


/* Active - Inactive Button Style */

#btnCompleted, #btnInProgress, #btnIsActive, #btnIsInactive {
    background-color: #f8f9fa; /* A light grey background */
    border-color: #dee2e6; /* A matching light border */
    color: #6c757d; /* A muted text color */
    opacity: 0.7; /* Slightly transparent */
}


#btnInProgress.active, #btnIsInactive.active {
    background-color: #007bff; /* A vibrant blue */
    border-color: #007bff; /* A matching blue border */
    color: white; /* White text */
    opacity: 1; /* Fully opaque */
}

#btnCompleted.active, #btnIsActive.active {
    background-color: #27bb1b; /* A vibrant blue */
    border-color: #27bb1b; /* A matching blue border */
    color: white; /* White text */
    opacity: 1; /* Fully opaque */
}
