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;
}

.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;
}

/* ===== Buttons Base ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font-weight: 500;
    padding: .45rem .9rem;
    border-radius: 6px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all .15s ease-in-out;
    text-decoration: none;
    font-size: .9rem;
}

/* ===== Primary ===== */
.btn-primary {
    background-color: #2563eb; /* azul moderno */
    border-color: #2563eb;
    color: #fff;
}

    .btn-primary:hover {
        background-color: #1e40af;
        border-color: #1e40af;
    }

/* ===== Secondary ===== */
.btn-secondary {
    background-color: #f3f4f6;
    border-color: #d1d5db;
    color: #374151;
}

    .btn-secondary:hover {
        background-color: #e5e7eb;
    }

/* ===== Success ===== */
.btn-success {
    background-color: #16a34a;
    border-color: #16a34a;
    color: #fff;
}

    .btn-success:hover {
        background-color: #15803d;
    }

/* ===== Danger ===== */
.btn-danger {
    background-color: #dc2626;
    border-color: #dc2626;
    color: #fff;
}

    .btn-danger:hover {
        background-color: #991b1b;
    }

/* ===== Outline ===== */
.btn-outline {
    background-color: transparent;
    border-color: #d1d5db;
    color: #374151;
}

    .btn-outline:hover {
        background-color: #f9fafb;
    }

/* ===== Disabled ===== */
.btn:disabled,
.btn.disabled {
    opacity: .6;
    cursor: not-allowed;
}


.btn-sm {
    padding: .3rem .6rem;
    font-size: .8rem;
}

.btn-lg {
    padding: .6rem 1.2rem;
    font-size: 1rem;
}


.btn-link-clean {
    background: none;
    border: none;
    color: #2563eb;
    padding: 0;
}

    .btn-link-clean:hover {
        text-decoration: underline;
    }
