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;
}

.modal-overlay-custom {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    animation: fadeInOverlay 0.2s ease-out;
}

.modal-card-custom {
    background: #ffffff;
    border-radius: 16px;
    padding: 28px 24px 22px 24px;
    width: 90%;
    max-width: 380px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    animation: popInModal 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.modal-icon-custom {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px auto;
    font-size: 26px;
}

    .modal-icon-custom.warning {
        background-color: #fef3c7;
        color: #d97706;
    }

    .modal-icon-custom.error {
        background-color: #fee2e2;
        color: #dc2626;
    }

    .modal-icon-custom.success {
        background-color: #d1fae5;
        color: #059669;
    }

.modal-titulo-custom {
    font-size: 18px;
    font-weight: 700;
    color: #0f2b4d;
    margin-bottom: 8px;
}

.modal-texto-custom {
    font-size: 14px;
    color: #475569;
    line-height: 1.5;
    margin-bottom: 22px;
}

.btn-modal-custom {
    width: 100%;
    height: 42px;
    background: #0f2b4d;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease;
}

    .btn-modal-custom:hover {
        background: #1a4273;
    }

@keyframes fadeInOverlay {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes popInModal {
    from {
        transform: scale(0.85);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}